Lines Matching full:usb_phy
313 * _ci_usb_phy_init: initialize phy taking in account both phy and usb_phy
334 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
341 * ci_usb_phy_exit: deinitialize phy taking in account both phy and usb_phy
354 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
1098 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
1099 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
1113 ci->usb_phy = devm_usb_get_phy_by_phandle(dev->parent, in ci_hdrc_probe()
1116 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1119 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1120 ci->usb_phy = NULL; in ci_hdrc_probe()
1125 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1126 ci->usb_phy = devm_usb_get_phy(dev->parent, in ci_hdrc_probe()
1129 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1132 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1133 ci->usb_phy = NULL; in ci_hdrc_probe()
1138 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1321 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
1369 if (ci->usb_phy) { in ci_controller_resume()
1370 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
1371 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
1417 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1483 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()