Lines Matching refs:usb_phy
350 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
370 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
935 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
936 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
939 ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2); in ci_hdrc_probe()
943 PTR_ERR(ci->usb_phy) == -ENXIO) { in ci_hdrc_probe()
948 if (IS_ERR(ci->phy) && IS_ERR(ci->usb_phy)) { in ci_hdrc_probe()
955 else if (IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
956 ci->usb_phy = NULL; in ci_hdrc_probe()
1145 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
1168 if (ci->usb_phy) { in ci_controller_resume()
1169 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
1170 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
1212 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1257 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()