Lines Matching refs:m2m_ctx
461 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = false; in hantro_update_requires_request()
468 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = true; in hantro_update_requires_request()
480 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_update_requires_hold_capture_buf()
506 vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_set_fmt_out()
575 peer_vq = v4l2_m2m_get_vq(ctx->fh.m2m_ctx, in hantro_set_fmt_cap()
674 vq = v4l2_m2m_get_src_vq(ctx->fh.m2m_ctx); in vidioc_s_selection()
718 if (!vb2_is_streaming(v4l2_m2m_get_src_vq(ctx->fh.m2m_ctx)) || in vidioc_encoder_cmd()
719 !vb2_is_streaming(v4l2_m2m_get_dst_vq(ctx->fh.m2m_ctx))) in vidioc_encoder_cmd()
727 v4l2_m2m_has_stopped(ctx->fh.m2m_ctx)) in vidioc_encoder_cmd()
731 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vidioc_encoder_cmd()
865 v4l2_m2m_dst_buf_is_last(ctx->fh.m2m_ctx)) { in hantro_buf_queue()
874 v4l2_m2m_last_buffer_done(ctx->fh.m2m_ctx, vbuf); in hantro_buf_queue()
879 v4l2_m2m_buf_queue(ctx->fh.m2m_ctx, vbuf); in hantro_buf_queue()
894 v4l2_m2m_update_start_streaming_state(ctx->fh.m2m_ctx, q); in hantro_start_streaming()
940 vbuf = buf_remove(ctx->fh.m2m_ctx); in hantro_return_bufs()
969 v4l2_m2m_update_stop_streaming_state(ctx->fh.m2m_ctx, q); in hantro_stop_streaming()
972 v4l2_m2m_has_stopped(ctx->fh.m2m_ctx)) in hantro_stop_streaming()