Lines Matching refs:last_frames
115 void *last_frames; member
504 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; in bcm_rx_cmp_to_index()
555 if ((op->flags & RX_ANNOUNCE_RESUME) && op->last_frames) { in bcm_rx_timeout_handler()
557 memset(op->last_frames, 0, op->nframes * op->cfsiz); in bcm_rx_timeout_handler()
579 struct canfd_frame *lcf = op->last_frames + op->cfsiz * index; in bcm_rx_do_flush()
581 if ((op->last_frames) && (lcf->flags & RX_THR)) { in bcm_rx_do_flush()
662 bcm_rx_update_and_send(op, op->last_frames, rxframe); in bcm_rx_handler()
720 if ((op->last_frames) && (op->last_frames != &op->last_sframe)) in bcm_remove_op()
721 kfree(op->last_frames); in bcm_remove_op()
941 op->last_frames = NULL; in bcm_tx_setup()
1057 memset(op->last_frames, 0, msg_head->nframes * op->cfsiz); in bcm_rx_setup()
1088 op->last_frames = kcalloc(msg_head->nframes, in bcm_rx_setup()
1091 if (!op->last_frames) { in bcm_rx_setup()
1099 op->last_frames = &op->last_sframe; in bcm_rx_setup()
1108 if (op->last_frames != &op->last_sframe) in bcm_rx_setup()
1109 kfree(op->last_frames); in bcm_rx_setup()