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;
652 if (skb->len != op->cfsiz)
695 get_u64(op->frames + op->cfsiz * i, 0))) {
891 cf = op->frames + op->cfsiz * i;
892 err = memcpy_from_msg((u8 *)cf, msg, op->cfsiz);
920 op->cfsiz = CFSIZ(msg_head->flags);
926 op->cfsiz,
937 cf = op->frames + op->cfsiz * i;
938 err = memcpy_from_msg((u8 *)cf, msg, op->cfsiz);
1021 return msg_head->nframes * op->cfsiz + MHSIZ;
1077 msg_head->nframes * op->cfsiz);
1082 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz);
1099 op->cfsiz = CFSIZ(msg_head->flags);
1105 op->cfsiz,
1114 op->cfsiz,
1129 msg_head->nframes * op->cfsiz);
1238 return msg_head->nframes * op->cfsiz + MHSIZ;
1245 int cfsiz)
1255 skb = alloc_skb(cfsiz + sizeof(struct can_skb_priv), GFP_KERNEL);
1261 err = memcpy_from_msg(skb_put(skb, cfsiz), msg, cfsiz);
1283 return cfsiz + MHSIZ;
1295 int cfsiz;
1310 cfsiz = CFSIZ(msg_head.flags);
1311 if ((size - MHSIZ) % cfsiz)
1385 if ((msg_head.nframes != 1) || (size != cfsiz + MHSIZ))
1388 ret = bcm_tx_send(msg, ifindex, sk, cfsiz);