Lines Matching defs:phy
17 #include <linux/phy/phy.h>
18 #include <linux/phy/phy-mipi-dphy.h>
93 struct phy *phy;
97 static int sun6i_dphy_init(struct phy *phy)
99 struct sun6i_dphy *dphy = phy_get_drvdata(phy);
108 static int sun6i_dphy_configure(struct phy *phy, union phy_configure_opts *opts)
110 struct sun6i_dphy *dphy = phy_get_drvdata(phy);
122 static int sun6i_dphy_power_on(struct phy *phy)
124 struct sun6i_dphy *dphy = phy_get_drvdata(phy);
214 static int sun6i_dphy_power_off(struct phy *phy)
216 struct sun6i_dphy *dphy = phy_get_drvdata(phy);
224 static int sun6i_dphy_exit(struct phy *phy)
226 struct sun6i_dphy *dphy = phy_get_drvdata(phy);
289 dphy->phy = devm_phy_create(&pdev->dev, NULL, &sun6i_dphy_ops);
290 if (IS_ERR(dphy->phy)) {
292 return PTR_ERR(dphy->phy);
295 phy_set_drvdata(dphy->phy, dphy);