blob: a5ac256127ebcf498593d954b21ec7cd50803cf3 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/*
2 * Copyright (c) 2011, Code Aurora Forum. 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
Wentao Xua55500b2011-08-16 18:15:04 -040028#define DSPS_IOCTL_RESET _IO(DSPS_IOCTL_MAGIC, 5)
29
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070030#endif /* _DSPS_H_ */