1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _BCM1480_INT_H 20 #define _BCM1480_INT_H 21 #include "sb1250_defs.h" 22 #define K_BCM1480_INT_SOURCES 128 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define _BCM1480_INT_HIGH(k) (k) 25 #define _BCM1480_INT_LOW(k) ((k)+64) 26 #define K_BCM1480_INT_ADDR_TRAP _BCM1480_INT_HIGH(1) 27 #define K_BCM1480_INT_GPIO_0 _BCM1480_INT_HIGH(4) 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define K_BCM1480_INT_GPIO_1 _BCM1480_INT_HIGH(5) 30 #define K_BCM1480_INT_GPIO_2 _BCM1480_INT_HIGH(6) 31 #define K_BCM1480_INT_GPIO_3 _BCM1480_INT_HIGH(7) 32 #define K_BCM1480_INT_PCI_INTA _BCM1480_INT_HIGH(8) 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 #define K_BCM1480_INT_PCI_INTB _BCM1480_INT_HIGH(9) 35 #define K_BCM1480_INT_PCI_INTC _BCM1480_INT_HIGH(10) 36 #define K_BCM1480_INT_PCI_INTD _BCM1480_INT_HIGH(11) 37 #define K_BCM1480_INT_CYCLE_CP0 _BCM1480_INT_HIGH(12) 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 #define K_BCM1480_INT_CYCLE_CP1 _BCM1480_INT_HIGH(13) 40 #define K_BCM1480_INT_CYCLE_CP2 _BCM1480_INT_HIGH(14) 41 #define K_BCM1480_INT_CYCLE_CP3 _BCM1480_INT_HIGH(15) 42 #define K_BCM1480_INT_TIMER_0 _BCM1480_INT_HIGH(20) 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 #define K_BCM1480_INT_TIMER_1 _BCM1480_INT_HIGH(21) 45 #define K_BCM1480_INT_TIMER_2 _BCM1480_INT_HIGH(22) 46 #define K_BCM1480_INT_TIMER_3 _BCM1480_INT_HIGH(23) 47 #define K_BCM1480_INT_DM_CH_0 _BCM1480_INT_HIGH(28) 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 #define K_BCM1480_INT_DM_CH_1 _BCM1480_INT_HIGH(29) 50 #define K_BCM1480_INT_DM_CH_2 _BCM1480_INT_HIGH(30) 51 #define K_BCM1480_INT_DM_CH_3 _BCM1480_INT_HIGH(31) 52 #define K_BCM1480_INT_MAC_0 _BCM1480_INT_HIGH(36) 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 #define K_BCM1480_INT_MAC_0_CH1 _BCM1480_INT_HIGH(37) 55 #define K_BCM1480_INT_MAC_1 _BCM1480_INT_HIGH(38) 56 #define K_BCM1480_INT_MAC_1_CH1 _BCM1480_INT_HIGH(39) 57 #define K_BCM1480_INT_MAC_2 _BCM1480_INT_HIGH(40) 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 #define K_BCM1480_INT_MAC_2_CH1 _BCM1480_INT_HIGH(41) 60 #define K_BCM1480_INT_MAC_3 _BCM1480_INT_HIGH(42) 61 #define K_BCM1480_INT_MAC_3_CH1 _BCM1480_INT_HIGH(43) 62 #define K_BCM1480_INT_PMI_LOW _BCM1480_INT_HIGH(52) 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define K_BCM1480_INT_PMI_HIGH _BCM1480_INT_HIGH(53) 65 #define K_BCM1480_INT_PMO_LOW _BCM1480_INT_HIGH(54) 66 #define K_BCM1480_INT_PMO_HIGH _BCM1480_INT_HIGH(55) 67 #define K_BCM1480_INT_MBOX_0_0 _BCM1480_INT_HIGH(56) 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 #define K_BCM1480_INT_MBOX_0_1 _BCM1480_INT_HIGH(57) 70 #define K_BCM1480_INT_MBOX_0_2 _BCM1480_INT_HIGH(58) 71 #define K_BCM1480_INT_MBOX_0_3 _BCM1480_INT_HIGH(59) 72 #define K_BCM1480_INT_MBOX_1_0 _BCM1480_INT_HIGH(60) 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 #define K_BCM1480_INT_MBOX_1_1 _BCM1480_INT_HIGH(61) 75 #define K_BCM1480_INT_MBOX_1_2 _BCM1480_INT_HIGH(62) 76 #define K_BCM1480_INT_MBOX_1_3 _BCM1480_INT_HIGH(63) 77 #define K_BCM1480_INT_BAD_ECC _BCM1480_INT_LOW(1) 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 #define K_BCM1480_INT_COR_ECC _BCM1480_INT_LOW(2) 80 #define K_BCM1480_INT_IO_BUS _BCM1480_INT_LOW(3) 81 #define K_BCM1480_INT_PERF_CNT _BCM1480_INT_LOW(4) 82 #define K_BCM1480_INT_SW_PERF_CNT _BCM1480_INT_LOW(5) 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #define K_BCM1480_INT_TRACE_FREEZE _BCM1480_INT_LOW(6) 85 #define K_BCM1480_INT_SW_TRACE_FREEZE _BCM1480_INT_LOW(7) 86 #define K_BCM1480_INT_WATCHDOG_TIMER_0 _BCM1480_INT_LOW(8) 87 #define K_BCM1480_INT_WATCHDOG_TIMER_1 _BCM1480_INT_LOW(9) 88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 #define K_BCM1480_INT_WATCHDOG_TIMER_2 _BCM1480_INT_LOW(10) 90 #define K_BCM1480_INT_WATCHDOG_TIMER_3 _BCM1480_INT_LOW(11) 91 #define K_BCM1480_INT_PCI_ERROR _BCM1480_INT_LOW(16) 92 #define K_BCM1480_INT_PCI_RESET _BCM1480_INT_LOW(17) 93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94 #define K_BCM1480_INT_NODE_CONTROLLER _BCM1480_INT_LOW(18) 95 #define K_BCM1480_INT_HOST_BRIDGE _BCM1480_INT_LOW(19) 96 #define K_BCM1480_INT_PORT_0_FATAL _BCM1480_INT_LOW(20) 97 #define K_BCM1480_INT_PORT_0_NONFATAL _BCM1480_INT_LOW(21) 98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 #define K_BCM1480_INT_PORT_1_FATAL _BCM1480_INT_LOW(22) 100 #define K_BCM1480_INT_PORT_1_NONFATAL _BCM1480_INT_LOW(23) 101 #define K_BCM1480_INT_PORT_2_FATAL _BCM1480_INT_LOW(24) 102 #define K_BCM1480_INT_PORT_2_NONFATAL _BCM1480_INT_LOW(25) 103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 #define K_BCM1480_INT_LDT_SMI _BCM1480_INT_LOW(32) 105 #define K_BCM1480_INT_LDT_NMI _BCM1480_INT_LOW(33) 106 #define K_BCM1480_INT_LDT_INIT _BCM1480_INT_LOW(34) 107 #define K_BCM1480_INT_LDT_STARTUP _BCM1480_INT_LOW(35) 108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 #define K_BCM1480_INT_LDT_EXT _BCM1480_INT_LOW(36) 110 #define K_BCM1480_INT_SMB_0 _BCM1480_INT_LOW(40) 111 #define K_BCM1480_INT_SMB_1 _BCM1480_INT_LOW(41) 112 #define K_BCM1480_INT_PCMCIA _BCM1480_INT_LOW(42) 113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 #define K_BCM1480_INT_UART_0 _BCM1480_INT_LOW(44) 115 #define K_BCM1480_INT_UART_1 _BCM1480_INT_LOW(45) 116 #define K_BCM1480_INT_UART_2 _BCM1480_INT_LOW(46) 117 #define K_BCM1480_INT_UART_3 _BCM1480_INT_LOW(47) 118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 #define K_BCM1480_INT_GPIO_4 _BCM1480_INT_LOW(52) 120 #define K_BCM1480_INT_GPIO_5 _BCM1480_INT_LOW(53) 121 #define K_BCM1480_INT_GPIO_6 _BCM1480_INT_LOW(54) 122 #define K_BCM1480_INT_GPIO_7 _BCM1480_INT_LOW(55) 123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 #define K_BCM1480_INT_GPIO_8 _BCM1480_INT_LOW(56) 125 #define K_BCM1480_INT_GPIO_9 _BCM1480_INT_LOW(57) 126 #define K_BCM1480_INT_GPIO_10 _BCM1480_INT_LOW(58) 127 #define K_BCM1480_INT_GPIO_11 _BCM1480_INT_LOW(59) 128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129 #define K_BCM1480_INT_GPIO_12 _BCM1480_INT_LOW(60) 130 #define K_BCM1480_INT_GPIO_13 _BCM1480_INT_LOW(61) 131 #define K_BCM1480_INT_GPIO_14 _BCM1480_INT_LOW(62) 132 #define K_BCM1480_INT_GPIO_15 _BCM1480_INT_LOW(63) 133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134 #define _BCM1480_INT_MASK(w, n) _SB_MAKEMASK(w, ((n) & 0x3F)) 135 #define _BCM1480_INT_MASK1(n) _SB_MAKEMASK1(((n) & 0x3F)) 136 #define _BCM1480_INT_OFFSET(n) (((n) & 0x40) << 6) 137 #define M_BCM1480_INT_CASCADE _BCM1480_INT_MASK1(_BCM1480_INT_HIGH(0)) 138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139 #define M_BCM1480_INT_ADDR_TRAP _BCM1480_INT_MASK1(K_BCM1480_INT_ADDR_TRAP) 140 #define M_BCM1480_INT_GPIO_0 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_0) 141 #define M_BCM1480_INT_GPIO_1 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_1) 142 #define M_BCM1480_INT_GPIO_2 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_2) 143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 #define M_BCM1480_INT_GPIO_3 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_3) 145 #define M_BCM1480_INT_PCI_INTA _BCM1480_INT_MASK1(K_BCM1480_INT_PCI_INTA) 146 #define M_BCM1480_INT_PCI_INTB _BCM1480_INT_MASK1(K_BCM1480_INT_PCI_INTB) 147 #define M_BCM1480_INT_PCI_INTC _BCM1480_INT_MASK1(K_BCM1480_INT_PCI_INTC) 148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 #define M_BCM1480_INT_PCI_INTD _BCM1480_INT_MASK1(K_BCM1480_INT_PCI_INTD) 150 #define M_BCM1480_INT_CYCLE_CP0 _BCM1480_INT_MASK1(K_BCM1480_INT_CYCLE_CP0) 151 #define M_BCM1480_INT_CYCLE_CP1 _BCM1480_INT_MASK1(K_BCM1480_INT_CYCLE_CP1) 152 #define M_BCM1480_INT_CYCLE_CP2 _BCM1480_INT_MASK1(K_BCM1480_INT_CYCLE_CP2) 153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 #define M_BCM1480_INT_CYCLE_CP3 _BCM1480_INT_MASK1(K_BCM1480_INT_CYCLE_CP3) 155 #define M_BCM1480_INT_TIMER_0 _BCM1480_INT_MASK1(K_BCM1480_INT_TIMER_0) 156 #define M_BCM1480_INT_TIMER_1 _BCM1480_INT_MASK1(K_BCM1480_INT_TIMER_1) 157 #define M_BCM1480_INT_TIMER_2 _BCM1480_INT_MASK1(K_BCM1480_INT_TIMER_2) 158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159 #define M_BCM1480_INT_TIMER_3 _BCM1480_INT_MASK1(K_BCM1480_INT_TIMER_3) 160 #define M_BCM1480_INT_DM_CH_0 _BCM1480_INT_MASK1(K_BCM1480_INT_DM_CH_0) 161 #define M_BCM1480_INT_DM_CH_1 _BCM1480_INT_MASK1(K_BCM1480_INT_DM_CH_1) 162 #define M_BCM1480_INT_DM_CH_2 _BCM1480_INT_MASK1(K_BCM1480_INT_DM_CH_2) 163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 #define M_BCM1480_INT_DM_CH_3 _BCM1480_INT_MASK1(K_BCM1480_INT_DM_CH_3) 165 #define M_BCM1480_INT_MAC_0 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_0) 166 #define M_BCM1480_INT_MAC_0_CH1 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_0_CH1) 167 #define M_BCM1480_INT_MAC_1 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_1) 168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 #define M_BCM1480_INT_MAC_1_CH1 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_1_CH1) 170 #define M_BCM1480_INT_MAC_2 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_2) 171 #define M_BCM1480_INT_MAC_2_CH1 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_2_CH1) 172 #define M_BCM1480_INT_MAC_3 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_3) 173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174 #define M_BCM1480_INT_MAC_3_CH1 _BCM1480_INT_MASK1(K_BCM1480_INT_MAC_3_CH1) 175 #define M_BCM1480_INT_PMI_LOW _BCM1480_INT_MASK1(K_BCM1480_INT_PMI_LOW) 176 #define M_BCM1480_INT_PMI_HIGH _BCM1480_INT_MASK1(K_BCM1480_INT_PMI_HIGH) 177 #define M_BCM1480_INT_PMO_LOW _BCM1480_INT_MASK1(K_BCM1480_INT_PMO_LOW) 178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179 #define M_BCM1480_INT_PMO_HIGH _BCM1480_INT_MASK1(K_BCM1480_INT_PMO_HIGH) 180 #define M_BCM1480_INT_MBOX_ALL _BCM1480_INT_MASK(8, K_BCM1480_INT_MBOX_0_0) 181 #define M_BCM1480_INT_MBOX_0_0 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_0_0) 182 #define M_BCM1480_INT_MBOX_0_1 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_0_1) 183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 #define M_BCM1480_INT_MBOX_0_2 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_0_2) 185 #define M_BCM1480_INT_MBOX_0_3 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_0_3) 186 #define M_BCM1480_INT_MBOX_1_0 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_1_0) 187 #define M_BCM1480_INT_MBOX_1_1 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_1_1) 188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189 #define M_BCM1480_INT_MBOX_1_2 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_1_2) 190 #define M_BCM1480_INT_MBOX_1_3 _BCM1480_INT_MASK1(K_BCM1480_INT_MBOX_1_3) 191 #define M_BCM1480_INT_BAD_ECC _BCM1480_INT_MASK1(K_BCM1480_INT_BAD_ECC) 192 #define M_BCM1480_INT_COR_ECC _BCM1480_INT_MASK1(K_BCM1480_INT_COR_ECC) 193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 #define M_BCM1480_INT_IO_BUS _BCM1480_INT_MASK1(K_BCM1480_INT_IO_BUS) 195 #define M_BCM1480_INT_PERF_CNT _BCM1480_INT_MASK1(K_BCM1480_INT_PERF_CNT) 196 #define M_BCM1480_INT_SW_PERF_CNT _BCM1480_INT_MASK1(K_BCM1480_INT_SW_PERF_CNT) 197 #define M_BCM1480_INT_TRACE_FREEZE _BCM1480_INT_MASK1(K_BCM1480_INT_TRACE_FREEZE) 198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 #define M_BCM1480_INT_SW_TRACE_FREEZE _BCM1480_INT_MASK1(K_BCM1480_INT_SW_TRACE_FREEZE) 200 #define M_BCM1480_INT_WATCHDOG_TIMER_0 _BCM1480_INT_MASK1(K_BCM1480_INT_WATCHDOG_TIMER_0) 201 #define M_BCM1480_INT_WATCHDOG_TIMER_1 _BCM1480_INT_MASK1(K_BCM1480_INT_WATCHDOG_TIMER_1) 202 #define M_BCM1480_INT_WATCHDOG_TIMER_2 _BCM1480_INT_MASK1(K_BCM1480_INT_WATCHDOG_TIMER_2) 203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 #define M_BCM1480_INT_WATCHDOG_TIMER_3 _BCM1480_INT_MASK1(K_BCM1480_INT_WATCHDOG_TIMER_3) 205 #define M_BCM1480_INT_PCI_ERROR _BCM1480_INT_MASK1(K_BCM1480_INT_PCI_ERROR) 206 #define M_BCM1480_INT_PCI_RESET _BCM1480_INT_MASK1(K_BCM1480_INT_PCI_RESET) 207 #define M_BCM1480_INT_NODE_CONTROLLER _BCM1480_INT_MASK1(K_BCM1480_INT_NODE_CONTROLLER) 208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 #define M_BCM1480_INT_HOST_BRIDGE _BCM1480_INT_MASK1(K_BCM1480_INT_HOST_BRIDGE) 210 #define M_BCM1480_INT_PORT_0_FATAL _BCM1480_INT_MASK1(K_BCM1480_INT_PORT_0_FATAL) 211 #define M_BCM1480_INT_PORT_0_NONFATAL _BCM1480_INT_MASK1(K_BCM1480_INT_PORT_0_NONFATAL) 212 #define M_BCM1480_INT_PORT_1_FATAL _BCM1480_INT_MASK1(K_BCM1480_INT_PORT_1_FATAL) 213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 #define M_BCM1480_INT_PORT_1_NONFATAL _BCM1480_INT_MASK1(K_BCM1480_INT_PORT_1_NONFATAL) 215 #define M_BCM1480_INT_PORT_2_FATAL _BCM1480_INT_MASK1(K_BCM1480_INT_PORT_2_FATAL) 216 #define M_BCM1480_INT_PORT_2_NONFATAL _BCM1480_INT_MASK1(K_BCM1480_INT_PORT_2_NONFATAL) 217 #define M_BCM1480_INT_LDT_SMI _BCM1480_INT_MASK1(K_BCM1480_INT_LDT_SMI) 218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219 #define M_BCM1480_INT_LDT_NMI _BCM1480_INT_MASK1(K_BCM1480_INT_LDT_NMI) 220 #define M_BCM1480_INT_LDT_INIT _BCM1480_INT_MASK1(K_BCM1480_INT_LDT_INIT) 221 #define M_BCM1480_INT_LDT_STARTUP _BCM1480_INT_MASK1(K_BCM1480_INT_LDT_STARTUP) 222 #define M_BCM1480_INT_LDT_EXT _BCM1480_INT_MASK1(K_BCM1480_INT_LDT_EXT) 223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 #define M_BCM1480_INT_SMB_0 _BCM1480_INT_MASK1(K_BCM1480_INT_SMB_0) 225 #define M_BCM1480_INT_SMB_1 _BCM1480_INT_MASK1(K_BCM1480_INT_SMB_1) 226 #define M_BCM1480_INT_PCMCIA _BCM1480_INT_MASK1(K_BCM1480_INT_PCMCIA) 227 #define M_BCM1480_INT_UART_0 _BCM1480_INT_MASK1(K_BCM1480_INT_UART_0) 228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 #define M_BCM1480_INT_UART_1 _BCM1480_INT_MASK1(K_BCM1480_INT_UART_1) 230 #define M_BCM1480_INT_UART_2 _BCM1480_INT_MASK1(K_BCM1480_INT_UART_2) 231 #define M_BCM1480_INT_UART_3 _BCM1480_INT_MASK1(K_BCM1480_INT_UART_3) 232 #define M_BCM1480_INT_GPIO_4 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_4) 233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234 #define M_BCM1480_INT_GPIO_5 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_5) 235 #define M_BCM1480_INT_GPIO_6 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_6) 236 #define M_BCM1480_INT_GPIO_7 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_7) 237 #define M_BCM1480_INT_GPIO_8 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_8) 238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 #define M_BCM1480_INT_GPIO_9 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_9) 240 #define M_BCM1480_INT_GPIO_10 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_10) 241 #define M_BCM1480_INT_GPIO_11 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_11) 242 #define M_BCM1480_INT_GPIO_12 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_12) 243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 #define M_BCM1480_INT_GPIO_13 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_13) 245 #define M_BCM1480_INT_GPIO_14 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_14) 246 #define M_BCM1480_INT_GPIO_15 _BCM1480_INT_MASK1(K_BCM1480_INT_GPIO_15) 247 #define K_BCM1480_INT_MAP_I0 0 248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 #define K_BCM1480_INT_MAP_I1 1 250 #define K_BCM1480_INT_MAP_I2 2 251 #define K_BCM1480_INT_MAP_I3 3 252 #define K_BCM1480_INT_MAP_I4 4 253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 #define K_BCM1480_INT_MAP_I5 5 255 #define K_BCM1480_INT_MAP_NMI 6 256 #define K_BCM1480_INT_MAP_DINT 7 257 #define S_BCM1480_INT_HT_INTMSG 0 258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259 #define M_BCM1480_INT_HT_INTMSG _SB_MAKEMASK(3, S_BCM1480_INT_HT_INTMSG) 260 #define V_BCM1480_INT_HT_INTMSG(x) _SB_MAKEVALUE(x, S_BCM1480_INT_HT_INTMSG) 261 #define G_BCM1480_INT_HT_INTMSG(x) _SB_GETVALUE(x, S_BCM1480_INT_HT_INTMSG, M_BCM1480_INT_HT_INTMSG) 262 #define K_BCM1480_INT_HT_INTMSG_FIXED 0 263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 #define K_BCM1480_INT_HT_INTMSG_ARBITRATED 1 265 #define K_BCM1480_INT_HT_INTMSG_SMI 2 266 #define K_BCM1480_INT_HT_INTMSG_NMI 3 267 #define K_BCM1480_INT_HT_INTMSG_INIT 4 268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 #define K_BCM1480_INT_HT_INTMSG_STARTUP 5 270 #define K_BCM1480_INT_HT_INTMSG_EXTINT 6 271 #define K_BCM1480_INT_HT_INTMSG_RESERVED 7 272 #define M_BCM1480_INT_HT_TRIGGERMODE _SB_MAKEMASK1(3) 273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 #define V_BCM1480_INT_HT_EDGETRIGGER 0 275 #define V_BCM1480_INT_HT_LEVELTRIGGER M_BCM1480_INT_HT_TRIGGERMODE 276 #define M_BCM1480_INT_HT_DESTMODE _SB_MAKEMASK1(4) 277 #define V_BCM1480_INT_HT_PHYSICALDEST 0 278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279 #define V_BCM1480_INT_HT_LOGICALDEST M_BCM1480_INT_HT_DESTMODE 280 #define S_BCM1480_INT_HT_INTDEST 5 281 #define M_BCM1480_INT_HT_INTDEST _SB_MAKEMASK(8, S_BCM1480_INT_HT_INTDEST) 282 #define V_BCM1480_INT_HT_INTDEST(x) _SB_MAKEVALUE(x, S_BCM1480_INT_HT_INTDEST) 283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284 #define G_BCM1480_INT_HT_INTDEST(x) _SB_GETVALUE(x, S_BCM1480_INT_HT_INTDEST, M_BCM1480_INT_HT_INTDEST) 285 #define S_BCM1480_INT_HT_VECTOR 13 286 #define M_BCM1480_INT_HT_VECTOR _SB_MAKEMASK(8, S_BCM1480_INT_HT_VECTOR) 287 #define V_BCM1480_INT_HT_VECTOR(x) _SB_MAKEVALUE(x, S_BCM1480_INT_HT_VECTOR) 288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289 #define G_BCM1480_INT_HT_VECTOR(x) _SB_GETVALUE(x, S_BCM1480_INT_HT_VECTOR, M_BCM1480_INT_HT_VECTOR) 290 #define M_BCM1480_HTVECT_RAISE_INTLDT_HIGH 0x00 291 #define M_BCM1480_HTVECT_RAISE_MBOX_0 0x40 292 #define M_BCM1480_HTVECT_RAISE_INTLDT_LO 0x80 293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294 #define M_BCM1480_HTVECT_RAISE_MBOX_1 0xC0 295 #endif 296