Lines Matching defs:phy
18 #include <linux/phy/phy.h>
49 struct phy *phy;
69 static int exynos_sata_phy_power_on(struct phy *phy)
71 struct exynos_sata_phy *sata_phy = phy_get_drvdata(phy);
78 static int exynos_sata_phy_power_off(struct phy *phy)
80 struct exynos_sata_phy *sata_phy = phy_get_drvdata(phy);
87 static int exynos_sata_phy_init(struct phy *phy)
92 struct exynos_sata_phy *sata_phy = phy_get_drvdata(phy);
97 dev_err(&sata_phy->phy->dev, "phy init failed\n");
149 dev_err(&sata_phy->phy->dev,
212 sata_phy->phy = devm_phy_create(dev, NULL, &exynos_sata_phy_ops);
213 if (IS_ERR(sata_phy->phy)) {
215 ret = PTR_ERR(sata_phy->phy);
219 phy_set_drvdata(sata_phy->phy, sata_phy);
239 { .compatible = "samsung,exynos5250-sata-phy" },
248 .name = "samsung,sata-phy",