Lines Matching refs:frames

120 	void *frames;  member
304 cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
353 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
382 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
565 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
760 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == in bcm_rx_handler()
761 (get_u64(op->frames, 0) & in bcm_rx_handler()
762 get_u64(op->frames + op->cfsiz * i, 0))) { in bcm_rx_handler()
795 if ((op->frames) && (op->frames != &op->sframe)) in bcm_free_op_rcu()
796 kfree(op->frames); in bcm_free_op_rcu()
914 bcm_send_to_user(op, msg_head, op->frames, 0); in bcm_read_op()
959 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
1019 op->frames = kmalloc_array(msg_head->nframes, in bcm_tx_setup()
1022 if (!op->frames) { in bcm_tx_setup()
1027 op->frames = &op->sframe; in bcm_tx_setup()
1031 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
1100 if (op->frames != &op->sframe) in bcm_tx_setup()
1101 kfree(op->frames); in bcm_tx_setup()
1152 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1180 op->frames = kmalloc_array(msg_head->nframes, in bcm_rx_setup()
1183 if (!op->frames) { in bcm_rx_setup()
1193 kfree(op->frames); in bcm_rx_setup()
1199 op->frames = &op->sframe; in bcm_rx_setup()
1204 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1207 if (op->frames != &op->sframe) in bcm_rx_setup()
1208 kfree(op->frames); in bcm_rx_setup()
1240 struct canfd_frame *frame0 = op->frames; in bcm_rx_setup()