Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/kernel/
H A Dstop_machine.c206 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local
231 if (newstate != curstate) { in multi_cpu_stop()
232 curstate = newstate; in multi_cpu_stop()
233 switch (curstate) { in multi_cpu_stop()
246 } else if (curstate > MULTI_STOP_PREPARE) { in multi_cpu_stop()
256 } while (curstate != MULTI_STOP_EXIT); in multi_cpu_stop()
/linux-6.15/drivers/pwm/
H A Dpwm-rockchip.c190 struct pwm_state curstate; in rockchip_pwm_apply() local
202 pwm_get_state(pwm, &curstate); in rockchip_pwm_apply()
203 enabled = curstate.enabled; in rockchip_pwm_apply()
205 if (state->polarity != curstate.polarity && enabled && in rockchip_pwm_apply()
/linux-6.15/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-6.15/kernel/rcu/
H A Drcutorture.c1909 …nt %#x To add %#x To remove %#x preempt_count() %#x\n", __func__, s, curstate, new, old, preemp…
1910 static void rcutorture_one_extend_check(char *s, int curstate, int new, int old, bool insoftirq) in rcutorture_one_extend_check() argument
1917 WARN_ONCE(!(curstate & RCUTORTURE_RDR_IRQ) && irqs_disabled(), ROEC_ARGS); in rcutorture_one_extend_check()
1918 WARN_ONCE((curstate & RCUTORTURE_RDR_IRQ) && !irqs_disabled(), ROEC_ARGS); in rcutorture_one_extend_check()
1924 WARN_ONCE((curstate & (RCUTORTURE_RDR_BH | RCUTORTURE_RDR_RBH)) && in rcutorture_one_extend_check()
1926 WARN_ONCE((curstate & (RCUTORTURE_RDR_PREEMPT | RCUTORTURE_RDR_SCHED)) && in rcutorture_one_extend_check()
1929 (curstate & (RCUTORTURE_RDR_RCU_1 | RCUTORTURE_RDR_RCU_2)) && in rcutorture_one_extend_check()
1938 !(curstate & (RCUTORTURE_RDR_BH | RCUTORTURE_RDR_RBH)) && in rcutorture_one_extend_check()
1949 WARN_ONCE(cur_ops->extendables && !(curstate & mask) && in rcutorture_one_extend_check()
1960 WARN_ONCE(cur_ops->readlock_nesting && !(curstate & mask) && in rcutorture_one_extend_check()
/linux-6.15/drivers/infiniband/hw/hfi1/
H A Dtrace_tx.h739 __string(curstate, cstate)
743 __assign_str(curstate);
748 __get_str(curstate),
/linux-6.15/drivers/gpu/drm/i915/display/
H A Di9xx_wm.c2709 const struct intel_plane_state *curstate, in ilk_compute_wm_level() argument
2732 if (curstate) in ilk_compute_wm_level()
2733 result->cur_val = ilk_compute_cur_wm(crtc_state, curstate, cur_latency); in ilk_compute_wm_level()
2927 const struct intel_plane_state *curstate = NULL; in ilk_compute_pipe_wm() local
2939 curstate = plane_state; in ilk_compute_pipe_wm()
2958 pristate, sprstate, curstate, &pipe_wm->wm[0]); in ilk_compute_pipe_wm()
2969 pristate, sprstate, curstate, wm); in ilk_compute_pipe_wm()