Home
last modified time | relevance | path

Searched refs:max_packet_count (Results 1 – 4 of 4) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c138 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
364 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
375 xfer->max_packet_count += in usbd_transfer_setup_sub()
379 if (xfer->max_packet_count > 3) in usbd_transfer_setup_sub()
380 xfer->max_packet_count = 3; in usbd_transfer_setup_sub()
388 xfer->max_packet_count += (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub()
391 xfer->max_packet_count += ecomp->bMaxBurst; in usbd_transfer_setup_sub()
393 if ((xfer->max_packet_count == 0) || in usbd_transfer_setup_sub()
394 (xfer->max_packet_count > 16)) in usbd_transfer_setup_sub()
395 xfer->max_packet_count = 16; in usbd_transfer_setup_sub()
[all …]
Dusb_core.h174 uint8_t max_packet_count; member
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c2295 uint16_t interval, uint8_t max_packet_count, in xhci_configure_endpoint() argument
2325 if (max_packet_count == 0) in xhci_configure_endpoint()
2328 max_packet_count--; in xhci_configure_endpoint()
2378 max_packet_count /= mult; in xhci_configure_endpoint()
2392 XHCI_EPCTX_1_MAXB_SET(max_packet_count) | in xhci_configure_endpoint()
2488 xfer->interval, xfer->max_packet_count, in xhci_configure_endpoint_by_xfer()
Dehci.c1907 (EHCI_QH_SET_MULT(xfer->max_packet_count & 3) | in ehci_setup_standard_chain()
2684 td->itd_bp[2] = htohc32(sc, xfer->max_packet_count & 3); in ehci_device_isoc_hs_open()