Rechercher une page de manuel
request_any_context_irq
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
request_any_context_irq - allocate an interrupt lineSYNOPSIS
- int request_any_context_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char * name, void * dev_id);
ARGUMENTS
irq
- Interrupt line to allocate
handler
- Function to be called when the IRQ occurs. Threaded handler for threaded interrupts.
flags
- Interrupt type flags
name
- An ascii name for the claiming device
dev_id
- A cookie passed back to the handler function
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>
- Author.
Ingo Molnar <mingo@elte.hu>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre