Lines Matching refs:cx
113 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle() local
119 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) { in omap3_enter_idle()
122 pwrdm_set_next_pwrst(mpu_pd, cx->mpu_state); in omap3_enter_idle()
123 pwrdm_set_next_pwrst(core_pd, cx->core_state); in omap3_enter_idle()
130 if (cx->mpu_state == PWRDM_POWER_OFF) in omap3_enter_idle()
140 if (cx->mpu_state == PWRDM_POWER_OFF && in omap3_enter_idle()
145 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) in omap3_enter_idle()
169 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in next_valid_state() local
187 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
188 (cx->core_state >= core_deepest_state)) in next_valid_state()
196 cx = &omap3_idle_data[idx]; in next_valid_state()
197 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
198 (cx->core_state >= core_deepest_state)) { in next_valid_state()
222 struct omap3_idle_statedata *cx; in omap3_enter_idle_bm() local
242 cx = &omap3_idle_data[new_state_idx]; in omap3_enter_idle_bm()
246 if (per_next_state < cx->per_min_state) { in omap3_enter_idle_bm()
247 per_next_state = cx->per_min_state; in omap3_enter_idle_bm()