Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dsharpsl_pm.c189 if (sharpsl_pm.charge_mode == CHRG_ON) in get_percentage()
204 if (sharpsl_pm.charge_mode == CHRG_ON) { in get_apm_status()
236 if (!sharpsl_pm.machinfo->batfull_irq && (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_battery_thread()
297 sharpsl_pm.charge_mode = CHRG_ON; in sharpsl_charge_on()
308 sharpsl_pm.charge_mode = CHRG_OFF; in sharpsl_charge_off()
317 sharpsl_pm.charge_mode = CHRG_ERROR; in sharpsl_charge_error()
347 if (acin && (sharpsl_pm.charge_mode != CHRG_ON)) in sharpsl_ac_timer()
349 else if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_ac_timer()
373 if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_chrg_full_timer()
383 sharpsl_pm.charge_mode = CHRG_DONE; in sharpsl_chrg_full_timer()
[all …]
Dsharpsl_pm.h71 int charge_mode; member
Dcorgi_pm.c110 sharpsl_pm.charge_mode = CHRG_OFF; in corgi_should_wakeup()
Dspitz_pm.c144 sharpsl_pm.charge_mode = CHRG_OFF; in spitz_should_wakeup()
/kernel/linux/linux-5.10/drivers/power/supply/
Dwilco-charger.c24 enum charge_mode { enum
60 static int charge_mode_to_psp_val(enum charge_mode mode) in charge_mode_to_psp_val()