Lines Matching refs:epriv
440 struct xhci_ep_priv *epriv; in xhci_debugfs_create_endpoint() local
446 epriv = kzalloc(sizeof(*epriv), GFP_KERNEL); in xhci_debugfs_create_endpoint()
447 if (!epriv) in xhci_debugfs_create_endpoint()
450 snprintf(epriv->name, sizeof(epriv->name), "ep%02d", ep_index); in xhci_debugfs_create_endpoint()
451 epriv->root = xhci_debugfs_create_ring_dir(xhci, in xhci_debugfs_create_endpoint()
453 epriv->name, in xhci_debugfs_create_endpoint()
455 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
462 struct xhci_ep_priv *epriv; in xhci_debugfs_remove_endpoint() local
468 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
469 debugfs_remove_recursive(epriv->root); in xhci_debugfs_remove_endpoint()
471 kfree(epriv); in xhci_debugfs_remove_endpoint()