0001
0002 #ifndef _UAPI__HPET__
0003 #define _UAPI__HPET__
0004
0005 #include <linux/compiler.h>
0006
0007
0008 struct hpet_info {
0009 unsigned long hi_ireqfreq;
0010 unsigned long hi_flags;
0011 unsigned short hi_hpet;
0012 unsigned short hi_timer;
0013 };
0014
0015 #define HPET_INFO_PERIODIC 0x0010
0016
0017 #define HPET_IE_ON _IO('h', 0x01)
0018 #define HPET_IE_OFF _IO('h', 0x02)
0019 #define HPET_INFO _IOR('h', 0x03, struct hpet_info)
0020 #define HPET_EPI _IO('h', 0x04)
0021 #define HPET_DPI _IO('h', 0x05)
0022 #define HPET_IRQFREQ _IOW('h', 0x6, unsigned long)
0023
0024 #define MAX_HPET_TBS 8
0025
0026 #endif