Lines Matching refs:curr_status
249 struct abx500_chargalg_current_step_status curr_status; member
423 if (di->curr_status.curr_step_change) in abx500_chargalg_check_current_step_status()
425 di->curr_status.curr_step_change = false; in abx500_chargalg_check_current_step_status()
1500 if (di->curr_status.curr_step == CHARGALG_CURR_STEP_LOW) in abx500_chargalg_algorithm()
1505 * di->curr_status.curr_step in abx500_chargalg_algorithm()
1747 return sprintf(buf, "%d\n", di->curr_status.curr_step); in abx500_chargalg_curr_step_show()
1760 di->curr_status.curr_step = param; in abx500_chargalg_curr_step_store()
1761 if (di->curr_status.curr_step >= CHARGALG_CURR_STEP_LOW && in abx500_chargalg_curr_step_store()
1762 di->curr_status.curr_step <= CHARGALG_CURR_STEP_HIGH) { in abx500_chargalg_curr_step_store()
1763 di->curr_status.curr_step_change = true; in abx500_chargalg_curr_step_store()
2068 di->curr_status.curr_step = CHARGALG_CURR_STEP_HIGH; in abx500_chargalg_probe()