Lines Matching full:usb_phy
310 * _ci_usb_phy_init: initialize phy taking in account both phy and usb_phy
331 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
338 * ci_usb_phy_exit: deinitialize phy taking in account both phy and usb_phy
351 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
1034 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
1035 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
1049 ci->usb_phy = devm_usb_get_phy_by_phandle(dev->parent, in ci_hdrc_probe()
1052 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1055 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1056 ci->usb_phy = NULL; in ci_hdrc_probe()
1061 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1062 ci->usb_phy = devm_usb_get_phy(dev->parent, in ci_hdrc_probe()
1065 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1068 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1069 ci->usb_phy = NULL; in ci_hdrc_probe()
1074 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1277 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
1323 if (ci->usb_phy) { in ci_controller_resume()
1324 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
1325 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
1368 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1413 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()