blob: 6ae1dd7f42abed0e322375fa74ecf17ea3cd4981 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef _UAPI__HPET__
8#define _UAPI__HPET__
9#include <linux/compiler.h>
10struct hpet_info {
Tao Baod7db5942015-01-28 10:07:51 -080011 unsigned long hi_ireqfreq;
12 unsigned long hi_flags;
13 unsigned short hi_hpet;
14 unsigned short hi_timer;
Ben Cheng655a7c02013-10-16 16:09:24 -070015};
16#define HPET_INFO_PERIODIC 0x0010
17#define HPET_IE_ON _IO('h', 0x01)
18#define HPET_IE_OFF _IO('h', 0x02)
Ben Cheng655a7c02013-10-16 16:09:24 -070019#define HPET_INFO _IOR('h', 0x03, struct hpet_info)
20#define HPET_EPI _IO('h', 0x04)
21#define HPET_DPI _IO('h', 0x05)
22#define HPET_IRQFREQ _IOW('h', 0x6, unsigned long)
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define MAX_HPET_TBS 8
Nick Kralevicha67e4de2013-01-14 11:28:26 -080024#endif