Lines Matching full:usb_phy
305 * _ci_usb_phy_init: initialize phy taking in account both phy and usb_phy
326 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
333 * _ci_usb_phy_exit: deinitialize phy taking in account both phy and usb_phy
346 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
1026 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
1027 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
1041 ci->usb_phy = devm_usb_get_phy_by_phandle(dev->parent, in ci_hdrc_probe()
1044 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1047 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1048 ci->usb_phy = NULL; in ci_hdrc_probe()
1053 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1054 ci->usb_phy = devm_usb_get_phy(dev->parent, in ci_hdrc_probe()
1057 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1060 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1061 ci->usb_phy = NULL; in ci_hdrc_probe()
1066 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1269 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
1315 if (ci->usb_phy) { in ci_controller_resume()
1316 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
1317 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
1360 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1405 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()