Searched refs:charge_mode (Results 1 – 7 of 7) sorted by relevance
185 if (sharpsl_pm.charge_mode == CHRG_ON) in get_percentage()200 if (sharpsl_pm.charge_mode == CHRG_ON) { in get_apm_status()230 if (!sharpsl_pm.machinfo->batfull_irq && (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_battery_thread()291 sharpsl_pm.charge_mode = CHRG_ON; in sharpsl_charge_on()302 sharpsl_pm.charge_mode = CHRG_OFF; in sharpsl_charge_off()311 sharpsl_pm.charge_mode = CHRG_ERROR; in sharpsl_charge_error()341 if (acin && (sharpsl_pm.charge_mode != CHRG_ON)) in sharpsl_ac_timer()343 else if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_ac_timer()367 if (sharpsl_pm.charge_mode == CHRG_ON) in sharpsl_chrg_full_timer()377 sharpsl_pm.charge_mode = CHRG_DONE; in sharpsl_chrg_full_timer()[all …]
71 int charge_mode; member
146 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()
2213 u16 info_flags, charge_mode, gesture_flags; in iqs7211_report() local2274 charge_mode = info_flags & GENMASK(dev_desc->charge_shift + 2, in iqs7211_report()2276 charge_mode >>= dev_desc->charge_shift; in iqs7211_report()2282 if (info_flags & dev_desc->kp_events->mask && charge_mode > 2) { in iqs7211_report()
102 What: /sys/devices/platform/<platform>/charge_mode
703 static DEVICE_ATTR_RO(charge_mode);