Lines Matching refs:suspend_state_t
34 typedef int __bitwise suspend_state_t; typedef
36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0)
37 #define PM_SUSPEND_TO_IDLE ((__force suspend_state_t) 1)
38 #define PM_SUSPEND_STANDBY ((__force suspend_state_t) 2)
39 #define PM_SUSPEND_MEM ((__force suspend_state_t) 3)
41 #define PM_SUSPEND_MAX ((__force suspend_state_t) 4)
178 int (*valid)(suspend_state_t state);
179 int (*begin)(suspend_state_t state);
182 int (*enter)(suspend_state_t state);
201 extern suspend_state_t mem_sleep_current;
202 extern suspend_state_t mem_sleep_default;
209 extern int suspend_valid_only_mem(suspend_state_t state);
331 extern int pm_suspend(suspend_state_t state);
344 static inline int pm_suspend(suspend_state_t state) { return -ENOSYS; } in pm_suspend()
495 extern suspend_state_t pm_suspend_target_state;