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()
1416 struct tegra_xusb_padctl *padctl = tegra->padctl; in is_usb3_otg_phy() local
1422 port = tegra_xusb_padctl_get_usb3_companion(padctl, i); in is_usb3_otg_phy()
1590 tegra->padctl = tegra_xusb_padctl_get(&pdev->dev); in tegra_xusb_probe()
1591 if (IS_ERR(tegra->padctl)) in tegra_xusb_probe()
1592 return PTR_ERR(tegra->padctl); in tegra_xusb_probe()
1594 np = of_parse_phandle(pdev->dev.of_node, "nvidia,xusb-padctl", 0); in tegra_xusb_probe()
1859 dev_err(&pdev->dev, "failed to request padctl IRQ: %d\n", err); in tegra_xusb_probe()
1915 tegra_xusb_padctl_put(tegra->padctl); in tegra_xusb_probe()
1951 tegra_xusb_padctl_put(tegra->padctl); in tegra_xusb_remove()
2064 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xhci_enable_phy_sleepwalk_wake() local
2100 tegra_xusb_padctl_enable_phy_sleepwalk(padctl, phy, speed); in tegra_xhci_enable_phy_sleepwalk_wake()
2101 tegra_xusb_padctl_enable_phy_wake(padctl, phy); in tegra_xhci_enable_phy_sleepwalk_wake()
2108 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xhci_disable_phy_wake() local
2117 if (tegra_xusb_padctl_remote_wake_detected(padctl, phy)) in tegra_xhci_disable_phy_wake()
2125 if (tegra_xusb_padctl_remote_wake_detected(padctl, tegra->phys[i])) in tegra_xhci_disable_phy_wake()
2129 tegra_xusb_padctl_disable_phy_wake(padctl, tegra->phys[i]); in tegra_xhci_disable_phy_wake()
2135 struct tegra_xusb_padctl *padctl = tegra->padctl; in tegra_xhci_disable_phy_sleepwalk() local
2142 tegra_xusb_padctl_disable_phy_sleepwalk(padctl, tegra->phys[i]); in tegra_xhci_disable_phy_sleepwalk()
2359 dev_err(dev, "failed to enable padctl wakes\n"); in tegra_xusb_suspend()
2388 dev_err(dev, "failed to disable padctl wakes\n"); in tegra_xusb_resume()