Lines Matching refs:last_frames
114 void *last_frames; member
488 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
562 if ((op->flags & RX_ANNOUNCE_RESUME) && op->last_frames) { in bcm_rx_timeout_handler()
564 memset(op->last_frames, 0, op->nframes * op->cfsiz); in bcm_rx_timeout_handler()
576 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; in bcm_rx_do_flush()
578 if ((op->last_frames) && (lcf->flags & RX_THR)) { in bcm_rx_do_flush()
673 bcm_rx_update_and_send(op, op->last_frames, rxframe); in bcm_rx_handler()
746 if ((op->last_frames) && (op->last_frames != &op->last_sframe)) in bcm_remove_op()
747 kfree(op->last_frames); in bcm_remove_op()
963 op->last_frames = NULL; in bcm_tx_setup()
1077 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz); in bcm_rx_setup()
1108 op->last_frames = kcalloc(msg_head->nframes, in bcm_rx_setup()
1111 if (!op->last_frames) { in bcm_rx_setup()
1119 op->last_frames = &op->last_sframe; in bcm_rx_setup()
1128 if (op->last_frames != &op->last_sframe) in bcm_rx_setup()
1129 kfree(op->last_frames); in bcm_rx_setup()