Lines Matching defs:phy
16 #include <linux/phy/phy.h>
33 struct phy *phy[PHY_NUMBER];
41 struct phy *phy;
47 "#phy-cells");
49 phy = devm_of_phy_get_by_index(dev, dev->of_node, phy_number);
50 if (IS_ERR(phy))
51 return PTR_ERR(phy);
52 exynos_ohci->phy[phy_number] = phy;
72 phy = devm_of_phy_optional_get(dev, child, NULL);
73 exynos_ohci->phy[phy_number] = phy;
74 if (IS_ERR(phy)) {
76 return PTR_ERR(phy);
92 ret = phy_power_on(exynos_ohci->phy[i]);
95 phy_power_off(exynos_ohci->phy[i]);
107 phy_power_off(exynos_ohci->phy[i]);
170 dev_err(&pdev->dev, "Failed to enable USB phy\n");
252 dev_err(dev, "Failed to enable USB phy\n");