Lines Matching defs:exynos_ohci
39 struct exynos_ohci_hcd *exynos_ohci)
53 exynos_ohci->phy[phy_number] = phy;
74 exynos_ohci->phy[phy_number] = phy;
89 exynos_ohci->legacy_phy = true;
96 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
101 if (!IS_ERR(exynos_ohci->phy[i]))
102 ret = phy_power_on(exynos_ohci->phy[i]);
105 if (!IS_ERR(exynos_ohci->phy[i]))
106 phy_power_off(exynos_ohci->phy[i]);
114 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
118 if (!IS_ERR(exynos_ohci->phy[i]))
119 phy_power_off(exynos_ohci->phy[i]);
124 struct exynos_ohci_hcd *exynos_ohci;
146 exynos_ohci = to_exynos_ohci(hcd);
148 err = exynos_ohci_get_phy(&pdev->dev, exynos_ohci);
152 exynos_ohci->clk = devm_clk_get(&pdev->dev, "usbhost");
154 if (IS_ERR(exynos_ohci->clk)) {
156 err = PTR_ERR(exynos_ohci->clk);
160 err = clk_prepare_enable(exynos_ohci->clk);
191 exynos_ohci->of_node = pdev->dev.of_node;
192 if (exynos_ohci->legacy_phy)
205 pdev->dev.of_node = exynos_ohci->of_node;
207 clk_disable_unprepare(exynos_ohci->clk);
216 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
218 pdev->dev.of_node = exynos_ohci->of_node;
224 clk_disable_unprepare(exynos_ohci->clk);
243 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
252 clk_disable_unprepare(exynos_ohci->clk);
260 struct exynos_ohci_hcd *exynos_ohci = to_exynos_ohci(hcd);
263 clk_prepare_enable(exynos_ohci->clk);
268 clk_disable_unprepare(exynos_ohci->clk);