Home
last modified time | relevance | path

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

/trueos/sys/dev/usb/
HDusb_transfer.c147 xfer->max_frame_size = xfer->max_packet_size * xfer->max_packet_count; in usbd_update_max_frame_size()
398 xfer->max_packet_count = 1; in usbd_transfer_setup_sub()
409 xfer->max_packet_count += in usbd_transfer_setup_sub()
413 if (xfer->max_packet_count > 3) in usbd_transfer_setup_sub()
414 xfer->max_packet_count = 3; in usbd_transfer_setup_sub()
422 xfer->max_packet_count += (xfer->max_packet_size >> 11) & 3; in usbd_transfer_setup_sub()
425 xfer->max_packet_count += ecomp->bMaxBurst; in usbd_transfer_setup_sub()
427 if ((xfer->max_packet_count == 0) || in usbd_transfer_setup_sub()
428 (xfer->max_packet_count > 16)) in usbd_transfer_setup_sub()
429 xfer->max_packet_count = 16; in usbd_transfer_setup_sub()
[all …]
HDusb_core.h171 uint8_t max_packet_count; member
HDusb_pf.c446 temp = xfer->max_packet_count; in usbpf_xfertap()
/trueos/sys/dev/usb/controller/
HDdwc_otg.h64 uint8_t max_packet_count; /* packet_count */ member
HDdwc_otg.c1138 if (td->ep_type == UE_ISOCHRONOUS || td->max_packet_count > 1) { in dwc_otg_host_data_rx_sub()
1734 if (td->max_packet_count > 1) in dwc_otg_host_data_tx()
1843 if ((td->hcsplt == 0) && (td->max_packet_count > 1)) { in dwc_otg_host_data_tx()
1852 if (td->npkt > td->max_packet_count) in dwc_otg_host_data_tx()
1853 td->npkt = td->max_packet_count; in dwc_otg_host_data_tx()
3288 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
3299 hcchar |= ((xfer->max_packet_count & 3) in dwc_otg_setup_standard_chain()
4776 td->max_packet_count = xfer->max_packet_count; in dwc_otg_xfer_setup()
HDxhci.c2330 uint16_t interval, uint8_t max_packet_count, in xhci_configure_endpoint() argument
2360 if (max_packet_count == 0) in xhci_configure_endpoint()
2363 max_packet_count--; in xhci_configure_endpoint()
2411 max_packet_count /= mult; in xhci_configure_endpoint()
2425 XHCI_EPCTX_1_MAXB_SET(max_packet_count) | in xhci_configure_endpoint()
2521 xfer->interval, xfer->max_packet_count, in xhci_configure_endpoint_by_xfer()
HDehci.c1998 (EHCI_QH_SET_MULT(xfer->max_packet_count & 3) | in ehci_setup_standard_chain()
2768 td->itd_bp[2] = htohc32(sc, xfer->max_packet_count & 3); in ehci_device_isoc_hs_open()
HDmusb_otg.c4159 ((xfer->max_packet_count - 1) << 11); in musbotg_xfer_setup()
/trueos/sys/mips/cavium/usb/
HDoctusb.c1803 qh->ep_mult = xfer->max_packet_count & 3; in octusb_xfer_setup()