• Home
  • Raw
  • Download

Lines Matching refs:charge_state

243 	enum abx500_chargalg_states charge_state;  member
335 di->charge_state == state ? "NO" : "YES", in abx500_chargalg_state_to()
336 di->charge_state, in abx500_chargalg_state_to()
337 states[di->charge_state], in abx500_chargalg_state_to()
341 di->charge_state = state; in abx500_chargalg_state_to()
346 switch (di->charge_state) { in abx500_chargalg_check_charger_enable()
791 di->charge_state == STATE_NORMAL && in abx500_chargalg_end_of_charge()
1318 if (di->charge_state != STATE_HANDHELD) { in abx500_chargalg_algorithm()
1325 else if (di->charge_state == STATE_SUSPENDED_INIT || in abx500_chargalg_algorithm()
1326 di->charge_state == STATE_SUSPENDED) { in abx500_chargalg_algorithm()
1332 if (di->charge_state != STATE_SAFETY_TIMER_EXPIRED) in abx500_chargalg_algorithm()
1343 if (di->charge_state != STATE_BATT_REMOVED) in abx500_chargalg_algorithm()
1352 if (di->charge_state != STATE_CHG_NOT_OK && in abx500_chargalg_algorithm()
1362 if (di->charge_state != STATE_OVV_PROTECT) in abx500_chargalg_algorithm()
1368 if (di->charge_state != STATE_HW_TEMP_PROTECT) in abx500_chargalg_algorithm()
1374 if (di->charge_state != STATE_TEMP_UNDEROVER) in abx500_chargalg_algorithm()
1381 if (di->charge_state != STATE_WD_EXPIRED) in abx500_chargalg_algorithm()
1386 if (di->charge_state != STATE_TEMP_LOWHIGH) in abx500_chargalg_algorithm()
1401 states[di->charge_state], in abx500_chargalg_algorithm()
1417 switch (di->charge_state) { in abx500_chargalg_algorithm()
1630 if (di->charge_state == STATE_NORMAL_INIT || in abx500_chargalg_algorithm()
1631 di->charge_state == STATE_MAINTENANCE_A_INIT || in abx500_chargalg_algorithm()
1632 di->charge_state == STATE_MAINTENANCE_B_INIT) in abx500_chargalg_algorithm()
1729 } else if (di->charge_state == STATE_SAFETY_TIMER_EXPIRED || in abx500_chargalg_get_property()
1730 di->charge_state == STATE_SAFETY_TIMER_EXPIRED_INIT) { in abx500_chargalg_get_property()