Searched refs:maxpacketsize (Results 1 – 3 of 3) sorted by relevance
2626 ushort_t maxpacketsize = endpoint->wMaxPacketSize; in ehci_compute_high_speed_bandwidth() local2629 if (maxpacketsize == 0) { in ehci_compute_high_speed_bandwidth()2638 maxpacketsize = (ushort_t)((maxpacketsize * 7) / 6); in ehci_compute_high_speed_bandwidth()2668 *cbandwidth += maxpacketsize; in ehci_compute_high_speed_bandwidth()2675 *sbandwidth += maxpacketsize; in ehci_compute_high_speed_bandwidth()2681 xactions = ((maxpacketsize & USB_EP_MAX_XACTS_MASK) >> in ehci_compute_high_speed_bandwidth()2685 *sbandwidth += maxpacketsize; in ehci_compute_high_speed_bandwidth()2734 ushort_t maxpacketsize = endpoint->wMaxPacketSize; in ehci_compute_classic_bandwidth() local2739 if (maxpacketsize == 0) { in ehci_compute_classic_bandwidth()2748 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()
3501 ushort_t maxpacketsize = endpoint->wMaxPacketSize; in ohci_compute_total_bandwidth() local3506 if (maxpacketsize == 0) { in ohci_compute_total_bandwidth()3515 maxpacketsize = (ushort_t)((maxpacketsize * 7) / 6); in ohci_compute_total_bandwidth()3522 (LOW_SPEED_CLOCK * maxpacketsize)); in ohci_compute_total_bandwidth()3525 *bandwidth += maxpacketsize; in ohci_compute_total_bandwidth()3851 uint_t maxpacketsize, addr, ctrl = 0; in ohci_unpack_endpoint() local3891 maxpacketsize = endpoint->wMaxPacketSize; in ohci_unpack_endpoint()3892 maxpacketsize = maxpacketsize << HC_EPT_MAXPKTSZ; in ohci_unpack_endpoint()3893 ctrl = ctrl | (maxpacketsize & HC_EPT_MPS); in ohci_unpack_endpoint()