Lines Matching defs:phy
14 #include <linux/phy/phy.h>
68 static int qcom_snps_hsphy_set_mode(struct phy *phy, enum phy_mode mode,
71 struct hsphy_priv *priv = phy_get_drvdata(phy);
155 static int qcom_snps_hsphy_power_on(struct phy *phy)
157 struct hsphy_priv *priv = phy_get_drvdata(phy);
170 static int qcom_snps_hsphy_power_off(struct phy *phy)
172 struct hsphy_priv *priv = phy_get_drvdata(phy);
256 static int qcom_snps_hsphy_init(struct phy *phy)
258 struct hsphy_priv *priv = phy_get_drvdata(phy);
282 static int qcom_snps_hsphy_exit(struct phy *phy)
284 struct hsphy_priv *priv = phy_get_drvdata(phy);
311 struct phy *phy;
336 priv->phy_reset = devm_reset_control_get_exclusive(dev, "phy");
355 phy = devm_phy_create(dev, dev->of_node, &qcom_snps_hsphy_ops);
356 if (IS_ERR(phy))
357 return PTR_ERR(phy);
359 phy_set_drvdata(phy, priv);
383 * is meant to program 'value' into phy register at 'offset' with 'delay'
418 .name = "qcom,usb-hs-28nm-phy",