Go to the documentation of this file.
27 #if !defined(GET_FIELD) && !defined(SET_FIELD)
28 #define BRCM_ALIGN(c, r, f) c##_##r##_##f##_ALIGN
29 #define BRCM_BITS(c, r, f) c##_##r##_##f##_BITS
30 #define BRCM_MASK(c, r, f) c##_##r##_##f##_MASK
31 #define BRCM_SHIFT(c, r, f) c##_##r##_##f##_SHIFT
33 #define GET_FIELD(m, c, r, f) \
34 ((((m) & BRCM_MASK(c, r, f)) >> BRCM_SHIFT(c, r, f)) << BRCM_ALIGN(c, r, f))
36 #define SET_FIELD(m, c, r, f, d) \
37 ((m) = (((m) & ~BRCM_MASK(c, r, f)) | ((((d) >> BRCM_ALIGN(c, r, f)) << \
38 BRCM_SHIFT(c, r, f)) & BRCM_MASK(c, r, f))) \
41 #define SET_TYPE_FIELD(m, c, r, f, d) SET_FIELD(m, c, r, f, c##_##d)
42 #define SET_NAME_FIELD(m, c, r, f, d) SET_FIELD(m, c, r, f, c##_##r##_##f##_##d)
43 #define SET_VALUE_FIELD(m, c, r, f, d) SET_FIELD(m, c, r, f, d)
53 #define AES_RGR_BRIDGE_RESET_CTRL_DEASSERT 0
54 #define AES_RGR_BRIDGE_RESET_CTRL_ASSERT 1
59 #define CCE_RGR_BRIDGE_RESET_CTRL_DEASSERT 0
60 #define CCE_RGR_BRIDGE_RESET_CTRL_ASSERT 1
65 #define DBU_RGR_BRIDGE_RESET_CTRL_DEASSERT 0
66 #define DBU_RGR_BRIDGE_RESET_CTRL_ASSERT 1
71 #define DCI_RGR_BRIDGE_RESET_CTRL_DEASSERT 0
72 #define DCI_RGR_BRIDGE_RESET_CTRL_ASSERT 1
77 #define GISB_ARBITER_DEASSERT_ASSERT_DEASSERT 0
78 #define GISB_ARBITER_DEASSERT_ASSERT_ASSERT 1
83 #define GISB_ARBITER_UNMASK_MASK_UNMASK 0
84 #define GISB_ARBITER_UNMASK_MASK_MASK 1
89 #define GISB_ARBITER_DISABLE_ENABLE_DISABLE 0
90 #define GISB_ARBITER_DISABLE_ENABLE_ENABLE 1
95 #define I2C_GR_BRIDGE_RESET_CTRL_DEASSERT 0
96 #define I2C_GR_BRIDGE_RESET_CTRL_ASSERT 1
101 #define MISC_GR_BRIDGE_RESET_CTRL_DEASSERT 0
102 #define MISC_GR_BRIDGE_RESET_CTRL_ASSERT 1
107 #define OTP_GR_BRIDGE_RESET_CTRL_DEASSERT 0
108 #define OTP_GR_BRIDGE_RESET_CTRL_ASSERT 1
113 #define PCIE_CFG_DEVICE_VENDOR_ID 0x00000000
114 #define PCIE_CFG_STATUS_COMMAND 0x00000004
115 #define PCIE_CFG_PCI_CLASSCODE_AND_REVISION_ID 0x00000008
116 #define PCIE_CFG_BIST_HEADER_TYPE_LATENCY_TIMER_CACHE_LINE_SIZE 0x0000000c
117 #define PCIE_CFG_BASE_ADDRESS_1 0x00000010
118 #define PCIE_CFG_BASE_ADDRESS_2 0x00000014
119 #define PCIE_CFG_BASE_ADDRESS_3 0x00000018
120 #define PCIE_CFG_BASE_ADDRESS_4 0x0000001c
121 #define PCIE_CFG_CARDBUS_CIS_POINTER 0x00000028
122 #define PCIE_CFG_SUBSYSTEM_DEVICE_VENDOR_ID 0x0000002c
123 #define PCIE_CFG_EXPANSION_ROM_BASE_ADDRESS 0x00000030
124 #define PCIE_CFG_CAPABILITIES_POINTER 0x00000034
125 #define PCIE_CFG_INTERRUPT 0x0000003c
126 #define PCIE_CFG_VPD_CAPABILITIES 0x00000040
127 #define PCIE_CFG_VPD_DATA 0x00000044
128 #define PCIE_CFG_POWER_MANAGEMENT_CAPABILITY 0x00000048
129 #define PCIE_CFG_POWER_MANAGEMENT_CONTROL_STATUS 0x0000004c
130 #define PCIE_CFG_MSI_CAPABILITY_HEADER 0x00000050
131 #define PCIE_CFG_MSI_LOWER_ADDRESS 0x00000054
132 #define PCIE_CFG_MSI_UPPER_ADDRESS_REGISTER 0x00000058
133 #define PCIE_CFG_MSI_DATA 0x0000005c
134 #define PCIE_CFG_BROADCOM_VENDOR_SPECIFIC_CAPABILITY_HEADER 0x00000060
135 #define PCIE_CFG_RESET_COUNTERS_INITIAL_VALUES 0x00000064
136 #define PCIE_CFG_MISCELLANEOUS_HOST_CONTROL 0x00000068
137 #define PCIE_CFG_SPARE 0x0000006c
138 #define PCIE_CFG_PCI_STATE 0x00000070
139 #define PCIE_CFG_CLOCK_CONTROL 0x00000074
140 #define PCIE_CFG_REGISTER_BASE 0x00000078
141 #define PCIE_CFG_MEMORY_BASE 0x0000007c
142 #define PCIE_CFG_REGISTER_DATA 0x00000080
143 #define PCIE_CFG_MEMORY_DATA 0x00000084
144 #define PCIE_CFG_EXPANSION_ROM_BAR_SIZE 0x00000088
145 #define PCIE_CFG_EXPANSION_ROM_ADDRESS 0x0000008c
146 #define PCIE_CFG_EXPANSION_ROM_DATA 0x00000090
147 #define PCIE_CFG_VPD_INTERFACE 0x00000094
148 #define PCIE_CFG_UNDI_RECEIVE_BD_STANDARD_PRODUCER_RING_PRODUCER_INDEX_MAILBOX_UPPER 0x00000098
149 #define PCIE_CFG_UNDI_RECEIVE_BD_STANDARD_PRODUCER_RING_PRODUCER_INDEX_MAILBOX_LOWER 0x0000009c
150 #define PCIE_CFG_UNDI_RECEIVE_RETURN_RING_CONSUMER_INDEX_UPPER 0x000000a0
151 #define PCIE_CFG_UNDI_RECEIVE_RETURN_RING_CONSUMER_INDEX_LOWER 0x000000a4
152 #define PCIE_CFG_UNDI_SEND_BD_PRODUCER_INDEX_MAILBOX_UPPER 0x000000a8
153 #define PCIE_CFG_UNDI_SEND_BD_PRODUCER_INDEX_MAILBOX_LOWER 0x000000ac
154 #define PCIE_CFG_INT_MAILBOX_UPPER 0x000000b0
155 #define PCIE_CFG_INT_MAILBOX_LOWER 0x000000b4
156 #define PCIE_CFG_PRODUCT_ID_AND_ASIC_REVISION 0x000000bc
157 #define PCIE_CFG_FUNCTION_EVENT 0x000000c0
158 #define PCIE_CFG_FUNCTION_EVENT_MASK 0x000000c4
159 #define PCIE_CFG_FUNCTION_PRESENT 0x000000c8
160 #define PCIE_CFG_PCIE_CAPABILITIES 0x000000cc
161 #define PCIE_CFG_DEVICE_CAPABILITIES 0x000000d0
162 #define PCIE_CFG_DEVICE_STATUS_CONTROL 0x000000d4
163 #define PCIE_CFG_LINK_CAPABILITY 0x000000d8
164 #define PCIE_CFG_LINK_STATUS_CONTROL 0x000000dc
165 #define PCIE_CFG_DEVICE_CAPABILITIES_2 0x000000f0
166 #define PCIE_CFG_DEVICE_STATUS_CONTROL_2 0x000000f4
167 #define PCIE_CFG_LINK_CAPABILITIES_2 0x000000f8
168 #define PCIE_CFG_LINK_STATUS_CONTROL_2 0x000000fc
169 #define PCIE_CFG_ADVANCED_ERROR_REPORTING_ENHANCED_CAPABILITY_HEADER 0x00000100
170 #define PCIE_CFG_UNCORRECTABLE_ERROR_STATUS 0x00000104
171 #define PCIE_CFG_UNCORRECTABLE_ERROR_MASK 0x00000108
172 #define PCIE_CFG_UNCORRECTABLE_ERROR_SEVERITY 0x0000010c
173 #define PCIE_CFG_CORRECTABLE_ERROR_STATUS 0x00000110
174 #define PCIE_CFG_CORRECTABLE_ERROR_MASK 0x00000114
175 #define PCIE_CFG_ADVANCED_ERROR_CAPABILITIES_AND_CONTROL 0x00000118
176 #define PCIE_CFG_HEADER_LOG_1 0x0000011c
177 #define PCIE_CFG_HEADER_LOG_2 0x00000120
178 #define PCIE_CFG_HEADER_LOG_3 0x00000124
179 #define PCIE_CFG_HEADER_LOG_4 0x00000128
180 #define PCIE_CFG_VIRTUAL_CHANNEL_ENHANCED_CAPABILITY_HEADER 0x0000013c
181 #define PCIE_CFG_PORT_VC_CAPABILITY 0x00000140
182 #define PCIE_CFG_PORT_VC_CAPABILITY_2 0x00000144
183 #define PCIE_CFG_PORT_VC_STATUS_CONTROL 0x00000148
184 #define PCIE_CFG_VC_RESOURCE_CAPABILITY 0x0000014c
185 #define PCIE_CFG_VC_RESOURCE_CONTROL 0x00000150
186 #define PCIE_CFG_VC_RESOURCE_STATUS 0x00000154
187 #define PCIE_CFG_DEVICE_SERIAL_NO_ENHANCED_CAPABILITY_HEADER 0x00000160
188 #define PCIE_CFG_DEVICE_SERIAL_NO_LOWER_DW 0x00000164
189 #define PCIE_CFG_DEVICE_SERIAL_NO_UPPER_DW 0x00000168
190 #define PCIE_CFG_POWER_BUDGETING_ENHANCED_CAPABILITY_HEADER 0x0000016c
191 #define PCIE_CFG_POWER_BUDGETING_DATA_SELECT 0x00000170
192 #define PCIE_CFG_POWER_BUDGETING_DATA 0x00000174
193 #define PCIE_CFG_POWER_BUDGETING_CAPABILITY 0x00000178
194 #define PCIE_CFG_FIRMWARE_POWER_BUDGETING_2_1 0x0000017c
195 #define PCIE_CFG_FIRMWARE_POWER_BUDGETING_4_3 0x00000180
196 #define PCIE_CFG_FIRMWARE_POWER_BUDGETING_6_5 0x00000184
197 #define PCIE_CFG_FIRMWARE_POWER_BUDGETING_8_7 0x00000188
198 #define PCIE_CFG_PCIE_1_1_ADVISORY_NON_FATAL_ERROR_MASKING 0x0000018c
204 #define PCIE_TL_TL_CONTROL 0x00000400
205 #define PCIE_TL_TRANSACTION_CONFIGURATION 0x00000404
211 #define PCIE_DLL_DATA_LINK_CONTROL 0x00000500
212 #define PCIE_DLL_DATA_LINK_STATUS 0x00000504
218 #define INTR_INTR_STATUS 0x00000700
219 #define INTR_INTR_SET 0x00000704
220 #define INTR_INTR_CLR_REG 0x00000708
221 #define INTR_INTR_MSK_STS_REG 0x0000070c
222 #define INTR_INTR_MSK_SET_REG 0x00000710
223 #define INTR_INTR_MSK_CLR_REG 0x00000714
224 #define INTR_EOI_CTRL 0x00000720
230 #define MISC1_TX_FIRST_DESC_L_ADDR_LIST0 0x00000c00
231 #define MISC1_TX_FIRST_DESC_U_ADDR_LIST0 0x00000c04
232 #define MISC1_TX_FIRST_DESC_L_ADDR_LIST1 0x00000c08
233 #define MISC1_TX_FIRST_DESC_U_ADDR_LIST1 0x00000c0c
234 #define MISC1_TX_SW_DESC_LIST_CTRL_STS 0x00000c10
235 #define MISC1_TX_DMA_ERROR_STATUS 0x00000c18
236 #define MISC1_TX_DMA_LIST0_CUR_DESC_L_ADDR 0x00000c1c
237 #define MISC1_TX_DMA_LIST0_CUR_DESC_U_ADDR 0x00000c20
238 #define MISC1_TX_DMA_LIST0_CUR_BYTE_CNT_REM 0x00000c24
239 #define MISC1_TX_DMA_LIST1_CUR_DESC_L_ADDR 0x00000c28
240 #define MISC1_TX_DMA_LIST1_CUR_DESC_U_ADDR 0x00000c2c
241 #define MISC1_TX_DMA_LIST1_CUR_BYTE_CNT_REM 0x00000c30
242 #define MISC1_Y_RX_FIRST_DESC_L_ADDR_LIST0 0x00000c34
243 #define MISC1_Y_RX_FIRST_DESC_U_ADDR_LIST0 0x00000c38
244 #define MISC1_Y_RX_FIRST_DESC_L_ADDR_LIST1 0x00000c3c
245 #define MISC1_Y_RX_FIRST_DESC_U_ADDR_LIST1 0x00000c40
246 #define MISC1_Y_RX_SW_DESC_LIST_CTRL_STS 0x00000c44
247 #define MISC1_Y_RX_ERROR_STATUS 0x00000c4c
248 #define MISC1_Y_RX_LIST0_CUR_DESC_L_ADDR 0x00000c50
249 #define MISC1_Y_RX_LIST0_CUR_DESC_U_ADDR 0x00000c54
250 #define MISC1_Y_RX_LIST0_CUR_BYTE_CNT 0x00000c58
251 #define MISC1_Y_RX_LIST1_CUR_DESC_L_ADDR 0x00000c5c
252 #define MISC1_Y_RX_LIST1_CUR_DESC_U_ADDR 0x00000c60
253 #define MISC1_Y_RX_LIST1_CUR_BYTE_CNT 0x00000c64
254 #define MISC1_UV_RX_FIRST_DESC_L_ADDR_LIST0 0x00000c68
255 #define MISC1_UV_RX_FIRST_DESC_U_ADDR_LIST0 0x00000c6c
256 #define MISC1_UV_RX_FIRST_DESC_L_ADDR_LIST1 0x00000c70
257 #define MISC1_UV_RX_FIRST_DESC_U_ADDR_LIST1 0x00000c74
258 #define MISC1_UV_RX_SW_DESC_LIST_CTRL_STS 0x00000c78
259 #define MISC1_UV_RX_ERROR_STATUS 0x00000c7c
260 #define MISC1_UV_RX_LIST0_CUR_DESC_L_ADDR 0x00000c80
261 #define MISC1_UV_RX_LIST0_CUR_DESC_U_ADDR 0x00000c84
262 #define MISC1_UV_RX_LIST0_CUR_BYTE_CNT 0x00000c88
263 #define MISC1_UV_RX_LIST1_CUR_DESC_L_ADDR 0x00000c8c
264 #define MISC1_UV_RX_LIST1_CUR_DESC_U_ADDR 0x00000c90
265 #define MISC1_UV_RX_LIST1_CUR_BYTE_CNT 0x00000c94
266 #define MISC1_DMA_DEBUG_OPTIONS_REG 0x00000c98
267 #define MISC1_READ_CHANNEL_ERROR_STATUS 0x00000c9c
268 #define MISC1_PCIE_DMA_CTRL 0x00000ca0
274 #define MISC2_GLOBAL_CTRL 0x00000d00
275 #define MISC2_INTERNAL_STATUS 0x00000d04
276 #define MISC2_INTERNAL_STATUS_MUX_CTRL 0x00000d08
277 #define MISC2_DEBUG_FIFO_LENGTH 0x00000d0c
283 #define MISC3_RESET_CTRL 0x00000e00
284 #define MISC3_BIST_CTRL 0x00000e04
285 #define MISC3_BIST_STATUS 0x00000e08
286 #define MISC3_RX_CHECKSUM 0x00000e0c
287 #define MISC3_TX_CHECKSUM 0x00000e10
288 #define MISC3_ECO_CTRL_CORE 0x00000e14
289 #define MISC3_CSI_TEST_CTRL 0x00000e18
290 #define MISC3_HD_DVI_TEST_CTRL 0x00000e1c
296 #define MISC_PERST_ECO_CTRL_PERST 0x00000e80
297 #define MISC_PERST_DECODER_CTRL 0x00000e84
298 #define MISC_PERST_CCE_STATUS 0x00000e88
299 #define MISC_PERST_PCIE_DEBUG 0x00000e8c
300 #define MISC_PERST_PCIE_DEBUG_STATUS 0x00000e90
301 #define MISC_PERST_VREG_CTRL 0x00000e94
302 #define MISC_PERST_MEM_CTRL 0x00000e98
303 #define MISC_PERST_CLOCK_CTRL 0x00000e9c
309 #define GISB_ARBITER_REVISION 0x00000f00
310 #define GISB_ARBITER_SCRATCH 0x00000f04
311 #define GISB_ARBITER_REQ_MASK 0x00000f08
312 #define GISB_ARBITER_TIMER 0x00000f0c
318 #define OTP_CONFIG_INFO 0x00001400
319 #define OTP_CMD 0x00001404
320 #define OTP_STATUS 0x00001408
321 #define OTP_CONTENT_MISC 0x0000140c
322 #define OTP_CONTENT_AES_0 0x00001410
323 #define OTP_CONTENT_AES_1 0x00001414
324 #define OTP_CONTENT_AES_2 0x00001418
325 #define OTP_CONTENT_AES_3 0x0000141c
326 #define OTP_CONTENT_SHA_0 0x00001420
327 #define OTP_CONTENT_SHA_1 0x00001424
328 #define OTP_CONTENT_SHA_2 0x00001428
329 #define OTP_CONTENT_SHA_3 0x0000142c
330 #define OTP_CONTENT_SHA_4 0x00001430
331 #define OTP_CONTENT_SHA_5 0x00001434
332 #define OTP_CONTENT_SHA_6 0x00001438
333 #define OTP_CONTENT_SHA_7 0x0000143c
334 #define OTP_CONTENT_CHECKSUM 0x00001440
335 #define OTP_PROG_CTRL 0x00001444
336 #define OTP_PROG_STATUS 0x00001448
337 #define OTP_PROG_PULSE 0x0000144c
338 #define OTP_VERIFY_PULSE 0x00001450
339 #define OTP_PROG_MASK 0x00001454
340 #define OTP_DATA_INPUT 0x00001458
341 #define OTP_DATA_OUTPUT 0x0000145c
347 #define AES_CONFIG_INFO 0x00001800
348 #define AES_CMD 0x00001804
349 #define AES_STATUS 0x00001808
350 #define AES_EEPROM_CONFIG 0x0000180c
351 #define AES_EEPROM_DATA_0 0x00001810
352 #define AES_EEPROM_DATA_1 0x00001814
353 #define AES_EEPROM_DATA_2 0x00001818
354 #define AES_EEPROM_DATA_3 0x0000181c
360 #define DCI_CMD 0x00001c00
361 #define DCI_STATUS 0x00001c04
362 #define DCI_DRAM_BASE_ADDR 0x00001c08
363 #define DCI_FIRMWARE_ADDR 0x00001c0c
364 #define DCI_FIRMWARE_DATA 0x00001c10
365 #define DCI_SIGNATURE_DATA_0 0x00001c14
366 #define DCI_SIGNATURE_DATA_1 0x00001c18
367 #define DCI_SIGNATURE_DATA_2 0x00001c1c
368 #define DCI_SIGNATURE_DATA_3 0x00001c20
369 #define DCI_SIGNATURE_DATA_4 0x00001c24
370 #define DCI_SIGNATURE_DATA_5 0x00001c28
371 #define DCI_SIGNATURE_DATA_6 0x00001c2c
372 #define DCI_SIGNATURE_DATA_7 0x00001c30
382 #define INTR_INTR_STATUS_reserved0_MASK 0xfc000000
383 #define INTR_INTR_STATUS_reserved0_ALIGN 0
384 #define INTR_INTR_STATUS_reserved0_BITS 6
385 #define INTR_INTR_STATUS_reserved0_SHIFT 26
388 #define INTR_INTR_STATUS_PCIE_TGT_CA_ATTN_MASK 0x02000000
389 #define INTR_INTR_STATUS_PCIE_TGT_CA_ATTN_ALIGN 0
390 #define INTR_INTR_STATUS_PCIE_TGT_CA_ATTN_BITS 1
391 #define INTR_INTR_STATUS_PCIE_TGT_CA_ATTN_SHIFT 25
394 #define INTR_INTR_STATUS_PCIE_TGT_UR_ATTN_MASK 0x01000000
395 #define INTR_INTR_STATUS_PCIE_TGT_UR_ATTN_ALIGN 0
396 #define INTR_INTR_STATUS_PCIE_TGT_UR_ATTN_BITS 1
397 #define INTR_INTR_STATUS_PCIE_TGT_UR_ATTN_SHIFT 24
400 #define INTR_INTR_STATUS_reserved1_MASK 0x00ffc000
401 #define INTR_INTR_STATUS_reserved1_ALIGN 0
402 #define INTR_INTR_STATUS_reserved1_BITS 10
403 #define INTR_INTR_STATUS_reserved1_SHIFT 14
406 #define INTR_INTR_STATUS_L1_UV_RX_DMA_ERR_INTR_MASK 0x00002000
407 #define INTR_INTR_STATUS_L1_UV_RX_DMA_ERR_INTR_ALIGN 0
408 #define INTR_INTR_STATUS_L1_UV_RX_DMA_ERR_INTR_BITS 1
409 #define INTR_INTR_STATUS_L1_UV_RX_DMA_ERR_INTR_SHIFT 13
412 #define INTR_INTR_STATUS_L1_UV_RX_DMA_DONE_INTR_MASK 0x00001000
413 #define INTR_INTR_STATUS_L1_UV_RX_DMA_DONE_INTR_ALIGN 0
414 #define INTR_INTR_STATUS_L1_UV_RX_DMA_DONE_INTR_BITS 1
415 #define INTR_INTR_STATUS_L1_UV_RX_DMA_DONE_INTR_SHIFT 12
418 #define INTR_INTR_STATUS_L1_Y_RX_DMA_ERR_INTR_MASK 0x00000800
419 #define INTR_INTR_STATUS_L1_Y_RX_DMA_ERR_INTR_ALIGN 0
420 #define INTR_INTR_STATUS_L1_Y_RX_DMA_ERR_INTR_BITS 1
421 #define INTR_INTR_STATUS_L1_Y_RX_DMA_ERR_INTR_SHIFT 11
424 #define INTR_INTR_STATUS_L1_Y_RX_DMA_DONE_INTR_MASK 0x00000400
425 #define INTR_INTR_STATUS_L1_Y_RX_DMA_DONE_INTR_ALIGN 0
426 #define INTR_INTR_STATUS_L1_Y_RX_DMA_DONE_INTR_BITS 1
427 #define INTR_INTR_STATUS_L1_Y_RX_DMA_DONE_INTR_SHIFT 10
430 #define INTR_INTR_STATUS_L1_TX_DMA_ERR_INTR_MASK 0x00000200
431 #define INTR_INTR_STATUS_L1_TX_DMA_ERR_INTR_ALIGN 0
432 #define INTR_INTR_STATUS_L1_TX_DMA_ERR_INTR_BITS 1
433 #define INTR_INTR_STATUS_L1_TX_DMA_ERR_INTR_SHIFT 9
436 #define INTR_INTR_STATUS_L1_TX_DMA_DONE_INTR_MASK 0x00000100
437 #define INTR_INTR_STATUS_L1_TX_DMA_DONE_INTR_ALIGN 0
438 #define INTR_INTR_STATUS_L1_TX_DMA_DONE_INTR_BITS 1
439 #define INTR_INTR_STATUS_L1_TX_DMA_DONE_INTR_SHIFT 8
442 #define INTR_INTR_STATUS_reserved2_MASK 0x000000c0
443 #define INTR_INTR_STATUS_reserved2_ALIGN 0
444 #define INTR_INTR_STATUS_reserved2_BITS 2
445 #define INTR_INTR_STATUS_reserved2_SHIFT 6
448 #define INTR_INTR_STATUS_L0_UV_RX_DMA_ERR_INTR_MASK 0x00000020
449 #define INTR_INTR_STATUS_L0_UV_RX_DMA_ERR_INTR_ALIGN 0
450 #define INTR_INTR_STATUS_L0_UV_RX_DMA_ERR_INTR_BITS 1
451 #define INTR_INTR_STATUS_L0_UV_RX_DMA_ERR_INTR_SHIFT 5
454 #define INTR_INTR_STATUS_L0_UV_RX_DMA_DONE_INTR_MASK 0x00000010
455 #define INTR_INTR_STATUS_L0_UV_RX_DMA_DONE_INTR_ALIGN 0
456 #define INTR_INTR_STATUS_L0_UV_RX_DMA_DONE_INTR_BITS 1
457 #define INTR_INTR_STATUS_L0_UV_RX_DMA_DONE_INTR_SHIFT 4
460 #define INTR_INTR_STATUS_L0_Y_RX_DMA_ERR_INTR_MASK 0x00000008
461 #define INTR_INTR_STATUS_L0_Y_RX_DMA_ERR_INTR_ALIGN 0
462 #define INTR_INTR_STATUS_L0_Y_RX_DMA_ERR_INTR_BITS 1
463 #define INTR_INTR_STATUS_L0_Y_RX_DMA_ERR_INTR_SHIFT 3
466 #define INTR_INTR_STATUS_L0_Y_RX_DMA_DONE_INTR_MASK 0x00000004
467 #define INTR_INTR_STATUS_L0_Y_RX_DMA_DONE_INTR_ALIGN 0
468 #define INTR_INTR_STATUS_L0_Y_RX_DMA_DONE_INTR_BITS 1
469 #define INTR_INTR_STATUS_L0_Y_RX_DMA_DONE_INTR_SHIFT 2
472 #define INTR_INTR_STATUS_L0_TX_DMA_ERR_INTR_MASK 0x00000002
473 #define INTR_INTR_STATUS_L0_TX_DMA_ERR_INTR_ALIGN 0
474 #define INTR_INTR_STATUS_L0_TX_DMA_ERR_INTR_BITS 1
475 #define INTR_INTR_STATUS_L0_TX_DMA_ERR_INTR_SHIFT 1
478 #define INTR_INTR_STATUS_L0_TX_DMA_DONE_INTR_MASK 0x00000001
479 #define INTR_INTR_STATUS_L0_TX_DMA_DONE_INTR_ALIGN 0
480 #define INTR_INTR_STATUS_L0_TX_DMA_DONE_INTR_BITS 1
481 #define INTR_INTR_STATUS_L0_TX_DMA_DONE_INTR_SHIFT 0
488 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_reserved0_MASK 0xfffffff0
489 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_reserved0_ALIGN 0
490 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_reserved0_BITS 28
491 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_reserved0_SHIFT 4
494 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DMA_DATA_SERV_PTR_MASK 0x00000008
495 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DMA_DATA_SERV_PTR_ALIGN 0
496 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DMA_DATA_SERV_PTR_BITS 1
497 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DMA_DATA_SERV_PTR_SHIFT 3
500 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DESC_SERV_PTR_MASK 0x00000004
501 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DESC_SERV_PTR_ALIGN 0
502 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DESC_SERV_PTR_BITS 1
503 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_DESC_SERV_PTR_SHIFT 2
506 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_HALT_ON_ERROR_MASK 0x00000002
507 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_HALT_ON_ERROR_ALIGN 0
508 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_HALT_ON_ERROR_BITS 1
509 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_HALT_ON_ERROR_SHIFT 1
512 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_RUN_STOP_MASK 0x00000001
513 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_RUN_STOP_ALIGN 0
514 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_RUN_STOP_BITS 1
515 #define MISC1_TX_SW_DESC_LIST_CTRL_STS_TX_DMA_RUN_STOP_SHIFT 0
522 #define MISC1_TX_DMA_ERROR_STATUS_reserved0_MASK 0xfffffc00
523 #define MISC1_TX_DMA_ERROR_STATUS_reserved0_ALIGN 0
524 #define MISC1_TX_DMA_ERROR_STATUS_reserved0_BITS 22
525 #define MISC1_TX_DMA_ERROR_STATUS_reserved0_SHIFT 10
528 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DESC_TX_ABORT_ERRORS_MASK 0x00000200
529 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DESC_TX_ABORT_ERRORS_ALIGN 0
530 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DESC_TX_ABORT_ERRORS_BITS 1
531 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DESC_TX_ABORT_ERRORS_SHIFT 9
534 #define MISC1_TX_DMA_ERROR_STATUS_reserved1_MASK 0x00000100
535 #define MISC1_TX_DMA_ERROR_STATUS_reserved1_ALIGN 0
536 #define MISC1_TX_DMA_ERROR_STATUS_reserved1_BITS 1
537 #define MISC1_TX_DMA_ERROR_STATUS_reserved1_SHIFT 8
540 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DESC_TX_ABORT_ERRORS_MASK 0x00000080
541 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DESC_TX_ABORT_ERRORS_ALIGN 0
542 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DESC_TX_ABORT_ERRORS_BITS 1
543 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DESC_TX_ABORT_ERRORS_SHIFT 7
546 #define MISC1_TX_DMA_ERROR_STATUS_reserved2_MASK 0x00000040
547 #define MISC1_TX_DMA_ERROR_STATUS_reserved2_ALIGN 0
548 #define MISC1_TX_DMA_ERROR_STATUS_reserved2_BITS 1
549 #define MISC1_TX_DMA_ERROR_STATUS_reserved2_SHIFT 6
552 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DMA_DATA_TX_ABORT_ERRORS_MASK 0x00000020
553 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DMA_DATA_TX_ABORT_ERRORS_ALIGN 0
554 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DMA_DATA_TX_ABORT_ERRORS_BITS 1
555 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_DMA_DATA_TX_ABORT_ERRORS_SHIFT 5
558 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_FIFO_FULL_ERRORS_MASK 0x00000010
559 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_FIFO_FULL_ERRORS_ALIGN 0
560 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_FIFO_FULL_ERRORS_BITS 1
561 #define MISC1_TX_DMA_ERROR_STATUS_TX_L1_FIFO_FULL_ERRORS_SHIFT 4
564 #define MISC1_TX_DMA_ERROR_STATUS_reserved3_MASK 0x00000008
565 #define MISC1_TX_DMA_ERROR_STATUS_reserved3_ALIGN 0
566 #define MISC1_TX_DMA_ERROR_STATUS_reserved3_BITS 1
567 #define MISC1_TX_DMA_ERROR_STATUS_reserved3_SHIFT 3
570 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DMA_DATA_TX_ABORT_ERRORS_MASK 0x00000004
571 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DMA_DATA_TX_ABORT_ERRORS_ALIGN 0
572 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DMA_DATA_TX_ABORT_ERRORS_BITS 1
573 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_DMA_DATA_TX_ABORT_ERRORS_SHIFT 2
576 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_FIFO_FULL_ERRORS_MASK 0x00000002
577 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_FIFO_FULL_ERRORS_ALIGN 0
578 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_FIFO_FULL_ERRORS_BITS 1
579 #define MISC1_TX_DMA_ERROR_STATUS_TX_L0_FIFO_FULL_ERRORS_SHIFT 1
582 #define MISC1_TX_DMA_ERROR_STATUS_reserved4_MASK 0x00000001
583 #define MISC1_TX_DMA_ERROR_STATUS_reserved4_ALIGN 0
584 #define MISC1_TX_DMA_ERROR_STATUS_reserved4_BITS 1
585 #define MISC1_TX_DMA_ERROR_STATUS_reserved4_SHIFT 0
592 #define MISC1_Y_RX_ERROR_STATUS_reserved0_MASK 0xffffc000
593 #define MISC1_Y_RX_ERROR_STATUS_reserved0_ALIGN 0
594 #define MISC1_Y_RX_ERROR_STATUS_reserved0_BITS 18
595 #define MISC1_Y_RX_ERROR_STATUS_reserved0_SHIFT 14
598 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_MASK 0x00002000
599 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_ALIGN 0
600 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_BITS 1
601 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_SHIFT 13
604 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_MASK 0x00001000
605 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_ALIGN 0
606 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_BITS 1
607 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_SHIFT 12
610 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_MASK 0x00000800
611 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_ALIGN 0
612 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_BITS 1
613 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_SHIFT 11
616 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_MASK 0x00000400
617 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_ALIGN 0
618 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_BITS 1
619 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_SHIFT 10
622 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_MASK 0x00000200
623 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_ALIGN 0
624 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_BITS 1
625 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_SHIFT 9
628 #define MISC1_Y_RX_ERROR_STATUS_reserved1_MASK 0x00000100
629 #define MISC1_Y_RX_ERROR_STATUS_reserved1_ALIGN 0
630 #define MISC1_Y_RX_ERROR_STATUS_reserved1_BITS 1
631 #define MISC1_Y_RX_ERROR_STATUS_reserved1_SHIFT 8
634 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_MASK 0x00000080
635 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_ALIGN 0
636 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_BITS 1
637 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_SHIFT 7
640 #define MISC1_Y_RX_ERROR_STATUS_reserved2_MASK 0x00000060
641 #define MISC1_Y_RX_ERROR_STATUS_reserved2_ALIGN 0
642 #define MISC1_Y_RX_ERROR_STATUS_reserved2_BITS 2
643 #define MISC1_Y_RX_ERROR_STATUS_reserved2_SHIFT 5
646 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_MASK 0x00000010
647 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_ALIGN 0
648 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_BITS 1
649 #define MISC1_Y_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_SHIFT 4
652 #define MISC1_Y_RX_ERROR_STATUS_reserved3_MASK 0x0000000c
653 #define MISC1_Y_RX_ERROR_STATUS_reserved3_ALIGN 0
654 #define MISC1_Y_RX_ERROR_STATUS_reserved3_BITS 2
655 #define MISC1_Y_RX_ERROR_STATUS_reserved3_SHIFT 2
658 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_MASK 0x00000002
659 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_ALIGN 0
660 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_BITS 1
661 #define MISC1_Y_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_SHIFT 1
664 #define MISC1_Y_RX_ERROR_STATUS_reserved4_MASK 0x00000001
665 #define MISC1_Y_RX_ERROR_STATUS_reserved4_ALIGN 0
666 #define MISC1_Y_RX_ERROR_STATUS_reserved4_BITS 1
667 #define MISC1_Y_RX_ERROR_STATUS_reserved4_SHIFT 0
674 #define MISC1_UV_RX_ERROR_STATUS_reserved0_MASK 0xffffc000
675 #define MISC1_UV_RX_ERROR_STATUS_reserved0_ALIGN 0
676 #define MISC1_UV_RX_ERROR_STATUS_reserved0_BITS 18
677 #define MISC1_UV_RX_ERROR_STATUS_reserved0_SHIFT 14
680 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_MASK 0x00002000
681 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_ALIGN 0
682 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_BITS 1
683 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_UNDERRUN_ERROR_SHIFT 13
686 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_MASK 0x00001000
687 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_ALIGN 0
688 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_BITS 1
689 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_OVERRUN_ERROR_SHIFT 12
692 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_MASK 0x00000800
693 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_ALIGN 0
694 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_BITS 1
695 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_UNDERRUN_ERROR_SHIFT 11
698 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_MASK 0x00000400
699 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_ALIGN 0
700 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_BITS 1
701 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_OVERRUN_ERROR_SHIFT 10
704 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_MASK 0x00000200
705 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_ALIGN 0
706 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_BITS 1
707 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_DESC_TX_ABORT_ERRORS_SHIFT 9
710 #define MISC1_UV_RX_ERROR_STATUS_reserved1_MASK 0x00000100
711 #define MISC1_UV_RX_ERROR_STATUS_reserved1_ALIGN 0
712 #define MISC1_UV_RX_ERROR_STATUS_reserved1_BITS 1
713 #define MISC1_UV_RX_ERROR_STATUS_reserved1_SHIFT 8
716 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_MASK 0x00000080
717 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_ALIGN 0
718 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_BITS 1
719 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_DESC_TX_ABORT_ERRORS_SHIFT 7
722 #define MISC1_UV_RX_ERROR_STATUS_reserved2_MASK 0x00000060
723 #define MISC1_UV_RX_ERROR_STATUS_reserved2_ALIGN 0
724 #define MISC1_UV_RX_ERROR_STATUS_reserved2_BITS 2
725 #define MISC1_UV_RX_ERROR_STATUS_reserved2_SHIFT 5
728 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_MASK 0x00000010
729 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_ALIGN 0
730 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_BITS 1
731 #define MISC1_UV_RX_ERROR_STATUS_RX_L1_FIFO_FULL_ERRORS_SHIFT 4
734 #define MISC1_UV_RX_ERROR_STATUS_reserved3_MASK 0x0000000c
735 #define MISC1_UV_RX_ERROR_STATUS_reserved3_ALIGN 0
736 #define MISC1_UV_RX_ERROR_STATUS_reserved3_BITS 2
737 #define MISC1_UV_RX_ERROR_STATUS_reserved3_SHIFT 2
740 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_MASK 0x00000002
741 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_ALIGN 0
742 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_BITS 1
743 #define MISC1_UV_RX_ERROR_STATUS_RX_L0_FIFO_FULL_ERRORS_SHIFT 1
746 #define MISC1_UV_RX_ERROR_STATUS_reserved4_MASK 0x00000001
747 #define MISC1_UV_RX_ERROR_STATUS_reserved4_ALIGN 0
748 #define MISC1_UV_RX_ERROR_STATUS_reserved4_BITS 1
749 #define MISC1_UV_RX_ERROR_STATUS_reserved4_SHIFT 0