Lines Matching refs:ep_index
417 unsigned int ep_index) in xhci_free_endpoint_ring() argument
419 xhci_ring_free(xhci, virt_dev->eps[ep_index].ring); in xhci_free_endpoint_ring()
420 virt_dev->eps[ep_index].ring = NULL; in xhci_free_endpoint_ring()
515 unsigned int ep_index) in xhci_get_ep_ctx() argument
518 ep_index++; in xhci_get_ep_ctx()
520 ep_index++; in xhci_get_ep_ctx()
523 (ctx->bytes + (ep_index * CTX_SIZE(xhci->hcc_params))); in xhci_get_ep_ctx()
979 dev->eps[i].ep_index = i; in xhci_alloc_virt_device()
1395 unsigned int ep_index; in xhci_endpoint_init() local
1408 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_init()
1409 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_init()
1463 virt_dev->eps[ep_index].new_ring = in xhci_endpoint_init()
1465 if (!virt_dev->eps[ep_index].new_ring) in xhci_endpoint_init()
1468 virt_dev->eps[ep_index].skip = false; in xhci_endpoint_init()
1469 ep_ring = virt_dev->eps[ep_index].new_ring; in xhci_endpoint_init()
1492 unsigned int ep_index; in xhci_endpoint_zero() local
1495 ep_index = xhci_get_endpoint_index(&ep->desc); in xhci_endpoint_zero()
1496 ep_ctx = xhci_get_ep_ctx(xhci, virt_dev->in_ctx, ep_index); in xhci_endpoint_zero()
1578 unsigned int ep_index) in xhci_endpoint_copy() argument
1583 out_ep_ctx = xhci_get_ep_ctx(xhci, out_ctx, ep_index); in xhci_endpoint_copy()
1584 in_ep_ctx = xhci_get_ep_ctx(xhci, in_ctx, ep_index); in xhci_endpoint_copy()