Searched refs:charge_mode (Results 1 – 4 of 4) sorted by relevance
85 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 …]
75 int charge_mode; member
138 sharpsl_pm.charge_mode = CHRG_OFF; in spitz_should_wakeup()
147 sharpsl_pm.charge_mode = CHRG_OFF; in corgi_should_wakeup()