/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-m2m.c | 65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in __gsc_m2m_cleanup_queue() local 68 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 69 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_ERROR); in __gsc_m2m_cleanup_queue() 91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_m2m_job_finish() local 96 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 99 if (src_vb && dst_vb) { in gsc_m2m_job_finish() 100 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in gsc_m2m_job_finish() 101 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish() 104 src_vb->flags in gsc_m2m_job_finish() 107 v4l2_m2m_buf_done(src_vb, vb_state); in gsc_m2m_job_finish() [all …]
|
/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-m2m.c | 41 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_m2m_job_finish() local 46 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish() 49 if (src_vb) in fimc_m2m_job_finish() 50 v4l2_m2m_buf_done(src_vb, vb_state); in fimc_m2m_job_finish() 53 if (src_vb && dst_vb) in fimc_m2m_job_finish() 91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local 114 src_vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in fimc_device_run() 115 ret = fimc_prepare_addr(ctx, &src_vb->vb2_buf, sf, &sf->addr); in fimc_device_run() 124 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in fimc_device_run() 127 src_vb->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run()
|
/drivers/media/platform/st/sti/bdisp/ |
D | bdisp-v4l2.c | 183 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_job_finish() local 190 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in bdisp_job_finish() 193 if (src_vb && dst_vb) { in bdisp_job_finish() 194 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in bdisp_job_finish() 195 dst_vb->timecode = src_vb->timecode; in bdisp_job_finish() 197 dst_vb->flags |= src_vb->flags & in bdisp_job_finish() 200 v4l2_m2m_buf_done(src_vb, vb_state); in bdisp_job_finish() 284 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_get_bufs() local 290 src_vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in bdisp_get_bufs() 291 ret = bdisp_get_addr(ctx, &src_vb->vb2_buf, src, src->paddr); in bdisp_get_bufs() [all …]
|
/drivers/media/platform/nxp/ |
D | mx2_emmaprp.c | 332 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local 353 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 356 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq() 360 src_vb->flags in emmaprp_irq() 362 dst_vb->timecode = src_vb->timecode; in emmaprp_irq() 365 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
|
D | imx-pxp.c | 1040 struct vb2_v4l2_buffer *src_vb, *dst_vb; in pxp_job_finish() local 1050 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish() 1054 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in pxp_job_finish()
|
/drivers/media/platform/ |
D | m2m-deinterlace.c | 181 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local 185 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback() 188 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback() 191 src_vb->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback() 192 dst_vb->timecode = src_vb->timecode; in dma_callback() 194 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in dma_callback()
|
/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-m2m.c | 65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in mdp_m2m_device_run() local 83 src_vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mdp_m2m_device_run() 84 mdp_set_src_config(¶m.inputs[0], frame, &src_vb->vb2_buf); in mdp_m2m_device_run()
|
/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc.c | 1012 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local 1038 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll() 1040 if (src_vb && (src_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll() 1041 || src_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
|
/drivers/media/test-drivers/ |
D | vim2m.c | 618 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_work() local 624 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in device_work() 629 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in device_work()
|
/drivers/media/platform/nxp/dw100/ |
D | dw100.c | 1071 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dw100_job_finish() local 1082 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in dw100_job_finish() 1090 v4l2_m2m_buf_done(src_vb, buf_state); in dw100_job_finish()
|
/drivers/media/test-drivers/vicodec/ |
D | vicodec-core.c | 254 struct vb2_v4l2_buffer *src_vb, in device_process() argument 263 p_src = vb2_plane_vaddr(&src_vb->vb2_buf, 0); in device_process() 268 struct media_request *src_req = src_vb->vb2_buf.req_obj.req; in device_process() 276 htonl(vb2_get_plane_payload(&src_vb->vb2_buf, 0)); in device_process()
|
/drivers/media/platform/renesas/ |
D | rcar_fdp1.c | 1266 struct vb2_v4l2_buffer *src_vb; in fdp1_m2m_device_run() local 1275 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in fdp1_m2m_device_run() 1276 buf = to_fdp1_buffer(src_vb); in fdp1_m2m_device_run()
|
/drivers/media/platform/samsung/s5p-jpeg/ |
D | jpeg-core.c | 2699 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local 2710 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq() 2746 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq() 2749 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()
|