Lines Matching refs:m2m_ctx
834 if (!v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type)) in jpu_try_fmt()
844 struct v4l2_m2m_ctx *m2m_ctx = ctx->fh.m2m_ctx; in jpu_s_fmt() local
849 vq = v4l2_m2m_get_vq(m2m_ctx, f->type); in jpu_s_fmt()
875 if (!v4l2_m2m_get_vq(ctx->fh.m2m_ctx, f->type)) in jpu_g_fmt()
937 return v4l2_m2m_streamon(file, ctx->fh.m2m_ctx, type); in jpu_streamon()
1109 if (ctx->fh.m2m_ctx) in jpu_buf_queue()
1110 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in jpu_buf_queue()
1162 vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in jpu_stop_streaming()
1164 vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in jpu_stop_streaming()
1248 ctx->fh.m2m_ctx = v4l2_m2m_ctx_init(jpu->m2m_dev, ctx, jpu_queue_init); in jpu_open()
1249 if (IS_ERR(ctx->fh.m2m_ctx)) { in jpu_open()
1250 ret = PTR_ERR(ctx->fh.m2m_ctx); in jpu_open()
1294 v4l2_m2m_ctx_release(ctx->fh.m2m_ctx); in jpu_release()
1330 src_buf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in jpu_cleanup()
1331 dst_buf = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in jpu_cleanup()
1342 v4l2_m2m_job_finish(ctx->jpu->m2m_dev, ctx->fh.m2m_ctx); in jpu_cleanup()
1366 src_buf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in jpu_device_run()
1367 dst_buf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in jpu_device_run()
1525 src_buf = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in jpu_irq_handler()
1526 dst_buf = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in jpu_irq_handler()
1564 v4l2_m2m_job_finish(jpu->m2m_dev, curr_ctx->fh.m2m_ctx); in jpu_irq_handler()