1 /* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6 #ifndef _UAPI__LINUX_N_R3964_H__ 7 #define _UAPI__LINUX_N_R3964_H__ 8 #define R3964_ENABLE_SIGNALS 0x5301 9 #define R3964_SETPRIORITY 0x5302 10 #define R3964_USE_BCC 0x5303 11 #define R3964_READ_TELEGRAM 0x5304 12 #define R3964_MASTER 0 13 #define R3964_SLAVE 1 14 #define R3964_SIG_ACK 0x0001 15 #define R3964_SIG_DATA 0x0002 16 #define R3964_SIG_ALL 0x000f 17 #define R3964_SIG_NONE 0x0000 18 #define R3964_USE_SIGIO 0x1000 19 enum {R3964_MSG_ACK=1, R3964_MSG_DATA }; 20 #define R3964_MAX_MSG_COUNT 32 21 #define R3964_OK 0 22 #define R3964_TX_FAIL -1 23 #define R3964_OVERFLOW -2 24 struct r3964_client_message { 25 int msg_id; 26 int arg; 27 int error_code; 28 }; 29 #define R3964_MTU 256 30 #endif 31