/titanic_50/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhci.c | 1193 } else if (tw->tw_bytes_xfered == tw->tw_length) { in uhci_handle_intr_td() 1293 tw->tw_length, pp, tw, PID_IN, attrs) != USB_SUCCESS) { in uhci_handle_intr_td() 1347 length = tw->tw_length; in uhci_sendup_td_message() 1432 (void *)td, tw->tw_ctrl_state, tw->tw_length); in uhci_handle_ctrl_td() 1494 if ((tw->tw_length - SETUP_SIZE) == 0) { in uhci_handle_ctrl_td() 1526 tw->tw_length -= UHCI_CTRL_EPT_MAX_SIZE; in uhci_handle_ctrl_td() 1536 xx = (tw->tw_length > 8) ? 8 : tw->tw_length; in uhci_handle_ctrl_td() 1538 xx = (tw->tw_length > MaxPacketSize) ? in uhci_handle_ctrl_td() 1539 MaxPacketSize : tw->tw_length; in uhci_handle_ctrl_td() 1669 if ((tw->tw_length != 0) && (tw->tw_direction == PID_IN)) { in uhci_handle_ctrl_td() [all …]
|
H A D | uhcipolled.c | 415 tw->tw_length = num_characters; in uhci_hcdi_polled_write() 859 tw->tw_length = POLLED_RAW_BUF_SIZE; in uhci_polled_create_tw()
|
H A D | uhciutil.c | 1786 tw->tw_length = length; in uhci_create_transfer_wrapper() 1803 if (ddi_dma_mem_alloc(tw->tw_dmahandle, tw->tw_length, &dev_attr, in uhci_create_transfer_wrapper() 3464 uhci_do_byte_stats(uhcip, tw->tw_length, in uhci_handle_bulk_td() 3843 tw->tw_length = length; in uhci_create_isoc_transfer_wrapper() 4351 uhci_do_byte_stats(uhcip, tw->tw_length, in uhci_handle_isoc_td() 4854 tw->tw_length = cur_intr_req->intr_len; in uhci_allocate_periodic_in_resource()
|
/titanic_50/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_intr.c | 713 "received data=%lu", tw->tw_length, length); in ehci_check_for_short_xfer() 720 tw->tw_length = length; in ehci_check_for_short_xfer() 731 "sent data=%lu", tw->tw_length, length); in ehci_check_for_short_xfer() 1014 if ((tw->tw_length) && in ehci_handle_ctrl_qtd() 1270 length = tw->tw_length; in ehci_sendup_qtd_message()
|
H A D | ehci_xfer.c | 1610 tw->tw_length - EHCI_MAX_QTD_BUF_SIZE, in ehci_insert_ctrl_req() 1721 residue = tw->tw_length % bulk_pkt_size; in ehci_insert_bulk_req() 2091 size_t tw_length; in ehci_allocate_intr_resources() local 2103 tw_length = intr_reqp->intr_len; in ehci_allocate_intr_resources() 2106 tw_length = (pp->pp_client_periodic_in_reqp) ? in ehci_allocate_intr_resources() 2113 if (tw_length > EHCI_MAX_QTD_XFER_SIZE) { in ehci_allocate_intr_resources() 2117 "more than 0x%x", tw_length, EHCI_MAX_QTD_XFER_SIZE); in ehci_allocate_intr_resources() 2122 if ((tw = ehci_allocate_tw_resources(ehcip, pp, tw_length, flags, in ehci_allocate_intr_resources() 2135 if (tw_length) { in ehci_allocate_intr_resources() 2187 (void) ehci_insert_qtd(ehcip, ctrl, 0, tw->tw_length, 0, pp, tw); in ehci_insert_intr_req() [all …]
|
H A D | ehci_polled.c | 607 tw->tw_length = num_characters; in ehci_hcdi_polled_write() 610 tw->tw_length, DDI_DEV_AUTOINCR); in ehci_hcdi_polled_write() 611 Sync_IO_Buffer_for_device(tw->tw_dmahandle, tw->tw_length); in ehci_hcdi_polled_write() 1467 length = tw->tw_length; in ehci_polled_handle_normal_qtd() 1568 0, tw->tw_length, tw); in ehci_polled_insert_intr_qtd() 1626 0, tw->tw_length, tw); in ehci_polled_insert_bulk_qtd() 2098 tw->tw_length = POLLED_RAW_BUF_SIZE; in ehci_polled_create_tw()
|
/titanic_50/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 5015 residue = tw->tw_length % bulk_pkt_size; in ohci_insert_bulk_req() 5395 size_t tw_length; in ohci_allocate_intr_resources() local 5407 tw_length = intr_reqp->intr_len; in ohci_allocate_intr_resources() 5410 tw_length = (pp->pp_client_periodic_in_reqp) ? in ohci_allocate_intr_resources() 5417 if (tw_length > OHCI_MAX_TD_XFER_SIZE) { in ohci_allocate_intr_resources() 5421 "more than 0x%x", tw_length, OHCI_MAX_TD_XFER_SIZE); in ohci_allocate_intr_resources() 5426 if ((tw = ohci_allocate_tw_resources(ohcip, pp, tw_length, in ohci_allocate_intr_resources() 5441 if (tw_length) { in ohci_allocate_intr_resources() 5498 (void) ohci_insert_hc_td(ohcip, ctrl, 0, tw->tw_length, 0, pp, tw); in ohci_insert_intr_req() 5573 size_t tw_length; in ohci_allocate_isoc_resources() local [all …]
|
H A D | ohci_polled.c | 514 tw->tw_length = num_characters; in ohci_hcdi_polled_write() 518 tw->tw_length, DDI_DEV_AUTOINCR); in ohci_hcdi_polled_write() 519 Sync_IO_Buffer_for_device(tw->tw_dmahandle, tw->tw_length); in ohci_hcdi_polled_write() 523 bulk_pkg_size = min(tw->tw_length, OHCI_MAX_TD_XFER_SIZE); in ohci_hcdi_polled_write() 1827 length = tw->tw_length; in ohci_polled_handle_normal_td() 1937 td_control, 0, tw->tw_length, tw); in ohci_polled_insert_td() 2204 tw->tw_length = POLLED_RAW_BUF_SIZE; in ohci_polled_create_tw()
|
/titanic_50/usr/src/uts/common/sys/usb/hcd/uhci/ |
H A D | uhcid.h | 363 size_t tw_length; /* Txfer length */ member
|
/titanic_50/usr/src/uts/common/sys/usb/hcd/openhci/ |
H A D | ohcid.h | 591 size_t tw_length; /* Txfer length */ member
|
/titanic_50/usr/src/uts/common/sys/usb/hcd/ehci/ |
H A D | ehcid.h | 608 size_t tw_length; /* Txfer length */ member
|