Home
last modified time | relevance | path

Searched refs:tw_length (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhci.c1193 } 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 Duhcipolled.c415 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 Duhciutil.c1786 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()
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/
H A Dehci_intr.c713 "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 Dehci_xfer.c1608 tw->tw_length - EHCI_MAX_QTD_BUF_SIZE, in ehci_insert_ctrl_req()
1719 residue = tw->tw_length % bulk_pkt_size; in ehci_insert_bulk_req()
2089 size_t tw_length; in ehci_allocate_intr_resources() local
2101 tw_length = intr_reqp->intr_len; in ehci_allocate_intr_resources()
2104 tw_length = (pp->pp_client_periodic_in_reqp) ? in ehci_allocate_intr_resources()
2111 if (tw_length > EHCI_MAX_QTD_XFER_SIZE) { in ehci_allocate_intr_resources()
2115 "more than 0x%x", tw_length, EHCI_MAX_QTD_XFER_SIZE); in ehci_allocate_intr_resources()
2133 if (tw_length) { in ehci_allocate_intr_resources()
2914 size_t tw_length, in ehci_allocate_tw_resources() argument
3092 tw->tw_length = length; in ehci_create_transfer_wrapper()
[all …]
H A Dehci_polled.c607 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()
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c5377 size_t tw_length; in ohci_allocate_intr_resources() local
5423 if (tw_length) { in ohci_allocate_intr_resources()
5555 size_t tw_length; in ohci_allocate_isoc_resources() local
5603 for (count = 0, tw_length = 0; in ohci_allocate_isoc_resources()
5679 if (tw->tw_length) { in ohci_allocate_isoc_resources()
6783 size_t tw_length, in ohci_allocate_tw_resources() argument
6963 tw->tw_length = length; in ohci_create_transfer_wrapper()
7194 tw->tw_length = length; in ohci_create_isoc_transfer_wrapper()
9007 tw->tw_length = length; in ohci_handle_ctrl_td()
9016 if ((tw->tw_length != 0) && in ohci_handle_ctrl_td()
[all …]
H A Dohci_polled.c516 tw->tw_length = num_characters; in ohci_hcdi_polled_write()
520 tw->tw_length, DDI_DEV_AUTOINCR); in ohci_hcdi_polled_write()
521 Sync_IO_Buffer_for_device(tw->tw_dmahandle, tw->tw_length); in ohci_hcdi_polled_write()
525 bulk_pkg_size = min(tw->tw_length, OHCI_MAX_TD_XFER_SIZE); in ohci_hcdi_polled_write()
1830 length = tw->tw_length; in ohci_polled_handle_normal_td()
1940 td_control, 0, tw->tw_length, tw); in ohci_polled_insert_td()
2207 tw->tw_length = POLLED_RAW_BUF_SIZE; in ohci_polled_create_tw()
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhcid.h363 size_t tw_length; /* Txfer length */ member
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h591 size_t tw_length; /* Txfer length */ member
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehcid.h609 size_t tw_length; /* Txfer length */ member