Lines Matching refs:m2m_ctx
70 src = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in deinterlace_device_run()
71 dst = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in deinterlace_device_run()
184 return v4l2_m2m_num_src_bufs_ready(ctx->fh.m2m_ctx) >= 1 && in deinterlace_job_ready()
185 v4l2_m2m_num_dst_bufs_ready(ctx->fh.m2m_ctx) >= 2; in deinterlace_job_ready()
228 dst = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in deinterlace_irq()
234 src = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in deinterlace_irq()
239 v4l2_m2m_job_finish(ctx->dev->m2m_dev, ctx->fh.m2m_ctx); in deinterlace_irq()
454 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in deinterlace_s_fmt_vid_cap()
474 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type); in deinterlace_s_fmt_vid_out()
563 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in deinterlace_buf_queue()
573 vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in deinterlace_queue_cleanup()
575 vbuf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in deinterlace_queue_cleanup()
738 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx, in deinterlace_open()
740 if (IS_ERR(ctx->fh.m2m_ctx)) { in deinterlace_open()
741 ret = PTR_ERR(ctx->fh.m2m_ctx); in deinterlace_open()
768 v4l2_m2m_ctx_release(ctx->fh.m2m_ctx); in deinterlace_release()