Lines Matching refs:frames

114 	void *frames;  member
269 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
312 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
331 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
503 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
682 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == in bcm_rx_handler()
683 (get_u64(op->frames, 0) & in bcm_rx_handler()
684 get_u64(op->frames + op->cfsiz * i, 0))) { in bcm_rx_handler()
717 if ((op->frames) && (op->frames != &op->sframe)) in bcm_remove_op()
718 kfree(op->frames); in bcm_remove_op()
825 bcm_send_to_user(op, msg_head, op->frames, 0); in bcm_read_op()
870 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
904 op->frames = kmalloc_array(msg_head->nframes, in bcm_tx_setup()
907 if (!op->frames) { in bcm_tx_setup()
912 op->frames = &op->sframe; in bcm_tx_setup()
916 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
928 if (op->frames != &op->sframe) in bcm_tx_setup()
929 kfree(op->frames); in bcm_tx_setup()
1051 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1079 op->frames = kmalloc_array(msg_head->nframes, in bcm_rx_setup()
1082 if (!op->frames) { in bcm_rx_setup()
1092 kfree(op->frames); in bcm_rx_setup()
1098 op->frames = &op->sframe; in bcm_rx_setup()
1103 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1106 if (op->frames != &op->sframe) in bcm_rx_setup()
1107 kfree(op->frames); in bcm_rx_setup()
1142 struct canfd_frame *frame0 = op->frames; in bcm_rx_setup()