Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/musb/
Dda8xx.c431 struct regulator *vbus_supply; in get_vbus_power() local
434 vbus_supply = regulator_get_optional(dev, "vbus"); in get_vbus_power()
435 if (IS_ERR(vbus_supply)) in get_vbus_power()
437 current_uA = regulator_get_current_limit(vbus_supply); in get_vbus_power()
438 regulator_put(vbus_supply); in get_vbus_power()
/Linux-v4.19/arch/arm/boot/dts/
Dtegra114-tn7.dts261 /* Should be changed to "otg" once we have vbus_supply */
Dtegra114-roth.dts991 /* Should be changed to "otg" once we have vbus_supply */
/Linux-v4.19/drivers/usb/dwc2/
Dcore.h1027 struct regulator *vbus_supply; member
Dhcd.c363 hsotg->vbus_supply = devm_regulator_get_optional(hsotg->dev, "vbus"); in dwc2_vbus_supply_init()
364 if (IS_ERR(hsotg->vbus_supply)) { in dwc2_vbus_supply_init()
365 ret = PTR_ERR(hsotg->vbus_supply); in dwc2_vbus_supply_init()
366 hsotg->vbus_supply = NULL; in dwc2_vbus_supply_init()
370 return regulator_enable(hsotg->vbus_supply); in dwc2_vbus_supply_init()
375 if (hsotg->vbus_supply) in dwc2_vbus_supply_exit()
376 return regulator_disable(hsotg->vbus_supply); in dwc2_vbus_supply_exit()