Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
irqnr.h File Reference
#include <uapi/linux/irqnr.h>
#include <asm/irq.h>

Go to the source code of this file.

Macros

#define nr_irqs   NR_IRQS
 
#define irq_to_desc(irq)   (&irq_desc[irq])
 
#define for_each_irq_desc(irq, desc)   for (irq = 0; irq < nr_irqs; irq++)
 
#define for_each_irq_desc_reverse(irq, desc)   for (irq = nr_irqs - 1; irq >= 0; irq--)
 
#define for_each_irq_nr(irq)   for (irq = 0; irq < nr_irqs; irq++)
 

Macro Definition Documentation

#define for_each_irq_desc (   irq,
  desc 
)    for (irq = 0; irq < nr_irqs; irq++)

Definition at line 16 of file irqnr.h.

#define for_each_irq_desc_reverse (   irq,
  desc 
)    for (irq = nr_irqs - 1; irq >= 0; irq--)

Definition at line 19 of file irqnr.h.

#define for_each_irq_nr (   irq)    for (irq = 0; irq < nr_irqs; irq++)

Definition at line 55 of file irqnr.h.

#define irq_to_desc (   irq)    (&irq_desc[irq])

Definition at line 14 of file irqnr.h.

MACHINE_END nr_irqs   NR_IRQS

Definition at line 13 of file irqnr.h.