Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/usb/
H A Dusb_transfer.c426 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
437 xfer->max_packet_count += in usbd_transfer_setup_sub()
441 if (xfer->max_packet_count > 3) in usbd_transfer_setup_sub()
442 xfer->max_packet_count = 3; in usbd_transfer_setup_sub()
453 xfer->max_packet_count += ecomp->bMaxBurst; in usbd_transfer_setup_sub()
455 if ((xfer->max_packet_count == 0) || in usbd_transfer_setup_sub()
456 (xfer->max_packet_count > 16)) in usbd_transfer_setup_sub()
457 xfer->max_packet_count = 16; in usbd_transfer_setup_sub()
461 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
472 xfer->max_packet_count *= mult; in usbd_transfer_setup_sub()
[all …]
H A Dusb_core.h176 uint8_t max_packet_count; member
H A Dusb_pf.c455 temp = xfer->max_packet_count; in usbpf_xfertap()
/freebsd-12.1/sys/dev/usb/controller/
H A Ddwc_otg.c774 z = td->max_packet_count; in dwc_otg_host_channel_alloc()
869 for (x = 0; x != td->max_packet_count; x++) in dwc_otg_host_channel_free()
880 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_dump_rx()
1365 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_data_rx()
1568 for (x = 0; x != td->max_packet_count; x++) { in dwc_otg_host_data_rx()
2028 td->max_packet_count > 1) { in dwc_otg_host_data_tx()
3414 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
3424 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
4912 td->max_packet_count = xfer->max_packet_count; in dwc_otg_xfer_setup()
4914 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.c2356 uint16_t interval, uint8_t max_packet_count, in xhci_configure_endpoint() argument
2386 if (max_packet_count == 0) in xhci_configure_endpoint()
2389 max_packet_count--; in xhci_configure_endpoint()
2439 max_packet_count /= mult; in xhci_configure_endpoint()
2453 XHCI_EPCTX_1_MAXB_SET(max_packet_count) | in xhci_configure_endpoint()
2549 xfer->interval, xfer->max_packet_count, in xhci_configure_endpoint_by_xfer()
H A Dehci.c1974 (EHCI_QH_SET_MULT(xfer->max_packet_count & 3) | in ehci_setup_standard_chain()
2744 td->itd_bp[2] = htohc32(sc, xfer->max_packet_count & 3); in ehci_device_isoc_hs_open()
H A Dmusb_otg.c4185 ((xfer->max_packet_count - 1) << 11); in musbotg_xfer_setup()
/freebsd-12.1/sys/mips/cavium/usb/
H A Doctusb.c1802 qh->ep_mult = xfer->max_packet_count & 3; in octusb_xfer_setup()