26 #ifndef _FT1000IOCTLH_
27 #define _FT1000IOCTLH_
89 #define FT1000_MAGIC_CODE 'F'
91 #define IOCTL_REGISTER_CMD 0
92 #define IOCTL_SET_DPRAM_CMD 3
93 #define IOCTL_GET_DPRAM_CMD 4
94 #define IOCTL_GET_DSP_STAT_CMD 6
95 #define IOCTL_GET_VER_CMD 7
96 #define IOCTL_CONNECT 10
97 #define IOCTL_DISCONNECT 11
99 #define IOCTL_FT1000_GET_DSP_STAT _IOR (FT1000_MAGIC_CODE, IOCTL_GET_DSP_STAT_CMD, sizeof(IOCTL_GET_DSP_STAT) )
100 #define IOCTL_FT1000_GET_VER _IOR (FT1000_MAGIC_CODE, IOCTL_GET_VER_CMD, sizeof(IOCTL_GET_VER) )
101 #define IOCTL_FT1000_CONNECT _IOW (FT1000_MAGIC_CODE, IOCTL_CONNECT, 0 )
102 #define IOCTL_FT1000_DISCONNECT _IOW (FT1000_MAGIC_CODE, IOCTL_DISCONNECT, 0 )
103 #define IOCTL_FT1000_SET_DPRAM _IOW (FT1000_MAGIC_CODE, IOCTL_SET_DPRAM_CMD, sizeof(IOCTL_DPRAM_BLK) )
104 #define IOCTL_FT1000_GET_DPRAM _IOR (FT1000_MAGIC_CODE, IOCTL_GET_DPRAM_CMD, sizeof(IOCTL_DPRAM_BLK) )
105 #define IOCTL_FT1000_REGISTER _IOW (FT1000_MAGIC_CODE, IOCTL_REGISTER_CMD, sizeof(unsigned short *) )
106 #endif // _FT1000IOCTLH_