Lines Matching defs:phy
21 #include <linux/phy/phy.h>
241 static int bcm63xx_usbh_phy_init(struct phy *phy)
243 struct bcm63xx_usbh_phy *usbh = phy_get_drvdata(phy);
248 dev_err(&phy->dev, "unable to enable usbh clock: %d\n", ret);
254 dev_err(&phy->dev, "unable to enable usb_ref clock: %d\n", ret);
261 dev_err(&phy->dev, "unable to reset device: %d\n", ret);
318 static int bcm63xx_usbh_phy_power_on(struct phy *phy)
320 struct bcm63xx_usbh_phy *usbh = phy_get_drvdata(phy);
334 static int bcm63xx_usbh_phy_power_off(struct phy *phy)
336 struct bcm63xx_usbh_phy *usbh = phy_get_drvdata(phy);
350 static int bcm63xx_usbh_phy_exit(struct phy *phy)
352 struct bcm63xx_usbh_phy *usbh = phy_get_drvdata(phy);
368 static struct phy *bcm63xx_usbh_phy_xlate(struct device *dev,
383 struct phy *phy;
414 phy = devm_phy_create(dev, NULL, &bcm63xx_usbh_phy_ops);
415 if (IS_ERR(phy)) {
417 return PTR_ERR(phy);
421 phy_set_drvdata(phy, usbh);
436 { .compatible = "brcm,bcm6318-usbh-phy", .data = &usbh_bcm6318 },
437 { .compatible = "brcm,bcm6328-usbh-phy", .data = &usbh_bcm6328 },
438 { .compatible = "brcm,bcm6358-usbh-phy", .data = &usbh_bcm6358 },
439 { .compatible = "brcm,bcm6362-usbh-phy", .data = &usbh_bcm6368 },
440 { .compatible = "brcm,bcm6368-usbh-phy", .data = &usbh_bcm6368 },
441 { .compatible = "brcm,bcm63268-usbh-phy", .data = &usbh_bcm63268 },
448 .name = "bcm63xx-usbh-phy",