1 /*
2  * Copyright (c) 2011, The Linux Foundation. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 and
6  * only version 2 as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  */
14 
15 #ifndef _DSPS_H_
16 #define _DSPS_H_
17 
18 #include <linux/ioctl.h>
19 
20 #define DSPS_IOCTL_MAGIC 'd'
21 
22 #define DSPS_IOCTL_ON	_IO(DSPS_IOCTL_MAGIC, 1)
23 #define DSPS_IOCTL_OFF	_IO(DSPS_IOCTL_MAGIC, 2)
24 
25 #define DSPS_IOCTL_READ_SLOW_TIMER _IOR(DSPS_IOCTL_MAGIC, 3, unsigned int*)
26 #define DSPS_IOCTL_READ_FAST_TIMER _IOR(DSPS_IOCTL_MAGIC, 4, unsigned int*)
27 
28 #define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5)
29 
30 #endif	/* _DSPS_H_ */
31