Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/power/supply/
Dpda_power.c41 static struct regulator *ac_draw; variable
122 } else if (ac_draw) { in update_charger()
124 regulator_set_current_limit(ac_draw, max_uA, max_uA); in update_charger()
127 WARN_ON(regulator_enable(ac_draw)); in update_charger()
133 WARN_ON(regulator_disable(ac_draw)); in update_charger()
283 ac_draw = regulator_get(dev, "ac_draw"); in pda_power_probe()
284 if (IS_ERR(ac_draw)) { in pda_power_probe()
286 ac_draw = NULL; in pda_power_probe()
419 if (ac_draw) { in pda_power_probe()
420 regulator_put(ac_draw); in pda_power_probe()
[all …]