Lines Matching refs:exynos_ohci
42 struct exynos_ohci_hcd *exynos_ohci) in exynos_ohci_get_phy() argument
65 exynos_ohci->phy[phy_number] = phy; in exynos_ohci_get_phy()
84 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_phy_enable() local
89 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_enable()
90 ret = phy_power_on(exynos_ohci->phy[i]); in exynos_ohci_phy_enable()
93 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_enable()
94 phy_power_off(exynos_ohci->phy[i]); in exynos_ohci_phy_enable()
102 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_phy_disable() local
106 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_disable()
107 phy_power_off(exynos_ohci->phy[i]); in exynos_ohci_phy_disable()
112 struct exynos_ohci_hcd *exynos_ohci; in exynos_ohci_probe() local
134 exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_probe()
140 err = exynos_ohci_get_phy(&pdev->dev, exynos_ohci); in exynos_ohci_probe()
145 exynos_ohci->clk = devm_clk_get(&pdev->dev, "usbhost"); in exynos_ohci_probe()
147 if (IS_ERR(exynos_ohci->clk)) { in exynos_ohci_probe()
149 err = PTR_ERR(exynos_ohci->clk); in exynos_ohci_probe()
153 err = clk_prepare_enable(exynos_ohci->clk); in exynos_ohci_probe()
192 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_probe()
201 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_remove() local
207 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_remove()
226 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_suspend() local
235 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_suspend()
243 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_resume() local
246 clk_prepare_enable(exynos_ohci->clk); in exynos_ohci_resume()
251 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_resume()