Home
last modified time | relevance | path

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

/linux/arch/x86/platform/intel-mid/
H A Dpwr.c155 int curstate; in __update_power_state() local
161 curstate = (power >> bit) & 3; in __update_power_state()
162 if (curstate == new) in __update_power_state()
175 curstate = (power >> bit) & 3; in __update_power_state()
176 if (curstate != new) in __update_power_state()
/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.c626 union tmigr_state curstate, newstate; in tmigr_active_up() local
636 curstate.state = atomic_read(&group->migr_state); in tmigr_active_up()
639 newstate = curstate; in tmigr_active_up()
652 } while (!atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)); in tmigr_active_up()
1248 union tmigr_state curstate, newstate, childstate; in tmigr_inactive_up() local
1261 curstate.state = atomic_read_acquire(&group->migr_state); in tmigr_inactive_up()
1267 newstate = curstate; in tmigr_inactive_up()
1299 if (atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)) { in tmigr_inactive_up()
/linux/drivers/infiniband/hw/hfi1/
H A Dtrace_tx.h739 __string(curstate, cstate)
743 __assign_str(curstate);
748 __get_str(curstate),
/linux/drivers/gpu/drm/i915/display/
H A Di9xx_wm.c2706 const struct intel_plane_state *curstate, in ilk_compute_wm_level() argument
2729 if (curstate) in ilk_compute_wm_level()
2730 result->cur_val = ilk_compute_cur_wm(crtc_state, curstate, cur_latency); in ilk_compute_wm_level()
2924 const struct intel_plane_state *curstate = NULL; in ilk_compute_pipe_wm() local
2936 curstate = plane_state; in ilk_compute_pipe_wm()
2955 pristate, sprstate, curstate, &pipe_wm->wm[0]); in ilk_compute_pipe_wm()
2966 pristate, sprstate, curstate, wm); in ilk_compute_pipe_wm()