Lines Matching refs:frames

117 	void *frames;  member
276 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
320 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
339 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
513 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
698 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == in bcm_rx_handler()
699 (get_u64(op->frames, 0) & in bcm_rx_handler()
700 get_u64(op->frames + op->cfsiz * i, 0))) { in bcm_rx_handler()
732 if ((op->frames) && (op->frames != &op->sframe)) in bcm_free_op_rcu()
733 kfree(op->frames); in bcm_free_op_rcu()
851 bcm_send_to_user(op, msg_head, op->frames, 0); in bcm_read_op()
896 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
930 op->frames = kmalloc_array(msg_head->nframes, in bcm_tx_setup()
933 if (!op->frames) { in bcm_tx_setup()
938 op->frames = &op->sframe; in bcm_tx_setup()
942 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
954 if (op->frames != &op->sframe) in bcm_tx_setup()
955 kfree(op->frames); in bcm_tx_setup()
1077 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1105 op->frames = kmalloc_array(msg_head->nframes, in bcm_rx_setup()
1108 if (!op->frames) { in bcm_rx_setup()
1118 kfree(op->frames); in bcm_rx_setup()
1124 op->frames = &op->sframe; in bcm_rx_setup()
1129 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1132 if (op->frames != &op->sframe) in bcm_rx_setup()
1133 kfree(op->frames); in bcm_rx_setup()
1168 struct canfd_frame *frame0 = op->frames; in bcm_rx_setup()