Lines Matching refs:usb_phy
333 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
353 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
1063 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
1064 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
1078 ci->usb_phy = devm_usb_get_phy_by_phandle(dev->parent, in ci_hdrc_probe()
1081 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1084 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1085 ci->usb_phy = NULL; in ci_hdrc_probe()
1090 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1091 ci->usb_phy = devm_usb_get_phy(dev->parent, in ci_hdrc_probe()
1094 if (PTR_ERR(ci->usb_phy) == -EPROBE_DEFER) { in ci_hdrc_probe()
1097 } else if (IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
1098 ci->usb_phy = NULL; in ci_hdrc_probe()
1103 if (!ci->phy && !ci->usb_phy) { in ci_hdrc_probe()
1286 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
1334 if (ci->usb_phy) { in ci_controller_resume()
1335 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
1336 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
1383 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1468 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()