XHCI_ENDPOINT_RING_SIZE
memset(endpoint->trbs, 0, sizeof(xhci_trb) * XHCI_ENDPOINT_RING_SIZE);
* XHCI_ENDPOINT_RING_SIZE, "XHCI endpoint trbs");
endpoint->trbs = device->trbs + id * XHCI_ENDPOINT_RING_SIZE;
+ id * XHCI_ENDPOINT_RING_SIZE * sizeof(xhci_trb);
sizeof(xhci_trb) * XHCI_ENDPOINT_RING_SIZE);
if (eventdata == XHCI_ENDPOINT_RING_SIZE || next == XHCI_ENDPOINT_RING_SIZE) {
&& (source - endpoint->trb_addr) < (XHCI_ENDPOINT_RING_SIZE * sizeof(xhci_trb))) {