• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI__HPET__
7 #define _UAPI__HPET__
8 #include <linux/compiler.h>
9 struct hpet_info {
10 	unsigned long hi_ireqfreq;
11 	unsigned long hi_flags;
12 	unsigned short hi_hpet;
13 	unsigned short hi_timer;
14 };
15 #define HPET_INFO_PERIODIC	0x0010
16 #define	HPET_IE_ON	_IO('h', 0x01)
17 #define	HPET_IE_OFF	_IO('h', 0x02)
18 #define	HPET_INFO	_IOR('h', 0x03, struct hpet_info)
19 #define	HPET_EPI	_IO('h', 0x04)
20 #define	HPET_DPI	_IO('h', 0x05)
21 #define	HPET_IRQFREQ	_IOW('h', 0x6, unsigned long)
22 #define MAX_HPET_TBS	8
23 #endif
24