Home
last modified time | relevance | path

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

/linux/drivers/media/platform/ti/davinci/
H A Dvpif_display.c199 common->next_frm = common->cur_frm = in vpif_start_streaming()
203 list_del(&common->cur_frm->list); in vpif_start_streaming()
206 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming()
272 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
273 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
276 if (common->cur_frm) in vpif_stop_streaming()
277 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
329 if (common->cur_frm == common->next_frm) in process_interlaced_mode()
335 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in process_interlaced_mode()
337 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in process_interlaced_mode()
[all …]
H A Dvpif_capture.c207 common->cur_frm = common->next_frm = list_entry(common->dma_queue.next, in vpif_start_streaming()
210 list_del(&common->cur_frm->list); in vpif_start_streaming()
213 addr = vb2_dma_contig_plane_dma_addr(&common->cur_frm->vb.vb2_buf, 0); in vpif_start_streaming()
284 if (common->cur_frm == common->next_frm) { in vpif_stop_streaming()
285 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
288 if (common->cur_frm) in vpif_stop_streaming()
289 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, in vpif_stop_streaming()
327 common->cur_frm->vb.vb2_buf.timestamp = ktime_get_ns(); in vpif_process_buffer_complete()
328 vb2_buffer_done(&common->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in vpif_process_buffer_complete()
330 common->cur_frm = common->next_frm; in vpif_process_buffer_complete()
[all …]
H A Dvpif_capture.h48 struct vpif_cap_buffer *cur_frm; member
H A Dvpif_display.h62 struct vpif_disp_buffer *cur_frm; /* Pointer pointing to current member
/linux/drivers/media/platform/ti/omap/
H A 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 …]
H A Domap_voutdef.h170 struct omap_vout_buffer *cur_frm, *next_frm; member
/linux/drivers/media/platform/broadcom/
H A Dbcm2835-unicam.c158 struct unicam_buffer *cur_frm; member
656 struct unicam_buffer *frm = node->cur_frm; in unicam_get_lines_done()
691 node->cur_frm->vb.field = node->fmt.fmt.pix.field; in unicam_process_buffer_complete()
692 node->cur_frm->vb.sequence = sequence; in unicam_process_buffer_complete()
694 vb2_buffer_done(&node->cur_frm->vb.vb2_buf, VB2_BUF_STATE_DONE); in unicam_process_buffer_complete()
764 if (node->cur_frm && node->cur_frm != node->next_frm) in unicam_isr()
766 node->cur_frm = node->next_frm; in unicam_isr()
783 if (node->cur_frm) in unicam_isr()
784 node->cur_frm->vb.vb2_buf.timestamp = ts; in unicam_isr()
1077 unicam_wr_dma_addr(node, node->cur_frm); in unicam_start_rx()
[all …]
/linux/drivers/staging/media/deprecated/atmel/
H A 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()
1237 if (isc->cur_frm) { in atmel_isc_interrupt()
[all …]
H A Datmel-isc.h278 struct isc_buffer *cur_frm; member
/linux/drivers/media/platform/microchip/
H A 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()
1188 if (isc->cur_frm) { in microchip_isc_interrupt()
[all …]
H A Dmicrochip-isc.h296 struct isc_buffer *cur_frm; member
/linux/drivers/media/platform/ti/am437x/
H A 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()
1849 if (vpfe->cur_frm) in vpfe_return_all_buffers()
[all …]
H A Dam437x-vpfe.h255 struct vpfe_cap_buffer *cur_frm; member