Searched refs:maxpacketsize (Results 1 – 3 of 3) sorted by relevance
2647 ushort_t maxpacketsize = endpoint->wMaxPacketSize; in ehci_compute_high_speed_bandwidth() local2650 if (maxpacketsize == 0) { in ehci_compute_high_speed_bandwidth()2659 maxpacketsize = (ushort_t)((maxpacketsize * 7) / 6); in ehci_compute_high_speed_bandwidth()2689 *cbandwidth += maxpacketsize; in ehci_compute_high_speed_bandwidth()2696 *sbandwidth += maxpacketsize; in ehci_compute_high_speed_bandwidth()2702 xactions = ((maxpacketsize & USB_EP_MAX_XACTS_MASK) >> in ehci_compute_high_speed_bandwidth()2706 *sbandwidth += maxpacketsize; in ehci_compute_high_speed_bandwidth()2755 ushort_t maxpacketsize = endpoint->wMaxPacketSize; in ehci_compute_classic_bandwidth() local2760 if (maxpacketsize == 0) { in ehci_compute_classic_bandwidth()2769 maxpacketsize = (ushort_t)((maxpacketsize * 7) / 6); in ehci_compute_classic_bandwidth()[all …]
407 uint_t maxpacketsize, addr, xactions; in ehci_unpack_endpoint() local516 maxpacketsize = endpoint->wMaxPacketSize & USB_EP_MAX_PKTSZ_MASK; in ehci_unpack_endpoint()517 maxpacketsize = maxpacketsize << EHCI_QH_CTRL_MAXPKTSZ_SHIFT; in ehci_unpack_endpoint()518 ctrl |= (maxpacketsize & EHCI_QH_CTRL_MAXPKTSZ); in ehci_unpack_endpoint()
3485 ushort_t maxpacketsize = endpoint->wMaxPacketSize; in ohci_compute_total_bandwidth() local3490 if (maxpacketsize == 0) { in ohci_compute_total_bandwidth()3499 maxpacketsize = (ushort_t)((maxpacketsize * 7) / 6); in ohci_compute_total_bandwidth()3506 (LOW_SPEED_CLOCK * maxpacketsize)); in ohci_compute_total_bandwidth()3509 *bandwidth += maxpacketsize; in ohci_compute_total_bandwidth()3835 uint_t maxpacketsize, addr, ctrl = 0; in ohci_unpack_endpoint() local3875 maxpacketsize = endpoint->wMaxPacketSize; in ohci_unpack_endpoint()3876 maxpacketsize = maxpacketsize << HC_EPT_MAXPKTSZ; in ohci_unpack_endpoint()3877 ctrl = ctrl | (maxpacketsize & HC_EPT_MPS); in ohci_unpack_endpoint()