xref: /freebsd/sys/compat/linuxkpi/common/include/linux/suspend.h (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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
18 pm_suspend_via_firmware(void)
19 {
20 	return 0;
21 }
22 
23 #endif	/* _LINUXKPI_LINUX_SUSPEND_H_ */
24