Lines Matching refs:udc_phy
140 udc->udc_phy = devm_of_phy_get_by_index(dev, dev->of_node, 0); in udc_plat_probe()
141 if (IS_ERR(udc->udc_phy)) { in udc_plat_probe()
143 return PTR_ERR(udc->udc_phy); in udc_plat_probe()
146 ret = phy_init(udc->udc_phy); in udc_plat_probe()
152 ret = phy_power_on(udc->udc_phy); in udc_plat_probe()
155 phy_exit(udc->udc_phy); in udc_plat_probe()
220 if (udc->udc_phy) { in udc_plat_probe()
221 phy_power_off(udc->udc_phy); in udc_plat_probe()
222 phy_exit(udc->udc_phy); in udc_plat_probe()
245 phy_power_off(dev->udc_phy); in udc_plat_remove()
246 phy_exit(dev->udc_phy); in udc_plat_remove()
264 phy_power_off(udc->udc_phy); in udc_plat_suspend()
265 phy_exit(udc->udc_phy); in udc_plat_suspend()
277 ret = phy_init(udc->udc_phy); in udc_plat_resume()
283 ret = phy_power_on(udc->udc_phy); in udc_plat_resume()
286 phy_exit(udc->udc_phy); in udc_plat_resume()