/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in __gsc_m2m_cleanup_queue() local 73 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 74 v4l2_m2m_buf_done(dst_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 97 dst_vb = v4l2_m2m_dst_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() 102 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in gsc_m2m_job_finish() 103 dst_vb->flags |= in gsc_m2m_job_finish() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 41 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_m2m_job_finish() local 47 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish() 51 if (dst_vb) in fimc_m2m_job_finish() 52 v4l2_m2m_buf_done(dst_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 119 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in fimc_device_run() 120 ret = fimc_prepare_addr(ctx, &dst_vb->vb2_buf, df, &df->paddr); in fimc_device_run() 124 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in fimc_device_run() 125 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/ |
D | bdisp-v4l2.c | 183 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_job_finish() local 191 dst_vb = v4l2_m2m_dst_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() 196 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in bdisp_job_finish() 197 dst_vb->flags |= src_vb->flags & in bdisp_job_finish() 201 v4l2_m2m_buf_done(dst_vb, vb_state); in bdisp_job_finish() 284 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_get_bufs() local 295 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in bdisp_get_bufs() [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | mx2_emmaprp.c | 332 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local 354 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq() 356 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq() 357 dst_vb->flags &= in emmaprp_irq() 359 dst_vb->flags |= in emmaprp_irq() 362 dst_vb->timecode = src_vb->timecode; in emmaprp_irq() 366 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
|
D | m2m-deinterlace.c | 181 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local 186 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback() 188 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback() 189 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback() 190 dst_vb->flags |= in dma_callback() 192 dst_vb->timecode = src_vb->timecode; in dma_callback() 195 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
|
D | imx-pxp.c | 935 struct vb2_v4l2_buffer *src_vb, *dst_vb; in pxp_job_finish() local 946 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish() 950 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in pxp_job_finish()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | vpe.c | 409 struct vb2_v4l2_buffer *dst_vb; member 1020 struct vb2_buffer *vb = &ctx->dst_vb->vb2_buf; in add_out_dtd() 1236 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 1237 WARN_ON(ctx->dst_vb == NULL); in device_run() 1437 d_vb = ctx->dst_vb; in vpe_irq() 1498 ctx->dst_vb = NULL; in vpe_irq() 2169 if (ctx->dst_vb) { in vpe_return_all_buffers() 2172 v4l2_m2m_buf_done(ctx->dst_vb, state); in vpe_return_all_buffers() 2173 ctx->dst_vb = NULL; in vpe_return_all_buffers()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 997 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local 1031 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll() 1033 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll() 1034 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
D | vicodec-core.c | 255 struct vb2_v4l2_buffer *dst_vb) in device_process() argument 302 p_dst = vb2_plane_vaddr(&dst_vb->vb2_buf, 0); in device_process() 318 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, comp_sz_or_errcode); in device_process() 333 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, q_dst->sizeimage); in device_process() 335 dst_vb->flags |= V4L2_BUF_FLAG_KEYFRAME; in device_process() 337 dst_vb->flags |= V4L2_BUF_FLAG_PFRAME; in device_process()
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/ |
D | vim2m.c | 623 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_work() local 635 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_work() 640 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_work()
|
/kernel/linux/linux-5.10/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 2701 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local 2713 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq() 2745 vb2_set_plane_payload(&dst_vb->vb2_buf, in exynos4_jpeg_irq() 2749 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq() 2752 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()
|
/kernel/linux/linux-5.10/drivers/media/platform/coda/ |
D | coda-common.c | 1179 struct vb2_buffer *dst_vb; in coda_mark_last_dst_buf() local 1192 dst_vb = list_last_entry(&dst_vq->done_list, struct vb2_buffer, in coda_mark_last_dst_buf() 1194 buf = to_vb2_v4l2_buffer(dst_vb); in coda_mark_last_dst_buf()
|