Lines Matching refs:next_state
57 u32 next_state; member
316 if (omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state)) in omap3_pm_suspend()
330 if (state > pwrst->next_state) { in omap3_pm_suspend()
332 pwrst->pwrdm->name, pwrst->next_state); in omap3_pm_suspend()
369 pwrst->next_state = PWRDM_POWER_RET; in omap3_pm_off_mode_enable()
373 pwrst->next_state = state; in omap3_pm_off_mode_enable()
375 omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); in omap3_pm_off_mode_enable()
385 return pwrst->next_state; in omap3_pm_get_suspend_state()
396 pwrst->next_state = state; in omap3_pm_set_suspend_state()
416 pwrst->next_state = PWRDM_POWER_OFF; in pwrdms_setup()
418 pwrst->next_state = PWRDM_POWER_RET; in pwrdms_setup()
425 return omap_set_pwrdm_state(pwrst->pwrdm, pwrst->next_state); in pwrdms_setup()