Lines Matching refs:m2m_ctx
243 v4l2_m2m_job_finish(pcdev->m2m_dev, ctx->fh.m2m_ctx); in emmaprp_job_abort()
278 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in emmaprp_device_run()
279 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in emmaprp_device_run()
353 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq()
354 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq()
371 v4l2_m2m_job_finish(pcdev->m2m_dev, curr_ctx->fh.m2m_ctx); in emmaprp_irq()
432 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vidioc_g_fmt()
537 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in vidioc_s_fmt()
673 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in emmaprp_buf_queue()
738 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(pcdev->m2m_dev, ctx, &queue_init); in emmaprp_open()
740 if (IS_ERR(ctx->fh.m2m_ctx)) { in emmaprp_open()
741 int ret = PTR_ERR(ctx->fh.m2m_ctx); in emmaprp_open()
755 dprintk(pcdev, "Created instance %p, m2m_ctx: %p\n", ctx, ctx->fh.m2m_ctx); in emmaprp_open()
772 v4l2_m2m_ctx_release(ctx->fh.m2m_ctx); in emmaprp_release()