XHCI_MAX_ENDPOINTS
&device->trb_addr, sizeof(xhci_trb) * (XHCI_MAX_ENDPOINTS - 1)
if (id >= XHCI_MAX_ENDPOINTS - 1)
inputdwslot0 |= SLOT_0_NUM_ENTRIES(XHCI_MAX_ENDPOINTS - 1);
if (slot > fSlotCount || endpoint >= XHCI_MAX_ENDPOINTS)
if (endpointNumber == 0 || endpointNumber >= XHCI_MAX_ENDPOINTS) {
xhci_endpoint endpoints[XHCI_MAX_ENDPOINTS - 1];
struct xhci_endpoint_ctx endpoints[XHCI_MAX_ENDPOINTS - 1];
struct xhci_endpoint_ctx endpoints[XHCI_MAX_ENDPOINTS - 1];