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()
325 unsigned int reason, unsigned int err) in s5p_mfc_handle_frame() argument
348 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
420 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
425 wake_up_dev(dev, reason, err); in s5p_mfc_handle_frame()
432 struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) in s5p_mfc_handle_error() argument
459 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error()
464 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error()
471 wake_up_dev(dev, reason, err); in s5p_mfc_handle_error()
477 unsigned int reason, unsigned int err) in s5p_mfc_handle_seq_done() argument
525 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_seq_done()
530 unsigned int reason, unsigned int err) in s5p_mfc_handle_init_buffers() argument
540 ctx->int_type = reason; in s5p_mfc_handle_init_buffers()
576 unsigned int reason, unsigned int err) in s5p_mfc_handle_stream_complete() argument
584 ctx->int_type = reason; in s5p_mfc_handle_stream_complete()
613 unsigned int reason; in s5p_mfc_irq() local
621 reason = s5p_mfc_hw_call(dev->mfc_ops, get_int_reason, dev); in s5p_mfc_irq()
623 mfc_debug(1, "Int reason: %d (err: %08x)\n", reason, err); in s5p_mfc_irq()
624 switch (reason) { in s5p_mfc_irq()
630 s5p_mfc_handle_frame(ctx, reason, err); in s5p_mfc_irq()
632 s5p_mfc_handle_error(dev, ctx, reason, err); in s5p_mfc_irq()
643 wake_up_ctx(ctx, reason, err); in s5p_mfc_irq()
648 s5p_mfc_handle_frame(ctx, reason, err); in s5p_mfc_irq()
653 s5p_mfc_handle_seq_done(ctx, reason, err); in s5p_mfc_irq()
677 wake_up_dev(dev, reason, err); in s5p_mfc_irq()
683 s5p_mfc_handle_init_buffers(ctx, reason, err); in s5p_mfc_irq()
687 s5p_mfc_handle_stream_complete(ctx, reason, err); in s5p_mfc_irq()
704 ctx->int_type = reason; in s5p_mfc_irq()