1*8d67ca89SAndroid Build Coastguard Worker /* 2*8d67ca89SAndroid Build Coastguard Worker * This file is auto-generated. Modifications will be lost. 3*8d67ca89SAndroid Build Coastguard Worker * 4*8d67ca89SAndroid Build Coastguard Worker * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5*8d67ca89SAndroid Build Coastguard Worker * for more information. 6*8d67ca89SAndroid Build Coastguard Worker */ 7*8d67ca89SAndroid Build Coastguard Worker #ifndef _UAPI__HPET__ 8*8d67ca89SAndroid Build Coastguard Worker #define _UAPI__HPET__ 9*8d67ca89SAndroid Build Coastguard Worker #include <linux/compiler.h> 10*8d67ca89SAndroid Build Coastguard Worker struct hpet_info { 11*8d67ca89SAndroid Build Coastguard Worker unsigned long hi_ireqfreq; 12*8d67ca89SAndroid Build Coastguard Worker unsigned long hi_flags; 13*8d67ca89SAndroid Build Coastguard Worker unsigned short hi_hpet; 14*8d67ca89SAndroid Build Coastguard Worker unsigned short hi_timer; 15*8d67ca89SAndroid Build Coastguard Worker }; 16*8d67ca89SAndroid Build Coastguard Worker #define HPET_INFO_PERIODIC 0x0010 17*8d67ca89SAndroid Build Coastguard Worker #define HPET_IE_ON _IO('h', 0x01) 18*8d67ca89SAndroid Build Coastguard Worker #define HPET_IE_OFF _IO('h', 0x02) 19*8d67ca89SAndroid Build Coastguard Worker #define HPET_INFO _IOR('h', 0x03, struct hpet_info) 20*8d67ca89SAndroid Build Coastguard Worker #define HPET_EPI _IO('h', 0x04) 21*8d67ca89SAndroid Build Coastguard Worker #define HPET_DPI _IO('h', 0x05) 22*8d67ca89SAndroid Build Coastguard Worker #define HPET_IRQFREQ _IOW('h', 0x6, unsigned long) 23*8d67ca89SAndroid Build Coastguard Worker #define MAX_HPET_TBS 8 24*8d67ca89SAndroid Build Coastguard Worker #endif 25