Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/suspend.h
| /* Public domain. */ | /* Public domain. */ | ||||
| #ifndef _LINUXKPI_LINUX_SUSPEND_H_ | #ifndef _LINUXKPI_LINUX_SUSPEND_H_ | ||||
| #define _LINUXKPI_LINUX_SUSPEND_H_ | #define _LINUXKPI_LINUX_SUSPEND_H_ | ||||
| #include <linux/swap.h> | |||||
| #include <linux/notifier.h> | |||||
| #include <linux/init.h> | |||||
| #include <linux/pm.h> | |||||
| #include <linux/mm.h> | |||||
| typedef int suspend_state_t; | typedef int suspend_state_t; | ||||
| extern suspend_state_t pm_suspend_target_state; | extern suspend_state_t pm_suspend_target_state; | ||||
| #define PM_SUSPEND_ON 0 | #define PM_SUSPEND_ON 0 | ||||
| #define PM_SUSPEND_TO_IDLE 1 | #define PM_SUSPEND_TO_IDLE 1 | ||||
| #define PM_SUSPEND_STANDBY 2 | #define PM_SUSPEND_STANDBY 2 | ||||
| #define PM_SUSPEND_MEM 3 | #define PM_SUSPEND_MEM 3 | ||||
| Show All 10 Lines | |||||