Lines Matching refs:xhci
1100 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_set_port_power() local
1101 struct usb_hcd *hcd = main ? xhci->main_hcd : xhci->shared_hcd; in tegra_xhci_set_port_power()
1153 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xhci_id_work() local
1177 xhci->shared_hcd, GetPortStatus, in tegra_xhci_id_work()
1302 struct xhci_hcd *xhci; in tegra_xusb_probe() local
1571 xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_probe()
1573 xhci->shared_hcd = usb_create_shared_hcd(&tegra_xhci_hc_driver, in tegra_xusb_probe()
1577 if (!xhci->shared_hcd) { in tegra_xusb_probe()
1583 err = usb_add_hcd(xhci->shared_hcd, tegra->xhci_irq, IRQF_SHARED); in tegra_xusb_probe()
1613 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1615 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_probe()
1644 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_remove() local
1648 usb_remove_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1649 usb_put_hcd(xhci->shared_hcd); in tegra_xusb_remove()
1650 xhci->shared_hcd = NULL; in tegra_xusb_remove()
1699 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_check_ports() local
1703 spin_lock_irqsave(&xhci->lock, flags); in tegra_xusb_check_ports()
1705 if (!xhci_hub_ports_suspended(&xhci->usb2_rhub) || in tegra_xusb_check_ports()
1706 !xhci_hub_ports_suspended(&xhci->usb3_rhub)) in tegra_xusb_check_ports()
1709 spin_unlock_irqrestore(&xhci->lock, flags); in tegra_xusb_check_ports()
1750 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_enter_elpg() local
1759 err = xhci_suspend(xhci, wakeup); in tegra_xusb_enter_elpg()
1774 struct xhci_hcd *xhci = hcd_to_xhci(tegra->hcd); in tegra_xusb_exit_elpg() local
1804 err = xhci_resume(xhci, true); in tegra_xusb_exit_elpg()
2055 static void tegra_xhci_quirks(struct device *dev, struct xhci_hcd *xhci) in tegra_xhci_quirks() argument
2059 xhci->quirks |= XHCI_PLAT; in tegra_xhci_quirks()
2061 xhci->quirks |= XHCI_LPM_SUPPORT; in tegra_xhci_quirks()