Lines Matching refs:action
50 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument
52 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread()
56 "but no thread function available.", irq, action->name); in warn_no_thread()
59 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() argument
66 if (action->thread->flags & PF_EXITING) in __irq_wake_thread()
73 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread()
121 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread()
134 wake_up_process(action->thread); in __irq_wake_thread()
141 struct irqaction *action; in __handle_irq_event_percpu() local
145 for_each_action_of_desc(desc, action) { in __handle_irq_event_percpu()
152 !(action->flags & (IRQF_NO_THREAD | IRQF_PERCPU | IRQF_ONESHOT))) in __handle_irq_event_percpu()
155 trace_irq_handler_entry(irq, action); in __handle_irq_event_percpu()
156 res = action->handler(irq, action->dev_id); in __handle_irq_event_percpu()
157 trace_irq_handler_exit(irq, action, res); in __handle_irq_event_percpu()
160 irq, action->handler)) in __handle_irq_event_percpu()
169 if (unlikely(!action->thread_fn)) { in __handle_irq_event_percpu()
170 warn_no_thread(irq, action); in __handle_irq_event_percpu()
174 __irq_wake_thread(desc, action); in __handle_irq_event_percpu()
178 *flags |= action->flags; in __handle_irq_event_percpu()