Go to the documentation of this file.
29 #ifndef _ASM_POWERPC_TSI108_IRQ_H
30 #define _ASM_POWERPC_TSI108_IRQ_H
35 #ifndef TSI108_IRQ_REG_BASE
36 #define TSI108_IRQ_REG_BASE 0
39 #define TSI108_IRQ(x) (TSI108_IRQ_REG_BASE + (x))
41 #define TSI108_MAX_VECTORS (36 + 4)
42 #define MAX_TASK_PRIO 0xF
44 #define TSI108_IRQ_SPURIOUS (TSI108_MAX_VECTORS)
46 #define DEFAULT_PRIO_LVL 10
53 #define IRQ_TSI108_EXT_INT0 TSI108_IRQ(0)
54 #define IRQ_TSI108_EXT_INT1 TSI108_IRQ(1)
55 #define IRQ_TSI108_EXT_INT2 TSI108_IRQ(2)
56 #define IRQ_TSI108_EXT_INT3 TSI108_IRQ(3)
60 #define IRQ_TSI108_RESERVED0 TSI108_IRQ(4)
61 #define IRQ_TSI108_RESERVED1 TSI108_IRQ(5)
62 #define IRQ_TSI108_RESERVED2 TSI108_IRQ(6)
63 #define IRQ_TSI108_RESERVED3 TSI108_IRQ(7)
64 #define IRQ_TSI108_DMA0 TSI108_IRQ(8)
65 #define IRQ_TSI108_DMA1 TSI108_IRQ(9)
66 #define IRQ_TSI108_DMA2 TSI108_IRQ(10)
67 #define IRQ_TSI108_DMA3 TSI108_IRQ(11)
68 #define IRQ_TSI108_UART0 TSI108_IRQ(12)
69 #define IRQ_TSI108_UART1 TSI108_IRQ(13)
70 #define IRQ_TSI108_I2C TSI108_IRQ(14)
71 #define IRQ_TSI108_GPIO TSI108_IRQ(15)
72 #define IRQ_TSI108_GIGE0 TSI108_IRQ(16)
73 #define IRQ_TSI108_GIGE1 TSI108_IRQ(17)
74 #define IRQ_TSI108_RESERVED4 TSI108_IRQ(18)
75 #define IRQ_TSI108_HLP TSI108_IRQ(19)
76 #define IRQ_TSI108_SDRAM TSI108_IRQ(20)
77 #define IRQ_TSI108_PROC_IF TSI108_IRQ(21)
78 #define IRQ_TSI108_RESERVED5 TSI108_IRQ(22)
79 #define IRQ_TSI108_PCI TSI108_IRQ(23)
81 #define IRQ_TSI108_MBOX0 TSI108_IRQ(24)
82 #define IRQ_TSI108_MBOX1 TSI108_IRQ(25)
83 #define IRQ_TSI108_MBOX2 TSI108_IRQ(26)
84 #define IRQ_TSI108_MBOX3 TSI108_IRQ(27)
86 #define IRQ_TSI108_DBELL0 TSI108_IRQ(28)
87 #define IRQ_TSI108_DBELL1 TSI108_IRQ(29)
88 #define IRQ_TSI108_DBELL2 TSI108_IRQ(30)
89 #define IRQ_TSI108_DBELL3 TSI108_IRQ(31)
91 #define IRQ_TSI108_TIMER0 TSI108_IRQ(32)
92 #define IRQ_TSI108_TIMER1 TSI108_IRQ(33)
93 #define IRQ_TSI108_TIMER2 TSI108_IRQ(34)
94 #define IRQ_TSI108_TIMER3 TSI108_IRQ(35)
99 #define IRQ_PCI_INTAD_BASE TSI108_IRQ(36)
100 #define IRQ_PCI_INTA (IRQ_PCI_INTAD_BASE + 0)
101 #define IRQ_PCI_INTB (IRQ_PCI_INTAD_BASE + 1)
102 #define IRQ_PCI_INTC (IRQ_PCI_INTAD_BASE + 2)
103 #define IRQ_PCI_INTD (IRQ_PCI_INTAD_BASE + 3)
104 #define NUM_PCI_IRQS (4)
107 #define IRQ_TSI108_TAB_SIZE (TSI108_MAX_VECTORS + 1)
111 #define IDIR_INT_OUT0 0x1
112 #define IDIR_INT_OUT1 0x2
113 #define IDIR_INT_OUT2 0x4
114 #define IDIR_INT_OUT3 0x8