Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/usb/
H A Dusb_transfer.c385 uint32_t max_packet_count; in usbd_get_max_frame_length() local
389 max_packet_count = 1; in usbd_get_max_frame_length()
397 max_packet_count += in usbd_get_max_frame_length()
401 if (max_packet_count > 3) in usbd_get_max_frame_length()
402 max_packet_count = 3; in usbd_get_max_frame_length()
416 (max_packet_count > 16)) in usbd_get_max_frame_length()
417 max_packet_count = 16; in usbd_get_max_frame_length()
421 max_packet_count = 1; in usbd_get_max_frame_length()
432 max_packet_count *= mult; in usbd_get_max_frame_length()
496 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
[all …]
H A Dusb_core.h174 uint8_t max_packet_count; member
H A Dusb_pf.c452 temp = xfer->max_packet_count; in usbpf_xfertap()
/freebsd-14.2/sys/dev/usb/controller/
H A Ddwc_otg.c768 z = td->max_packet_count; in dwc_otg_host_channel_alloc()
863 for (x = 0; x != td->max_packet_count; x++) in dwc_otg_host_channel_free()
874 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_dump_rx()
1359 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_data_rx()
1562 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_data_rx()
2021 td->max_packet_count > 1) { in dwc_otg_host_data_tx()
3384 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
3394 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
4855 td->max_packet_count = xfer->max_packet_count; in dwc_otg_xfer_setup()
4857 if (td->max_packet_count == 0 || td->max_packet_count > 3) in dwc_otg_xfer_setup()
[all …]
H A Ddwc_otg.h67 uint8_t max_packet_count; /* packet_count */ member
H A Dxhci.c2308 uint16_t interval, uint8_t max_packet_count, in xhci_configure_endpoint() argument
2336 if (max_packet_count == 0) in xhci_configure_endpoint()
2339 max_packet_count--; in xhci_configure_endpoint()
2392 max_packet_count /= mult; in xhci_configure_endpoint()
2406 XHCI_EPCTX_1_MAXB_SET(max_packet_count) | in xhci_configure_endpoint()
2502 xfer->interval, xfer->max_packet_count, in xhci_configure_endpoint_by_xfer()
H A Dehci.c1951 (EHCI_QH_SET_MULT(xfer->max_packet_count & 3) | in ehci_setup_standard_chain()
2683 td->itd_bp[2] = htohc32(sc, xfer->max_packet_count & 3); in ehci_device_isoc_hs_open()
H A Dmusb_otg.c4094 ((xfer->max_packet_count - 1) << 11); in musbotg_xfer_setup()