move away from syscall counts towards operation counts
[trinity.git] / ioctls / hpet.c
blobe240df0647e6febf96a6f0760a839eaedc376cf1
1 #include <linux/ioctl.h>
2 #include <linux/hpet.h>
4 #include "utils.h"
5 #include "ioctls.h"
7 static const struct ioctl hpet_ioctls[] = {
8 IOCTL(HPET_IE_ON),
9 IOCTL(HPET_IE_OFF),
10 IOCTL(HPET_INFO),
11 IOCTL(HPET_EPI),
12 IOCTL(HPET_DPI),
13 IOCTL(HPET_IRQFREQ),
16 static const char *const hpet_devs[] = {
17 "hpet",
20 static const struct ioctl_group hpet_grp = {
21 .devtype = DEV_MISC,
22 .devs = hpet_devs,
23 .devs_cnt = ARRAY_SIZE(hpet_devs),
24 .sanitise = pick_random_ioctl,
25 .ioctls = hpet_ioctls,
26 .ioctls_cnt = ARRAY_SIZE(hpet_ioctls),
29 REG_IOCTL_GROUP(hpet_grp)