Home
last modified time | relevance | path

Searched refs:vbus_supply (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/usb/typec/
H A Dwusb3801.c92 struct regulator *vbus_supply; member
238 ret = regulator_enable(wusb3801->vbus_supply); in wusb3801_hw_update()
245 regulator_disable(wusb3801->vbus_supply); in wusb3801_hw_update()
342 wusb3801->vbus_supply = devm_regulator_get(dev, "vbus"); in wusb3801_probe()
343 if (IS_ERR(wusb3801->vbus_supply)) in wusb3801_probe()
344 return PTR_ERR(wusb3801->vbus_supply); in wusb3801_probe()
413 regulator_disable(wusb3801->vbus_supply); in wusb3801_remove()
/linux-6.15/drivers/usb/musb/
H A Dda8xx.c435 struct regulator *vbus_supply; in get_vbus_power() local
438 vbus_supply = regulator_get_optional(dev, "vbus"); in get_vbus_power()
439 if (IS_ERR(vbus_supply)) in get_vbus_power()
441 current_uA = regulator_get_current_limit(vbus_supply); in get_vbus_power()
442 regulator_put(vbus_supply); in get_vbus_power()
/linux-6.15/drivers/usb/dwc2/
H A Dplatform.c472 hsotg->vbus_supply = devm_regulator_get_optional(hsotg->dev, "vbus"); in dwc2_driver_probe()
473 if (IS_ERR(hsotg->vbus_supply)) { in dwc2_driver_probe()
474 retval = PTR_ERR(hsotg->vbus_supply); in dwc2_driver_probe()
475 hsotg->vbus_supply = NULL; in dwc2_driver_probe()
H A Dcore.h1082 struct regulator *vbus_supply; member
H A Dhcd.c136 if (hsotg->vbus_supply) in dwc2_vbus_supply_init()
137 return regulator_enable(hsotg->vbus_supply); in dwc2_vbus_supply_init()
144 if (hsotg->vbus_supply) in dwc2_vbus_supply_exit()
145 return regulator_disable(hsotg->vbus_supply); in dwc2_vbus_supply_exit()
/linux-6.15/arch/arm/boot/dts/nvidia/
H A Dtegra114-tn7.dts263 /* Should be changed to "otg" once we have vbus_supply */
H A Dtegra114-roth.dts993 /* Should be changed to "otg" once we have vbus_supply */