Searched refs:MODFUNC (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/net/can/ |
D | gw.c | 153 #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \ macro 156 MODFUNC(mod_and_id, cf->can_id &= mod->modframe.and.can_id) 157 MODFUNC(mod_and_len, cf->len &= mod->modframe.and.len) 158 MODFUNC(mod_and_flags, cf->flags &= mod->modframe.and.flags) 159 MODFUNC(mod_and_data, *(u64 *)cf->data &= *(u64 *)mod->modframe.and.data) 160 MODFUNC(mod_or_id, cf->can_id |= mod->modframe.or.can_id) 161 MODFUNC(mod_or_len, cf->len |= mod->modframe.or.len) 162 MODFUNC(mod_or_flags, cf->flags |= mod->modframe.or.flags) 163 MODFUNC(mod_or_data, *(u64 *)cf->data |= *(u64 *)mod->modframe.or.data) 164 MODFUNC(mod_xor_id, cf->can_id ^= mod->modframe.xor.can_id) [all …]
|