Lines Matching refs:ep_index
281 int ep_index; in xhci_endpoint_context_show() local
291 for (ep_index = 0; ep_index < 31; ep_index++) { in xhci_endpoint_context_show()
292 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_endpoint_context_show()
293 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
446 int ep_index) in xhci_debugfs_create_endpoint() argument
454 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
461 epriv->show_ring = dev->eps[ep_index].ring; in xhci_debugfs_create_endpoint()
463 snprintf(epriv->name, sizeof(epriv->name), "ep%02d", ep_index); in xhci_debugfs_create_endpoint()
468 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
473 int ep_index) in xhci_debugfs_remove_endpoint() argument
478 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
481 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
483 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
569 int ep_index) in xhci_debugfs_create_stream_files() argument
574 if (!spriv || !spriv->eps[ep_index] || in xhci_debugfs_create_stream_files()
575 !dev->eps[ep_index].stream_info) in xhci_debugfs_create_stream_files()
578 epriv = spriv->eps[ep_index]; in xhci_debugfs_create_stream_files()
579 epriv->stream_info = dev->eps[ep_index].stream_info; in xhci_debugfs_create_stream_files()