Searched refs:uphy (Results 1 – 5 of 5) sorted by relevance
134 if (hsotg->uphy) in __dwc2_lowlevel_hw_enable()135 ret = usb_phy_init(hsotg->uphy); in __dwc2_lowlevel_hw_enable()168 if (hsotg->uphy) in __dwc2_lowlevel_hw_disable()169 usb_phy_shutdown(hsotg->uphy); in __dwc2_lowlevel_hw_disable()233 hsotg->uphy = devm_usb_get_phy(hsotg->dev, USB_PHY_TYPE_USB2); in dwc2_lowlevel_hw_init()234 if (IS_ERR(hsotg->uphy)) { in dwc2_lowlevel_hw_init()235 ret = PTR_ERR(hsotg->uphy); in dwc2_lowlevel_hw_init()239 hsotg->uphy = NULL; in dwc2_lowlevel_hw_init()
454 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_handle_usb_suspend_intr()455 usb_phy_set_suspend(hsotg->uphy, true); in dwc2_handle_usb_suspend_intr()
2418 if (!IS_ERR_OR_NULL(hsotg->uphy)) { in _dwc2_hcd_suspend()2420 usb_phy_set_suspend(hsotg->uphy, true); in _dwc2_hcd_suspend()2462 if (!IS_ERR_OR_NULL(hsotg->uphy)) { in _dwc2_hcd_resume()2464 usb_phy_set_suspend(hsotg->uphy, false); in _dwc2_hcd_resume()3138 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hcd_init()3139 otg_set_host(hsotg->uphy->otg, &hcd->self); in dwc2_hcd_init()3193 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hcd_remove()3194 otg_set_host(hsotg->uphy->otg, NULL); in dwc2_hcd_remove()
3161 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hsotg_udc_start()3162 otg_set_peripheral(hsotg->uphy->otg, &hsotg->gadget); in dwc2_hsotg_udc_start()3211 if (!IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hsotg_udc_stop()3212 otg_set_peripheral(hsotg->uphy->otg, NULL); in dwc2_hsotg_udc_stop()3310 if (IS_ERR_OR_NULL(hsotg->uphy)) in dwc2_hsotg_vbus_draw()3312 return usb_phy_set_power(hsotg->uphy, mA); in dwc2_hsotg_vbus_draw()
715 struct usb_phy *uphy; member