Lines Matching refs:ctx
54 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, in s5p_mfc_wait_for_done_ctx() argument
60 ret = wait_event_interruptible_timeout(ctx->queue, in s5p_mfc_wait_for_done_ctx()
61 (ctx->int_cond && (ctx->int_type == command in s5p_mfc_wait_for_done_ctx()
62 || ctx->int_type == S5P_MFC_R2H_CMD_ERR_RET)), in s5p_mfc_wait_for_done_ctx()
65 ret = wait_event_timeout(ctx->queue, in s5p_mfc_wait_for_done_ctx()
66 (ctx->int_cond && (ctx->int_type == command in s5p_mfc_wait_for_done_ctx()
67 || ctx->int_type == S5P_MFC_R2H_CMD_ERR_RET)), in s5p_mfc_wait_for_done_ctx()
72 ctx->int_type, command); in s5p_mfc_wait_for_done_ctx()
79 ctx->int_type, command); in s5p_mfc_wait_for_done_ctx()
80 if (ctx->int_type == S5P_MFC_R2H_CMD_ERR_RET) in s5p_mfc_wait_for_done_ctx()
85 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx) in s5p_mfc_clean_ctx_int_flags() argument
87 ctx->int_cond = 0; in s5p_mfc_clean_ctx_int_flags()
88 ctx->int_type = 0; in s5p_mfc_clean_ctx_int_flags()
89 ctx->int_err = 0; in s5p_mfc_clean_ctx_int_flags()