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()
516 unsigned int ep_index) in xhci_get_ep_ctx() argument
519 ep_index++; in xhci_get_ep_ctx()
521 ep_index++; in xhci_get_ep_ctx()
524 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
980 dev->eps[i].ep_index = i; in xhci_alloc_virt_device()
1400 unsigned int ep_index; in xhci_endpoint_init() local
1413 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_init()
1414 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1468 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
1470 if (!virt_dev->eps[ep_index].new_ring) in xhci_endpoint_init()
1473 virt_dev->eps[ep_index].skip = false; in xhci_endpoint_init()
1474 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1497 unsigned int ep_index; in xhci_endpoint_zero() local
1500 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_zero()
1501 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1583 unsigned int ep_index) in xhci_endpoint_copy() argument
1588 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_endpoint_copy()
1589 in_ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_endpoint_copy()