Xenomai API  2.6.5
ioctl.h
Go to the documentation of this file.
1 
23 #ifndef __ANALOGY_IOCTL__
24 #define __ANALOGY_IOCTL__
25 
26 #ifndef DOXYGEN_CPP
27 
28 #ifdef __KERNEL__
29 
30 #include <rtdm/rtdm_driver.h>
31 
32 #define NB_IOCTL_FUNCTIONS 17
33 
34 #endif /* __KERNEL__ */
35 
36 #include <analogy/device.h>
37 
38 #define CIO 'd'
39 #define A4L_DEVCFG _IOW(CIO,0,a4l_lnkdesc_t)
40 #define A4L_DEVINFO _IOR(CIO,1,a4l_dvinfo_t)
41 #define A4L_SUBDINFO _IOR(CIO,2,a4l_sbinfo_t)
42 #define A4L_CHANINFO _IOR(CIO,3,a4l_chinfo_arg_t)
43 #define A4L_RNGINFO _IOR(CIO,4,a4l_rnginfo_arg_t)
44 #define A4L_CMD _IOWR(CIO,5,a4l_cmd_t)
45 #define A4L_CANCEL _IOR(CIO,6,unsigned int)
46 #define A4L_INSNLIST _IOR(CIO,7,unsigned int)
47 #define A4L_INSN _IOR(CIO,8,unsigned int)
48 #define A4L_BUFCFG _IOR(CIO,9,a4l_bufcfg_t)
49 #define A4L_BUFINFO _IOWR(CIO,10,a4l_bufinfo_t)
50 #define A4L_POLL _IOR(CIO,11,unsigned int)
51 #define A4L_MMAP _IOWR(CIO,12,unsigned int)
52 #define A4L_NBCHANINFO _IOR(CIO,13,a4l_chinfo_arg_t)
53 #define A4L_NBRNGINFO _IOR(CIO,14,a4l_rnginfo_arg_t)
54 
55 /* These IOCTLs are bound to be merged with A4L_BUFCFG and A4L_BUFINFO
56  at the next major release */
57 #define A4L_BUFCFG2 _IOR(CIO,15,a4l_bufcfg_t)
58 #define A4L_BUFINFO2 _IOWR(CIO,16,a4l_bufcfg_t)
59 
60 #endif /* !DOXYGEN_CPP */
61 
62 #endif /* __ANALOGY_IOCTL__ */
Analogy for Linux, device related features.
Real-Time Driver Model for Xenomai, driver API header.