Searched refs:usb2_phy (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdns3-plat.c | 30 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() 120 cdns->usb2_phy = devm_phy_optional_get(dev, "cdns3,usb2-phy"); in cdns3_plat_probe() 121 if (IS_ERR(cdns->usb2_phy)) in cdns3_plat_probe() 122 return PTR_ERR(cdns->usb2_phy); in cdns3_plat_probe() 124 ret = phy_init(cdns->usb2_phy); in cdns3_plat_probe() 168 phy_exit(cdns->usb2_phy); in cdns3_plat_probe() 189 phy_exit(cdns->usb2_phy); in cdns3_plat_remove() 241 phy_exit(cdns->usb2_phy); in cdns3_controller_resume() [all...] |
H A D | drd.c | 200 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()
|
H A D | core.h | 68 * @usb2_phy: pointer to USB2 PHY 108 struct phy *usb2_phy; member
|
/kernel/linux/linux-5.10/drivers/usb/cdns3/ |
H A D | core.c | 392 ret = phy_power_on(cdns->usb2_phy); in set_phy_power_on() 398 phy_power_off(cdns->usb2_phy); in set_phy_power_on() 406 phy_power_off(cdns->usb2_phy); in set_phy_power_off() 521 cdns->usb2_phy = devm_phy_optional_get(dev, "cdns3,usb2-phy"); in cdns3_probe() 522 if (IS_ERR(cdns->usb2_phy)) in cdns3_probe() 523 return PTR_ERR(cdns->usb2_phy); in cdns3_probe() 525 ret = phy_init(cdns->usb2_phy); in cdns3_probe() 605 phy_exit(cdns->usb2_phy); in cdns3_probe() 626 phy_exit(cdns->usb2_phy); in cdns3_remove()
|
H A D | core.h | 68 * @usb2_phy: pointer to USB2 PHY 107 struct phy *usb2_phy; member
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | core.c | 199 if (dwc->usb2_phy) in __dwc3_set_mode() 200 otg_set_vbus(dwc->usb2_phy->otg, true); in __dwc3_set_mode() 215 if (dwc->usb2_phy) in __dwc3_set_mode() 216 otg_set_vbus(dwc->usb2_phy->otg, false); in __dwc3_set_mode() 733 usb_phy_set_suspend(dwc->usb2_phy, 1); in dwc3_core_exit() 738 usb_phy_shutdown(dwc->usb2_phy); in dwc3_core_exit() 980 usb_phy_init(dwc->usb2_phy); in dwc3_core_init() 1023 usb_phy_set_suspend(dwc->usb2_phy, 0); in dwc3_core_init() 1115 usb_phy_set_suspend(dwc->usb2_phy, 1); in dwc3_core_init() 1119 usb_phy_shutdown(dwc->usb2_phy); in dwc3_core_init() [all...] |
H A D | drd.c | 387 if (dwc->usb2_phy) in dwc3_otg_update() 388 otg_set_vbus(dwc->usb2_phy->otg, true); in dwc3_otg_update() 401 if (dwc->usb2_phy) in dwc3_otg_update() 402 otg_set_vbus(dwc->usb2_phy->otg, false); in dwc3_otg_update()
|
H A D | core.h | 980 * @usb2_phy: pointer to USB2 PHY 1101 struct usb_phy *usb2_phy; member
|
/kernel/linux/linux-6.6/drivers/usb/dwc3/ |
H A D | core.c | 201 if (dwc->usb2_phy) in __dwc3_set_mode() 202 otg_set_vbus(dwc->usb2_phy->otg, true); in __dwc3_set_mode() 217 if (dwc->usb2_phy) in __dwc3_set_mode() 218 otg_set_vbus(dwc->usb2_phy->otg, false); in __dwc3_set_mode() 738 usb_phy_init(dwc->usb2_phy); in dwc3_phy_init() 755 usb_phy_shutdown(dwc->usb2_phy); in dwc3_phy_init() 766 usb_phy_shutdown(dwc->usb2_phy); in dwc3_phy_exit() 773 usb_phy_set_suspend(dwc->usb2_phy, 0); in dwc3_phy_power_on() 790 usb_phy_set_suspend(dwc->usb2_phy, 1); in dwc3_phy_power_on() 801 usb_phy_set_suspend(dwc->usb2_phy, in dwc3_phy_power_off() [all...] |
H A D | drd.c | 387 if (dwc->usb2_phy) in dwc3_otg_update() 388 otg_set_vbus(dwc->usb2_phy->otg, true); in dwc3_otg_update() 401 if (dwc->usb2_phy) in dwc3_otg_update() 402 otg_set_vbus(dwc->usb2_phy->otg, false); in dwc3_otg_update()
|
H A D | core.h | 1030 * @usb2_phy: pointer to USB2 PHY 1171 struct usb_phy *usb2_phy; member
|
H A D | gadget.c | 3064 if (dwc->usb2_phy) in dwc3_gadget_vbus_draw() 3065 return usb_phy_set_power(dwc->usb2_phy, mA); in dwc3_gadget_vbus_draw()
|
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | bq256xx_charger.c | 217 * @usb2_phy: usb_phy identifier 238 struct usb_phy *usb2_phy; member 903 if (!IS_ERR_OR_NULL(bq->usb2_phy)) in bq256xx_charger_reset() 904 usb_unregister_notifier(bq->usb2_phy, &bq->usb_nb); in bq256xx_charger_reset() 1735 bq->usb2_phy = devm_usb_get_phy(dev, USB_PHY_TYPE_USB2); in bq256xx_probe() 1736 if (!IS_ERR_OR_NULL(bq->usb2_phy)) { in bq256xx_probe() 1739 usb_register_notifier(bq->usb2_phy, &bq->usb_nb); in bq256xx_probe()
|
Completed in 32 milliseconds