Lines Matching full:padctl
276 struct tegra_xusb_padctl *padctl; member
612 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xusb_mbox_handle() local
660 err = tegra_xusb_padctl_usb3_save_context(padctl, msg->data); in tegra_xusb_mbox_handle()
683 err = tegra_xusb_padctl_hsic_set_idle(padctl, port, in tegra_xusb_mbox_handle()
711 err = tegra_xusb_padctl_usb3_set_lfps_detect(padctl, in tegra_xusb_mbox_handle()
1364 tegra->otg_usb3_port = tegra_xusb_padctl_get_usb3_companion(tegra->padctl, in tegra_xhci_id_work()
1413 struct tegra_xusb_padctl *padctl = tegra->padctl; in is_usb3_otg_phy() local
1419 port = tegra_xusb_padctl_get_usb3_companion(padctl, i); in is_usb3_otg_phy()
1587 tegra->padctl = tegra_xusb_padctl_get(&pdev->dev); in tegra_xusb_probe()
1588 if (IS_ERR(tegra->padctl)) in tegra_xusb_probe()
1589 return PTR_ERR(tegra->padctl); in tegra_xusb_probe()
1591 np = of_parse_phandle(pdev->dev.of_node, "nvidia,xusb-padctl", 0); in tegra_xusb_probe()
1856 dev_err(&pdev->dev, "failed to request padctl IRQ: %d\n", err); in tegra_xusb_probe()
1912 tegra_xusb_padctl_put(tegra->padctl); in tegra_xusb_probe()
1948 tegra_xusb_padctl_put(tegra->padctl); in tegra_xusb_remove()
2061 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xhci_enable_phy_sleepwalk_wake() local
2097 tegra_xusb_padctl_enable_phy_sleepwalk(padctl, phy, speed); in tegra_xhci_enable_phy_sleepwalk_wake()
2098 tegra_xusb_padctl_enable_phy_wake(padctl, phy); in tegra_xhci_enable_phy_sleepwalk_wake()
2105 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xhci_disable_phy_wake() local
2114 if (tegra_xusb_padctl_remote_wake_detected(padctl, phy)) in tegra_xhci_disable_phy_wake()
2122 if (tegra_xusb_padctl_remote_wake_detected(padctl, tegra->phys[i])) in tegra_xhci_disable_phy_wake()
2126 tegra_xusb_padctl_disable_phy_wake(padctl, tegra->phys[i]); in tegra_xhci_disable_phy_wake()
2132 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xhci_disable_phy_sleepwalk() local
2139 tegra_xusb_padctl_disable_phy_sleepwalk(padctl, tegra->phys[i]); in tegra_xhci_disable_phy_sleepwalk()
2356 dev_err(dev, "failed to enable padctl wakes\n"); in tegra_xusb_suspend()
2385 dev_err(dev, "failed to disable padctl wakes\n"); in tegra_xusb_resume()