1 #ifndef _DSPS_H_ 2 #define _DSPS_H_ 3 4 #include <linux/ioctl.h> 5 6 #define DSPS_IOCTL_MAGIC 'd' 7 8 #define DSPS_IOCTL_ON _IO(DSPS_IOCTL_MAGIC, 1) 9 #define DSPS_IOCTL_OFF _IO(DSPS_IOCTL_MAGIC, 2) 10 11 #define DSPS_IOCTL_READ_SLOW_TIMER _IOR(DSPS_IOCTL_MAGIC, 3, unsigned int*) 12 #define DSPS_IOCTL_READ_FAST_TIMER _IOR(DSPS_IOCTL_MAGIC, 4, unsigned int*) 13 14 #define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5) 15 16 #endif /* _DSPS_H_ */ 17