Lines Matching refs:tw_length

4997 		residue = tw->tw_length % bulk_pkt_size;  in ohci_insert_bulk_req()
5377 size_t tw_length; in ohci_allocate_intr_resources() local
5389 tw_length = intr_reqp->intr_len; in ohci_allocate_intr_resources()
5392 tw_length = (pp->pp_client_periodic_in_reqp) ? in ohci_allocate_intr_resources()
5399 if (tw_length > OHCI_MAX_TD_XFER_SIZE) { in ohci_allocate_intr_resources()
5403 "more than 0x%x", tw_length, OHCI_MAX_TD_XFER_SIZE); in ohci_allocate_intr_resources()
5408 if ((tw = ohci_allocate_tw_resources(ohcip, pp, tw_length, in ohci_allocate_intr_resources()
5423 if (tw_length) { in ohci_allocate_intr_resources()
5480 (void) ohci_insert_hc_td(ohcip, ctrl, 0, tw->tw_length, 0, pp, tw); in ohci_insert_intr_req()
5555 size_t tw_length; in ohci_allocate_isoc_resources() local
5603 for (count = 0, tw_length = 0; in ohci_allocate_isoc_resources()
5605 tw_length += isoc_pkt_descr->isoc_pkt_length; in ohci_allocate_isoc_resources()
5609 if ((isoc_pkts_length) && (isoc_pkts_length != tw_length)) { in ohci_allocate_isoc_resources()
5615 isoc_pkts_length, tw_length); in ohci_allocate_isoc_resources()
5622 tw_length = MBLKL(isoc_reqp->isoc_data); in ohci_allocate_isoc_resources()
5626 "ohci_allocate_isoc_resources: length = 0x%lx", tw_length); in ohci_allocate_isoc_resources()
5629 if (tw_length > max_isoc_xfer_size) { in ohci_allocate_isoc_resources()
5634 max_isoc_xfer_size, tw_length); in ohci_allocate_isoc_resources()
5650 tw = ohci_create_isoc_transfer_wrapper(ohcip, pp, tw_length, in ohci_allocate_isoc_resources()
5679 if (tw->tw_length) { in ohci_allocate_isoc_resources()
5794 tw->tw_length = curr_isoc_xfer_offset; in ohci_insert_isoc_req()
6783 size_t tw_length, in ohci_allocate_tw_resources() argument
6789 tw = ohci_create_transfer_wrapper(ohcip, pp, tw_length, usb_flags); in ohci_allocate_tw_resources()
6963 tw->tw_length = length; in ohci_create_transfer_wrapper()
7194 tw->tw_length = length; in ohci_create_isoc_transfer_wrapper()
8799 "sent data %lu", tw->tw_length, length); in ohci_handle_error()
9004 "received data %lu", tw->tw_length, length); in ohci_handle_ctrl_td()
9007 tw->tw_length = length; in ohci_handle_ctrl_td()
9016 if ((tw->tw_length != 0) && in ohci_handle_ctrl_td()
9027 tw->tw_length - OHCI_MAX_TD_BUF_SIZE, in ohci_handle_ctrl_td()
9089 ohci_do_byte_stats(ohcip, tw->tw_length, in ohci_handle_bulk_td()
9144 ohci_do_byte_stats(ohcip, tw->tw_length, in ohci_handle_intr_td()
9310 ohci_do_byte_stats(ohcip, tw->tw_length, in ohci_handle_isoc_td()
9449 (caddr_t)tw->tw_buf, tw->tw_length, in ohci_tw_rebind_cookie()
9495 length = tw->tw_length; in ohci_sendup_td_message()
9505 tw->tw_length = length = length - OHCI_MAX_TD_BUF_SIZE; in ohci_sendup_td_message()
9507 tw->tw_length = length = length - SETUP_SIZE; in ohci_sendup_td_message()
9541 "received data %lu", tw->tw_length, length); in ohci_sendup_td_message()
10126 tw->tw_length = curr_intr_reqp->intr_len; in ohci_allocate_periodic_in_resource()