Searched refs:charge_state (Results 1 – 3 of 3) sorted by relevance
243 enum abx500_chargalg_states charge_state; member335 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()[all …]
95 static char *charge_state[] = { variable220 enum ab8500_fg_charge_state charge_state; member1398 di->charge_state, in ab8500_fg_charge_state_to()1399 charge_state[di->charge_state], in ab8500_fg_charge_state_to()1401 charge_state[new_state]); in ab8500_fg_charge_state_to()1403 di->charge_state = new_state; in ab8500_fg_charge_state_to()1434 switch (di->charge_state) { in ab8500_fg_algorithm_charging()1533 if (di->charge_state != AB8500_FG_CHARGE_INIT) in ab8500_fg_algorithm_discharging()1773 di->charge_state, in ab8500_fg_algorithm()
4816 uint8_t charge_state; /* charging state (from enum pd_charge_state) */ member