Lines Matching refs:ctx
51 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx,
57 ret = wait_event_interruptible_timeout(ctx->queue,
58 (ctx->int_cond && (ctx->int_type == command
59 || ctx->int_type == S5P_MFC_R2H_CMD_ERR_RET)),
62 ret = wait_event_timeout(ctx->queue,
63 (ctx->int_cond && (ctx->int_type == command
64 || ctx->int_type == S5P_MFC_R2H_CMD_ERR_RET)),
68 mfc_err("Interrupt (ctx->int_type:%d, command:%d) timed out\n",
69 ctx->int_type, command);
75 mfc_debug(1, "Finished waiting (ctx->int_type:%d, command: %d)\n",
76 ctx->int_type, command);
77 if (ctx->int_type == S5P_MFC_R2H_CMD_ERR_RET)
82 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx)
84 ctx->int_cond = 0;
85 ctx->int_type = 0;
86 ctx->int_err = 0;