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

/linux-4.1.27/drivers/power/
H A Dpda_power.c44 static struct regulator *ac_draw; variable in typeref:struct:regulator
125 } else if (ac_draw) { update_charger()
127 regulator_set_current_limit(ac_draw, max_uA, max_uA); update_charger()
130 WARN_ON(regulator_enable(ac_draw)); update_charger()
136 WARN_ON(regulator_disable(ac_draw)); update_charger()
282 ac_draw = regulator_get(dev, "ac_draw"); pda_power_probe()
283 if (IS_ERR(ac_draw)) { pda_power_probe()
284 dev_dbg(dev, "couldn't get ac_draw regulator\n"); pda_power_probe()
285 ac_draw = NULL; pda_power_probe()
417 if (ac_draw) { pda_power_probe()
418 regulator_put(ac_draw); pda_power_probe()
419 ac_draw = NULL; pda_power_probe()
448 if (ac_draw) { pda_power_remove()
449 regulator_put(ac_draw); pda_power_remove()
450 ac_draw = NULL; pda_power_remove()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dmagician.c584 REGULATOR_SUPPLY("ac_draw", NULL),
H A Dhx4700.c693 REGULATOR_SUPPLY("ac_draw", NULL),

Completed in 125 milliseconds