Lines Matching defs:cfsiz
112 int cfsiz;
276 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe;
289 skb = alloc_skb(op->cfsiz + sizeof(struct can_skb_priv), gfp_any());
297 skb_put_data(skb, cf, op->cfsiz);
326 unsigned int datalen = head->nframes * op->cfsiz;
470 memcpy(lastdata, rxdata, op->cfsiz);
513 struct canfd_frame *cf = op->frames + op->cfsiz * index;
514 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index;
567 memset(op->last_frames, 0, op->nframes * op->cfsiz);
590 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index;
700 get_u64(op->frames + op->cfsiz * i, 0))) {
896 cf = op->frames + op->cfsiz * i;
897 err = memcpy_from_msg((u8 *)cf, msg, op->cfsiz);
925 op->cfsiz = CFSIZ(msg_head->flags);
931 op->cfsiz,
942 cf = op->frames + op->cfsiz * i;
943 err = memcpy_from_msg((u8 *)cf, msg, op->cfsiz);
1026 return msg_head->nframes * op->cfsiz + MHSIZ;
1082 msg_head->nframes * op->cfsiz);
1087 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz);
1104 op->cfsiz = CFSIZ(msg_head->flags);
1110 op->cfsiz,
1119 op->cfsiz,
1134 msg_head->nframes * op->cfsiz);
1243 return msg_head->nframes * op->cfsiz + MHSIZ;
1250 int cfsiz)
1260 skb = alloc_skb(cfsiz + sizeof(struct can_skb_priv), GFP_KERNEL);
1266 err = memcpy_from_msg(skb_put(skb, cfsiz), msg, cfsiz);
1288 return cfsiz + MHSIZ;
1300 int cfsiz;
1315 cfsiz = CFSIZ(msg_head.flags);
1316 if ((size - MHSIZ) % cfsiz)
1390 if ((msg_head.nframes != 1) || (size != cfsiz + MHSIZ))
1393 ret = bcm_tx_send(msg, ifindex, sk, cfsiz);