Lines Matching refs:ep_index
413 unsigned int ep_index) in xhci_free_endpoint_ring() argument
415 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
416 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
525 unsigned int ep_index) in xhci_get_ep_ctx() argument
528 ep_index++; in xhci_get_ep_ctx()
530 ep_index++; in xhci_get_ep_ctx()
533 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
597 unsigned int ep_index, in xhci_stream_id_to_ring() argument
600 struct xhci_virt_ep *ep = &dev->eps[ep_index]; in xhci_stream_id_to_ring()
1436 unsigned int ep_index; in xhci_endpoint_init() local
1449 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_init()
1450 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1504 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
1506 if (!virt_dev->eps[ep_index].new_ring) in xhci_endpoint_init()
1509 virt_dev->eps[ep_index].skip = false; in xhci_endpoint_init()
1510 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1533 unsigned int ep_index; in xhci_endpoint_zero() local
1536 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_zero()
1537 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1619 unsigned int ep_index) in xhci_endpoint_copy() argument
1624 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_endpoint_copy()
1625 in_ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_endpoint_copy()