Lines Matching refs:exynos_ohci

38 				struct exynos_ohci_hcd *exynos_ohci)  in exynos_ohci_get_phy()  argument
52 exynos_ohci->phy[phy_number] = phy; in exynos_ohci_get_phy()
73 exynos_ohci->phy[phy_number] = phy; in exynos_ohci_get_phy()
80 exynos_ohci->legacy_phy = true; in exynos_ohci_get_phy()
87 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_phy_enable() local
92 ret = phy_power_on(exynos_ohci->phy[i]); in exynos_ohci_phy_enable()
95 phy_power_off(exynos_ohci->phy[i]); in exynos_ohci_phy_enable()
103 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_phy_disable() local
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()
136 err = exynos_ohci_get_phy(&pdev->dev, exynos_ohci); in exynos_ohci_probe()
140 exynos_ohci->clk = devm_clk_get(&pdev->dev, "usbhost"); in exynos_ohci_probe()
142 if (IS_ERR(exynos_ohci->clk)) { in exynos_ohci_probe()
144 err = PTR_ERR(exynos_ohci->clk); in exynos_ohci_probe()
148 err = clk_prepare_enable(exynos_ohci->clk); in exynos_ohci_probe()
178 exynos_ohci->of_node = pdev->dev.of_node; in exynos_ohci_probe()
179 if (exynos_ohci->legacy_phy) in exynos_ohci_probe()
192 pdev->dev.of_node = exynos_ohci->of_node; in exynos_ohci_probe()
194 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_probe()
203 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_remove() local
205 pdev->dev.of_node = exynos_ohci->of_node; in exynos_ohci_remove()
211 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_remove()
228 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_suspend() local
237 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_suspend()
245 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd); in exynos_ohci_resume() local
248 clk_prepare_enable(exynos_ohci->clk); in exynos_ohci_resume()
253 clk_disable_unprepare(exynos_ohci->clk); in exynos_ohci_resume()