Lines Matching refs:last_frames
117 void *last_frames; member
506 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
557 if ((op->flags & RX_ANNOUNCE_RESUME) && op->last_frames) { in bcm_rx_timeout_handler()
559 memset(op->last_frames, 0, op->nframes * op->cfsiz); in bcm_rx_timeout_handler()
581 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; in bcm_rx_do_flush()
583 if ((op->last_frames) && (lcf->flags & RX_THR)) { in bcm_rx_do_flush()
664 bcm_rx_update_and_send(op, op->last_frames, rxframe); in bcm_rx_handler()
722 if ((op->last_frames) && (op->last_frames != &op->last_sframe)) in bcm_remove_op()
723 kfree(op->last_frames); in bcm_remove_op()
943 op->last_frames = NULL; in bcm_tx_setup()
1059 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz); in bcm_rx_setup()
1090 op->last_frames = kcalloc(msg_head->nframes, in bcm_rx_setup()
1093 if (!op->last_frames) { in bcm_rx_setup()
1101 op->last_frames = &op->last_sframe; in bcm_rx_setup()
1110 if (op->last_frames != &op->last_sframe) in bcm_rx_setup()
1111 kfree(op->last_frames); in bcm_rx_setup()