Home
last modified time | relevance | path

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

/arch/arm/common/
Dsharpsl_pm.c85 if (sharpsl_pm.charge_mode == CHRG_ON) in get_percentage()
100 if (sharpsl_pm.charge_mode == CHRG_ON) { in get_apm_status()
132 if (!sharpsl_pm.machinfo->batfull_irq && (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_battery_thread()
207 sharpsl_pm.charge_mode = CHRG_ON; in sharpsl_charge_on()
218 sharpsl_pm.charge_mode = CHRG_OFF; in sharpsl_charge_off()
227 sharpsl_pm.charge_mode = CHRG_ERROR; in sharpsl_charge_error()
257 if (acin && (sharpsl_pm.charge_mode != CHRG_ON)) in sharpsl_ac_timer()
259 else if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_ac_timer()
283 if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_chrg_full_timer()
293 sharpsl_pm.charge_mode = CHRG_DONE; in sharpsl_chrg_full_timer()
[all …]
/arch/arm/include/asm/hardware/
Dsharpsl_pm.h75 int charge_mode; member
/arch/arm/mach-pxa/
Dspitz_pm.c138 sharpsl_pm.charge_mode = CHRG_OFF; in spitz_should_wakeup()
Dcorgi_pm.c147 sharpsl_pm.charge_mode = CHRG_OFF; in corgi_should_wakeup()