1REQUEST_ANY_CONTEXT_(9) Public Functions Provided REQUEST_ANY_CONTEXT_(9)
2
3
4
6 request_any_context_irq - allocate an interrupt line
7
9 int request_any_context_irq(unsigned int irq, irq_handler_t handler,
10 unsigned long flags, const char * name,
11 void * dev_id);
12
14 irq
15 Interrupt line to allocate
16
17 handler
18 Function to be called when the IRQ occurs. Threaded handler for
19 threaded interrupts.
20
21 flags
22 Interrupt type flags
23
24 name
25 An ascii name for the claiming device
26
27 dev_id
28 A cookie passed back to the handler function
29
31 This call allocates interrupt resources and enables the interrupt line
32 and IRQ handling. It selects either a hardirq or threaded handling
33 method depending on the context.
34
35 On failure, it returns a negative value. On success, it returns either
36 IRQC_IS_HARDIRQ or IRQC_IS_NESTED.
37
39 Thomas Gleixner <tglx@linutronix.de>
40 Author.
41
42 Ingo Molnar <mingo@elte.hu>
43 Author.
44
46Kernel Hackers Manual 3.10 June 2019 REQUEST_ANY_CONTEXT_(9)