Lines Matching refs:usb_phy
353 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
370 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
944 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
945 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
948 ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2); in ci_hdrc_probe()
952 PTR_ERR(ci->usb_phy) == -ENXIO) in ci_hdrc_probe()
955 if (IS_ERR(ci->phy) && IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
960 else if (IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
961 ci->usb_phy = NULL; in ci_hdrc_probe()
1131 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
1148 if (ci->usb_phy) { in ci_controller_resume()
1149 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
1150 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
1192 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1237 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()