1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 /* QLogic qed NIC Driver
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
10 #define CDU_REG_CID_ADDR_PARAMS_CONTEXT_SIZE_SHIFT \
13 #define CDU_REG_CID_ADDR_PARAMS_CONTEXT_SIZE ( \
16 #define CDU_REG_CID_ADDR_PARAMS_BLOCK_WASTE_SHIFT \
19 #define CDU_REG_CID_ADDR_PARAMS_BLOCK_WASTE ( \
22 #define CDU_REG_CID_ADDR_PARAMS_NCIB_SHIFT \
25 #define CDU_REG_CID_ADDR_PARAMS_NCIB ( \
28 #define CDU_REG_SEGMENT0_PARAMS \
30 #define CDU_REG_SEGMENT0_PARAMS_T0_NUM_TIDS_IN_BLOCK \
32 #define CDU_REG_SEGMENT0_PARAMS_T0_NUM_TIDS_IN_BLOCK_SHIFT \
34 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_BLOCK_WASTE \
36 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_BLOCK_WASTE_SHIFT \
38 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_SIZE \
40 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_SIZE_SHIFT \
42 #define CDU_REG_SEGMENT1_PARAMS \
44 #define CDU_REG_SEGMENT1_PARAMS_T1_NUM_TIDS_IN_BLOCK \
46 #define CDU_REG_SEGMENT1_PARAMS_T1_NUM_TIDS_IN_BLOCK_SHIFT \
48 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_BLOCK_WASTE \
50 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_BLOCK_WASTE_SHIFT \
52 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_SIZE \
54 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_SIZE_SHIFT \
57 #define XSDM_REG_OPERATION_GEN \
59 #define NIG_REG_RX_BRB_OUT_EN \
61 #define NIG_REG_STORM_OUT_EN \
63 #define PSWRQ2_REG_L2P_VALIDATE_VFID \
65 #define PGLUE_B_REG_USE_CLIENTID_IN_TAG \
67 #define PGLUE_B_REG_INTERNAL_PFID_ENABLE_MASTER \
69 #define PGLUE_B_REG_WAS_ERROR_VF_31_0_CLR \
71 #define PSWHST_REG_ZONE_PERMISSION_TABLE \
73 #define BAR0_MAP_REG_MSDM_RAM \
75 #define BAR0_MAP_REG_USDM_RAM \
77 #define BAR0_MAP_REG_PSDM_RAM \
79 #define BAR0_MAP_REG_TSDM_RAM \
81 #define BAR0_MAP_REG_XSDM_RAM \
83 #define BAR0_MAP_REG_YSDM_RAM \
85 #define NIG_REG_RX_LLH_BRB_GATE_DNTFWD_PERPF \
87 #define PRS_REG_SEARCH_RESP_INITIATOR_TYPE \
89 #define PRS_REG_SEARCH_TCP \
91 #define PRS_REG_SEARCH_UDP \
93 #define PRS_REG_SEARCH_FCOE \
95 #define PRS_REG_SEARCH_ROCE \
97 #define PRS_REG_SEARCH_OPENFLOW \
99 #define PRS_REG_SEARCH_TAG1 \
101 #define PRS_REG_SEARCH_TENANT_ID \
103 #define PRS_REG_PKT_LEN_STAT_TAGS_NOT_COUNTED_FIRST \
105 #define PRS_REG_SEARCH_TCP_FIRST_FRAG \
107 #define TM_REG_PF_ENABLE_CONN \
109 #define TM_REG_PF_ENABLE_TASK \
111 #define TM_REG_PF_SCAN_ACTIVE_CONN \
113 #define TM_REG_PF_SCAN_ACTIVE_TASK \
115 #define IGU_REG_LEADING_EDGE_LATCH \
117 #define IGU_REG_TRAILING_EDGE_LATCH \
119 #define QM_REG_USG_CNT_PF_TX \
121 #define QM_REG_USG_CNT_PF_OTHER \
123 #define DORQ_REG_PF_DB_ENABLE \
125 #define DORQ_REG_VF_USAGE_CNT \
127 #define QM_REG_PF_EN \
129 #define QM_REG_RLGLBLUPPERBOUND \
131 #define TCFC_REG_WEAK_ENABLE_VF \
133 #define TCFC_REG_STRONG_ENABLE_PF \
135 #define TCFC_REG_STRONG_ENABLE_VF \
137 #define CCFC_REG_WEAK_ENABLE_VF \
139 #define CCFC_REG_STRONG_ENABLE_PF \
141 #define PGLUE_B_REG_PGL_ADDR_88_F0_BB \
143 #define PGLUE_B_REG_PGL_ADDR_8C_F0_BB \
145 #define PGLUE_B_REG_PGL_ADDR_90_F0_BB \
147 #define PGLUE_B_REG_PGL_ADDR_94_F0_BB \
149 #define PGLUE_B_REG_WAS_ERROR_PF_31_0_CLR \
151 #define PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ \
153 #define MISC_REG_GEN_PURP_CR0 \
155 #define MCP_REG_SCRATCH \
157 #define MCP_REG_SCRATCH_SIZE \
159 #define CNIG_REG_NW_PORT_MODE_BB \
161 #define MISCS_REG_CHIP_NUM \
163 #define MISCS_REG_CHIP_REV \
165 #define MISCS_REG_CMT_ENABLED_FOR_PAIR \
167 #define MISCS_REG_CHIP_TEST_REG \
169 #define MISCS_REG_CHIP_METAL \
171 #define MISCS_REG_FUNCTION_HIDE \
173 #define BRB_REG_HEADER_SIZE \
175 #define BTB_REG_HEADER_SIZE \
177 #define CAU_REG_LONG_TIMEOUT_THRESHOLD \
179 #define CCFC_REG_ACTIVITY_COUNTER \
181 #define CCFC_REG_STRONG_ENABLE_VF \
183 #define CDU_REG_CCFC_CTX_VALID0 \
185 #define CDU_REG_CCFC_CTX_VALID1 \
187 #define CDU_REG_TCFC_CTX_VALID0 \
189 #define CDU_REG_CID_ADDR_PARAMS \
191 #define DBG_REG_CLIENT_ENABLE \
193 #define DBG_REG_TIMESTAMP_VALID_EN \
195 #define DMAE_REG_INIT \
197 #define DORQ_REG_IFEN \
199 #define DORQ_REG_TAG1_OVRD_MODE \
201 #define DORQ_REG_PF_PCP_BB_K2 \
203 #define DORQ_REG_PF_EXT_VID_BB_K2 \
205 #define DORQ_REG_DB_DROP_REASON \
207 #define DORQ_REG_DB_DROP_DETAILS \
209 #define DORQ_REG_DB_DROP_DETAILS_ADDRESS \
211 #define GRC_REG_TIMEOUT_EN \
213 #define GRC_REG_TIMEOUT_ATTN_ACCESS_VALID \
215 #define GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0 \
217 #define GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1 \
219 #define IGU_REG_BLOCK_CONFIGURATION \
221 #define MCM_REG_INIT \
223 #define MCP2_REG_DBG_DWORD_ENABLE \
225 #define MISC_REG_PORT_MODE \
227 #define MISCS_REG_CLK_100G_MODE \
229 #define MSDM_REG_ENABLE_IN1 \
231 #define MSEM_REG_ENABLE_IN \
233 #define NIG_REG_CM_HDR \
235 #define NIG_REG_LLH_TAGMAC_DEF_PF_VECTOR \
237 #define NIG_REG_LLH_PPFID2PFID_TBL_0 \
239 #define NIG_REG_LLH_ENG_CLS_ROCE_QP_SEL \
241 #define NIG_REG_LLH_CLS_TYPE_DUALMODE \
243 #define NIG_REG_LLH_FUNC_TAG_EN 0x5019b0UL
244 #define NIG_REG_LLH_FUNC_TAG_VALUE 0x5019d0UL
245 #define NIG_REG_LLH_FUNC_FILTER_VALUE \
247 #define NIG_REG_LLH_FUNC_FILTER_VALUE_SIZE \
249 #define NIG_REG_LLH_FUNC_FILTER_EN \
251 #define NIG_REG_LLH_FUNC_FILTER_EN_SIZE \
253 #define NIG_REG_LLH_FUNC_FILTER_MODE \
255 #define NIG_REG_LLH_FUNC_FILTER_MODE_SIZE \
257 #define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE \
259 #define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_SIZE \
261 #define NIG_REG_LLH_FUNC_FILTER_HDR_SEL \
263 #define NIG_REG_LLH_FUNC_FILTER_HDR_SEL_SIZE \
265 #define NCSI_REG_CONFIG \
267 #define PBF_REG_INIT \
269 #define PBF_REG_NUM_BLOCKS_ALLOCATED_PROD_VOQ0 \
271 #define PBF_REG_NUM_BLOCKS_ALLOCATED_CONS_VOQ0 \
273 #define PTU_REG_ATC_INIT_ARRAY \
275 #define PCM_REG_INIT \
277 #define PGLUE_B_REG_ADMIN_PER_PF_REGION \
279 #define PGLUE_B_REG_TX_ERR_WR_DETAILS2 \
281 #define PGLUE_B_REG_TX_ERR_WR_ADD_31_0 \
283 #define PGLUE_B_REG_TX_ERR_WR_ADD_63_32 \
285 #define PGLUE_B_REG_TX_ERR_WR_DETAILS \
287 #define PGLUE_B_REG_TX_ERR_RD_ADD_31_0 \
289 #define PGLUE_B_REG_TX_ERR_RD_ADD_63_32 \
291 #define PGLUE_B_REG_TX_ERR_RD_DETAILS \
293 #define PGLUE_B_REG_TX_ERR_RD_DETAILS2 \
295 #define PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL \
297 #define PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS \
299 #define PGLUE_B_REG_MASTER_ZLR_ERR_ADD_31_0 \
301 #define PGLUE_B_REG_MASTER_ZLR_ERR_ADD_63_32 \
303 #define PGLUE_B_REG_VF_ILT_ERR_ADD_31_0 \
305 #define PGLUE_B_REG_VF_ILT_ERR_ADD_63_32 \
307 #define PGLUE_B_REG_VF_ILT_ERR_DETAILS \
309 #define PGLUE_B_REG_VF_ILT_ERR_DETAILS2 \
311 #define PGLUE_B_REG_LATCHED_ERRORS_CLR \
313 #define PRM_REG_DISABLE_PRM \
315 #define PRS_REG_SOFT_RST \
317 #define PRS_REG_MSG_INFO \
319 #define PRS_REG_ROCE_DEST_QP_MAX_PF \
321 #define PRS_REG_USE_LIGHT_L2 \
323 #define PSDM_REG_ENABLE_IN1 \
325 #define PSEM_REG_ENABLE_IN \
327 #define PSWRQ_REG_DBG_SELECT \
329 #define PSWRQ2_REG_CDUT_P_SIZE \
331 #define PSWRQ2_REG_ILT_MEMORY \
333 #define PSWRQ2_REG_ILT_MEMORY_SIZE_BB \
335 #define PSWRQ2_REG_ILT_MEMORY_SIZE_K2 \
337 #define PSWHST_REG_DISCARD_INTERNAL_WRITES \
339 #define PSWHST2_REG_DBGSYN_ALMOST_FULL_THR \
341 #define PSWHST_REG_INCORRECT_ACCESS_VALID \
343 #define PSWHST_REG_INCORRECT_ACCESS_ADDRESS \
345 #define PSWHST_REG_INCORRECT_ACCESS_DATA \
347 #define PSWHST_REG_INCORRECT_ACCESS_LENGTH \
349 #define PSWRD_REG_DBG_SELECT \
351 #define PSWRD2_REG_CONF11 \
353 #define PSWWR_REG_USDM_FULL_TH \
355 #define PSWWR2_REG_CDU_FULL_TH2 \
357 #define QM_REG_MAXPQSIZE_0 \
359 #define RSS_REG_RSS_INIT_EN \
361 #define RDIF_REG_STOP_ON_ERROR \
363 #define RDIF_REG_DEBUG_ERROR_INFO \
365 #define RDIF_REG_DEBUG_ERROR_INFO_SIZE \
367 #define SRC_REG_SOFT_RST \
369 #define TCFC_REG_ACTIVITY_COUNTER \
371 #define TCM_REG_INIT \
373 #define TM_REG_PXP_READ_DATA_FIFO_INIT \
375 #define TSDM_REG_ENABLE_IN1 \
377 #define TSEM_REG_ENABLE_IN \
379 #define TDIF_REG_STOP_ON_ERROR \
381 #define TDIF_REG_DEBUG_ERROR_INFO \
383 #define TDIF_REG_DEBUG_ERROR_INFO_SIZE \
385 #define UCM_REG_INIT \
387 #define UMAC_REG_IPG_HD_BKP_CNTL_BB_B0 \
389 #define USDM_REG_ENABLE_IN1 \
391 #define USEM_REG_ENABLE_IN \
393 #define XCM_REG_INIT \
395 #define XSDM_REG_ENABLE_IN1 \
397 #define XSEM_REG_ENABLE_IN \
399 #define YCM_REG_INIT \
401 #define YSDM_REG_ENABLE_IN1 \
403 #define YSEM_REG_ENABLE_IN \
405 #define XYLD_REG_SCBD_STRICT_PRIO \
407 #define TMLD_REG_SCBD_STRICT_PRIO \
409 #define MULD_REG_SCBD_STRICT_PRIO \
411 #define YULD_REG_SCBD_STRICT_PRIO \
413 #define MISC_REG_SHARED_MEM_ADDR \
415 #define DMAE_REG_GO_C0 \
417 #define DMAE_REG_GO_C1 \
419 #define DMAE_REG_GO_C2 \
421 #define DMAE_REG_GO_C3 \
423 #define DMAE_REG_GO_C4 \
425 #define DMAE_REG_GO_C5 \
427 #define DMAE_REG_GO_C6 \
429 #define DMAE_REG_GO_C7 \
431 #define DMAE_REG_GO_C8 \
433 #define DMAE_REG_GO_C9 \
435 #define DMAE_REG_GO_C10 \
437 #define DMAE_REG_GO_C11 \
439 #define DMAE_REG_GO_C12 \
441 #define DMAE_REG_GO_C13 \
443 #define DMAE_REG_GO_C14 \
445 #define DMAE_REG_GO_C15 \
447 #define DMAE_REG_GO_C16 \
449 #define DMAE_REG_GO_C17 \
451 #define DMAE_REG_GO_C18 \
453 #define DMAE_REG_GO_C19 \
455 #define DMAE_REG_GO_C20 \
457 #define DMAE_REG_GO_C21 \
459 #define DMAE_REG_GO_C22 \
461 #define DMAE_REG_GO_C23 \
463 #define DMAE_REG_GO_C24 \
465 #define DMAE_REG_GO_C25 \
467 #define DMAE_REG_GO_C26 \
469 #define DMAE_REG_GO_C27 \
471 #define DMAE_REG_GO_C28 \
473 #define DMAE_REG_GO_C29 \
475 #define DMAE_REG_GO_C30 \
477 #define DMAE_REG_GO_C31 \
479 #define DMAE_REG_CMD_MEM \
481 #define QM_REG_MAXPQSIZETXSEL_0 \
483 #define QM_REG_SDMCMDREADY \
485 #define QM_REG_SDMCMDADDR \
487 #define QM_REG_SDMCMDDATALSB \
489 #define QM_REG_SDMCMDDATAMSB \
491 #define QM_REG_SDMCMDGO \
493 #define QM_REG_RLPFCRD \
495 #define QM_REG_RLPFINCVAL \
497 #define QM_REG_RLGLBLCRD \
499 #define QM_REG_RLGLBLINCVAL \
501 #define IGU_REG_ATTENTION_ENABLE \
503 #define IGU_REG_ATTN_MSG_ADDR_L \
505 #define IGU_REG_ATTN_MSG_ADDR_H \
507 #define MISC_REG_AEU_GENERAL_ATTN_0 \
509 #define MISC_REG_AEU_GENERAL_ATTN_32 \
511 #define MISC_REG_AEU_GENERAL_ATTN_35 \
513 #define CAU_REG_SB_ADDR_MEMORY \
515 #define CAU_REG_SB_VAR_MEMORY \
517 #define CAU_REG_PI_MEMORY \
519 #define IGU_REG_PF_CONFIGURATION \
521 #define IGU_REG_VF_CONFIGURATION \
523 #define MISC_REG_AEU_ENABLE1_IGU_OUT_0 \
525 #define MISC_REG_AEU_ENABLE4_IGU_OUT_0 \
527 #define MISC_REG_AEU_ENABLE4_IGU_OUT_0_GENERAL_ATTN32 \
529 #define MISC_REG_AEU_ENABLE4_IGU_OUT_0_GENERAL_ATTN32_SHIFT \
531 #define MISC_REG_AEU_AFTER_INVERT_1_IGU \
533 #define MISC_REG_AEU_MASK_ATTN_IGU \
535 #define IGU_REG_CLEANUP_STATUS_0 \
537 #define IGU_REG_CLEANUP_STATUS_1 \
539 #define IGU_REG_CLEANUP_STATUS_2 \
541 #define IGU_REG_CLEANUP_STATUS_3 \
543 #define IGU_REG_CLEANUP_STATUS_4 \
545 #define IGU_REG_COMMAND_REG_32LSB_DATA \
547 #define IGU_REG_COMMAND_REG_CTRL \
549 #define IGU_REG_BLOCK_CONFIGURATION_VF_CLEANUP_EN ( \
551 #define IGU_REG_BLOCK_CONFIGURATION_PXP_TPH_INTERFACE_EN ( \
553 #define IGU_REG_PRODUCER_MEMORY 0x182000UL
554 #define IGU_REG_CONSUMER_MEM 0x183000UL
555 #define IGU_REG_MAPPING_MEMORY \
557 #define IGU_REG_STATISTIC_NUM_VF_MSG_SENT \
559 #define IGU_REG_WRITE_DONE_PENDING \
561 #define MISCS_REG_GENERIC_POR_0 \
563 #define MCP_REG_NVM_CFG4 \
565 #define MCP_REG_NVM_CFG4_FLASH_SIZE ( \
567 #define MCP_REG_NVM_CFG4_FLASH_SIZE_SHIFT \
569 #define MCP_REG_CPU_STATE \
571 #define MCP_REG_CPU_STATE_SOFT_HALTED (0x1UL << 10)
572 #define MCP_REG_CPU_EVENT_MASK \
574 #define MCP_REG_CPU_PROGRAM_COUNTER 0xe0501cUL
575 #define PGLUE_B_REG_PF_BAR0_SIZE \
577 #define PGLUE_B_REG_PF_BAR1_SIZE \
579 #define PGLUE_B_REG_VF_BAR1_SIZE 0x2aae68UL
580 #define PRS_REG_ENCAPSULATION_TYPE_EN 0x1f0730UL
581 #define PRS_REG_GRE_PROTOCOL 0x1f0734UL
582 #define PRS_REG_VXLAN_PORT 0x1f0738UL
583 #define PRS_REG_OUTPUT_FORMAT_4_0 0x1f099cUL
584 #define NIG_REG_ENC_TYPE_ENABLE 0x501058UL
586 #define NIG_REG_ENC_TYPE_ENABLE_ETH_OVER_GRE_ENABLE (0x1 << 0)
587 #define NIG_REG_ENC_TYPE_ENABLE_ETH_OVER_GRE_ENABLE_SHIFT 0
588 #define NIG_REG_ENC_TYPE_ENABLE_IP_OVER_GRE_ENABLE (0x1 << 1)
589 #define NIG_REG_ENC_TYPE_ENABLE_IP_OVER_GRE_ENABLE_SHIFT 1
590 #define NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE (0x1 << 2)
591 #define NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT 2
593 #define NIG_REG_VXLAN_CTRL 0x50105cUL
594 #define PBF_REG_VXLAN_PORT 0xd80518UL
595 #define PBF_REG_NGE_PORT 0xd8051cUL
596 #define PRS_REG_NGE_PORT 0x1f086cUL
597 #define NIG_REG_NGE_PORT 0x508b38UL
599 #define DORQ_REG_L2_EDPM_TUNNEL_GRE_ETH_EN 0x10090cUL
600 #define DORQ_REG_L2_EDPM_TUNNEL_GRE_IP_EN 0x100910UL
601 #define DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN 0x100914UL
602 #define DORQ_REG_L2_EDPM_TUNNEL_NGE_IP_EN_K2 0x10092cUL
603 #define DORQ_REG_L2_EDPM_TUNNEL_NGE_ETH_EN_K2 0x100930UL
605 #define NIG_REG_NGE_IP_ENABLE 0x508b28UL
606 #define NIG_REG_NGE_ETH_ENABLE 0x508b2cUL
607 #define NIG_REG_NGE_COMP_VER 0x508b30UL
608 #define PBF_REG_NGE_COMP_VER 0xd80524UL
609 #define PRS_REG_NGE_COMP_VER 0x1f0878UL
611 #define QM_REG_WFQPFWEIGHT 0x2f4e80UL
612 #define QM_REG_WFQVPWEIGHT 0x2fa000UL
613 #define QM_REG_WFQVPUPPERBOUND \
615 #define QM_REG_WFQVPCRD \
617 #define PGLCS_REG_DBG_SELECT_K2_E5 \
619 #define PGLCS_REG_DBG_DWORD_ENABLE_K2_E5 \
621 #define PGLCS_REG_DBG_SHIFT_K2_E5 \
623 #define PGLCS_REG_DBG_FORCE_VALID_K2_E5 \
625 #define PGLCS_REG_DBG_FORCE_FRAME_K2_E5 \
627 #define MISC_REG_RESET_PL_PDA_VMAIN_1 \
629 #define MISC_REG_RESET_PL_PDA_VMAIN_2 \
631 #define MISC_REG_RESET_PL_PDA_VAUX \
633 #define MISCS_REG_RESET_PL_UA \
635 #define MISCS_REG_RESET_PL_HV \
637 #define MISCS_REG_RESET_PL_HV_2_K2_E5 \
639 #define DMAE_REG_DBG_SELECT \
641 #define DMAE_REG_DBG_DWORD_ENABLE \
643 #define DMAE_REG_DBG_SHIFT \
645 #define DMAE_REG_DBG_FORCE_VALID \
647 #define DMAE_REG_DBG_FORCE_FRAME \
649 #define NCSI_REG_DBG_SELECT \
651 #define NCSI_REG_DBG_DWORD_ENABLE \
653 #define NCSI_REG_DBG_SHIFT \
655 #define NCSI_REG_DBG_FORCE_VALID \
657 #define NCSI_REG_DBG_FORCE_FRAME \
659 #define GRC_REG_DBG_SELECT \
661 #define GRC_REG_DBG_DWORD_ENABLE \
663 #define GRC_REG_DBG_SHIFT \
665 #define GRC_REG_DBG_FORCE_VALID \
667 #define GRC_REG_DBG_FORCE_FRAME \
669 #define UMAC_REG_DBG_SELECT_K2_E5 \
671 #define UMAC_REG_DBG_DWORD_ENABLE_K2_E5 \
673 #define UMAC_REG_DBG_SHIFT_K2_E5 \
675 #define UMAC_REG_DBG_FORCE_VALID_K2_E5 \
677 #define UMAC_REG_DBG_FORCE_FRAME_K2_E5 \
679 #define MCP2_REG_DBG_SELECT \
681 #define MCP2_REG_DBG_DWORD_ENABLE \
683 #define MCP2_REG_DBG_SHIFT \
685 #define MCP2_REG_DBG_FORCE_VALID \
687 #define MCP2_REG_DBG_FORCE_FRAME \
689 #define PCIE_REG_DBG_SELECT \
691 #define PCIE_REG_DBG_DWORD_ENABLE \
693 #define PCIE_REG_DBG_SHIFT \
695 #define PCIE_REG_DBG_FORCE_VALID \
697 #define PCIE_REG_DBG_FORCE_FRAME \
699 #define DORQ_REG_DBG_SELECT \
701 #define DORQ_REG_DBG_DWORD_ENABLE \
703 #define DORQ_REG_DBG_SHIFT \
705 #define DORQ_REG_DBG_FORCE_VALID \
707 #define DORQ_REG_DBG_FORCE_FRAME \
709 #define IGU_REG_DBG_SELECT \
711 #define IGU_REG_DBG_DWORD_ENABLE \
713 #define IGU_REG_DBG_SHIFT \
715 #define IGU_REG_DBG_FORCE_VALID \
717 #define IGU_REG_DBG_FORCE_FRAME \
719 #define CAU_REG_DBG_SELECT \
721 #define CAU_REG_DBG_DWORD_ENABLE \
723 #define CAU_REG_DBG_SHIFT \
725 #define CAU_REG_DBG_FORCE_VALID \
727 #define CAU_REG_DBG_FORCE_FRAME \
729 #define PRS_REG_DBG_SELECT \
731 #define PRS_REG_DBG_DWORD_ENABLE \
733 #define PRS_REG_DBG_SHIFT \
735 #define PRS_REG_DBG_FORCE_VALID \
737 #define PRS_REG_DBG_FORCE_FRAME \
739 #define CNIG_REG_DBG_SELECT_K2_E5 \
741 #define CNIG_REG_DBG_DWORD_ENABLE_K2_E5 \
743 #define CNIG_REG_DBG_SHIFT_K2_E5 \
745 #define CNIG_REG_DBG_FORCE_VALID_K2_E5 \
747 #define CNIG_REG_DBG_FORCE_FRAME_K2_E5 \
749 #define PRM_REG_DBG_SELECT \
751 #define PRM_REG_DBG_DWORD_ENABLE \
753 #define PRM_REG_DBG_SHIFT \
755 #define PRM_REG_DBG_FORCE_VALID \
757 #define PRM_REG_DBG_FORCE_FRAME \
759 #define SRC_REG_DBG_SELECT \
761 #define SRC_REG_DBG_DWORD_ENABLE \
763 #define SRC_REG_DBG_SHIFT \
765 #define SRC_REG_DBG_FORCE_VALID \
767 #define SRC_REG_DBG_FORCE_FRAME \
769 #define RSS_REG_DBG_SELECT \
771 #define RSS_REG_DBG_DWORD_ENABLE \
773 #define RSS_REG_DBG_SHIFT \
775 #define RSS_REG_DBG_FORCE_VALID \
777 #define RSS_REG_DBG_FORCE_FRAME \
779 #define RPB_REG_DBG_SELECT \
781 #define RPB_REG_DBG_DWORD_ENABLE \
783 #define RPB_REG_DBG_SHIFT \
785 #define RPB_REG_DBG_FORCE_VALID \
787 #define RPB_REG_DBG_FORCE_FRAME \
789 #define PSWRQ2_REG_DBG_SELECT \
791 #define PSWRQ2_REG_DBG_DWORD_ENABLE \
793 #define PSWRQ2_REG_DBG_SHIFT \
795 #define PSWRQ2_REG_DBG_FORCE_VALID \
797 #define PSWRQ2_REG_DBG_FORCE_FRAME \
799 #define PSWRQ_REG_DBG_SELECT \
801 #define PSWRQ_REG_DBG_DWORD_ENABLE \
803 #define PSWRQ_REG_DBG_SHIFT \
805 #define PSWRQ_REG_DBG_FORCE_VALID \
807 #define PSWRQ_REG_DBG_FORCE_FRAME \
809 #define PSWWR_REG_DBG_SELECT \
811 #define PSWWR_REG_DBG_DWORD_ENABLE \
813 #define PSWWR_REG_DBG_SHIFT \
815 #define PSWWR_REG_DBG_FORCE_VALID \
817 #define PSWWR_REG_DBG_FORCE_FRAME \
819 #define PSWRD_REG_DBG_SELECT \
821 #define PSWRD_REG_DBG_DWORD_ENABLE \
823 #define PSWRD_REG_DBG_SHIFT \
825 #define PSWRD_REG_DBG_FORCE_VALID \
827 #define PSWRD_REG_DBG_FORCE_FRAME \
829 #define PSWRD2_REG_DBG_SELECT \
831 #define PSWRD2_REG_DBG_DWORD_ENABLE \
833 #define PSWRD2_REG_DBG_SHIFT \
835 #define PSWRD2_REG_DBG_FORCE_VALID \
837 #define PSWRD2_REG_DBG_FORCE_FRAME \
839 #define PSWHST2_REG_DBG_SELECT \
841 #define PSWHST2_REG_DBG_DWORD_ENABLE \
843 #define PSWHST2_REG_DBG_SHIFT \
845 #define PSWHST2_REG_DBG_FORCE_VALID \
847 #define PSWHST2_REG_DBG_FORCE_FRAME \
849 #define PSWHST_REG_DBG_SELECT \
851 #define PSWHST_REG_DBG_DWORD_ENABLE \
853 #define PSWHST_REG_DBG_SHIFT \
855 #define PSWHST_REG_DBG_FORCE_VALID \
857 #define PSWHST_REG_DBG_FORCE_FRAME \
859 #define PGLUE_B_REG_DBG_SELECT \
861 #define PGLUE_B_REG_DBG_DWORD_ENABLE \
863 #define PGLUE_B_REG_DBG_SHIFT \
865 #define PGLUE_B_REG_DBG_FORCE_VALID \
867 #define PGLUE_B_REG_DBG_FORCE_FRAME \
869 #define TM_REG_DBG_SELECT \
871 #define TM_REG_DBG_DWORD_ENABLE \
873 #define TM_REG_DBG_SHIFT \
875 #define TM_REG_DBG_FORCE_VALID \
877 #define TM_REG_DBG_FORCE_FRAME \
879 #define TCFC_REG_DBG_SELECT \
881 #define TCFC_REG_DBG_DWORD_ENABLE \
883 #define TCFC_REG_DBG_SHIFT \
885 #define TCFC_REG_DBG_FORCE_VALID \
887 #define TCFC_REG_DBG_FORCE_FRAME \
889 #define CCFC_REG_DBG_SELECT \
891 #define CCFC_REG_DBG_DWORD_ENABLE \
893 #define CCFC_REG_DBG_SHIFT \
895 #define CCFC_REG_DBG_FORCE_VALID \
897 #define CCFC_REG_DBG_FORCE_FRAME \
899 #define QM_REG_DBG_SELECT \
901 #define QM_REG_DBG_DWORD_ENABLE \
903 #define QM_REG_DBG_SHIFT \
905 #define QM_REG_DBG_FORCE_VALID \
907 #define QM_REG_DBG_FORCE_FRAME \
909 #define RDIF_REG_DBG_SELECT \
911 #define RDIF_REG_DBG_DWORD_ENABLE \
913 #define RDIF_REG_DBG_SHIFT \
915 #define RDIF_REG_DBG_FORCE_VALID \
917 #define RDIF_REG_DBG_FORCE_FRAME \
919 #define TDIF_REG_DBG_SELECT \
921 #define TDIF_REG_DBG_DWORD_ENABLE \
923 #define TDIF_REG_DBG_SHIFT \
925 #define TDIF_REG_DBG_FORCE_VALID \
927 #define TDIF_REG_DBG_FORCE_FRAME \
929 #define BRB_REG_DBG_SELECT \
931 #define BRB_REG_DBG_DWORD_ENABLE \
933 #define BRB_REG_DBG_SHIFT \
935 #define BRB_REG_DBG_FORCE_VALID \
937 #define BRB_REG_DBG_FORCE_FRAME \
939 #define XYLD_REG_DBG_SELECT \
941 #define XYLD_REG_DBG_DWORD_ENABLE \
943 #define XYLD_REG_DBG_SHIFT \
945 #define XYLD_REG_DBG_FORCE_VALID \
947 #define XYLD_REG_DBG_FORCE_FRAME \
949 #define YULD_REG_DBG_SELECT_BB_K2 \
951 #define YULD_REG_DBG_DWORD_ENABLE_BB_K2 \
953 #define YULD_REG_DBG_SHIFT_BB_K2 \
955 #define YULD_REG_DBG_FORCE_VALID_BB_K2 \
957 #define YULD_REG_DBG_FORCE_FRAME_BB_K2 \
959 #define TMLD_REG_DBG_SELECT \
961 #define TMLD_REG_DBG_DWORD_ENABLE \
963 #define TMLD_REG_DBG_SHIFT \
965 #define TMLD_REG_DBG_FORCE_VALID \
967 #define TMLD_REG_DBG_FORCE_FRAME \
969 #define MULD_REG_DBG_SELECT \
971 #define MULD_REG_DBG_DWORD_ENABLE \
973 #define MULD_REG_DBG_SHIFT \
975 #define MULD_REG_DBG_FORCE_VALID \
977 #define MULD_REG_DBG_FORCE_FRAME \
979 #define NIG_REG_DBG_SELECT \
981 #define NIG_REG_DBG_DWORD_ENABLE \
983 #define NIG_REG_DBG_SHIFT \
985 #define NIG_REG_DBG_FORCE_VALID \
987 #define NIG_REG_DBG_FORCE_FRAME \
989 #define BMB_REG_DBG_SELECT \
991 #define BMB_REG_DBG_DWORD_ENABLE \
993 #define BMB_REG_DBG_SHIFT \
995 #define BMB_REG_DBG_FORCE_VALID \
997 #define BMB_REG_DBG_FORCE_FRAME \
999 #define PTU_REG_DBG_SELECT \
1001 #define PTU_REG_DBG_DWORD_ENABLE \
1003 #define PTU_REG_DBG_SHIFT \
1005 #define PTU_REG_DBG_FORCE_VALID \
1007 #define PTU_REG_DBG_FORCE_FRAME \
1009 #define CDU_REG_DBG_SELECT \
1011 #define CDU_REG_DBG_DWORD_ENABLE \
1013 #define CDU_REG_DBG_SHIFT \
1015 #define CDU_REG_DBG_FORCE_VALID \
1017 #define CDU_REG_DBG_FORCE_FRAME \
1019 #define WOL_REG_DBG_SELECT_K2_E5 \
1021 #define WOL_REG_DBG_DWORD_ENABLE_K2_E5 \
1023 #define WOL_REG_DBG_SHIFT_K2_E5 \
1025 #define WOL_REG_DBG_FORCE_VALID_K2_E5 \
1027 #define WOL_REG_DBG_FORCE_FRAME_K2_E5 \
1029 #define BMBN_REG_DBG_SELECT_K2_E5 \
1031 #define BMBN_REG_DBG_DWORD_ENABLE_K2_E5 \
1033 #define BMBN_REG_DBG_SHIFT_K2_E5 \
1035 #define BMBN_REG_DBG_FORCE_VALID_K2_E5 \
1037 #define BMBN_REG_DBG_FORCE_FRAME_K2_E5 \
1039 #define NWM_REG_DBG_SELECT_K2_E5 \
1041 #define NWM_REG_DBG_DWORD_ENABLE_K2_E5 \
1043 #define NWM_REG_DBG_SHIFT_K2_E5 \
1045 #define NWM_REG_DBG_FORCE_VALID_K2_E5 \
1047 #define NWM_REG_DBG_FORCE_FRAME_K2_E5 \
1049 #define PBF_REG_DBG_SELECT \
1051 #define PBF_REG_DBG_DWORD_ENABLE \
1053 #define PBF_REG_DBG_SHIFT \
1055 #define PBF_REG_DBG_FORCE_VALID \
1057 #define PBF_REG_DBG_FORCE_FRAME \
1059 #define PBF_PB1_REG_DBG_SELECT \
1061 #define PBF_PB1_REG_DBG_DWORD_ENABLE \
1063 #define PBF_PB1_REG_DBG_SHIFT \
1065 #define PBF_PB1_REG_DBG_FORCE_VALID \
1067 #define PBF_PB1_REG_DBG_FORCE_FRAME \
1069 #define PBF_PB2_REG_DBG_SELECT \
1071 #define PBF_PB2_REG_DBG_DWORD_ENABLE \
1073 #define PBF_PB2_REG_DBG_SHIFT \
1075 #define PBF_PB2_REG_DBG_FORCE_VALID \
1077 #define PBF_PB2_REG_DBG_FORCE_FRAME \
1079 #define BTB_REG_DBG_SELECT \
1081 #define BTB_REG_DBG_DWORD_ENABLE \
1083 #define BTB_REG_DBG_SHIFT \
1085 #define BTB_REG_DBG_FORCE_VALID \
1087 #define BTB_REG_DBG_FORCE_FRAME \
1089 #define XSDM_REG_DBG_SELECT \
1091 #define XSDM_REG_DBG_DWORD_ENABLE \
1093 #define XSDM_REG_DBG_SHIFT \
1095 #define XSDM_REG_DBG_FORCE_VALID \
1097 #define XSDM_REG_DBG_FORCE_FRAME \
1099 #define YSDM_REG_DBG_SELECT \
1101 #define YSDM_REG_DBG_DWORD_ENABLE \
1103 #define YSDM_REG_DBG_SHIFT \
1105 #define YSDM_REG_DBG_FORCE_VALID \
1107 #define YSDM_REG_DBG_FORCE_FRAME \
1109 #define PSDM_REG_DBG_SELECT \
1111 #define PSDM_REG_DBG_DWORD_ENABLE \
1113 #define PSDM_REG_DBG_SHIFT \
1115 #define PSDM_REG_DBG_FORCE_VALID \
1117 #define PSDM_REG_DBG_FORCE_FRAME \
1119 #define TSDM_REG_DBG_SELECT \
1121 #define TSDM_REG_DBG_DWORD_ENABLE \
1123 #define TSDM_REG_DBG_SHIFT \
1125 #define TSDM_REG_DBG_FORCE_VALID \
1127 #define TSDM_REG_DBG_FORCE_FRAME \
1129 #define MSDM_REG_DBG_SELECT \
1131 #define MSDM_REG_DBG_DWORD_ENABLE \
1133 #define MSDM_REG_DBG_SHIFT \
1135 #define MSDM_REG_DBG_FORCE_VALID \
1137 #define MSDM_REG_DBG_FORCE_FRAME \
1139 #define USDM_REG_DBG_SELECT \
1141 #define USDM_REG_DBG_DWORD_ENABLE \
1143 #define USDM_REG_DBG_SHIFT \
1145 #define USDM_REG_DBG_FORCE_VALID \
1147 #define USDM_REG_DBG_FORCE_FRAME \
1149 #define XCM_REG_DBG_SELECT \
1151 #define XCM_REG_DBG_DWORD_ENABLE \
1153 #define XCM_REG_DBG_SHIFT \
1155 #define XCM_REG_DBG_FORCE_VALID \
1157 #define XCM_REG_DBG_FORCE_FRAME \
1159 #define YCM_REG_DBG_SELECT \
1161 #define YCM_REG_DBG_DWORD_ENABLE \
1163 #define YCM_REG_DBG_SHIFT \
1165 #define YCM_REG_DBG_FORCE_VALID \
1167 #define YCM_REG_DBG_FORCE_FRAME \
1169 #define PCM_REG_DBG_SELECT \
1171 #define PCM_REG_DBG_DWORD_ENABLE \
1173 #define PCM_REG_DBG_SHIFT \
1175 #define PCM_REG_DBG_FORCE_VALID \
1177 #define PCM_REG_DBG_FORCE_FRAME \
1179 #define TCM_REG_DBG_SELECT \
1181 #define TCM_REG_DBG_DWORD_ENABLE \
1183 #define TCM_REG_DBG_SHIFT \
1185 #define TCM_REG_DBG_FORCE_VALID \
1187 #define TCM_REG_DBG_FORCE_FRAME \
1189 #define MCM_REG_DBG_SELECT \
1191 #define MCM_REG_DBG_DWORD_ENABLE \
1193 #define MCM_REG_DBG_SHIFT \
1195 #define MCM_REG_DBG_FORCE_VALID \
1197 #define MCM_REG_DBG_FORCE_FRAME \
1199 #define UCM_REG_DBG_SELECT \
1201 #define UCM_REG_DBG_DWORD_ENABLE \
1203 #define UCM_REG_DBG_SHIFT \
1205 #define UCM_REG_DBG_FORCE_VALID \
1207 #define UCM_REG_DBG_FORCE_FRAME \
1209 #define XSEM_REG_DBG_SELECT \
1211 #define XSEM_REG_DBG_DWORD_ENABLE \
1213 #define XSEM_REG_DBG_SHIFT \
1215 #define XSEM_REG_DBG_FORCE_VALID \
1217 #define XSEM_REG_DBG_FORCE_FRAME \
1219 #define YSEM_REG_DBG_SELECT \
1221 #define YSEM_REG_DBG_DWORD_ENABLE \
1223 #define YSEM_REG_DBG_SHIFT \
1225 #define YSEM_REG_DBG_FORCE_VALID \
1227 #define YSEM_REG_DBG_FORCE_FRAME \
1229 #define PSEM_REG_DBG_SELECT \
1231 #define PSEM_REG_DBG_DWORD_ENABLE \
1233 #define PSEM_REG_DBG_SHIFT \
1235 #define PSEM_REG_DBG_FORCE_VALID \
1237 #define PSEM_REG_DBG_FORCE_FRAME \
1239 #define TSEM_REG_DBG_SELECT \
1241 #define TSEM_REG_DBG_DWORD_ENABLE \
1243 #define TSEM_REG_DBG_SHIFT \
1245 #define TSEM_REG_DBG_FORCE_VALID \
1247 #define TSEM_REG_DBG_FORCE_FRAME \
1249 #define DORQ_REG_PF_USAGE_CNT \
1251 #define DORQ_REG_PF_OVFL_STICKY \
1253 #define DORQ_REG_DPM_FORCE_ABORT \
1255 #define DORQ_REG_INT_STS \
1257 #define DORQ_REG_INT_STS_ADDRESS_ERROR \
1259 #define DORQ_REG_INT_STS_WR \
1261 #define DORQ_REG_DB_DROP_DETAILS_REL \
1263 #define DORQ_REG_INT_STS_ADDRESS_ERROR_SHIFT \
1265 #define DORQ_REG_INT_STS_DB_DROP \
1267 #define DORQ_REG_INT_STS_DB_DROP_SHIFT \
1269 #define DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR \
1271 #define DORQ_REG_INT_STS_DORQ_FIFO_OVFL_ERR_SHIFT \
1273 #define DORQ_REG_INT_STS_DORQ_FIFO_AFULL\
1275 #define DORQ_REG_INT_STS_DORQ_FIFO_AFULL_SHIFT \
1277 #define DORQ_REG_INT_STS_CFC_BYP_VALIDATION_ERR \
1279 #define DORQ_REG_INT_STS_CFC_BYP_VALIDATION_ERR_SHIFT \
1281 #define DORQ_REG_INT_STS_CFC_LD_RESP_ERR \
1283 #define DORQ_REG_INT_STS_CFC_LD_RESP_ERR_SHIFT \
1285 #define DORQ_REG_INT_STS_XCM_DONE_CNT_ERR \
1287 #define DORQ_REG_INT_STS_XCM_DONE_CNT_ERR_SHIFT \
1289 #define DORQ_REG_INT_STS_CFC_LD_REQ_FIFO_OVFL_ERR \
1291 #define DORQ_REG_INT_STS_CFC_LD_REQ_FIFO_OVFL_ERR_SHIFT \
1293 #define DORQ_REG_INT_STS_CFC_LD_REQ_FIFO_UNDER_ERR \
1295 #define DORQ_REG_INT_STS_CFC_LD_REQ_FIFO_UNDER_ERR_SHIFT \
1297 #define DORQ_REG_DB_DROP_DETAILS_REASON \
1299 #define MSEM_REG_DBG_SELECT \
1301 #define MSEM_REG_DBG_DWORD_ENABLE \
1303 #define MSEM_REG_DBG_SHIFT \
1305 #define MSEM_REG_DBG_FORCE_VALID \
1307 #define MSEM_REG_DBG_FORCE_FRAME \
1309 #define USEM_REG_DBG_SELECT \
1311 #define USEM_REG_DBG_DWORD_ENABLE \
1313 #define USEM_REG_DBG_SHIFT \
1315 #define USEM_REG_DBG_FORCE_VALID \
1317 #define USEM_REG_DBG_FORCE_FRAME \
1319 #define NWS_REG_DBG_SELECT_K2_E5 \
1321 #define NWS_REG_DBG_DWORD_ENABLE_K2_E5 \
1323 #define NWS_REG_DBG_SHIFT_K2_E5 \
1325 #define NWS_REG_DBG_FORCE_VALID_K2_E5 \
1327 #define NWS_REG_DBG_FORCE_FRAME_K2_E5 \
1329 #define MS_REG_DBG_SELECT_K2_E5 \
1331 #define MS_REG_DBG_DWORD_ENABLE_K2_E5 \
1333 #define MS_REG_DBG_SHIFT_K2_E5 \
1335 #define MS_REG_DBG_FORCE_VALID_K2_E5 \
1337 #define MS_REG_DBG_FORCE_FRAME_K2_E5 \
1339 #define PCIE_REG_DBG_COMMON_SELECT_K2_E5 \
1341 #define PCIE_REG_DBG_COMMON_DWORD_ENABLE_K2_E5 \
1343 #define PCIE_REG_DBG_COMMON_SHIFT_K2_E5 \
1345 #define PCIE_REG_DBG_COMMON_FORCE_VALID_K2_E5 \
1347 #define PCIE_REG_DBG_COMMON_FORCE_FRAME_K2_E5 \
1349 #define PTLD_REG_DBG_SELECT_E5 \
1351 #define PTLD_REG_DBG_DWORD_ENABLE_E5 \
1353 #define PTLD_REG_DBG_SHIFT_E5 \
1355 #define PTLD_REG_DBG_FORCE_VALID_E5 \
1357 #define PTLD_REG_DBG_FORCE_FRAME_E5 \
1359 #define YPLD_REG_DBG_SELECT_E5 \
1361 #define YPLD_REG_DBG_DWORD_ENABLE_E5 \
1363 #define YPLD_REG_DBG_SHIFT_E5 \
1365 #define YPLD_REG_DBG_FORCE_VALID_E5 \
1367 #define YPLD_REG_DBG_FORCE_FRAME_E5 \
1369 #define RGSRC_REG_DBG_SELECT_E5 \
1371 #define RGSRC_REG_DBG_DWORD_ENABLE_E5 \
1373 #define RGSRC_REG_DBG_SHIFT_E5 \
1375 #define RGSRC_REG_DBG_FORCE_VALID_E5 \
1377 #define RGSRC_REG_DBG_FORCE_FRAME_E5 \
1379 #define TGSRC_REG_DBG_SELECT_E5 \
1381 #define TGSRC_REG_DBG_DWORD_ENABLE_E5 \
1383 #define TGSRC_REG_DBG_SHIFT_E5 \
1385 #define TGSRC_REG_DBG_FORCE_VALID_E5 \
1387 #define TGSRC_REG_DBG_FORCE_FRAME_E5 \
1389 #define MISC_REG_RESET_PL_UA \
1391 #define MISC_REG_RESET_PL_HV \
1393 #define XCM_REG_CTX_RBC_ACCS \
1395 #define XCM_REG_AGG_CON_CTX \
1397 #define XCM_REG_SM_CON_CTX \
1399 #define YCM_REG_CTX_RBC_ACCS \
1401 #define YCM_REG_AGG_CON_CTX \
1403 #define YCM_REG_AGG_TASK_CTX \
1405 #define YCM_REG_SM_CON_CTX \
1407 #define YCM_REG_SM_TASK_CTX \
1409 #define PCM_REG_CTX_RBC_ACCS \
1411 #define PCM_REG_SM_CON_CTX \
1413 #define TCM_REG_CTX_RBC_ACCS \
1415 #define TCM_REG_AGG_CON_CTX \
1417 #define TCM_REG_AGG_TASK_CTX \
1419 #define TCM_REG_SM_CON_CTX \
1421 #define TCM_REG_SM_TASK_CTX \
1423 #define MCM_REG_CTX_RBC_ACCS \
1425 #define MCM_REG_AGG_CON_CTX \
1427 #define MCM_REG_AGG_TASK_CTX \
1429 #define MCM_REG_SM_CON_CTX \
1431 #define MCM_REG_SM_TASK_CTX \
1433 #define UCM_REG_CTX_RBC_ACCS \
1435 #define UCM_REG_AGG_CON_CTX \
1437 #define UCM_REG_AGG_TASK_CTX \
1439 #define UCM_REG_SM_CON_CTX \
1441 #define UCM_REG_SM_TASK_CTX \
1443 #define XSEM_REG_SLOW_DBG_EMPTY_BB_K2 \
1445 #define XSEM_REG_SYNC_DBG_EMPTY \
1447 #define XSEM_REG_SLOW_DBG_ACTIVE \
1449 #define XSEM_REG_SLOW_DBG_MODE \
1451 #define XSEM_REG_DBG_FRAME_MODE \
1453 #define XSEM_REG_DBG_GPRE_VECT \
1455 #define XSEM_REG_DBG_MODE1_CFG \
1457 #define XSEM_REG_FAST_MEMORY \
1459 #define YSEM_REG_SYNC_DBG_EMPTY \
1461 #define YSEM_REG_SLOW_DBG_ACTIVE \
1463 #define YSEM_REG_SLOW_DBG_MODE \
1465 #define YSEM_REG_DBG_FRAME_MODE \
1467 #define YSEM_REG_DBG_GPRE_VECT \
1469 #define YSEM_REG_DBG_MODE1_CFG \
1471 #define YSEM_REG_FAST_MEMORY \
1473 #define PSEM_REG_SLOW_DBG_EMPTY_BB_K2 \
1475 #define PSEM_REG_SYNC_DBG_EMPTY \
1477 #define PSEM_REG_SLOW_DBG_ACTIVE \
1479 #define PSEM_REG_SLOW_DBG_MODE \
1481 #define PSEM_REG_DBG_FRAME_MODE \
1483 #define PSEM_REG_DBG_GPRE_VECT \
1485 #define PSEM_REG_DBG_MODE1_CFG \
1487 #define PSEM_REG_FAST_MEMORY \
1489 #define TSEM_REG_SLOW_DBG_EMPTY_BB_K2 \
1491 #define TSEM_REG_SYNC_DBG_EMPTY \
1493 #define TSEM_REG_SLOW_DBG_ACTIVE \
1495 #define TSEM_REG_SLOW_DBG_MODE \
1497 #define TSEM_REG_DBG_FRAME_MODE \
1499 #define TSEM_REG_DBG_GPRE_VECT \
1501 #define TSEM_REG_DBG_MODE1_CFG \
1503 #define TSEM_REG_FAST_MEMORY \
1505 #define MSEM_REG_SLOW_DBG_EMPTY_BB_K2 \
1507 #define MSEM_REG_SYNC_DBG_EMPTY \
1509 #define MSEM_REG_SLOW_DBG_ACTIVE \
1511 #define MSEM_REG_SLOW_DBG_MODE \
1513 #define MSEM_REG_DBG_FRAME_MODE \
1515 #define MSEM_REG_DBG_GPRE_VECT \
1517 #define MSEM_REG_DBG_MODE1_CFG \
1519 #define MSEM_REG_FAST_MEMORY \
1521 #define USEM_REG_SLOW_DBG_EMPTY_BB_K2 \
1523 #define SEM_FAST_REG_INT_RAM_SIZE \
1525 #define USEM_REG_SYNC_DBG_EMPTY \
1527 #define USEM_REG_SLOW_DBG_ACTIVE \
1529 #define USEM_REG_SLOW_DBG_MODE \
1531 #define USEM_REG_DBG_FRAME_MODE \
1533 #define USEM_REG_DBG_GPRE_VECT \
1535 #define USEM_REG_DBG_MODE1_CFG \
1537 #define USEM_REG_FAST_MEMORY \
1539 #define SEM_FAST_REG_DBG_MODE23_SRC_DISABLE \
1541 #define SEM_FAST_REG_DBG_MODSRC_DISABLE \
1543 #define SEM_FAST_REG_DBG_MODE6_SRC_DISABLE \
1545 #define SEM_FAST_REG_DEBUG_ACTIVE \
1547 #define SEM_FAST_REG_INT_RAM \
1549 #define SEM_FAST_REG_INT_RAM_SIZE_BB_K2 \
1551 #define SEM_FAST_REG_RECORD_FILTER_ENABLE \
1553 #define GRC_REG_TRACE_FIFO_VALID_DATA \
1555 #define GRC_REG_NUMBER_VALID_OVERRIDE_WINDOW \
1557 #define GRC_REG_PROTECTION_OVERRIDE_WINDOW \
1559 #define IGU_REG_ERROR_HANDLING_MEMORY \
1561 #define MCP_REG_CPU_MODE \
1563 #define MCP_REG_CPU_MODE_SOFT_HALT \
1565 #define BRB_REG_BIG_RAM_ADDRESS \
1567 #define BRB_REG_BIG_RAM_DATA \
1569 #define BRB_REG_BIG_RAM_DATA_SIZE \
1571 #define SEM_FAST_REG_STALL_0 \
1573 #define SEM_FAST_REG_STALLED \
1575 #define BTB_REG_BIG_RAM_ADDRESS \
1577 #define BTB_REG_BIG_RAM_DATA \
1579 #define BMB_REG_BIG_RAM_ADDRESS \
1581 #define BMB_REG_BIG_RAM_DATA \
1583 #define SEM_FAST_REG_STORM_REG_FILE \
1585 #define RSS_REG_RSS_RAM_ADDR \
1587 #define MISCS_REG_BLOCK_256B_EN \
1589 #define MCP_REG_SCRATCH_SIZE_BB_K2 \
1591 #define MCP_REG_CPU_REG_FILE \
1593 #define MCP_REG_CPU_REG_FILE_SIZE \
1595 #define DBG_REG_DEBUG_TARGET \
1597 #define DBG_REG_FULL_MODE \
1599 #define DBG_REG_CALENDAR_OUT_DATA \
1601 #define GRC_REG_TRACE_FIFO \
1603 #define IGU_REG_ERROR_HANDLING_DATA_VALID \
1605 #define DBG_REG_DBG_BLOCK_ON \
1607 #define DBG_REG_FILTER_ENABLE \
1609 #define DBG_REG_FRAMING_MODE \
1611 #define DBG_REG_TRIGGER_ENABLE \
1613 #define SEM_FAST_REG_VFC_DATA_WR \
1615 #define SEM_FAST_REG_VFC_ADDR \
1617 #define SEM_FAST_REG_VFC_DATA_RD \
1619 #define SEM_FAST_REG_VFC_STATUS \
1621 #define RSS_REG_RSS_RAM_DATA \
1623 #define RSS_REG_RSS_RAM_DATA_SIZE \
1625 #define MISC_REG_BLOCK_256B_EN \
1627 #define NWS_REG_NWS_CMU_K2 \
1629 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_ADDR_7_0_K2 \
1631 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_ADDR_15_8_K2 \
1633 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_DATA_7_0_K2 \
1635 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_DATA_11_8_K2 \
1637 #define MS_REG_MS_CMU_K2 \
1639 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X130_K2 \
1641 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X131_K2 \
1643 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X132_K2 \
1645 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X133_K2 \
1647 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X130_K2 \
1649 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X131_K2 \
1651 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X132_K2 \
1653 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X133_K2 \
1655 #define PHY_PCIE_REG_PHY0_K2 \
1657 #define PHY_PCIE_REG_PHY1_K2 \
1659 #define NIG_REG_ROCE_DUPLICATE_TO_HOST 0x5088f0UL
1660 #define NIG_REG_PPF_TO_ENGINE_SEL 0x508900UL
1661 #define NIG_REG_PPF_TO_ENGINE_SEL_SIZE 8
1662 #define PRS_REG_LIGHT_L2_ETHERTYPE_EN 0x1f0968UL
1663 #define NIG_REG_LLH_ENG_CLS_ENG_ID_TBL 0x501b90UL
1664 #define DORQ_REG_PF_DPM_ENABLE 0x100510UL
1665 #define DORQ_REG_PF_ICID_BIT_SHIFT_NORM 0x100448UL
1666 #define DORQ_REG_PF_MIN_ADDR_REG1 0x100400UL
1667 #define DORQ_REG_PF_DPI_BIT_SHIFT 0x100450UL
1668 #define NIG_REG_RX_PTP_EN 0x501900UL
1669 #define NIG_REG_TX_PTP_EN 0x501904UL
1670 #define NIG_REG_LLH_PTP_TO_HOST 0x501908UL
1671 #define NIG_REG_LLH_PTP_TO_MCP 0x50190cUL
1672 #define NIG_REG_PTP_SW_TXTSEN 0x501910UL
1673 #define NIG_REG_LLH_PTP_ETHERTYPE_1 0x501914UL
1674 #define NIG_REG_LLH_PTP_MAC_DA_2_LSB 0x501918UL
1675 #define NIG_REG_LLH_PTP_MAC_DA_2_MSB 0x50191cUL
1676 #define NIG_REG_LLH_PTP_PARAM_MASK 0x501920UL
1677 #define NIG_REG_LLH_PTP_RULE_MASK 0x501924UL
1678 #define NIG_REG_TX_LLH_PTP_PARAM_MASK 0x501928UL
1679 #define NIG_REG_TX_LLH_PTP_RULE_MASK 0x50192cUL
1680 #define NIG_REG_LLH_PTP_HOST_BUF_SEQID 0x501930UL
1681 #define NIG_REG_LLH_PTP_HOST_BUF_TS_LSB 0x501934UL
1682 #define NIG_REG_LLH_PTP_HOST_BUF_TS_MSB 0x501938UL
1683 #define NIG_REG_LLH_PTP_MCP_BUF_SEQID 0x50193cUL
1684 #define NIG_REG_LLH_PTP_MCP_BUF_TS_LSB 0x501940UL
1685 #define NIG_REG_LLH_PTP_MCP_BUF_TS_MSB 0x501944UL
1686 #define NIG_REG_TX_LLH_PTP_BUF_SEQID 0x501948UL
1687 #define NIG_REG_TX_LLH_PTP_BUF_TS_LSB 0x50194cUL
1688 #define NIG_REG_TX_LLH_PTP_BUF_TS_MSB 0x501950UL
1689 #define NIG_REG_RX_PTP_TS_MSB_ERR 0x501954UL
1690 #define NIG_REG_TX_PTP_TS_MSB_ERR 0x501958UL
1691 #define NIG_REG_TSGEN_SYNC_TIME_LSB 0x5088c0UL
1692 #define NIG_REG_TSGEN_SYNC_TIME_MSB 0x5088c4UL
1693 #define NIG_REG_TSGEN_RST_DRIFT_CNTR 0x5088d8UL
1694 #define NIG_REG_TSGEN_DRIFT_CNTR_CONF 0x5088dcUL
1695 #define NIG_REG_TS_OUTPUT_ENABLE_PDA 0x508870UL
1696 #define NIG_REG_TIMESYNC_GEN_REG_BB 0x500d00UL
1697 #define NIG_REG_TSGEN_FREE_CNT_VALUE_LSB 0x5088a8UL
1698 #define NIG_REG_TSGEN_FREE_CNT_VALUE_MSB 0x5088acUL
1699 #define NIG_REG_PTP_LATCH_OSTS_PKT_TIME 0x509040UL
1700 #define PSWRQ2_REG_WR_MBS0 0x240400UL
1702 #define PGLUE_B_REG_PGL_ADDR_E8_F0_K2 0x2aaf98UL
1703 #define PGLUE_B_REG_PGL_ADDR_EC_F0_K2 0x2aaf9cUL
1704 #define PGLUE_B_REG_PGL_ADDR_F0_F0_K2 0x2aafa0UL
1705 #define PGLUE_B_REG_PGL_ADDR_F4_F0_K2 0x2aafa4UL
1706 #define PGLUE_B_REG_MASTER_WRITE_PAD_ENABLE 0x2aae30UL
1707 #define NIG_REG_TSGEN_FREECNT_UPDATE_K2 0x509008UL
1708 #define CNIG_REG_NIG_PORT0_CONF_K2 0x218200UL
1710 #define NIG_REG_TX_EDPM_CTRL 0x501f0cUL
1711 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN (0x1 << 0)
1712 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN_SHIFT 0
1713 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN (0xff << 1)
1714 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT 1
1716 #define PRS_REG_SEARCH_GFT 0x1f11bcUL
1717 #define PRS_REG_SEARCH_NON_IP_AS_GFT 0x1f11c0UL
1718 #define PRS_REG_CM_HDR_GFT 0x1f11c8UL
1719 #define PRS_REG_GFT_CAM 0x1f1100UL
1720 #define PRS_REG_GFT_PROFILE_MASK_RAM 0x1f1000UL
1721 #define PRS_REG_CM_HDR_GFT_EVENT_ID_SHIFT 0
1722 #define PRS_REG_CM_HDR_GFT_CM_HDR_SHIFT 8
1723 #define PRS_REG_LOAD_L2_FILTER 0x1f0198UL