Lines Matching refs:frames

119 	void *frames;  member
288 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
332 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
360 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
544 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
739 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == in bcm_rx_handler()
740 (get_u64(op->frames, 0) & in bcm_rx_handler()
741 get_u64(op->frames + op->cfsiz * i, 0))) { in bcm_rx_handler()
774 if ((op->frames) && (op->frames != &op->sframe)) in bcm_free_op_rcu()
775 kfree(op->frames); in bcm_free_op_rcu()
893 bcm_send_to_user(op, msg_head, op->frames, 0); in bcm_read_op()
938 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
972 op->frames = kmalloc_array(msg_head->nframes, in bcm_tx_setup()
975 if (!op->frames) { in bcm_tx_setup()
980 op->frames = &op->sframe; in bcm_tx_setup()
984 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
1071 if (op->frames != &op->sframe) in bcm_tx_setup()
1072 kfree(op->frames); in bcm_tx_setup()
1123 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1151 op->frames = kmalloc_array(msg_head->nframes, in bcm_rx_setup()
1154 if (!op->frames) { in bcm_rx_setup()
1164 kfree(op->frames); in bcm_rx_setup()
1170 op->frames = &op->sframe; in bcm_rx_setup()
1175 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1178 if (op->frames != &op->sframe) in bcm_rx_setup()
1179 kfree(op->frames); in bcm_rx_setup()
1214 struct canfd_frame *frame0 = op->frames; in bcm_rx_setup()