Lines Matching refs:m2m_ctx
153 if (v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) > 0 && in deinterlace_job_ready()
154 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) > 0 && in deinterlace_job_ready()
174 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in deinterlace_job_abort()
185 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback()
186 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback()
197 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in dma_callback()
216 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in deinterlace_issue_dma()
217 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in deinterlace_issue_dma()
486 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vidioc_g_fmt()
583 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vidioc_s_fmt()
696 return v4l2_m2m_streamon(file, ctx->fh.m2m_ctx, type); in vidioc_streamon()
784 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in deinterlace_buf_queue()
854 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(pcdev->m2m_dev, ctx, &queue_init); in deinterlace_open()
855 if (IS_ERR(ctx->fh.m2m_ctx)) { in deinterlace_open()
856 int ret = PTR_ERR(ctx->fh.m2m_ctx); in deinterlace_open()
873 ctx, ctx->fh.m2m_ctx); in deinterlace_open()
887 v4l2_m2m_ctx_release(ctx->fh.m2m_ctx); in deinterlace_release()