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.c139 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
362 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
373 xfer->max_packet_count += in usbd_transfer_setup_sub()
377 if (xfer->max_packet_count > 3) in usbd_transfer_setup_sub()
378 xfer->max_packet_count = 3; in usbd_transfer_setup_sub()
386 xfer->max_packet_count += (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub()
389 xfer->max_packet_count += ecomp->bMaxBurst; in usbd_transfer_setup_sub()
391 if ((xfer->max_packet_count == 0) || in usbd_transfer_setup_sub()
392 (xfer->max_packet_count > 16)) in usbd_transfer_setup_sub()
393 xfer->max_packet_count = 16; in usbd_transfer_setup_sub()
[all …]
Dusb_core.h173 uint8_t max_packet_count; member
/third_party/FreeBSD/sys/dev/usb/controller/
Dxhci.c2296 uint16_t interval, uint8_t max_packet_count, in xhci_configure_endpoint() argument
2326 if (max_packet_count == 0) in xhci_configure_endpoint()
2329 max_packet_count--; in xhci_configure_endpoint()
2379 max_packet_count /= mult; in xhci_configure_endpoint()
2393 XHCI_EPCTX_1_MAXB_SET(max_packet_count) | in xhci_configure_endpoint()
2489 xfer->interval, xfer->max_packet_count, in xhci_configure_endpoint_by_xfer()
Dehci.c1908 (EHCI_QH_SET_MULT(xfer->max_packet_count & 3) | in ehci_setup_standard_chain()
2685 td->itd_bp[2] = htohc32(sc, xfer->max_packet_count & 3); in ehci_device_isoc_hs_open()