Lines Matching refs:next_frm
211 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming()
288 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
294 if (common->next_frm != NULL) in vpif_stop_streaming()
295 vb2_buffer_done(&common->next_frm->vb, in vpif_stop_streaming()
300 common->next_frm = list_entry(common->dma_queue.next, in vpif_stop_streaming()
302 list_del(&common->next_frm->list); in vpif_stop_streaming()
303 vb2_buffer_done(&common->next_frm->vb, VB2_BUF_STATE_ERROR); in vpif_stop_streaming()
332 common->cur_frm = common->next_frm; in vpif_process_buffer_complete()
348 common->next_frm = list_entry(common->dma_queue.next, in vpif_schedule_next_buffer()
351 list_del(&common->next_frm->list); in vpif_schedule_next_buffer()
353 addr = vb2_dma_contig_plane_dma_addr(&common->next_frm->vb, 0); in vpif_schedule_next_buffer()
432 if (common->cur_frm == common->next_frm) in vpif_channel_isr()
441 (common->cur_frm != common->next_frm)) { in vpif_channel_isr()