Lines Matching defs:phy
9 #include <linux/phy/phy.h>
14 #include <dt-bindings/phy/phy.h>
29 struct phy *phy;
30 struct phy *analog;
42 static int phy_axg_pcie_power_on(struct phy *phy)
44 struct phy_axg_pcie_priv *priv = phy_get_drvdata(phy);
56 static int phy_axg_pcie_power_off(struct phy *phy)
58 struct phy_axg_pcie_priv *priv = phy_get_drvdata(phy);
70 static int phy_axg_pcie_init(struct phy *phy)
72 struct phy_axg_pcie_priv *priv = phy_get_drvdata(phy);
83 static int phy_axg_pcie_exit(struct phy *phy)
85 struct phy_axg_pcie_priv *priv = phy_get_drvdata(phy);
95 static int phy_axg_pcie_reset(struct phy *phy)
97 struct phy_axg_pcie_priv *priv = phy_get_drvdata(phy);
140 priv->phy = devm_phy_create(dev, np, &phy_axg_pcie_ops);
141 if (IS_ERR(priv->phy)) {
142 ret = PTR_ERR(priv->phy);
165 phy_set_drvdata(priv->phy, priv);
174 .compatible = "amlogic,axg-pcie-phy",
183 .name = "phy-axg-pcie",