Lines Matching defs:phy
10 #include <linux/phy/phy.h>
93 dev_err(priv->dev, "failed to setup phy ret: %d\n", ret);
97 static int hi6220_phy_start(struct phy *phy)
99 struct hi6220_priv *priv = phy_get_drvdata(phy);
104 static int hi6220_phy_exit(struct phy *phy)
106 struct hi6220_priv *priv = phy_get_drvdata(phy);
121 struct phy *phy;
138 phy = devm_phy_create(dev, NULL, &hi6220_phy_ops);
139 if (IS_ERR(phy))
140 return PTR_ERR(phy);
142 phy_set_drvdata(phy, priv);
148 {.compatible = "hisilicon,hi6220-usb-phy",},
156 .name = "hi6220-usb-phy",
163 MODULE_ALIAS("platform:hi6220-usb-phy");