Lines Matching refs:ep_index

400 		unsigned int ep_index)  in xhci_free_or_cache_endpoint_ring()  argument
407 virt_dev->eps[ep_index].ring; in xhci_free_or_cache_endpoint_ring()
414 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_or_cache_endpoint_ring()
419 virt_dev->eps[ep_index].ring = NULL; in xhci_free_or_cache_endpoint_ring()
559 unsigned int ep_index) in xhci_get_ep_ctx() argument
562 ep_index++; in xhci_get_ep_ctx()
564 ep_index++; in xhci_get_ep_ctx()
567 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
631 unsigned int ep_index, in xhci_stream_id_to_ring() argument
634 struct xhci_virt_ep *ep = &dev->eps[ep_index]; in xhci_stream_id_to_ring()
1405 unsigned int ep_index; in xhci_endpoint_init() local
1414 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_init()
1415 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1424 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
1426 if (!virt_dev->eps[ep_index].new_ring) { in xhci_endpoint_init()
1431 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
1434 xhci_reinit_cached_ring(xhci, virt_dev->eps[ep_index].new_ring, in xhci_endpoint_init()
1437 virt_dev->eps[ep_index].skip = false; in xhci_endpoint_init()
1438 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1518 unsigned int ep_index; in xhci_endpoint_zero() local
1521 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_zero()
1522 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1604 unsigned int ep_index) in xhci_endpoint_copy() argument
1609 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_endpoint_copy()
1610 in_ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_endpoint_copy()