Lines Matching refs:curr_ctx
616 struct vim2m_ctx *curr_ctx; in device_work() local
620 curr_ctx = container_of(w, struct vim2m_ctx, work_run.work); in device_work()
622 vim2m_dev = curr_ctx->dev; in device_work()
624 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in device_work()
625 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_work()
627 curr_ctx->num_processed++; in device_work()
632 if (curr_ctx->num_processed == curr_ctx->translen in device_work()
633 || curr_ctx->aborting) { in device_work()
634 dprintk(curr_ctx->dev, 2, "Finishing capture buffer fill\n"); in device_work()
635 curr_ctx->num_processed = 0; in device_work()
636 v4l2_m2m_job_finish(vim2m_dev->m2m_dev, curr_ctx->fh.m2m_ctx); in device_work()
638 device_run(curr_ctx); in device_work()