Lines Matching refs:action
48 static void warn_no_thread(unsigned int irq, struct irqaction *action) in warn_no_thread() argument
50 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread()
54 "but no thread function available.", irq, action->name); in warn_no_thread()
57 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() argument
64 if (action->thread->flags & PF_EXITING) in __irq_wake_thread()
71 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread()
119 desc->threads_oneshot |= action->thread_mask; in __irq_wake_thread()
132 wake_up_process(action->thread); in __irq_wake_thread()
139 struct irqaction *action = desc->action; in handle_irq_event_percpu() local
142 while (action) { in handle_irq_event_percpu()
145 trace_irq_handler_entry(irq, action); in handle_irq_event_percpu()
146 res = action->handler(irq, action->dev_id); in handle_irq_event_percpu()
147 trace_irq_handler_exit(irq, action, res); in handle_irq_event_percpu()
150 irq, action->handler)) in handle_irq_event_percpu()
159 if (unlikely(!action->thread_fn)) { in handle_irq_event_percpu()
160 warn_no_thread(irq, action); in handle_irq_event_percpu()
164 __irq_wake_thread(desc, action); in handle_irq_event_percpu()
168 flags |= action->flags; in handle_irq_event_percpu()
176 action = action->next; in handle_irq_event_percpu()