Lines Matching refs:usb_phy
348 ret = usb_phy_init(ci->usb_phy); in _ci_usb_phy_init()
365 usb_phy_shutdown(ci->usb_phy); in ci_usb_phy_exit()
717 } else if (ci->platdata->usb_phy) { in ci_hdrc_probe()
718 ci->usb_phy = ci->platdata->usb_phy; in ci_hdrc_probe()
721 ci->usb_phy = devm_usb_get_phy(dev->parent, USB_PHY_TYPE_USB2); in ci_hdrc_probe()
725 PTR_ERR(ci->usb_phy) == -ENXIO) in ci_hdrc_probe()
728 if (IS_ERR(ci->phy) && IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
733 else if (IS_ERR(ci->usb_phy)) in ci_hdrc_probe()
734 ci->usb_phy = NULL; in ci_hdrc_probe()
895 usb_phy_set_suspend(ci->usb_phy, 1); in ci_controller_suspend()
912 if (ci->usb_phy) { in ci_controller_resume()
913 usb_phy_set_suspend(ci->usb_phy, 0); in ci_controller_resume()
914 usb_phy_set_wakeup(ci->usb_phy, false); in ci_controller_resume()
956 usb_phy_set_wakeup(ci->usb_phy, true); in ci_suspend()
1001 usb_phy_set_wakeup(ci->usb_phy, true); in ci_runtime_suspend()