Lines Matching refs:reason
89 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() argument
93 ctx->int_type = reason; in wake_up_ctx()
99 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() argument
103 dev->int_type = reason; in wake_up_dev()
324 unsigned int reason, unsigned int err) in s5p_mfc_handle_frame() argument
347 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
421 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
426 wake_up_dev(dev, reason, err); in s5p_mfc_handle_frame()
433 struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) in s5p_mfc_handle_error() argument
460 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error()
465 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error()
472 wake_up_dev(dev, reason, err); in s5p_mfc_handle_error()
478 unsigned int reason, unsigned int err) in s5p_mfc_handle_seq_done() argument
526 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_seq_done()
531 unsigned int reason, unsigned int err) in s5p_mfc_handle_init_buffers() argument
541 ctx->int_type = reason; in s5p_mfc_handle_init_buffers()
610 unsigned int reason; in s5p_mfc_irq() local
618 reason = s5p_mfc_hw_call(dev->mfc_ops, get_int_reason, dev); in s5p_mfc_irq()
620 mfc_debug(1, "Int reason: %d (err: %08x)\n", reason, err); in s5p_mfc_irq()
621 switch (reason) { in s5p_mfc_irq()
627 s5p_mfc_handle_frame(ctx, reason, err); in s5p_mfc_irq()
629 s5p_mfc_handle_error(dev, ctx, reason, err); in s5p_mfc_irq()
647 wake_up_ctx(ctx, reason, err); in s5p_mfc_irq()
652 s5p_mfc_handle_frame(ctx, reason, err); in s5p_mfc_irq()
657 s5p_mfc_handle_seq_done(ctx, reason, err); in s5p_mfc_irq()
681 wake_up_dev(dev, reason, err); in s5p_mfc_irq()
687 s5p_mfc_handle_init_buffers(ctx, reason, err); in s5p_mfc_irq()
692 ctx->int_type = reason; in s5p_mfc_irq()
711 ctx->int_type = reason; in s5p_mfc_irq()