Searched refs:vbus_supply (Results 1 – 6 of 6) sorted by relevance
431 struct regulator *vbus_supply; in get_vbus_power() local434 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()
501 hsotg->vbus_supply = devm_regulator_get_optional(hsotg->dev, "vbus"); in dwc2_driver_probe()502 if (IS_ERR(hsotg->vbus_supply)) { in dwc2_driver_probe()503 retval = PTR_ERR(hsotg->vbus_supply); in dwc2_driver_probe()504 hsotg->vbus_supply = NULL; in dwc2_driver_probe()
1083 struct regulator *vbus_supply; member
165 if (hsotg->vbus_supply) in dwc2_vbus_supply_init()166 return regulator_enable(hsotg->vbus_supply); in dwc2_vbus_supply_init()173 if (hsotg->vbus_supply) in dwc2_vbus_supply_exit()174 return regulator_disable(hsotg->vbus_supply); in dwc2_vbus_supply_exit()
261 /* Should be changed to "otg" once we have vbus_supply */
991 /* Should be changed to "otg" once we have vbus_supply */
Completed in 21 milliseconds