Lines Matching refs:off
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
33 static inline void capimsg_setu8(void *m, int off, __u8 val) in capimsg_setu8() argument
35 ((__u8 *)m)[off] = val; in capimsg_setu8()
38 static inline void capimsg_setu16(void *m, int off, __u16 val) in capimsg_setu16() argument
40 ((__u8 *)m)[off] = val & 0xff; in capimsg_setu16()
41 ((__u8 *)m)[off+1] = (val >> 8) & 0xff; in capimsg_setu16()
44 static inline void capimsg_setu32(void *m, int off, __u32 val) in capimsg_setu32() argument
46 ((__u8 *)m)[off] = val & 0xff; in capimsg_setu32()
47 ((__u8 *)m)[off+1] = (val >> 8) & 0xff; in capimsg_setu32()
48 ((__u8 *)m)[off+2] = (val >> 16) & 0xff; in capimsg_setu32()
49 ((__u8 *)m)[off+3] = (val >> 24) & 0xff; in capimsg_setu32()