Lines Matching refs:frames

116 	void *frames;  member
275 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
318 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
337 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
511 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
691 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == in bcm_rx_handler()
692 (get_u64(op->frames, 0) & in bcm_rx_handler()
693 get_u64(op->frames + op->cfsiz * i, 0))) { in bcm_rx_handler()
726 if ((op->frames) && (op->frames != &op->sframe)) in bcm_remove_op()
727 kfree(op->frames); in bcm_remove_op()
835 bcm_send_to_user(op, msg_head, op->frames, 0); in bcm_read_op()
880 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
914 op->frames = kmalloc_array(msg_head->nframes, in bcm_tx_setup()
917 if (!op->frames) { in bcm_tx_setup()
922 op->frames = &op->sframe; in bcm_tx_setup()
926 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
938 if (op->frames != &op->sframe) in bcm_tx_setup()
939 kfree(op->frames); in bcm_tx_setup()
1061 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1089 op->frames = kmalloc_array(msg_head->nframes, in bcm_rx_setup()
1092 if (!op->frames) { in bcm_rx_setup()
1102 kfree(op->frames); in bcm_rx_setup()
1108 op->frames = &op->sframe; in bcm_rx_setup()
1113 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1116 if (op->frames != &op->sframe) in bcm_rx_setup()
1117 kfree(op->frames); in bcm_rx_setup()
1152 struct canfd_frame *frame0 = op->frames; in bcm_rx_setup()