Lines Matching refs:cx
114 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle() local
120 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) { in omap3_enter_idle()
123 pwrdm_set_next_pwrst(mpu_pd, cx->mpu_state); in omap3_enter_idle()
124 pwrdm_set_next_pwrst(core_pd, cx->core_state); in omap3_enter_idle()
131 if (cx->mpu_state == PWRDM_POWER_OFF) in omap3_enter_idle()
141 if (cx->mpu_state == PWRDM_POWER_OFF && in omap3_enter_idle()
146 if (cx->flags & OMAP_CPUIDLE_CX_NO_CLKDM_IDLE) in omap3_enter_idle()
170 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in next_valid_state() local
188 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
189 (cx->core_state >= core_deepest_state)) in next_valid_state()
197 cx = &omap3_idle_data[idx]; in next_valid_state()
198 if ((cx->mpu_state >= mpu_deepest_state) && in next_valid_state()
199 (cx->core_state >= core_deepest_state)) { in next_valid_state()
223 struct omap3_idle_statedata *cx; in omap3_enter_idle_bm() local
243 cx = &omap3_idle_data[new_state_idx]; in omap3_enter_idle_bm()
247 if (per_next_state < cx->per_min_state) { in omap3_enter_idle_bm()
248 per_next_state = cx->per_min_state; in omap3_enter_idle_bm()