Lines Matching refs:frames

117 	void *frames;
276 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe;
317 * (consisting of bcm_msg_head + x CAN frames)
320 struct canfd_frame *frames, int has_timestamp)
336 /* CAN frames starting here */
339 skb_put_data(skb, frames, datalen);
513 struct canfd_frame *cf = op->frames + op->cfsiz * index;
566 /* clear received CAN frames to indicate 'nothing received' */
671 /* send reply for RTR-request (placed in op->frames[0]) */
698 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) ==
699 (get_u64(op->frames, 0) &
700 get_u64(op->frames + op->cfsiz * i, 0))) {
732 if ((op->frames) && (op->frames != &op->sframe))
733 kfree(op->frames);
851 bcm_send_to_user(op, msg_head, op->frames, 0);
868 /* we need a real device to send frames */
886 * Do we need more space for the CAN frames than currently
893 /* update CAN frames content */
896 cf = op->frames + op->cfsiz * i;
928 /* create array for CAN frames and copy the data */
930 op->frames = kmalloc_array(msg_head->nframes,
933 if (!op->frames) {
938 op->frames = &op->sframe;
942 cf = op->frames + op->cfsiz * i;
1029 if (op->frames != &op->sframe)
1030 kfree(op->frames);
1072 * Do we need more space for the CAN frames than currently
1080 /* update CAN frames content */
1081 err = memcpy_from_msg(op->frames, msg,
1108 /* create array for CAN frames and copy the data */
1109 op->frames = kmalloc_array(msg_head->nframes,
1112 if (!op->frames) {
1117 /* create and init array for received CAN frames */
1122 kfree(op->frames);
1128 op->frames = &op->sframe;
1133 err = memcpy_from_msg(op->frames, msg,
1136 if (op->frames != &op->sframe)
1137 kfree(op->frames);
1172 struct canfd_frame *frame0 = op->frames;
1256 /* we need a real device to send frames */