xref: /freebsd/sys/compat/linuxkpi/common/include/linux/suspend.h (revision a0fdaf9a7b34b6f8fdab747f7a198158e66b57ab)
1 /* Public domain. */
2 
3 #ifndef _LINUXKPI_LINUX_SUSPEND_H_
4 #define _LINUXKPI_LINUX_SUSPEND_H_
5 
6 typedef int suspend_state_t;
7 
8 extern suspend_state_t pm_suspend_target_state;
9 
10 #define	PM_SUSPEND_ON		0
11 #define	PM_SUSPEND_TO_IDLE	1
12 #define	PM_SUSPEND_STANDBY	2
13 #define	PM_SUSPEND_MEM		3
14 #define	PM_SUSPEND_MIN		PM_SUSPEND_TO_IDLE
15 #define	PM_SUSPEND_MAX		4
16 
17 static inline int
pm_suspend_via_firmware(void)18 pm_suspend_via_firmware(void)
19 {
20 	return 0;
21 }
22 
23 #endif	/* _LINUXKPI_LINUX_SUSPEND_H_ */
24