Lines Matching defs:m

19 #define CAPIMSG_U8(m, off)	(m[off])  argument
20 #define CAPIMSG_U16(m, off) (m[off]|(m[(off)+1]<<8)) argument
21 #define CAPIMSG_U32(m, off) (m[off]|(m[(off)+1]<<8)|(m[(off)+2]<<16)|(m[(off)+3]<<24)) argument
22 #define CAPIMSG_LEN(m) CAPIMSG_U16(m,0) argument
23 #define CAPIMSG_APPID(m) CAPIMSG_U16(m,2) argument
24 #define CAPIMSG_COMMAND(m) CAPIMSG_U8(m,4) argument
25 #define CAPIMSG_SUBCOMMAND(m) CAPIMSG_U8(m,5) argument
26 #define CAPIMSG_CMD(m) (((m[4])<<8)|(m[5])) argument
27 #define CAPIMSG_MSGID(m) CAPIMSG_U16(m,6) argument
28 #define CAPIMSG_CONTROLLER(m) (m[8] & 0x7f) argument
29 #define CAPIMSG_CONTROL(m) CAPIMSG_U32(m, 8) argument
30 #define CAPIMSG_NCCI(m) CAPIMSG_CONTROL(m) argument
31 #define CAPIMSG_DATALEN(m) CAPIMSG_U16(m,16) /* DATA_B3_REQ */ argument
33 static inline void capimsg_setu8(void *m, int off, __u8 val) in capimsg_setu8()
38 static inline void capimsg_setu16(void *m, int off, __u16 val) in capimsg_setu16()
44 static inline void capimsg_setu32(void *m, int off, __u32 val) in capimsg_setu32()
52 #define CAPIMSG_SETLEN(m, len) capimsg_setu16(m, 0, len) argument
53 #define CAPIMSG_SETAPPID(m, applid) capimsg_setu16(m, 2, applid) argument
54 #define CAPIMSG_SETCOMMAND(m,cmd) capimsg_setu8(m, 4, cmd) argument
55 #define CAPIMSG_SETSUBCOMMAND(m, cmd) capimsg_setu8(m, 5, cmd) argument
56 #define CAPIMSG_SETMSGID(m, msgid) capimsg_setu16(m, 6, msgid) argument
57 #define CAPIMSG_SETCONTROL(m, contr) capimsg_setu32(m, 8, contr) argument
58 #define CAPIMSG_SETDATALEN(m, len) capimsg_setu16(m, 16, len) argument
139 __u8 *m; member