Lines Matching refs:canfd_frame
88 struct canfd_frame and;
89 struct canfd_frame or;
90 struct canfd_frame xor;
91 struct canfd_frame set;
99 void (*modfunc[MAX_MODFUNCTIONS])(struct canfd_frame *cf,
108 void (*xor)(struct canfd_frame *cf,
110 void (*crc8)(struct canfd_frame *cf,
154 #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \
174 static void mod_and_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_and_fddata()
182 static void mod_or_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_or_fddata()
190 static void mod_xor_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_xor_fddata()
198 static void mod_set_fddata(struct canfd_frame *cf, struct cf_mod *mod) in mod_set_fddata()
203 static void canframecpy(struct canfd_frame *dst, struct can_frame *src) in canframecpy()
215 static void canfdframecpy(struct canfd_frame *dst, struct canfd_frame *src) in canfdframecpy()
259 static void cgw_csum_xor_rel(struct canfd_frame *cf, struct cgw_csum_xor *xor) in cgw_csum_xor_rel()
281 static void cgw_csum_xor_pos(struct canfd_frame *cf, struct cgw_csum_xor *xor) in cgw_csum_xor_pos()
292 static void cgw_csum_xor_neg(struct canfd_frame *cf, struct cgw_csum_xor *xor) in cgw_csum_xor_neg()
303 static void cgw_csum_crc8_rel(struct canfd_frame *cf, in cgw_csum_crc8_rel()
341 static void cgw_csum_crc8_pos(struct canfd_frame *cf, in cgw_csum_crc8_pos()
368 static void cgw_csum_crc8_neg(struct canfd_frame *cf, in cgw_csum_crc8_neg()
399 struct canfd_frame *cf; in can_can_gw_rcv()
468 cf = (struct canfd_frame *)nskb->data; in can_can_gw_rcv()
477 int max_len = nskb->len - offsetof(struct canfd_frame, data); in can_can_gw_rcv()