Lines Matching refs:CHRG_ON
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()
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()
580 if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_pm_suspend()
618 …if ((sharpsl_pm.charge_mode == CHRG_ON) && ((alarm_enable && ((alarm_time - RCNR) > (SHARPSL_BATCH… in corgi_goto_sleep()
717 sharpsl_pm.charge_mode = CHRG_ON; in sharpsl_off_charge_battery()
721 } else if (sharpsl_pm.charge_mode != CHRG_ON) { in sharpsl_off_charge_battery()
736 sharpsl_pm.charge_mode = CHRG_ON; in sharpsl_off_charge_battery()
810 if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_apm_get_power_status()