Lines Matching defs:phy
3 * phy-uniphier-usb3ss.c - SS-PHY driver for Socionext UniPhier USB3 controller
19 #include <linux/phy/phy.h>
107 static int uniphier_u3ssphy_power_on(struct phy *phy)
109 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy);
142 static int uniphier_u3ssphy_power_off(struct phy *phy)
144 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy);
156 static int uniphier_u3ssphy_init(struct phy *phy)
158 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy);
195 static int uniphier_u3ssphy_exit(struct phy *phy)
197 struct uniphier_u3ssphy_priv *priv = phy_get_drvdata(phy);
220 struct phy *phy;
237 priv->clk = devm_clk_get(dev, "phy");
241 priv->clk_ext = devm_clk_get_optional(dev, "phy-ext");
245 priv->rst = devm_reset_control_get_shared(dev, "phy");
274 phy = devm_phy_create(dev, dev->of_node, &uniphier_u3ssphy_ops);
275 if (IS_ERR(phy))
276 return PTR_ERR(phy);
278 phy_set_drvdata(phy, priv);