Lines Matching refs:frames
116 void *frames; member
271 struct canfd_frame *cf = op->frames + op->cfsiz * op->currframe; in bcm_can_tx()
314 struct canfd_frame *frames, int has_timestamp) in bcm_send_to_user() argument
333 skb_put_data(skb, frames, datalen); in bcm_send_to_user()
505 struct canfd_frame *cf = op->frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
684 if ((get_u64(op->frames, 0) & get_u64(rxframe, 0)) == in bcm_rx_handler()
685 (get_u64(op->frames, 0) & in bcm_rx_handler()
686 get_u64(op->frames + op->cfsiz * i, 0))) { in bcm_rx_handler()
719 if ((op->frames) && (op->frames != &op->sframe)) in bcm_remove_op()
720 kfree(op->frames); in bcm_remove_op()
827 bcm_send_to_user(op, msg_head, op->frames, 0); in bcm_read_op()
872 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
906 op->frames = kmalloc_array(msg_head->nframes, in bcm_tx_setup()
909 if (!op->frames) { in bcm_tx_setup()
914 op->frames = &op->sframe; in bcm_tx_setup()
918 cf = op->frames + op->cfsiz * i; in bcm_tx_setup()
930 if (op->frames != &op->sframe) in bcm_tx_setup()
931 kfree(op->frames); in bcm_tx_setup()
1053 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1081 op->frames = kmalloc_array(msg_head->nframes, in bcm_rx_setup()
1084 if (!op->frames) { in bcm_rx_setup()
1094 kfree(op->frames); in bcm_rx_setup()
1100 op->frames = &op->sframe; in bcm_rx_setup()
1105 err = memcpy_from_msg(op->frames, msg, in bcm_rx_setup()
1108 if (op->frames != &op->sframe) in bcm_rx_setup()
1109 kfree(op->frames); in bcm_rx_setup()
1144 struct canfd_frame *frame0 = op->frames; in bcm_rx_setup()