Lines Matching full:cx
97 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_smp() local
101 cx->mpu_state_vote++; in omap_enter_idle_smp()
102 if (cx->mpu_state_vote == num_online_cpus()) { in omap_enter_idle_smp()
103 pwrdm_set_logic_retst(mpu_pd, cx->mpu_logic_state); in omap_enter_idle_smp()
104 omap_set_pwrdm_state(mpu_pd, cx->mpu_state); in omap_enter_idle_smp()
108 omap4_enter_lowpower(dev->cpu, cx->cpu_state, true); in omap_enter_idle_smp()
111 if (cx->mpu_state_vote == num_online_cpus()) in omap_enter_idle_smp()
113 cx->mpu_state_vote--; in omap_enter_idle_smp()
123 struct idle_statedata *cx = state_ptr + index; in omap_enter_idle_coupled() local
150 mpuss_can_lose_context = (cx->mpu_state == PWRDM_POWER_RET) && in omap_enter_idle_coupled()
151 (cx->mpu_logic_state == PWRDM_POWER_OFF); in omap_enter_idle_coupled()
168 pwrdm_set_logic_retst(mpu_pd, cx->mpu_logic_state); in omap_enter_idle_coupled()
169 omap_set_pwrdm_state(mpu_pd, cx->mpu_state); in omap_enter_idle_coupled()
179 cx = state_ptr + index; in omap_enter_idle_coupled()
180 pwrdm_set_logic_retst(mpu_pd, cx->mpu_logic_state); in omap_enter_idle_coupled()
181 omap_set_pwrdm_state(mpu_pd, cx->mpu_state); in omap_enter_idle_coupled()
187 omap4_enter_lowpower(dev->cpu, cx->cpu_state, true); in omap_enter_idle_coupled()