Go to the documentation of this file. 1 #ifndef _IOP13XX_IRQS_H_
2 #define _IOP13XX_IRQS_H_
5 #include <linux/types.h>
9 static inline u32 read_intpnd_0(
void)
12 asm volatile(
"mrc p6, 0, %0, c0, c3, 0":
"=r" (
val));
18 static inline u32 read_intpnd_1(
void)
21 asm volatile(
"mrc p6, 0, %0, c1, c3, 0":
"=r" (
val));
27 static inline u32 read_intpnd_2(
void)
30 asm volatile(
"mrc p6, 0, %0, c2, c3, 0":
"=r" (
val));
36 static inline u32 read_intpnd_3(
void)
39 asm volatile(
"mrc p6, 0, %0, c3, c3, 0":
"=r" (
val));
50 #define IOP13XX_IRQ(x) (IOP13XX_IRQ_OFS + (x))
55 #define IRQ_IOP13XX_ADMA0_EOT (0)
56 #define IRQ_IOP13XX_ADMA0_EOC (1)
57 #define IRQ_IOP13XX_ADMA1_EOT (2)
58 #define IRQ_IOP13XX_ADMA1_EOC (3)
59 #define IRQ_IOP13XX_ADMA2_EOT (4)
60 #define IRQ_IOP13XX_ADMA2_EOC (5)
61 #define IRQ_IOP134_WATCHDOG (6)
62 #define IRQ_IOP13XX_RSVD_7 (7)
63 #define IRQ_IOP13XX_TIMER0 (8)
64 #define IRQ_IOP13XX_TIMER1 (9)
65 #define IRQ_IOP13XX_I2C_0 (10)
66 #define IRQ_IOP13XX_I2C_1 (11)
67 #define IRQ_IOP13XX_MSG (12)
68 #define IRQ_IOP13XX_MSGIBQ (13)
69 #define IRQ_IOP13XX_ATU_IM (14)
70 #define IRQ_IOP13XX_ATU_BIST (15)
71 #define IRQ_IOP13XX_PPMU (16)
72 #define IRQ_IOP13XX_COREPMU (17)
73 #define IRQ_IOP13XX_CORECACHE (18)
74 #define IRQ_IOP13XX_RSVD_19 (19)
75 #define IRQ_IOP13XX_RSVD_20 (20)
76 #define IRQ_IOP13XX_RSVD_21 (21)
77 #define IRQ_IOP13XX_RSVD_22 (22)
78 #define IRQ_IOP13XX_RSVD_23 (23)
79 #define IRQ_IOP13XX_XINT0 (24)
80 #define IRQ_IOP13XX_XINT1 (25)
81 #define IRQ_IOP13XX_XINT2 (26)
82 #define IRQ_IOP13XX_XINT3 (27)
83 #define IRQ_IOP13XX_XINT4 (28)
84 #define IRQ_IOP13XX_XINT5 (29)
85 #define IRQ_IOP13XX_XINT6 (30)
86 #define IRQ_IOP13XX_XINT7 (31)
88 #define IRQ_IOP13XX_XINT8 (32)
89 #define IRQ_IOP13XX_XINT9 (33)
90 #define IRQ_IOP13XX_XINT10 (34)
91 #define IRQ_IOP13XX_XINT11 (35)
92 #define IRQ_IOP13XX_XINT12 (36)
93 #define IRQ_IOP13XX_XINT13 (37)
94 #define IRQ_IOP13XX_XINT14 (38)
95 #define IRQ_IOP13XX_XINT15 (39)
96 #define IRQ_IOP13XX_RSVD_40 (40)
97 #define IRQ_IOP13XX_RSVD_41 (41)
98 #define IRQ_IOP13XX_RSVD_42 (42)
99 #define IRQ_IOP13XX_RSVD_43 (43)
100 #define IRQ_IOP13XX_RSVD_44 (44)
101 #define IRQ_IOP13XX_RSVD_45 (45)
102 #define IRQ_IOP13XX_RSVD_46 (46)
103 #define IRQ_IOP13XX_RSVD_47 (47)
104 #define IRQ_IOP13XX_RSVD_48 (48)
105 #define IRQ_IOP13XX_RSVD_49 (49)
106 #define IRQ_IOP13XX_RSVD_50 (50)
107 #define IRQ_IOP13XX_UART0 (51)
108 #define IRQ_IOP13XX_UART1 (52)
109 #define IRQ_IOP13XX_PBIE (53)
110 #define IRQ_IOP13XX_ATU_CRW (54)
111 #define IRQ_IOP13XX_ATU_ERR (55)
112 #define IRQ_IOP13XX_MCU_ERR (56)
113 #define IRQ_IOP13XX_ADMA0_ERR (57)
114 #define IRQ_IOP13XX_ADMA1_ERR (58)
115 #define IRQ_IOP13XX_ADMA2_ERR (59)
116 #define IRQ_IOP13XX_RSVD_60 (60)
117 #define IRQ_IOP13XX_RSVD_61 (61)
118 #define IRQ_IOP13XX_MSG_ERR (62)
119 #define IRQ_IOP13XX_RSVD_63 (63)
121 #define IRQ_IOP13XX_INTERPROC (64)
122 #define IRQ_IOP13XX_RSVD_65 (65)
123 #define IRQ_IOP13XX_RSVD_66 (66)
124 #define IRQ_IOP13XX_RSVD_67 (67)
125 #define IRQ_IOP13XX_RSVD_68 (68)
126 #define IRQ_IOP13XX_RSVD_69 (69)
127 #define IRQ_IOP13XX_RSVD_70 (70)
128 #define IRQ_IOP13XX_RSVD_71 (71)
129 #define IRQ_IOP13XX_RSVD_72 (72)
130 #define IRQ_IOP13XX_RSVD_73 (73)
131 #define IRQ_IOP13XX_RSVD_74 (74)
132 #define IRQ_IOP13XX_RSVD_75 (75)
133 #define IRQ_IOP13XX_RSVD_76 (76)
134 #define IRQ_IOP13XX_RSVD_77 (77)
135 #define IRQ_IOP13XX_RSVD_78 (78)
136 #define IRQ_IOP13XX_RSVD_79 (79)
137 #define IRQ_IOP13XX_RSVD_80 (80)
138 #define IRQ_IOP13XX_RSVD_81 (81)
139 #define IRQ_IOP13XX_RSVD_82 (82)
140 #define IRQ_IOP13XX_RSVD_83 (83)
141 #define IRQ_IOP13XX_RSVD_84 (84)
142 #define IRQ_IOP13XX_RSVD_85 (85)
143 #define IRQ_IOP13XX_RSVD_86 (86)
144 #define IRQ_IOP13XX_RSVD_87 (87)
145 #define IRQ_IOP13XX_RSVD_88 (88)
146 #define IRQ_IOP13XX_RSVD_89 (89)
147 #define IRQ_IOP13XX_RSVD_90 (90)
148 #define IRQ_IOP13XX_RSVD_91 (91)
149 #define IRQ_IOP13XX_RSVD_92 (92)
150 #define IRQ_IOP13XX_RSVD_93 (93)
151 #define IRQ_IOP13XX_SIB_ERR (94)
152 #define IRQ_IOP13XX_SRAM_ERR (95)
154 #define IRQ_IOP13XX_I2C_2 (96)
155 #define IRQ_IOP13XX_ATUE_BIST (97)
156 #define IRQ_IOP13XX_ATUE_CRW (98)
157 #define IRQ_IOP13XX_ATUE_ERR (99)
158 #define IRQ_IOP13XX_IMU (100)
159 #define IRQ_IOP13XX_RSVD_101 (101)
160 #define IRQ_IOP13XX_RSVD_102 (102)
161 #define IRQ_IOP13XX_TPMI0_OUT (103)
162 #define IRQ_IOP13XX_TPMI1_OUT (104)
163 #define IRQ_IOP13XX_TPMI2_OUT (105)
164 #define IRQ_IOP13XX_TPMI3_OUT (106)
165 #define IRQ_IOP13XX_ATUE_IMA (107)
166 #define IRQ_IOP13XX_ATUE_IMB (108)
167 #define IRQ_IOP13XX_ATUE_IMC (109)
168 #define IRQ_IOP13XX_ATUE_IMD (110)
169 #define IRQ_IOP13XX_MU_MSI_TB (111)
170 #define IRQ_IOP13XX_RSVD_112 (112)
171 #define IRQ_IOP13XX_INBD_MSI (113)
172 #define IRQ_IOP13XX_RSVD_114 (114)
173 #define IRQ_IOP13XX_RSVD_115 (115)
174 #define IRQ_IOP13XX_RSVD_116 (116)
175 #define IRQ_IOP13XX_RSVD_117 (117)
176 #define IRQ_IOP13XX_RSVD_118 (118)
177 #define IRQ_IOP13XX_RSVD_119 (119)
178 #define IRQ_IOP13XX_RSVD_120 (120)
179 #define IRQ_IOP13XX_RSVD_121 (121)
180 #define IRQ_IOP13XX_RSVD_122 (122)
181 #define IRQ_IOP13XX_RSVD_123 (123)
182 #define IRQ_IOP13XX_RSVD_124 (124)
183 #define IRQ_IOP13XX_RSVD_125 (125)
184 #define IRQ_IOP13XX_RSVD_126 (126)
185 #define IRQ_IOP13XX_HPI (127)
187 #ifdef CONFIG_PCI_MSI
188 #define IRQ_IOP13XX_MSI_0 (IRQ_IOP13XX_HPI + 1)
189 #define NR_IOP13XX_IRQS (IRQ_IOP13XX_MSI_0 + 128)
191 #define NR_IOP13XX_IRQS (IRQ_IOP13XX_HPI + 1)
194 #define NR_IRQS NR_IOP13XX_IRQS