Lines Matching refs:ep_index
280 int ep_index; in xhci_endpoint_context_show() local
290 for (ep_index = 0; ep_index < 31; ep_index++) { in xhci_endpoint_context_show()
291 ep_ctx = xhci_get_ep_ctx(xhci, dev->out_ctx, ep_index); in xhci_endpoint_context_show()
292 dma = dev->out_ctx->dma + (ep_index + 1) * CTX_SIZE(xhci->hcc_params); in xhci_endpoint_context_show()
445 int ep_index) in xhci_debugfs_create_endpoint() argument
453 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
460 epriv->show_ring = dev->eps[ep_index].ring; in xhci_debugfs_create_endpoint()
462 snprintf(epriv->name, sizeof(epriv->name), "ep%02d", ep_index); in xhci_debugfs_create_endpoint()
467 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
472 int ep_index) in xhci_debugfs_remove_endpoint() argument
477 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
480 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
482 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
568 int ep_index) in xhci_debugfs_create_stream_files() argument
573 if (!spriv || !spriv->eps[ep_index] || in xhci_debugfs_create_stream_files()
574 !dev->eps[ep_index].stream_info) in xhci_debugfs_create_stream_files()
577 epriv = spriv->eps[ep_index]; in xhci_debugfs_create_stream_files()
578 epriv->stream_info = dev->eps[ep_index].stream_info; in xhci_debugfs_create_stream_files()