Searched refs:curstate (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/arch/x86/platform/intel-mid/ |
H A 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()
|
/openbmc/linux/kernel/ |
H A 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()
|
/openbmc/linux/drivers/pwm/ |
H A D | pwm-rockchip.c | 191 struct pwm_state curstate; in rockchip_pwm_apply() local 203 pwm_get_state(pwm, &curstate); in rockchip_pwm_apply() 204 enabled = curstate.enabled; in rockchip_pwm_apply() 206 if (state->polarity != curstate.polarity && enabled && in rockchip_pwm_apply()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | trace_tx.h | 739 __string(curstate, cstate) 743 __assign_str(curstate, cstate); 748 __get_str(curstate),
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | i9xx_wm.c | 2581 const struct intel_plane_state *curstate, in ilk_compute_wm_level() argument 2604 if (curstate) in ilk_compute_wm_level() 2605 result->cur_val = ilk_compute_cur_wm(crtc_state, curstate, cur_latency); in ilk_compute_wm_level() 2799 const struct intel_plane_state *curstate = NULL; in ilk_compute_pipe_wm() local 2811 curstate = plane_state; in ilk_compute_pipe_wm() 2830 pristate, sprstate, curstate, &pipe_wm->wm[0]); in ilk_compute_pipe_wm() 2841 pristate, sprstate, curstate, wm); in ilk_compute_pipe_wm()
|