Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
irqs.h File Reference

Go to the source code of this file.

Macros

#define IRQ_TO_REGNO(irq)   ((irq - NR_GLBL_IRQS) >> 5)
 
#define IRQ_TO_BIT(irq)   (1 << ((irq - NR_GLBL_IRQS) % 32))
 

Macro Definition Documentation

#define IRQ_TO_BIT (   irq)    (1 << ((irq - NR_GLBL_IRQS) % 32))

Definition at line 114 of file irqs.h.

#define IRQ_TO_REGNO (   irq)    ((irq - NR_GLBL_IRQS) >> 5)

Definition at line 113 of file irqs.h.