Lines Matching refs:phy
26 struct phy *phy; member
31 static int lpc18xx_usb_otg_phy_init(struct phy *phy) in lpc18xx_usb_otg_phy_init() argument
33 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_init()
44 static int lpc18xx_usb_otg_phy_exit(struct phy *phy) in lpc18xx_usb_otg_phy_exit() argument
46 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_exit()
53 static int lpc18xx_usb_otg_phy_power_on(struct phy *phy) in lpc18xx_usb_otg_phy_power_on() argument
55 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_on()
67 static int lpc18xx_usb_otg_phy_power_off(struct phy *phy) in lpc18xx_usb_otg_phy_power_off() argument
69 struct lpc18xx_usb_otg_phy *lpc = phy_get_drvdata(phy); in lpc18xx_usb_otg_phy_power_off()
112 lpc->phy = devm_phy_create(&pdev->dev, NULL, &lpc18xx_usb_otg_phy_ops); in lpc18xx_usb_otg_phy_probe()
113 if (IS_ERR(lpc->phy)) { in lpc18xx_usb_otg_phy_probe()
115 return PTR_ERR(lpc->phy); in lpc18xx_usb_otg_phy_probe()
118 phy_set_drvdata(lpc->phy, lpc); in lpc18xx_usb_otg_phy_probe()