Lines Matching refs:prev_state
502 enum cpuhp_state prev_state = st->state; in cpuhp_set_state() local
514 return prev_state; in cpuhp_set_state()
519 enum cpuhp_state prev_state) in cpuhp_reset_state() argument
523 st->target = prev_state; in cpuhp_reset_state()
570 enum cpuhp_state prev_state; in cpuhp_kick_ap() local
573 prev_state = cpuhp_set_state(cpu, st, target); in cpuhp_kick_ap()
576 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_kick_ap()
752 enum cpuhp_state prev_state = st->state; in cpuhp_up_callbacks() local
761 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_up_callbacks()
764 prev_state)); in cpuhp_up_callbacks()
913 enum cpuhp_state prev_state = st->state; in cpuhp_kick_ap_work() local
922 trace_cpuhp_enter(cpu, st->target, prev_state, cpuhp_kick_ap_work); in cpuhp_kick_ap_work()
924 trace_cpuhp_exit(cpu, st->state, prev_state, ret); in cpuhp_kick_ap_work()
1154 enum cpuhp_state prev_state = st->state; in cpuhp_down_callbacks() local
1163 cpuhp_reset_state(cpu, st, prev_state); in cpuhp_down_callbacks()
1165 if (st->state < prev_state) in cpuhp_down_callbacks()
1167 prev_state)); in cpuhp_down_callbacks()
1178 int prev_state, ret = 0; in _cpu_down() local
1190 prev_state = cpuhp_set_state(cpu, st, target); in _cpu_down()
1219 if (ret && st->state < prev_state) { in _cpu_down()
1221 cpuhp_reset_state(cpu, st, prev_state); in _cpu_down()