Go to the documentation of this file.
12 #ifndef __LINUX_CAPI_H__
13 #define __LINUX_CAPI_H__
15 #include <linux/types.h>
18 #include <linux/kernelcapi.h>
31 #define CAPI_REGISTER _IOW('C',0x01,struct capi_register_params)
37 #define CAPI_MANUFACTURER_LEN 64
39 #define CAPI_GET_MANUFACTURER _IOWR('C',0x06,int)
52 #define CAPI_GET_VERSION _IOWR('C',0x07,struct capi_version)
58 #define CAPI_SERIAL_LEN 8
59 #define CAPI_GET_SERIAL _IOWR('C',0x08,int)
76 #define CAPI_GET_PROFILE _IOWR('C',0x09,struct capi_profile)
87 #define CAPI_MANUFACTURER_CMD _IOWR('C',0x20, struct capi_manufacturer_cmd)
95 #define CAPI_GET_ERRCODE _IOR('C',0x21, __u16)
100 #define CAPI_INSTALLED _IOR('C',0x22, __u16)
123 #define CAPIFLAG_HIGHJACKING 0x0001
125 #define CAPI_GET_FLAGS _IOR('C',0x23, unsigned)
126 #define CAPI_SET_FLAGS _IOR('C',0x24, unsigned)
127 #define CAPI_CLR_FLAGS _IOR('C',0x25, unsigned)
129 #define CAPI_NCCI_OPENCOUNT _IOR('C',0x26, unsigned)
131 #define CAPI_NCCI_GETUNIT _IOR('C',0x27, unsigned)