Lines Matching defs:curr_ctx
621 struct vim2m_ctx *curr_ctx;
625 curr_ctx = container_of(w, struct vim2m_ctx, work_run.work);
627 if (!curr_ctx) {
632 vim2m_dev = curr_ctx->dev;
634 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx);
635 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx);
637 curr_ctx->num_processed++;
642 if (curr_ctx->num_processed == curr_ctx->translen
643 || curr_ctx->aborting) {
644 dprintk(curr_ctx->dev, 2, "Finishing capture buffer fill\n");
645 curr_ctx->num_processed = 0;
646 v4l2_m2m_job_finish(vim2m_dev->m2m_dev, curr_ctx->fh.m2m_ctx);
648 device_run(curr_ctx);