Lines Matching refs:suspend_state_t
49 suspend_state_t mem_sleep_current = PM_SUSPEND_TO_IDLE;
50 suspend_state_t mem_sleep_default = PM_SUSPEND_MAX;
51 suspend_state_t pm_suspend_target_state;
161 static bool valid_state(suspend_state_t state) in valid_state()
185 suspend_state_t state; in mem_sleep_default_setup()
231 int suspend_valid_only_mem(suspend_state_t state) in suspend_valid_only_mem()
237 static bool sleep_state_supported(suspend_state_t state) in sleep_state_supported()
242 static int platform_suspend_prepare(suspend_state_t state) in platform_suspend_prepare()
248 static int platform_suspend_prepare_late(suspend_state_t state) in platform_suspend_prepare_late()
254 static int platform_suspend_prepare_noirq(suspend_state_t state) in platform_suspend_prepare_noirq()
263 static void platform_resume_noirq(suspend_state_t state) in platform_resume_noirq()
273 static void platform_resume_early(suspend_state_t state) in platform_resume_early()
279 static void platform_resume_finish(suspend_state_t state) in platform_resume_finish()
285 static int platform_suspend_begin(suspend_state_t state) in platform_suspend_begin()
295 static void platform_resume_end(suspend_state_t state) in platform_resume_end()
303 static void platform_recover(suspend_state_t state) in platform_recover()
309 static bool platform_suspend_again(suspend_state_t state) in platform_suspend_again()
342 static int suspend_prepare(suspend_state_t state) in suspend_prepare()
390 static int suspend_enter(suspend_state_t state, bool *wakeup) in suspend_enter()
475 int suspend_devices_and_enter(suspend_state_t state) in suspend_devices_and_enter()
546 static int enter_state(suspend_state_t state) in enter_state()
604 int pm_suspend(suspend_state_t state) in pm_suspend()