Home
last modified time | relevance | path

Searched refs:cur_frm (Results 1 – 12 of 12) sorted by relevance

/Linux-v6.6/drivers/media/platform/ti/davinci/
Dvpif_display.c198 common->next_frm = common->cur_frm = in vpif_start_streaming()
202 list_del(&common->cur_frm->list); in vpif_start_streaming()
205 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming()
271 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
272 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
275 if (common->cur_frm) in vpif_stop_streaming()
276 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
328 if (common->cur_frm == common->next_frm) in process_interlaced_mode()
334 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in process_interlaced_mode()
336 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in process_interlaced_mode()
[all …]
Dvpif_capture.c206 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming()
209 list_del(&common->cur_frm->list); in vpif_start_streaming()
212 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming()
283 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
284 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
287 if (common->cur_frm) in vpif_stop_streaming()
288 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
326 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpif_process_buffer_complete()
327 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpif_process_buffer_complete()
329 common->cur_frm = common->next_frm; in vpif_process_buffer_complete()
[all …]
Dvpif_capture.h48 struct vpif_cap_buffer *cur_frm; member
Dvpif_display.h62 struct vpif_disp_buffer *cur_frm; /* Pointer pointing to current member
/Linux-v6.6/drivers/media/platform/ti/omap/
Domap_vout.c461 if (vout->cur_frm == vout->next_frm) in omapvid_handle_interlace_display()
464 vout->cur_frm->vbuf.vb2_buf.timestamp = ts; in omapvid_handle_interlace_display()
465 vout->cur_frm->vbuf.sequence = vout->sequence++; in omapvid_handle_interlace_display()
466 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omapvid_handle_interlace_display()
467 vout->cur_frm = vout->next_frm; in omapvid_handle_interlace_display()
470 (vout->cur_frm != vout->next_frm)) in omapvid_handle_interlace_display()
532 if (!vout->first_int && (vout->cur_frm != vout->next_frm)) { in omap_vout_isr()
533 vout->cur_frm->vbuf.vb2_buf.timestamp = ts; in omap_vout_isr()
534 vout->cur_frm->vbuf.sequence = vout->sequence++; in omap_vout_isr()
535 vb2_buffer_done(&vout->cur_frm->vbuf.vb2_buf, VB2_BUF_STATE_DONE); in omap_vout_isr()
[all …]
Domap_voutdef.h170 struct omap_vout_buffer *cur_frm, *next_frm; member
/Linux-v6.6/drivers/media/platform/microchip/
Dmicrochip-isc-base.c171 addr0 = vb2_dma_contig_plane_dma_addr(&isc->cur_frm->vb.vb2_buf, 0); in isc_start_dma()
369 isc->cur_frm = list_first_entry(&isc->dma_queue, in isc_start_streaming()
371 list_del(&isc->cur_frm->list); in isc_start_streaming()
420 if (isc->cur_frm && !wait_for_completion_timeout(&isc->comp, 5 * HZ)) in isc_stop_streaming()
437 if (unlikely(isc->cur_frm)) { in isc_stop_streaming()
438 vb2_buffer_done(&isc->cur_frm->vb.vb2_buf, in isc_stop_streaming()
440 isc->cur_frm = NULL; in isc_stop_streaming()
456 if (!isc->cur_frm && list_empty(&isc->dma_queue) && in isc_buffer_queue()
458 isc->cur_frm = buf; in isc_buffer_queue()
1228 if (isc->cur_frm) { in microchip_isc_interrupt()
[all …]
Dmicrochip-isc.h296 struct isc_buffer *cur_frm; member
/Linux-v6.6/drivers/staging/media/deprecated/atmel/
Datmel-isc-base.c181 addr0 = vb2_dma_contig_plane_dma_addr(&isc->cur_frm->vb.vb2_buf, 0); in isc_start_dma()
373 isc->cur_frm = list_first_entry(&isc->dma_queue, in isc_start_streaming()
375 list_del(&isc->cur_frm->list); in isc_start_streaming()
416 if (isc->cur_frm && !wait_for_completion_timeout(&isc->comp, 5 * HZ)) in isc_stop_streaming()
434 if (unlikely(isc->cur_frm)) { in isc_stop_streaming()
435 vb2_buffer_done(&isc->cur_frm->vb.vb2_buf, in isc_stop_streaming()
437 isc->cur_frm = NULL; in isc_stop_streaming()
453 if (!isc->cur_frm && list_empty(&isc->dma_queue) && in isc_buffer_queue()
455 isc->cur_frm = buf; in isc_buffer_queue()
1239 if (isc->cur_frm) { in atmel_isc_interrupt()
[all …]
Datmel-isc.h278 struct isc_buffer *cur_frm; member
/Linux-v6.6/drivers/media/platform/ti/am437x/
Dam437x-vpfe.c1148 vpfe->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpfe_process_buffer_complete()
1149 vpfe->cur_frm->vb.field = vpfe->fmt.fmt.pix.field; in vpfe_process_buffer_complete()
1150 vpfe->cur_frm->vb.sequence = vpfe->sequence++; in vpfe_process_buffer_complete()
1151 vb2_buffer_done(&vpfe->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpfe_process_buffer_complete()
1152 vpfe->cur_frm = vpfe->next_frm; in vpfe_process_buffer_complete()
1175 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_handle_interlaced_irq()
1195 if (vpfe->cur_frm == vpfe->next_frm) in vpfe_handle_interlaced_irq()
1225 if (vpfe->cur_frm != vpfe->next_frm) in vpfe_isr()
1238 vpfe->cur_frm == vpfe->next_frm) in vpfe_isr()
1852 if (vpfe->cur_frm) in vpfe_return_all_buffers()
[all …]
Dam437x-vpfe.h255 struct vpfe_cap_buffer *cur_frm; member