~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/sibyte/sb1250_int.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/include/asm/sibyte/sb1250_int.h (Architecture i386) and /arch/sparc/include/asm-sparc/sibyte/sb1250_int.h (Architecture sparc)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2 /*  ******************************************    
  3     *  SB1250 Board Support Package               
  4     *                                             
  5     *  Interrupt Mapper definitions               
  6     *                                             
  7     *  This module contains constants for mani    
  8     *  interrupt mapper and definitions for th    
  9     *                                             
 10     *  SB1250 specification level:  User's man    
 11     *                                             
 12     ******************************************    
 13     *                                             
 14     *  Copyright 2000, 2001, 2002, 2003           
 15     *  Broadcom Corporation. All rights reserv    
 16     *                                             
 17     ******************************************    
 18                                                   
 19                                                   
 20 #ifndef _SB1250_INT_H                             
 21 #define _SB1250_INT_H                             
 22                                                   
 23 #include <asm/sibyte/sb1250_defs.h>               
 24                                                   
 25 /*  ******************************************    
 26     *  Interrupt Mapper Constants                 
 27     ******************************************    
 28                                                   
 29 /*                                                
 30  * Interrupt sources (Table 4-8, UM 0.2)          
 31  *                                                
 32  * First, the interrupt numbers.                  
 33  */                                               
 34                                                   
 35 #define K_INT_SOURCES               64            
 36                                                   
 37 #define K_INT_WATCHDOG_TIMER_0      0             
 38 #define K_INT_WATCHDOG_TIMER_1      1             
 39 #define K_INT_TIMER_0               2             
 40 #define K_INT_TIMER_1               3             
 41 #define K_INT_TIMER_2               4             
 42 #define K_INT_TIMER_3               5             
 43 #define K_INT_SMB_0                 6             
 44 #define K_INT_SMB_1                 7             
 45 #define K_INT_UART_0                8             
 46 #define K_INT_UART_1                9             
 47 #define K_INT_SER_0                 10            
 48 #define K_INT_SER_1                 11            
 49 #define K_INT_PCMCIA                12            
 50 #define K_INT_ADDR_TRAP             13            
 51 #define K_INT_PERF_CNT              14            
 52 #define K_INT_TRACE_FREEZE          15            
 53 #define K_INT_BAD_ECC               16            
 54 #define K_INT_COR_ECC               17            
 55 #define K_INT_IO_BUS                18            
 56 #define K_INT_MAC_0                 19            
 57 #define K_INT_MAC_1                 20            
 58 #define K_INT_MAC_2                 21            
 59 #define K_INT_DM_CH_0               22            
 60 #define K_INT_DM_CH_1               23            
 61 #define K_INT_DM_CH_2               24            
 62 #define K_INT_DM_CH_3               25            
 63 #define K_INT_MBOX_0                26            
 64 #define K_INT_MBOX_1                27            
 65 #define K_INT_MBOX_2                28            
 66 #define K_INT_MBOX_3                29            
 67 #if SIBYTE_HDR_FEATURE(1250, PASS2) || SIBYTE_    
 68 #define K_INT_CYCLE_CP0_INT         30            
 69 #define K_INT_CYCLE_CP1_INT         31            
 70 #endif /* 1250 PASS2 || 112x PASS1 */             
 71 #define K_INT_GPIO_0                32            
 72 #define K_INT_GPIO_1                33            
 73 #define K_INT_GPIO_2                34            
 74 #define K_INT_GPIO_3                35            
 75 #define K_INT_GPIO_4                36            
 76 #define K_INT_GPIO_5                37            
 77 #define K_INT_GPIO_6                38            
 78 #define K_INT_GPIO_7                39            
 79 #define K_INT_GPIO_8                40            
 80 #define K_INT_GPIO_9                41            
 81 #define K_INT_GPIO_10               42            
 82 #define K_INT_GPIO_11               43            
 83 #define K_INT_GPIO_12               44            
 84 #define K_INT_GPIO_13               45            
 85 #define K_INT_GPIO_14               46            
 86 #define K_INT_GPIO_15               47            
 87 #define K_INT_LDT_FATAL             48            
 88 #define K_INT_LDT_NONFATAL          49            
 89 #define K_INT_LDT_SMI               50            
 90 #define K_INT_LDT_NMI               51            
 91 #define K_INT_LDT_INIT              52            
 92 #define K_INT_LDT_STARTUP           53            
 93 #define K_INT_LDT_EXT               54            
 94 #define K_INT_PCI_ERROR             55            
 95 #define K_INT_PCI_INTA              56            
 96 #define K_INT_PCI_INTB              57            
 97 #define K_INT_PCI_INTC              58            
 98 #define K_INT_PCI_INTD              59            
 99 #define K_INT_SPARE_2               60            
100 #if SIBYTE_HDR_FEATURE(1250, PASS2) || SIBYTE_    
101 #define K_INT_MAC_0_CH1             61            
102 #define K_INT_MAC_1_CH1             62            
103 #define K_INT_MAC_2_CH1             63            
104 #endif /* 1250 PASS2 || 112x PASS1 */             
105                                                   
106 /*                                                
107  * Mask values for each interrupt                 
108  */                                               
109                                                   
110 #define M_INT_WATCHDOG_TIMER_0      _SB_MAKEMA    
111 #define M_INT_WATCHDOG_TIMER_1      _SB_MAKEMA    
112 #define M_INT_TIMER_0               _SB_MAKEMA    
113 #define M_INT_TIMER_1               _SB_MAKEMA    
114 #define M_INT_TIMER_2               _SB_MAKEMA    
115 #define M_INT_TIMER_3               _SB_MAKEMA    
116 #define M_INT_SMB_0                 _SB_MAKEMA    
117 #define M_INT_SMB_1                 _SB_MAKEMA    
118 #define M_INT_UART_0                _SB_MAKEMA    
119 #define M_INT_UART_1                _SB_MAKEMA    
120 #define M_INT_SER_0                 _SB_MAKEMA    
121 #define M_INT_SER_1                 _SB_MAKEMA    
122 #define M_INT_PCMCIA                _SB_MAKEMA    
123 #define M_INT_ADDR_TRAP             _SB_MAKEMA    
124 #define M_INT_PERF_CNT              _SB_MAKEMA    
125 #define M_INT_TRACE_FREEZE          _SB_MAKEMA    
126 #define M_INT_BAD_ECC               _SB_MAKEMA    
127 #define M_INT_COR_ECC               _SB_MAKEMA    
128 #define M_INT_IO_BUS                _SB_MAKEMA    
129 #define M_INT_MAC_0                 _SB_MAKEMA    
130 #define M_INT_MAC_1                 _SB_MAKEMA    
131 #define M_INT_MAC_2                 _SB_MAKEMA    
132 #define M_INT_DM_CH_0               _SB_MAKEMA    
133 #define M_INT_DM_CH_1               _SB_MAKEMA    
134 #define M_INT_DM_CH_2               _SB_MAKEMA    
135 #define M_INT_DM_CH_3               _SB_MAKEMA    
136 #define M_INT_MBOX_0                _SB_MAKEMA    
137 #define M_INT_MBOX_1                _SB_MAKEMA    
138 #define M_INT_MBOX_2                _SB_MAKEMA    
139 #define M_INT_MBOX_3                _SB_MAKEMA    
140 #define M_INT_MBOX_ALL              _SB_MAKEMA    
141 #if SIBYTE_HDR_FEATURE(1250, PASS2) || SIBYTE_    
142 #define M_INT_CYCLE_CP0_INT         _SB_MAKEMA    
143 #define M_INT_CYCLE_CP1_INT         _SB_MAKEMA    
144 #endif /* 1250 PASS2 || 112x PASS1 */             
145 #define M_INT_GPIO_0                _SB_MAKEMA    
146 #define M_INT_GPIO_1                _SB_MAKEMA    
147 #define M_INT_GPIO_2                _SB_MAKEMA    
148 #define M_INT_GPIO_3                _SB_MAKEMA    
149 #define M_INT_GPIO_4                _SB_MAKEMA    
150 #define M_INT_GPIO_5                _SB_MAKEMA    
151 #define M_INT_GPIO_6                _SB_MAKEMA    
152 #define M_INT_GPIO_7                _SB_MAKEMA    
153 #define M_INT_GPIO_8                _SB_MAKEMA    
154 #define M_INT_GPIO_9                _SB_MAKEMA    
155 #define M_INT_GPIO_10               _SB_MAKEMA    
156 #define M_INT_GPIO_11               _SB_MAKEMA    
157 #define M_INT_GPIO_12               _SB_MAKEMA    
158 #define M_INT_GPIO_13               _SB_MAKEMA    
159 #define M_INT_GPIO_14               _SB_MAKEMA    
160 #define M_INT_GPIO_15               _SB_MAKEMA    
161 #define M_INT_LDT_FATAL             _SB_MAKEMA    
162 #define M_INT_LDT_NONFATAL          _SB_MAKEMA    
163 #define M_INT_LDT_SMI               _SB_MAKEMA    
164 #define M_INT_LDT_NMI               _SB_MAKEMA    
165 #define M_INT_LDT_INIT              _SB_MAKEMA    
166 #define M_INT_LDT_STARTUP           _SB_MAKEMA    
167 #define M_INT_LDT_EXT               _SB_MAKEMA    
168 #define M_INT_PCI_ERROR             _SB_MAKEMA    
169 #define M_INT_PCI_INTA              _SB_MAKEMA    
170 #define M_INT_PCI_INTB              _SB_MAKEMA    
171 #define M_INT_PCI_INTC              _SB_MAKEMA    
172 #define M_INT_PCI_INTD              _SB_MAKEMA    
173 #define M_INT_SPARE_2               _SB_MAKEMA    
174 #if SIBYTE_HDR_FEATURE(1250, PASS2) || SIBYTE_    
175 #define M_INT_MAC_0_CH1             _SB_MAKEMA    
176 #define M_INT_MAC_1_CH1             _SB_MAKEMA    
177 #define M_INT_MAC_2_CH1             _SB_MAKEMA    
178 #endif /* 1250 PASS2 || 112x PASS1 */             
179                                                   
180 /*                                                
181  * Interrupt mappings                             
182  */                                               
183                                                   
184 #define K_INT_MAP_I0    0               /* int    
185 #define K_INT_MAP_I1    1                         
186 #define K_INT_MAP_I2    2                         
187 #define K_INT_MAP_I3    3                         
188 #define K_INT_MAP_I4    4                         
189 #define K_INT_MAP_I5    5                         
190 #define K_INT_MAP_NMI   6               /* non    
191 #define K_INT_MAP_DINT  7               /* deb    
192                                                   
193 /*                                                
194  * LDT Interrupt Set Register (table 4-5)         
195  */                                               
196                                                   
197 #define S_INT_LDT_INTMSG              0           
198 #define M_INT_LDT_INTMSG              _SB_MAKE    
199 #define V_INT_LDT_INTMSG(x)           _SB_MAKE    
200 #define G_INT_LDT_INTMSG(x)           _SB_GETV    
201                                                   
202 #define K_INT_LDT_INTMSG_FIXED        0           
203 #define K_INT_LDT_INTMSG_ARBITRATED   1           
204 #define K_INT_LDT_INTMSG_SMI          2           
205 #define K_INT_LDT_INTMSG_NMI          3           
206 #define K_INT_LDT_INTMSG_INIT         4           
207 #define K_INT_LDT_INTMSG_STARTUP      5           
208 #define K_INT_LDT_INTMSG_EXTINT       6           
209 #define K_INT_LDT_INTMSG_RESERVED     7           
210                                                   
211 #define M_INT_LDT_EDGETRIGGER         0           
212 #define M_INT_LDT_LEVELTRIGGER        _SB_MAKE    
213                                                   
214 #define M_INT_LDT_PHYSICALDEST        0           
215 #define M_INT_LDT_LOGICALDEST         _SB_MAKE    
216                                                   
217 #define S_INT_LDT_INTDEST             5           
218 #define M_INT_LDT_INTDEST             _SB_MAKE    
219 #define V_INT_LDT_INTDEST(x)          _SB_MAKE    
220 #define G_INT_LDT_INTDEST(x)          _SB_GETV    
221                                                   
222 #define S_INT_LDT_VECTOR              13          
223 #define M_INT_LDT_VECTOR              _SB_MAKE    
224 #define V_INT_LDT_VECTOR(x)           _SB_MAKE    
225 #define G_INT_LDT_VECTOR(x)           _SB_GETV    
226                                                   
227 /*                                                
228  * Vector format (Table 4-6)                      
229  */                                               
230                                                   
231 #define M_LDTVECT_RAISEINT              0x00      
232 #define M_LDTVECT_RAISEMBOX             0x40      
233                                                   
234                                                   
235 #endif  /* 1250/112x */                           
236                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php