Lines Matching refs:prev_state
480 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
492 return prev_state; in cpuhp_set_state()
497 enum cpuhp_state prev_state) in cpuhp_reset_state() argument
501 st->target = prev_state; in cpuhp_reset_state()
548 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
551 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap()
554 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap()
730 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
739 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks()
742 prev_state)); in cpuhp_up_callbacks()
891 enum cpuhp_state prev_state = st->state; in cpuhp_kick_ap_work() local
900 trace_cpuhp_enter(cpu, st->target, prev_state, cpuhp_kick_ap_work); in cpuhp_kick_ap_work()
902 trace_cpuhp_exit(cpu, st->state, prev_state, ret); in cpuhp_kick_ap_work()
1132 enum cpuhp_state prev_state = st->state; in cpuhp_down_callbacks() local
1141 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_down_callbacks()
1143 if (st->state < prev_state) in cpuhp_down_callbacks()
1145 prev_state)); in cpuhp_down_callbacks()
1156 int prev_state, ret = 0; in _cpu_down() local
1168 prev_state = cpuhp_set_state(cpu, st, target); in _cpu_down()
1197 if (ret && st->state < prev_state) { in _cpu_down()
1199 cpuhp_reset_state(cpu, st, prev_state); in _cpu_down()