Lines Matching defs:phy
11 #include <linux/phy/phy.h>
88 struct phy *phy;
174 static int bcm_usb_phy_reset(struct phy *phy)
176 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy);
192 static int bcm_usb_phy_init(struct phy *phy)
194 struct bcm_usb_phy_cfg *phy_cfg = phy_get_drvdata(phy);
211 static struct phy *bcm_usb_phy_xlate(struct device *dev,
227 return phy_cfg[phy_idx].phy;
229 return phy_cfg->phy;
255 phy_cfg[idx].phy = devm_phy_create(dev, node,
257 if (IS_ERR(phy_cfg[idx].phy))
258 return PTR_ERR(phy_cfg[idx].phy);
260 phy_set_drvdata(phy_cfg[idx].phy, &phy_cfg[idx]);
272 phy_cfg->phy = devm_phy_create(dev, node, &sr_phy_ops);
273 if (IS_ERR(phy_cfg->phy))
274 return PTR_ERR(phy_cfg->phy);
276 phy_set_drvdata(phy_cfg->phy, phy_cfg);
287 .compatible = "brcm,sr-usb-combo-phy",
291 .compatible = "brcm,sr-usb-hs-phy",
329 .name = "phy-bcm-sr-usb",