Lines Matching defs:phy
13 #include <linux/phy/ulpi_phy.h>
22 struct phy *phy;
28 static int tusb1210_power_on(struct phy *phy)
30 struct tusb1210 *tusb = phy_get_drvdata(phy);
43 static int tusb1210_power_off(struct phy *phy)
45 struct tusb1210 *tusb = phy_get_drvdata(phy);
53 static int tusb1210_set_mode(struct phy *phy, enum phy_mode mode, int submode)
55 struct tusb1210 *tusb = phy_get_drvdata(phy);
138 tusb->phy = ulpi_phy_create(ulpi, &phy_ops);
139 if (IS_ERR(tusb->phy))
140 return PTR_ERR(tusb->phy);
144 phy_set_drvdata(tusb->phy, tusb);
153 ulpi_phy_destroy(ulpi, tusb->phy);