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

Go to the source code of this file.

Macros

#define MIPS_CPU_IRQ_BASE   0
 
#define MIPS_CPU_IRQ(x)   (MIPS_CPU_IRQ_BASE + (x))
 
#define SOFTINT0_IRQ   MIPS_CPU_IRQ(0)
 
#define SOFTINT1_IRQ   MIPS_CPU_IRQ(1)
 
#define INT0_IRQ   MIPS_CPU_IRQ(2)
 
#define INT1_IRQ   MIPS_CPU_IRQ(3)
 
#define INT2_IRQ   MIPS_CPU_IRQ(4)
 
#define INT3_IRQ   MIPS_CPU_IRQ(5)
 
#define INT4_IRQ   MIPS_CPU_IRQ(6)
 
#define TIMER_IRQ   MIPS_CPU_IRQ(7) /* cpu timer */
 
#define MIPS_CPU_IRQS   (MIPS_CPU_IRQ(7) + 1 - MIPS_CPU_IRQ_BASE)
 
#define LS1X_IRQ_BASE   MIPS_CPU_IRQS
 
#define LS1X_IRQ(n, x)   (LS1X_IRQ_BASE + (n << 5) + (x))
 
#define LS1X_UART0_IRQ   LS1X_IRQ(0, 2)
 
#define LS1X_UART1_IRQ   LS1X_IRQ(0, 3)
 
#define LS1X_UART2_IRQ   LS1X_IRQ(0, 4)
 
#define LS1X_UART3_IRQ   LS1X_IRQ(0, 5)
 
#define LS1X_CAN0_IRQ   LS1X_IRQ(0, 6)
 
#define LS1X_CAN1_IRQ   LS1X_IRQ(0, 7)
 
#define LS1X_SPI0_IRQ   LS1X_IRQ(0, 8)
 
#define LS1X_SPI1_IRQ   LS1X_IRQ(0, 9)
 
#define LS1X_AC97_IRQ   LS1X_IRQ(0, 10)
 
#define LS1X_DMA0_IRQ   LS1X_IRQ(0, 13)
 
#define LS1X_DMA1_IRQ   LS1X_IRQ(0, 14)
 
#define LS1X_DMA2_IRQ   LS1X_IRQ(0, 15)
 
#define LS1X_PWM0_IRQ   LS1X_IRQ(0, 17)
 
#define LS1X_PWM1_IRQ   LS1X_IRQ(0, 18)
 
#define LS1X_PWM2_IRQ   LS1X_IRQ(0, 19)
 
#define LS1X_PWM3_IRQ   LS1X_IRQ(0, 20)
 
#define LS1X_RTC_INT0_IRQ   LS1X_IRQ(0, 21)
 
#define LS1X_RTC_INT1_IRQ   LS1X_IRQ(0, 22)
 
#define LS1X_RTC_INT2_IRQ   LS1X_IRQ(0, 23)
 
#define LS1X_TOY_INT0_IRQ   LS1X_IRQ(0, 24)
 
#define LS1X_TOY_INT1_IRQ   LS1X_IRQ(0, 25)
 
#define LS1X_TOY_INT2_IRQ   LS1X_IRQ(0, 26)
 
#define LS1X_RTC_TICK_IRQ   LS1X_IRQ(0, 27)
 
#define LS1X_TOY_TICK_IRQ   LS1X_IRQ(0, 28)
 
#define LS1X_EHCI_IRQ   LS1X_IRQ(1, 0)
 
#define LS1X_OHCI_IRQ   LS1X_IRQ(1, 1)
 
#define LS1X_GMAC0_IRQ   LS1X_IRQ(1, 2)
 
#define LS1X_GMAC1_IRQ   LS1X_IRQ(1, 3)
 
#define LS1X_IRQS   (LS1X_IRQ(4, 31) + 1 - LS1X_IRQ_BASE)
 
#define NR_IRQS   (MIPS_CPU_IRQS + LS1X_IRQS)
 

Macro Definition Documentation

#define INT0_IRQ   MIPS_CPU_IRQ(2)

Definition at line 24 of file irq.h.

#define INT1_IRQ   MIPS_CPU_IRQ(3)

Definition at line 25 of file irq.h.

#define INT2_IRQ   MIPS_CPU_IRQ(4)

Definition at line 26 of file irq.h.

#define INT3_IRQ   MIPS_CPU_IRQ(5)

Definition at line 27 of file irq.h.

#define INT4_IRQ   MIPS_CPU_IRQ(6)

Definition at line 28 of file irq.h.

#define LS1X_AC97_IRQ   LS1X_IRQ(0, 10)

Definition at line 47 of file irq.h.

#define LS1X_CAN0_IRQ   LS1X_IRQ(0, 6)

Definition at line 43 of file irq.h.

#define LS1X_CAN1_IRQ   LS1X_IRQ(0, 7)

Definition at line 44 of file irq.h.

#define LS1X_DMA0_IRQ   LS1X_IRQ(0, 13)

Definition at line 48 of file irq.h.

#define LS1X_DMA1_IRQ   LS1X_IRQ(0, 14)

Definition at line 49 of file irq.h.

#define LS1X_DMA2_IRQ   LS1X_IRQ(0, 15)

Definition at line 50 of file irq.h.

#define LS1X_EHCI_IRQ   LS1X_IRQ(1, 0)

Definition at line 64 of file irq.h.

#define LS1X_GMAC0_IRQ   LS1X_IRQ(1, 2)

Definition at line 66 of file irq.h.

#define LS1X_GMAC1_IRQ   LS1X_IRQ(1, 3)

Definition at line 67 of file irq.h.

#define LS1X_IRQ (   n,
  x 
)    (LS1X_IRQ_BASE + (n << 5) + (x))

Definition at line 37 of file irq.h.

#define LS1X_IRQ_BASE   MIPS_CPU_IRQS

Definition at line 36 of file irq.h.

#define LS1X_IRQS   (LS1X_IRQ(4, 31) + 1 - LS1X_IRQ_BASE)

Definition at line 69 of file irq.h.

#define LS1X_OHCI_IRQ   LS1X_IRQ(1, 1)

Definition at line 65 of file irq.h.

#define LS1X_PWM0_IRQ   LS1X_IRQ(0, 17)

Definition at line 51 of file irq.h.

#define LS1X_PWM1_IRQ   LS1X_IRQ(0, 18)

Definition at line 52 of file irq.h.

#define LS1X_PWM2_IRQ   LS1X_IRQ(0, 19)

Definition at line 53 of file irq.h.

#define LS1X_PWM3_IRQ   LS1X_IRQ(0, 20)

Definition at line 54 of file irq.h.

#define LS1X_RTC_INT0_IRQ   LS1X_IRQ(0, 21)

Definition at line 55 of file irq.h.

#define LS1X_RTC_INT1_IRQ   LS1X_IRQ(0, 22)

Definition at line 56 of file irq.h.

#define LS1X_RTC_INT2_IRQ   LS1X_IRQ(0, 23)

Definition at line 57 of file irq.h.

#define LS1X_RTC_TICK_IRQ   LS1X_IRQ(0, 27)

Definition at line 61 of file irq.h.

#define LS1X_SPI0_IRQ   LS1X_IRQ(0, 8)

Definition at line 45 of file irq.h.

#define LS1X_SPI1_IRQ   LS1X_IRQ(0, 9)

Definition at line 46 of file irq.h.

#define LS1X_TOY_INT0_IRQ   LS1X_IRQ(0, 24)

Definition at line 58 of file irq.h.

#define LS1X_TOY_INT1_IRQ   LS1X_IRQ(0, 25)

Definition at line 59 of file irq.h.

#define LS1X_TOY_INT2_IRQ   LS1X_IRQ(0, 26)

Definition at line 60 of file irq.h.

#define LS1X_TOY_TICK_IRQ   LS1X_IRQ(0, 28)

Definition at line 62 of file irq.h.

#define LS1X_UART0_IRQ   LS1X_IRQ(0, 2)

Definition at line 39 of file irq.h.

#define LS1X_UART1_IRQ   LS1X_IRQ(0, 3)

Definition at line 40 of file irq.h.

#define LS1X_UART2_IRQ   LS1X_IRQ(0, 4)

Definition at line 41 of file irq.h.

#define LS1X_UART3_IRQ   LS1X_IRQ(0, 5)

Definition at line 42 of file irq.h.

#define MIPS_CPU_IRQ (   x)    (MIPS_CPU_IRQ_BASE + (x))

Definition at line 20 of file irq.h.

#define MIPS_CPU_IRQ_BASE   0

Definition at line 19 of file irq.h.

#define MIPS_CPU_IRQS   (MIPS_CPU_IRQ(7) + 1 - MIPS_CPU_IRQ_BASE)

Definition at line 31 of file irq.h.

#define NR_IRQS   (MIPS_CPU_IRQS + LS1X_IRQS)

Definition at line 71 of file irq.h.

#define SOFTINT0_IRQ   MIPS_CPU_IRQ(0)

Definition at line 22 of file irq.h.

#define SOFTINT1_IRQ   MIPS_CPU_IRQ(1)

Definition at line 23 of file irq.h.

#define TIMER_IRQ   MIPS_CPU_IRQ(7) /* cpu timer */

Definition at line 29 of file irq.h.