Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | #ifndef _CAM_CAL_H |
2 | #define _CAM_CAL_H | |
3 | ||
4 | #include <linux/ioctl.h> | |
5 | ||
6 | ||
7 | #define CAM_CALAGIC 'i' | |
8 | //IOCTRL(inode * ,file * ,cmd ,arg ) | |
9 | //S means "set through a ptr" | |
10 | //T means "tell by a arg value" | |
11 | //G means "get by a ptr" | |
12 | //Q means "get by return a value" | |
13 | //X means "switch G and S atomically" | |
14 | //H means "switch T and Q atomically" | |
15 | ||
16 | /******************************************************************************* | |
17 | * | |
18 | ********************************************************************************/ | |
19 | ||
20 | //CAM_CAL write | |
21 | #define CAM_CALIOC_S_WRITE _IOW(CAM_CALAGIC,0,stCAM_CAL_INFO_STRUCT) | |
22 | //CAM_CAL read | |
23 | #define CAM_CALIOC_G_READ _IOWR(CAM_CALAGIC,5,stPCAM_CAL_INFO_STRUCT) | |
24 | ||
25 | #endif //_CAM_CAL_H | |
26 | ||
27 |