00001
00023 #ifndef __ANALOGY_IOCTL__
00024 #define __ANALOGY_IOCTL__
00025
00026 #ifndef DOXYGEN_CPP
00027
00028 #ifdef __KERNEL__
00029
00030 #include <rtdm/rtdm_driver.h>
00031
00032 #define NB_IOCTL_FUNCTIONS 15
00033
00034 #endif
00035
00036 #include <analogy/device.h>
00037
00038 #define CIO 'd'
00039 #define A4L_DEVCFG _IOW(CIO,0,a4l_lnkdesc_t)
00040 #define A4L_DEVINFO _IOR(CIO,1,a4l_dvinfo_t)
00041 #define A4L_SUBDINFO _IOR(CIO,2,a4l_sbinfo_t)
00042 #define A4L_CHANINFO _IOR(CIO,3,a4l_chinfo_arg_t)
00043 #define A4L_RNGINFO _IOR(CIO,4,a4l_rnginfo_arg_t)
00044 #define A4L_CMD _IOWR(CIO,5,a4l_cmd_t)
00045 #define A4L_CANCEL _IOR(CIO,6,unsigned int)
00046 #define A4L_INSNLIST _IOR(CIO,7,unsigned int)
00047 #define A4L_INSN _IOR(CIO,8,unsigned int)
00048 #define A4L_BUFCFG _IOR(CIO,9,a4l_bufcfg_t)
00049 #define A4L_BUFINFO _IOWR(CIO,10,a4l_bufinfo_t)
00050 #define A4L_POLL _IOR(CIO,11,unsigned int)
00051 #define A4L_MMAP _IOWR(CIO,12,unsigned int)
00052 #define A4L_NBCHANINFO _IOR(CIO,13,a4l_chinfo_arg_t)
00053 #define A4L_NBRNGINFO _IOR(CIO,14,a4l_rnginfo_arg_t)
00054
00055 #endif
00056
00057 #endif