Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/usb/
H A Dusb_transfer.c386 uint32_t max_packet_count; in usbd_get_max_frame_length() local
390 max_packet_count = 1; in usbd_get_max_frame_length()
398 max_packet_count += in usbd_get_max_frame_length()
402 if (max_packet_count > 3) in usbd_get_max_frame_length()
403 max_packet_count = 3; in usbd_get_max_frame_length()
417 (max_packet_count > 16)) in usbd_get_max_frame_length()
418 max_packet_count = 16; in usbd_get_max_frame_length()
422 max_packet_count = 1; in usbd_get_max_frame_length()
433 max_packet_count *= mult; in usbd_get_max_frame_length()
497 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
[all …]
H A Dusb_core.h175 uint8_t max_packet_count; member
H A Dusb_pf.c455 temp = xfer->max_packet_count; in usbpf_xfertap()
/freebsd-13.1/sys/dev/usb/controller/
H A Ddwc_otg.c769 z = td->max_packet_count; in dwc_otg_host_channel_alloc()
864 for (x = 0; x != td->max_packet_count; x++) in dwc_otg_host_channel_free()
875 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_dump_rx()
1360 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_data_rx()
1563 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_data_rx()
2022 td->max_packet_count > 1) { in dwc_otg_host_data_tx()
3385 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
3395 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
4856 td->max_packet_count = xfer->max_packet_count; in dwc_otg_xfer_setup()
4858 if (td->max_packet_count == 0 || td->max_packet_count > 3) in dwc_otg_xfer_setup()
[all …]
H A Ddwc_otg.h68 uint8_t max_packet_count; /* packet_count */ member
H A Dxhci.c2362 uint16_t interval, uint8_t max_packet_count, in xhci_configure_endpoint() argument
2392 if (max_packet_count == 0) in xhci_configure_endpoint()
2395 max_packet_count--; in xhci_configure_endpoint()
2445 max_packet_count /= mult; in xhci_configure_endpoint()
2459 XHCI_EPCTX_1_MAXB_SET(max_packet_count) | in xhci_configure_endpoint()
2555 xfer->interval, xfer->max_packet_count, in xhci_configure_endpoint_by_xfer()
H A Dehci.c1952 (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()
H A Dmusb_otg.c4100 ((xfer->max_packet_count - 1) << 11); in musbotg_xfer_setup()
/freebsd-13.1/sys/mips/cavium/usb/
H A Doctusb.c1791 qh->ep_mult = xfer->max_packet_count & 3; in octusb_xfer_setup()