Searched refs:charge_mode (Results 1 – 5 of 5) sorted by relevance
189 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 …]
71 int charge_mode; member
110 sharpsl_pm.charge_mode = CHRG_OFF; in corgi_should_wakeup()
144 sharpsl_pm.charge_mode = CHRG_OFF; in spitz_should_wakeup()
24 enum charge_mode { enum60 static int charge_mode_to_psp_val(enum charge_mode mode) in charge_mode_to_psp_val()