Home
last modified time | relevance | path

Searched refs:usb2_phy (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/cdns3/
A Dcdns3-plat.c30 ret = phy_power_on(cdns->usb2_phy); in set_phy_power_on()
36 phy_power_off(cdns->usb2_phy); in set_phy_power_on()
44 phy_power_off(cdns->usb2_phy); in set_phy_power_off()
124 cdns->usb2_phy = devm_phy_optional_get(dev, "cdns3,usb2-phy"); in cdns3_plat_probe()
125 if (IS_ERR(cdns->usb2_phy)) in cdns3_plat_probe()
126 return dev_err_probe(dev, PTR_ERR(cdns->usb2_phy), in cdns3_plat_probe()
129 ret = phy_init(cdns->usb2_phy); in cdns3_plat_probe()
174 phy_exit(cdns->usb2_phy); in cdns3_plat_probe()
193 phy_exit(cdns->usb2_phy); in cdns3_plat_remove()
245 phy_exit(cdns->usb2_phy); in cdns3_controller_resume()
[all …]
A Ddrd.c200 phy_set_mode(cdns->usb2_phy, PHY_MODE_USB_HOST); in cdns_drd_host_on()
221 phy_set_mode(cdns->usb2_phy, PHY_MODE_INVALID); in cdns_drd_host_off()
254 phy_set_mode(cdns->usb2_phy, PHY_MODE_USB_DEVICE); in cdns_drd_gadget_on()
280 phy_set_mode(cdns->usb2_phy, PHY_MODE_INVALID); in cdns_drd_gadget_off()
A Dcore.h111 struct phy *usb2_phy; member
/drivers/usb/dwc3/
A Dcore.c244 if (dwc->usb2_phy) in __dwc3_set_mode()
264 if (dwc->usb2_phy) in __dwc3_set_mode()
816 usb_phy_init(dwc->usb2_phy); in dwc3_phy_init()
861 usb_phy_shutdown(dwc->usb2_phy); in dwc3_phy_init()
877 usb_phy_shutdown(dwc->usb2_phy); in dwc3_phy_exit()
886 usb_phy_set_suspend(dwc->usb2_phy, 0); in dwc3_phy_power_on()
1547 if (IS_ERR(dwc->usb2_phy)) { in dwc3_core_get_phy()
1548 ret = PTR_ERR(dwc->usb2_phy); in dwc3_core_get_phy()
1550 dwc->usb2_phy = NULL; in dwc3_core_get_phy()
1610 if (dwc->usb2_phy) in dwc3_core_init_mode()
[all …]
A Ddrd.c388 if (dwc->usb2_phy) in dwc3_otg_update()
389 otg_set_vbus(dwc->usb2_phy->otg, true); in dwc3_otg_update()
405 if (dwc->usb2_phy) in dwc3_otg_update()
406 otg_set_vbus(dwc->usb2_phy->otg, false); in dwc3_otg_update()
A Dcore.h1208 struct usb_phy *usb2_phy; member
A Dgadget.c3117 if (dwc->usb2_phy) in dwc3_gadget_vbus_draw()
3118 return usb_phy_set_power(dwc->usb2_phy, mA); in dwc3_gadget_vbus_draw()
/drivers/power/supply/
A Dbq256xx_charger.c238 struct usb_phy *usb2_phy; member
895 if (!IS_ERR_OR_NULL(bq->usb2_phy)) in bq256xx_charger_reset()
896 usb_unregister_notifier(bq->usb2_phy, &bq->usb_nb); in bq256xx_charger_reset()
1730 bq->usb2_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in bq256xx_probe()
1731 if (!IS_ERR_OR_NULL(bq->usb2_phy)) { in bq256xx_probe()
1734 usb_register_notifier(bq->usb2_phy, &bq->usb_nb); in bq256xx_probe()
/drivers/pinctrl/qcom/
A Dpinctrl-x1e80100.c1557 MSM_PIN_FUNCTION(usb2_phy),
1695 [125] = PINGROUP(125, usb2_phy, _, _, _, _, _, _, _, _),

Completed in 31 milliseconds