Lines Matching defs:phy
7 * Based on cpsw-phy-sel.c driver created by Mugunthan V N <mugunthanvnm@ti.com>
16 #include <linux/phy.h>
17 #include <linux/phy/phy.h>
35 struct phy *if_phy;
58 static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode)
60 struct phy_gmii_sel_phy_priv *if_phy = phy_get_drvdata(phy);
193 .compatible = "ti,am3352-phy-gmii-sel",
197 .compatible = "ti,dra7xx-phy-gmii-sel",
201 .compatible = "ti,am43xx-phy-gmii-sel",
205 .compatible = "ti,dm814-phy-gmii-sel",
209 .compatible = "ti,am654-phy-gmii-sel",
221 static struct phy *phy_gmii_sel_of_xlate(struct device *dev,
303 dev_err(dev, "Failed to create phy%d %d\n", port, ret);
385 dev_err(dev, "Failed to create phy provider %d\n", ret);
395 .name = "phy-gmii-sel",