Lines Matching refs:ctx
55 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx,
61 ret = wait_event_interruptible_timeout(ctx->queue,
62 (ctx->int_cond && (ctx->int_type == command
63 || ctx->int_type == S5P_FIMV_R2H_CMD_ERR_RET)),
66 ret = wait_event_timeout(ctx->queue,
67 (ctx->int_cond && (ctx->int_type == command
68 || ctx->int_type == S5P_FIMV_R2H_CMD_ERR_RET)),
72 mfc_err("Interrupt (ctx->int_type:%d, command:%d) timed out\n",
73 ctx->int_type, command);
79 mfc_debug(1, "Finished waiting (ctx->int_type:%d, command: %d)\n",
80 ctx->int_type, command);
81 if (ctx->int_type == S5P_FIMV_R2H_CMD_ERR_RET)
86 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx)
88 ctx->int_cond = 0;
89 ctx->int_type = 0;
90 ctx->int_err = 0;