Lines Matching refs:m2m_ctx
221 struct v4l2_m2m_ctx *m2m_ctx; member
250 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->m2m_ctx); in emmaprp_job_abort()
285 src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in emmaprp_device_run()
286 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in emmaprp_device_run()
360 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx); in emmaprp_irq()
361 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->m2m_ctx); in emmaprp_irq()
378 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->m2m_ctx); in emmaprp_irq()
442 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_g_fmt()
547 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_s_fmt()
608 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in vidioc_reqbufs()
616 return v4l2_m2m_querybuf(file, ctx->m2m_ctx, buf); in vidioc_querybuf()
623 return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf); in vidioc_qbuf()
630 return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf); in vidioc_dqbuf()
638 return v4l2_m2m_streamon(file, ctx->m2m_ctx, type); in vidioc_streamon()
646 return v4l2_m2m_streamoff(file, ctx->m2m_ctx, type); in vidioc_streamoff()
729 v4l2_m2m_buf_queue(ctx->m2m_ctx, vbuf); in emmaprp_buf_queue()
793 ctx->m2m_ctx = v4l2_m2m_ctx_init(pcdev->m2m_dev, ctx, &queue_init); in emmaprp_open()
795 if (IS_ERR(ctx->m2m_ctx)) { in emmaprp_open()
796 int ret = PTR_ERR(ctx->m2m_ctx); in emmaprp_open()
809 dprintk(pcdev, "Created instance %p, m2m_ctx: %p\n", ctx, ctx->m2m_ctx); in emmaprp_open()
824 v4l2_m2m_ctx_release(ctx->m2m_ctx); in emmaprp_release()
839 res = v4l2_m2m_poll(file, ctx->m2m_ctx, wait); in emmaprp_poll()
852 ret = v4l2_m2m_mmap(file, ctx->m2m_ctx, vma); in emmaprp_mmap()