Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/
H A Dstop_machine.c181 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local
206 if (newstate != curstate) { in multi_cpu_stop()
207 curstate = newstate; in multi_cpu_stop()
208 switch (curstate) { in multi_cpu_stop()
221 } else if (curstate > MULTI_STOP_PREPARE) { in multi_cpu_stop()
230 } while (curstate != MULTI_STOP_EXIT); in multi_cpu_stop()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/pwm/
H A Dpwm-rockchip-i2s.c279 struct pwm_state curstate; in rockchip_i2s_pwm_apply() local
283 pwm_get_state(pwm, &curstate); in rockchip_i2s_pwm_apply()
284 enabled = curstate.enabled; in rockchip_i2s_pwm_apply()
480 struct pwm_state curstate; in rockchip_i2s_pwm_remove() local
482 pwm_get_state(pc->chip.pwms, &curstate); in rockchip_i2s_pwm_remove()
483 if (curstate.enabled) in rockchip_i2s_pwm_remove()
H A Dpwm-rockchip.c329 struct pwm_state curstate; in rockchip_pwm_apply() local
339 pwm_get_state(pwm, &curstate); in rockchip_pwm_apply()
340 enabled = curstate.enabled; in rockchip_pwm_apply()
342 if (state->polarity != curstate.polarity && enabled && in rockchip_pwm_apply()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dtrace_tx.h705 __string(curstate, cstate)
709 __assign_str(curstate, cstate);
714 __get_str(curstate),
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A Dintel_pm.c2819 const struct intel_plane_state *curstate, in ilk_compute_wm_level() argument
2842 if (curstate) in ilk_compute_wm_level()
2843 result->cur_val = ilk_compute_cur_wm(crtc_state, curstate, cur_latency); in ilk_compute_wm_level()
3151 const struct intel_plane_state *curstate = NULL; in ilk_compute_pipe_wm() local
3163 curstate = plane_state; in ilk_compute_pipe_wm()
3186 pristate, sprstate, curstate, &pipe_wm->wm[0]); in ilk_compute_pipe_wm()
3197 pristate, sprstate, curstate, wm); in ilk_compute_pipe_wm()