Searched refs:curstate (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/arch/x86/platform/intel-mid/ |
D | pwr.c | 155 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.12.1/kernel/ |
D | stop_machine.c | 206 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() 255 } while (curstate != MULTI_STOP_EXIT); in multi_cpu_stop()
|
/linux-6.12.1/kernel/time/ |
D | timer_migration.c | 621 union tmigr_state curstate, newstate; in tmigr_active_up() local 631 curstate.state = atomic_read(&group->migr_state); in tmigr_active_up() 634 newstate = curstate; in tmigr_active_up() 647 } while (!atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)); in tmigr_active_up() 1234 union tmigr_state curstate, newstate, childstate; in tmigr_inactive_up() local 1247 curstate.state = atomic_read_acquire(&group->migr_state); in tmigr_inactive_up() 1253 newstate = curstate; in tmigr_inactive_up() 1285 if (atomic_try_cmpxchg(&group->migr_state, &curstate.state, newstate.state)) { in tmigr_inactive_up()
|
/linux-6.12.1/drivers/pwm/ |
D | pwm-rockchip.c | 190 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.12.1/drivers/infiniband/hw/hfi1/ |
D | trace_tx.h | 739 __string(curstate, cstate) 743 __assign_str(curstate); 748 __get_str(curstate),
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | i9xx_wm.c | 2592 const struct intel_plane_state *curstate, in ilk_compute_wm_level() argument 2615 if (curstate) in ilk_compute_wm_level() 2616 result->cur_val = ilk_compute_cur_wm(crtc_state, curstate, cur_latency); in ilk_compute_wm_level() 2810 const struct intel_plane_state *curstate = NULL; in ilk_compute_pipe_wm() local 2822 curstate = plane_state; in ilk_compute_pipe_wm() 2841 pristate, sprstate, curstate, &pipe_wm->wm[0]); in ilk_compute_pipe_wm() 2852 pristate, sprstate, curstate, wm); in ilk_compute_pipe_wm()
|