Lines Matching defs:action
368 static void warn_no_thread(unsigned int irq, struct irqaction *action)
370 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags))
374 "but no thread function available.", irq, action->name);
378 * handle_IRQ_event - irq action chain handler
380 * @action: the interrupt action chain for this irq
382 * Handles the action chain of an irq event
384 irqreturn_t BCMFASTPATH handle_IRQ_event(unsigned int irq, struct irqaction *action)
390 trace_irq_handler_entry(irq, action);
393 buzzz_kevt_log2(BUZZZ_KEVT_ID_IRQ_ENTRY, irq, (int)(action->handler));
396 ret = action->handler(irq, action->dev_id);
399 buzzz_kevt_log2(BUZZZ_KEVT_ID_IRQ_EXIT, irq, (int)(action->handler));
402 trace_irq_handler_exit(irq, action, ret);
416 if (unlikely(!action->thread_fn)) {
417 warn_no_thread(irq, action);
423 * action. In case the thread crashed and was
430 &action->thread_flags))) {
431 set_bit(IRQTF_RUNTHREAD, &action->thread_flags);
432 wake_up_process(action->thread);
437 status |= action->flags;
445 action = action->next;
446 } while (action);
475 struct irqaction *action;
489 action_ret = handle_IRQ_event(irq, desc->action);
509 * use the action we have.
511 action = NULL;
513 action = desc->action;
525 if (unlikely(!action))
543 action_ret = handle_IRQ_event(irq, action);