REQUEST_ANY_CONTEXT_(9) | Public Functions Provided | REQUEST_ANY_CONTEXT_(9) |
NAME¶
request_any_context_irq - allocate an interrupt line
SYNOPSIS¶
int request_any_context_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char * name, void * dev_id);
ARGUMENTS¶
unsigned int irq
irq_handler_t handler
unsigned long flags
const char * name
void * dev_id
DESCRIPTION¶
This call allocates interrupt resources and enables the interrupt line and IRQ handling. It selects either a hardirq or threaded handling method depending on the context.
On failure, it returns a negative value. On success, it returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED.
AUTHORS¶
Thomas Gleixner <tglx@linutronix.de>
Ingo Molnar <mingo@elte.hu>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |