| request_percpu_irq(9) - phpMan
REQUEST_PERCPU_IRQ(9) Public Functions Provided REQUEST_PERCPU_IRQ(9)
NAME
request_percpu_irq - allocate a percpu interrupt line
SYNOPSIS
int request_percpu_irq(unsigned int irq, irq_handler_t handler, const char * devname,
void __percpu * dev_id);
ARGUMENTS
irq
Interrupt line to allocate
handler
Function to be called when the IRQ occurs.
devname
An ascii name for the claiming device
dev_id
A percpu cookie passed back to the handler function
DESCRIPTION
This call allocates interrupt resources and enables the interrupt on the local CPU. If the
interrupt is supposed to be enabled on other CPUs, it has to be done on each CPU using
enable_percpu_irq.
Dev_id must be globally unique. It is a per-cpu variable, and the handler gets called with
the interrupted CPU's instance of that variable.
AUTHORS
Thomas Gleixner <tglx AT linutronix.de>
Author.
Ingo Molnar <mingo AT elte.hu>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 REQUEST_PERCPU_IRQ(9)
|