blob: 14b6df90e86481a5aad40e19d347c0ce33617fda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef _AF903X_IOCTL_H_
#define _AF903X_IOCTL_H_
#include <linux/ioctl.h> /* needed for the _IOW etc stuff used later */
/*
* Ioctl definitions
*/
/* Use 'k' as magic number */
#define AFA_IOC_MAGIC 'k'
/* Please use a different 8-bit number in your code */
//#define AFA_IOCRESETINTERVAL _IO(AFA_IOC_MAGIC, 0)
/*
* S means "Set" through a ptr,
* T means "Tell" directly with the argument value
* G means "Get": reply by setting through a pointer
* Q means "Query": response is on the return value
* X means "eXchange": switch G and S atomically
* H means "sHift": switch T and Q atomically
*/
/* ... more to come */
#define AFA_IOC_MAXNR 14
#endif /* _AF903X-IOCTL_H_ */
|