Lines Matching refs:ac_draw
41 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()
421 ac_draw = NULL; in pda_power_probe()
454 if (ac_draw) { in pda_power_remove()
455 regulator_put(ac_draw); in pda_power_remove()
456 ac_draw = NULL; in pda_power_remove()