Home
last modified time | relevance | path

Searched refs:curstate (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/
H A Dstop_machine.c204 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local
229 if (newstate != curstate) { in multi_cpu_stop()
230 curstate = newstate; in multi_cpu_stop()
231 switch (curstate) { in multi_cpu_stop()
244 } else if (curstate > MULTI_STOP_PREPARE) { in multi_cpu_stop()
254 } while (curstate != MULTI_STOP_EXIT); in multi_cpu_stop()
/linux/drivers/pwm/
H A Dpwm-rockchip.c197 struct pwm_state curstate; in rockchip_pwm_apply() local
209 pwm_get_state(pwm, &curstate); in rockchip_pwm_apply()
210 enabled = curstate.enabled; in rockchip_pwm_apply()
212 if (state->polarity != curstate.polarity && enabled && in rockchip_pwm_apply()
/linux/kernel/time/
H A Dtimer_migration.c664 union tmigr_state curstate, newstate; in tmigr_active_up() local
674 curstate.state = atomic_read(&group->migr_state); in tmigr_active_up()
677 newstate = curstate; in tmigr_active_up()
690 } while (!atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)); in tmigr_active_up()
1276 union tmigr_state curstate, newstate, childstate; in tmigr_inactive_up() local
1289 curstate.state = atomic_read_acquire(&group->migr_state); in tmigr_inactive_up()
1295 newstate = curstate; in tmigr_inactive_up()
1327 if (atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)) { in tmigr_inactive_up()