Lines Matching refs:exynos_ehci
49 struct exynos_ehci_hcd *exynos_ehci) in exynos_ehci_get_phy() argument
63 exynos_ehci->phy[phy_number] = phy; in exynos_ehci_get_phy()
84 exynos_ehci->phy[phy_number] = phy; in exynos_ehci_get_phy()
91 exynos_ehci->legacy_phy = true; in exynos_ehci_get_phy()
98 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd); in exynos_ehci_phy_enable() local
103 ret = phy_power_on(exynos_ehci->phy[i]); in exynos_ehci_phy_enable()
106 phy_power_off(exynos_ehci->phy[i]); in exynos_ehci_phy_enable()
114 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd); in exynos_ehci_phy_disable() local
118 phy_power_off(exynos_ehci->phy[i]); in exynos_ehci_phy_disable()
134 struct exynos_ehci_hcd *exynos_ehci; in exynos_ehci_probe() local
158 exynos_ehci = to_exynos_ehci(hcd); in exynos_ehci_probe()
160 err = exynos_ehci_get_phy(&pdev->dev, exynos_ehci); in exynos_ehci_probe()
164 exynos_ehci->clk = devm_clk_get(&pdev->dev, "usbhost"); in exynos_ehci_probe()
166 if (IS_ERR(exynos_ehci->clk)) { in exynos_ehci_probe()
168 err = PTR_ERR(exynos_ehci->clk); in exynos_ehci_probe()
172 err = clk_prepare_enable(exynos_ehci->clk); in exynos_ehci_probe()
204 exynos_ehci->of_node = pdev->dev.of_node; in exynos_ehci_probe()
205 if (exynos_ehci->legacy_phy) in exynos_ehci_probe()
224 pdev->dev.of_node = exynos_ehci->of_node; in exynos_ehci_probe()
226 clk_disable_unprepare(exynos_ehci->clk); in exynos_ehci_probe()
235 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd); in exynos_ehci_remove() local
237 pdev->dev.of_node = exynos_ehci->of_node; in exynos_ehci_remove()
243 clk_disable_unprepare(exynos_ehci->clk); in exynos_ehci_remove()
252 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd); in exynos_ehci_suspend() local
263 clk_disable_unprepare(exynos_ehci->clk); in exynos_ehci_suspend()
271 struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd); in exynos_ehci_resume() local
274 ret = clk_prepare_enable(exynos_ehci->clk); in exynos_ehci_resume()
281 clk_disable_unprepare(exynos_ehci->clk); in exynos_ehci_resume()