1 /* QLogic qed NIC Driver
2  * Copyright (c) 2015-2017  QLogic Corporation
3  *
4  * This software is available to you under a choice of one of two
5  * licenses.  You may choose to be licensed under the terms of the GNU
6  * General Public License (GPL) Version 2, available from the file
7  * COPYING in the main directory of this source tree, or the
8  * OpenIB.org BSD license below:
9  *
10  *     Redistribution and use in source and binary forms, with or
11  *     without modification, are permitted provided that the following
12  *     conditions are met:
13  *
14  *      - Redistributions of source code must retain the above
15  *        copyright notice, this list of conditions and the following
16  *        disclaimer.
17  *
18  *      - Redistributions in binary form must reproduce the above
19  *        copyright notice, this list of conditions and the following
20  *        disclaimer in the documentation and /or other materials
21  *        provided with the distribution.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30  * SOFTWARE.
31  */
32 
33 #ifndef REG_ADDR_H
34 #define REG_ADDR_H
35 
36 #define  CDU_REG_CID_ADDR_PARAMS_CONTEXT_SIZE_SHIFT \
37 	0
38 
39 #define  CDU_REG_CID_ADDR_PARAMS_CONTEXT_SIZE		( \
40 		0xfff << 0)
41 
42 #define  CDU_REG_CID_ADDR_PARAMS_BLOCK_WASTE_SHIFT \
43 	12
44 
45 #define  CDU_REG_CID_ADDR_PARAMS_BLOCK_WASTE		( \
46 		0xfff << 12)
47 
48 #define  CDU_REG_CID_ADDR_PARAMS_NCIB_SHIFT \
49 	24
50 
51 #define  CDU_REG_CID_ADDR_PARAMS_NCIB			( \
52 		0xff << 24)
53 
54 #define CDU_REG_SEGMENT0_PARAMS	\
55 	0x580904UL
56 #define CDU_REG_SEGMENT0_PARAMS_T0_NUM_TIDS_IN_BLOCK \
57 	(0xfff << 0)
58 #define CDU_REG_SEGMENT0_PARAMS_T0_NUM_TIDS_IN_BLOCK_SHIFT \
59 	0
60 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_BLOCK_WASTE \
61 	(0xff << 16)
62 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_BLOCK_WASTE_SHIFT \
63 	16
64 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_SIZE \
65 	(0xff << 24)
66 #define CDU_REG_SEGMENT0_PARAMS_T0_TID_SIZE_SHIFT \
67 	24
68 #define CDU_REG_SEGMENT1_PARAMS	\
69 	0x580908UL
70 #define CDU_REG_SEGMENT1_PARAMS_T1_NUM_TIDS_IN_BLOCK \
71 	(0xfff << 0)
72 #define CDU_REG_SEGMENT1_PARAMS_T1_NUM_TIDS_IN_BLOCK_SHIFT \
73 	0
74 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_BLOCK_WASTE \
75 	(0xff << 16)
76 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_BLOCK_WASTE_SHIFT \
77 	16
78 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_SIZE \
79 	(0xff << 24)
80 #define CDU_REG_SEGMENT1_PARAMS_T1_TID_SIZE_SHIFT \
81 	24
82 
83 #define  XSDM_REG_OPERATION_GEN \
84 	0xf80408UL
85 #define  NIG_REG_RX_BRB_OUT_EN \
86 	0x500e18UL
87 #define  NIG_REG_STORM_OUT_EN \
88 	0x500e08UL
89 #define  PSWRQ2_REG_L2P_VALIDATE_VFID \
90 	0x240c50UL
91 #define  PGLUE_B_REG_USE_CLIENTID_IN_TAG	\
92 	0x2aae04UL
93 #define  PGLUE_B_REG_INTERNAL_PFID_ENABLE_MASTER	\
94 	0x2aa16cUL
95 #define PGLUE_B_REG_WAS_ERROR_VF_31_0_CLR \
96 	0x2aa118UL
97 #define PSWHST_REG_ZONE_PERMISSION_TABLE \
98 	0x2a0800UL
99 #define  BAR0_MAP_REG_MSDM_RAM \
100 	0x1d00000UL
101 #define  BAR0_MAP_REG_USDM_RAM \
102 	0x1d80000UL
103 #define  BAR0_MAP_REG_PSDM_RAM \
104 	0x1f00000UL
105 #define  BAR0_MAP_REG_TSDM_RAM \
106 	0x1c80000UL
107 #define BAR0_MAP_REG_XSDM_RAM \
108 	0x1e00000UL
109 #define BAR0_MAP_REG_YSDM_RAM \
110 	0x1e80000UL
111 #define  NIG_REG_RX_LLH_BRB_GATE_DNTFWD_PERPF \
112 	0x5011f4UL
113 #define PRS_REG_SEARCH_RESP_INITIATOR_TYPE \
114 	0x1f0164UL
115 #define  PRS_REG_SEARCH_TCP \
116 	0x1f0400UL
117 #define  PRS_REG_SEARCH_UDP \
118 	0x1f0404UL
119 #define  PRS_REG_SEARCH_FCOE \
120 	0x1f0408UL
121 #define  PRS_REG_SEARCH_ROCE \
122 	0x1f040cUL
123 #define  PRS_REG_SEARCH_OPENFLOW	\
124 	0x1f0434UL
125 #define PRS_REG_SEARCH_TAG1 \
126 	0x1f0444UL
127 #define PRS_REG_SEARCH_TENANT_ID \
128 	0x1f044cUL
129 #define PRS_REG_PKT_LEN_STAT_TAGS_NOT_COUNTED_FIRST \
130 	0x1f0a0cUL
131 #define PRS_REG_SEARCH_TCP_FIRST_FRAG \
132 	0x1f0410UL
133 #define  TM_REG_PF_ENABLE_CONN \
134 	0x2c043cUL
135 #define  TM_REG_PF_ENABLE_TASK \
136 	0x2c0444UL
137 #define  TM_REG_PF_SCAN_ACTIVE_CONN \
138 	0x2c04fcUL
139 #define  TM_REG_PF_SCAN_ACTIVE_TASK \
140 	0x2c0500UL
141 #define  IGU_REG_LEADING_EDGE_LATCH \
142 	0x18082cUL
143 #define  IGU_REG_TRAILING_EDGE_LATCH \
144 	0x180830UL
145 #define  QM_REG_USG_CNT_PF_TX \
146 	0x2f2eacUL
147 #define  QM_REG_USG_CNT_PF_OTHER	\
148 	0x2f2eb0UL
149 #define  DORQ_REG_PF_DB_ENABLE \
150 	0x100508UL
151 #define DORQ_REG_VF_USAGE_CNT \
152 	0x1009c4UL
153 #define  QM_REG_PF_EN \
154 	0x2f2ea4UL
155 #define TCFC_REG_WEAK_ENABLE_VF \
156 	0x2d0704UL
157 #define  TCFC_REG_STRONG_ENABLE_PF \
158 	0x2d0708UL
159 #define  TCFC_REG_STRONG_ENABLE_VF \
160 	0x2d070cUL
161 #define CCFC_REG_WEAK_ENABLE_VF \
162 	0x2e0704UL
163 #define  CCFC_REG_STRONG_ENABLE_PF \
164 	0x2e0708UL
165 #define  PGLUE_B_REG_PGL_ADDR_88_F0_BB \
166 	0x2aa404UL
167 #define  PGLUE_B_REG_PGL_ADDR_8C_F0_BB \
168 	0x2aa408UL
169 #define  PGLUE_B_REG_PGL_ADDR_90_F0_BB \
170 	0x2aa40cUL
171 #define  PGLUE_B_REG_PGL_ADDR_94_F0_BB \
172 	0x2aa410UL
173 #define  PGLUE_B_REG_WAS_ERROR_PF_31_0_CLR \
174 	0x2aa138UL
175 #define  PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ \
176 	0x2aa174UL
177 #define  MISC_REG_GEN_PURP_CR0 \
178 	0x008c80UL
179 #define  MCP_REG_SCRATCH	\
180 	0xe20000UL
181 #define  CNIG_REG_NW_PORT_MODE_BB \
182 	0x218200UL
183 #define  MISCS_REG_CHIP_NUM \
184 	0x00976cUL
185 #define  MISCS_REG_CHIP_REV \
186 	0x009770UL
187 #define  MISCS_REG_CMT_ENABLED_FOR_PAIR \
188 	0x00971cUL
189 #define  MISCS_REG_CHIP_TEST_REG	\
190 	0x009778UL
191 #define  MISCS_REG_CHIP_METAL \
192 	0x009774UL
193 #define MISCS_REG_FUNCTION_HIDE \
194 	0x0096f0UL
195 #define  BRB_REG_HEADER_SIZE \
196 	0x340804UL
197 #define  BTB_REG_HEADER_SIZE \
198 	0xdb0804UL
199 #define  CAU_REG_LONG_TIMEOUT_THRESHOLD \
200 	0x1c0708UL
201 #define  CCFC_REG_ACTIVITY_COUNTER \
202 	0x2e8800UL
203 #define CCFC_REG_STRONG_ENABLE_VF \
204 	0x2e070cUL
205 #define CDU_REG_CCFC_CTX_VALID0 \
206 	0x580400UL
207 #define CDU_REG_CCFC_CTX_VALID1 \
208 	0x580404UL
209 #define CDU_REG_TCFC_CTX_VALID0 \
210 	0x580408UL
211 #define  CDU_REG_CID_ADDR_PARAMS \
212 	0x580900UL
213 #define  DBG_REG_CLIENT_ENABLE \
214 	0x010004UL
215 #define  DMAE_REG_INIT \
216 	0x00c000UL
217 #define  DORQ_REG_IFEN \
218 	0x100040UL
219 #define DORQ_REG_DB_DROP_REASON \
220 	0x100a2cUL
221 #define DORQ_REG_DB_DROP_DETAILS \
222 	0x100a24UL
223 #define DORQ_REG_DB_DROP_DETAILS_ADDRESS \
224 	0x100a1cUL
225 #define  GRC_REG_TIMEOUT_EN \
226 	0x050404UL
227 #define GRC_REG_TIMEOUT_ATTN_ACCESS_VALID \
228 	0x050054UL
229 #define GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_0 \
230 	0x05004cUL
231 #define GRC_REG_TIMEOUT_ATTN_ACCESS_DATA_1 \
232 	0x050050UL
233 #define  IGU_REG_BLOCK_CONFIGURATION \
234 	0x180040UL
235 #define  MCM_REG_INIT \
236 	0x1200000UL
237 #define  MCP2_REG_DBG_DWORD_ENABLE \
238 	0x052404UL
239 #define  MISC_REG_PORT_MODE \
240 	0x008c00UL
241 #define  MISCS_REG_CLK_100G_MODE	\
242 	0x009070UL
243 #define  MSDM_REG_ENABLE_IN1 \
244 	0xfc0004UL
245 #define  MSEM_REG_ENABLE_IN \
246 	0x1800004UL
247 #define  NIG_REG_CM_HDR \
248 	0x500840UL
249 #define NIG_REG_LLH_TAGMAC_DEF_PF_VECTOR \
250 	0x50196cUL
251 #define NIG_REG_LLH_CLS_TYPE_DUALMODE \
252 	0x501964UL
253 #define NIG_REG_LLH_FUNC_TAG_EN 0x5019b0UL
254 #define NIG_REG_LLH_FUNC_TAG_VALUE 0x5019d0UL
255 #define NIG_REG_LLH_FUNC_FILTER_VALUE \
256 	0x501a00UL
257 #define NIG_REG_LLH_FUNC_FILTER_VALUE_SIZE \
258 	32
259 #define NIG_REG_LLH_FUNC_FILTER_EN \
260 	0x501a80UL
261 #define NIG_REG_LLH_FUNC_FILTER_EN_SIZE	\
262 	16
263 #define NIG_REG_LLH_FUNC_FILTER_MODE \
264 	0x501ac0UL
265 #define NIG_REG_LLH_FUNC_FILTER_MODE_SIZE \
266 	16
267 #define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE \
268 	0x501b00UL
269 #define NIG_REG_LLH_FUNC_FILTER_PROTOCOL_TYPE_SIZE \
270 	16
271 #define NIG_REG_LLH_FUNC_FILTER_HDR_SEL	\
272 	0x501b40UL
273 #define NIG_REG_LLH_FUNC_FILTER_HDR_SEL_SIZE \
274 	16
275 #define  NCSI_REG_CONFIG	\
276 	0x040200UL
277 #define  PBF_REG_INIT \
278 	0xd80000UL
279 #define PBF_REG_NUM_BLOCKS_ALLOCATED_PROD_VOQ0 \
280 	0xd806c8UL
281 #define PBF_REG_NUM_BLOCKS_ALLOCATED_CONS_VOQ0 \
282 	0xd806ccUL
283 #define  PTU_REG_ATC_INIT_ARRAY \
284 	0x560000UL
285 #define  PCM_REG_INIT \
286 	0x1100000UL
287 #define  PGLUE_B_REG_ADMIN_PER_PF_REGION	\
288 	0x2a9000UL
289 #define PGLUE_B_REG_TX_ERR_WR_DETAILS2 \
290 	0x2aa150UL
291 #define PGLUE_B_REG_TX_ERR_WR_ADD_31_0 \
292 	0x2aa144UL
293 #define PGLUE_B_REG_TX_ERR_WR_ADD_63_32 \
294 	0x2aa148UL
295 #define PGLUE_B_REG_TX_ERR_WR_DETAILS \
296 	0x2aa14cUL
297 #define PGLUE_B_REG_TX_ERR_RD_ADD_31_0 \
298 	0x2aa154UL
299 #define PGLUE_B_REG_TX_ERR_RD_ADD_63_32 \
300 	0x2aa158UL
301 #define PGLUE_B_REG_TX_ERR_RD_DETAILS \
302 	0x2aa15cUL
303 #define PGLUE_B_REG_TX_ERR_RD_DETAILS2 \
304 	0x2aa160UL
305 #define PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL \
306 	0x2aa164UL
307 #define PGLUE_B_REG_MASTER_ZLR_ERR_DETAILS \
308 	0x2aa54cUL
309 #define PGLUE_B_REG_MASTER_ZLR_ERR_ADD_31_0 \
310 	0x2aa544UL
311 #define PGLUE_B_REG_MASTER_ZLR_ERR_ADD_63_32 \
312 	0x2aa548UL
313 #define PGLUE_B_REG_VF_ILT_ERR_ADD_31_0 \
314 	0x2aae74UL
315 #define PGLUE_B_REG_VF_ILT_ERR_ADD_63_32 \
316 	0x2aae78UL
317 #define PGLUE_B_REG_VF_ILT_ERR_DETAILS \
318 	0x2aae7cUL
319 #define PGLUE_B_REG_VF_ILT_ERR_DETAILS2 \
320 	0x2aae80UL
321 #define PGLUE_B_REG_LATCHED_ERRORS_CLR \
322 	0x2aa3bcUL
323 #define  PRM_REG_DISABLE_PRM \
324 	0x230000UL
325 #define  PRS_REG_SOFT_RST \
326 	0x1f0000UL
327 #define PRS_REG_MSG_INFO \
328 	0x1f0a1cUL
329 #define PRS_REG_ROCE_DEST_QP_MAX_PF \
330 	0x1f0430UL
331 #define PRS_REG_USE_LIGHT_L2 \
332 	0x1f096cUL
333 #define  PSDM_REG_ENABLE_IN1 \
334 	0xfa0004UL
335 #define  PSEM_REG_ENABLE_IN \
336 	0x1600004UL
337 #define  PSWRQ_REG_DBG_SELECT \
338 	0x280020UL
339 #define  PSWRQ2_REG_CDUT_P_SIZE \
340 	0x24000cUL
341 #define PSWRQ2_REG_ILT_MEMORY \
342 	0x260000UL
343 #define  PSWHST_REG_DISCARD_INTERNAL_WRITES \
344 	0x2a0040UL
345 #define  PSWHST2_REG_DBGSYN_ALMOST_FULL_THR \
346 	0x29e050UL
347 #define PSWHST_REG_INCORRECT_ACCESS_VALID \
348 	0x2a0070UL
349 #define PSWHST_REG_INCORRECT_ACCESS_ADDRESS \
350 	0x2a0074UL
351 #define PSWHST_REG_INCORRECT_ACCESS_DATA \
352 	0x2a0068UL
353 #define PSWHST_REG_INCORRECT_ACCESS_LENGTH \
354 	0x2a006cUL
355 #define  PSWRD_REG_DBG_SELECT \
356 	0x29c040UL
357 #define  PSWRD2_REG_CONF11 \
358 	0x29d064UL
359 #define  PSWWR_REG_USDM_FULL_TH \
360 	0x29a040UL
361 #define  PSWWR2_REG_CDU_FULL_TH2	\
362 	0x29b040UL
363 #define  QM_REG_MAXPQSIZE_0 \
364 	0x2f0434UL
365 #define  RSS_REG_RSS_INIT_EN \
366 	0x238804UL
367 #define  RDIF_REG_STOP_ON_ERROR \
368 	0x300040UL
369 #define RDIF_REG_DEBUG_ERROR_INFO \
370 	0x300400UL
371 #define RDIF_REG_DEBUG_ERROR_INFO_SIZE \
372 	64
373 #define  SRC_REG_SOFT_RST \
374 	0x23874cUL
375 #define  TCFC_REG_ACTIVITY_COUNTER \
376 	0x2d8800UL
377 #define  TCM_REG_INIT \
378 	0x1180000UL
379 #define  TM_REG_PXP_READ_DATA_FIFO_INIT \
380 	0x2c0014UL
381 #define  TSDM_REG_ENABLE_IN1 \
382 	0xfb0004UL
383 #define  TSEM_REG_ENABLE_IN \
384 	0x1700004UL
385 #define  TDIF_REG_STOP_ON_ERROR \
386 	0x310040UL
387 #define TDIF_REG_DEBUG_ERROR_INFO \
388 	0x310400UL
389 #define TDIF_REG_DEBUG_ERROR_INFO_SIZE \
390 	64
391 #define  UCM_REG_INIT \
392 	0x1280000UL
393 #define  UMAC_REG_IPG_HD_BKP_CNTL_BB_B0 \
394 	0x051004UL
395 #define  USDM_REG_ENABLE_IN1 \
396 	0xfd0004UL
397 #define  USEM_REG_ENABLE_IN \
398 	0x1900004UL
399 #define  XCM_REG_INIT \
400 	0x1000000UL
401 #define  XSDM_REG_ENABLE_IN1 \
402 	0xf80004UL
403 #define  XSEM_REG_ENABLE_IN \
404 	0x1400004UL
405 #define  YCM_REG_INIT \
406 	0x1080000UL
407 #define  YSDM_REG_ENABLE_IN1 \
408 	0xf90004UL
409 #define  YSEM_REG_ENABLE_IN \
410 	0x1500004UL
411 #define  XYLD_REG_SCBD_STRICT_PRIO \
412 	0x4c0000UL
413 #define  TMLD_REG_SCBD_STRICT_PRIO \
414 	0x4d0000UL
415 #define  MULD_REG_SCBD_STRICT_PRIO \
416 	0x4e0000UL
417 #define  YULD_REG_SCBD_STRICT_PRIO \
418 	0x4c8000UL
419 #define  MISC_REG_SHARED_MEM_ADDR \
420 	0x008c20UL
421 #define  DMAE_REG_GO_C0 \
422 	0x00c048UL
423 #define  DMAE_REG_GO_C1 \
424 	0x00c04cUL
425 #define  DMAE_REG_GO_C2 \
426 	0x00c050UL
427 #define  DMAE_REG_GO_C3 \
428 	0x00c054UL
429 #define  DMAE_REG_GO_C4 \
430 	0x00c058UL
431 #define  DMAE_REG_GO_C5 \
432 	0x00c05cUL
433 #define  DMAE_REG_GO_C6 \
434 	0x00c060UL
435 #define  DMAE_REG_GO_C7 \
436 	0x00c064UL
437 #define  DMAE_REG_GO_C8 \
438 	0x00c068UL
439 #define  DMAE_REG_GO_C9 \
440 	0x00c06cUL
441 #define  DMAE_REG_GO_C10	\
442 	0x00c070UL
443 #define  DMAE_REG_GO_C11	\
444 	0x00c074UL
445 #define  DMAE_REG_GO_C12	\
446 	0x00c078UL
447 #define  DMAE_REG_GO_C13	\
448 	0x00c07cUL
449 #define  DMAE_REG_GO_C14	\
450 	0x00c080UL
451 #define  DMAE_REG_GO_C15	\
452 	0x00c084UL
453 #define  DMAE_REG_GO_C16	\
454 	0x00c088UL
455 #define  DMAE_REG_GO_C17	\
456 	0x00c08cUL
457 #define  DMAE_REG_GO_C18	\
458 	0x00c090UL
459 #define  DMAE_REG_GO_C19	\
460 	0x00c094UL
461 #define  DMAE_REG_GO_C20	\
462 	0x00c098UL
463 #define  DMAE_REG_GO_C21	\
464 	0x00c09cUL
465 #define  DMAE_REG_GO_C22	\
466 	0x00c0a0UL
467 #define  DMAE_REG_GO_C23	\
468 	0x00c0a4UL
469 #define  DMAE_REG_GO_C24	\
470 	0x00c0a8UL
471 #define  DMAE_REG_GO_C25	\
472 	0x00c0acUL
473 #define  DMAE_REG_GO_C26	\
474 	0x00c0b0UL
475 #define  DMAE_REG_GO_C27	\
476 	0x00c0b4UL
477 #define  DMAE_REG_GO_C28	\
478 	0x00c0b8UL
479 #define  DMAE_REG_GO_C29	\
480 	0x00c0bcUL
481 #define  DMAE_REG_GO_C30	\
482 	0x00c0c0UL
483 #define  DMAE_REG_GO_C31	\
484 	0x00c0c4UL
485 #define  DMAE_REG_CMD_MEM \
486 	0x00c800UL
487 #define  QM_REG_MAXPQSIZETXSEL_0	\
488 	0x2f0440UL
489 #define  QM_REG_SDMCMDREADY \
490 	0x2f1e10UL
491 #define  QM_REG_SDMCMDADDR \
492 	0x2f1e04UL
493 #define  QM_REG_SDMCMDDATALSB \
494 	0x2f1e08UL
495 #define  QM_REG_SDMCMDDATAMSB \
496 	0x2f1e0cUL
497 #define  QM_REG_SDMCMDGO	\
498 	0x2f1e14UL
499 #define  QM_REG_RLPFCRD \
500 	0x2f4d80UL
501 #define  QM_REG_RLPFINCVAL \
502 	0x2f4c80UL
503 #define  QM_REG_RLGLBLCRD \
504 	0x2f4400UL
505 #define  QM_REG_RLGLBLINCVAL \
506 	0x2f3400UL
507 #define  IGU_REG_ATTENTION_ENABLE \
508 	0x18083cUL
509 #define  IGU_REG_ATTN_MSG_ADDR_L	\
510 	0x180820UL
511 #define  IGU_REG_ATTN_MSG_ADDR_H	\
512 	0x180824UL
513 #define  MISC_REG_AEU_GENERAL_ATTN_0 \
514 	0x008400UL
515 #define  CAU_REG_SB_ADDR_MEMORY \
516 	0x1c8000UL
517 #define  CAU_REG_SB_VAR_MEMORY \
518 	0x1c6000UL
519 #define  CAU_REG_PI_MEMORY \
520 	0x1d0000UL
521 #define  IGU_REG_PF_CONFIGURATION \
522 	0x180800UL
523 #define IGU_REG_VF_CONFIGURATION \
524 	0x180804UL
525 #define  MISC_REG_AEU_ENABLE1_IGU_OUT_0 \
526 	0x00849cUL
527 #define MISC_REG_AEU_AFTER_INVERT_1_IGU	\
528 	0x0087b4UL
529 #define  MISC_REG_AEU_MASK_ATTN_IGU \
530 	0x008494UL
531 #define  IGU_REG_CLEANUP_STATUS_0 \
532 	0x180980UL
533 #define  IGU_REG_CLEANUP_STATUS_1 \
534 	0x180a00UL
535 #define  IGU_REG_CLEANUP_STATUS_2 \
536 	0x180a80UL
537 #define  IGU_REG_CLEANUP_STATUS_3 \
538 	0x180b00UL
539 #define  IGU_REG_CLEANUP_STATUS_4 \
540 	0x180b80UL
541 #define  IGU_REG_COMMAND_REG_32LSB_DATA \
542 	0x180840UL
543 #define  IGU_REG_COMMAND_REG_CTRL \
544 	0x180848UL
545 #define  IGU_REG_BLOCK_CONFIGURATION_VF_CLEANUP_EN	( \
546 		0x1 << 1)
547 #define  IGU_REG_BLOCK_CONFIGURATION_PXP_TPH_INTERFACE_EN	( \
548 		0x1 << 0)
549 #define  IGU_REG_MAPPING_MEMORY \
550 	0x184000UL
551 #define IGU_REG_STATISTIC_NUM_VF_MSG_SENT \
552 	0x180408UL
553 #define IGU_REG_WRITE_DONE_PENDING \
554 	0x180900UL
555 #define  MISCS_REG_GENERIC_POR_0	\
556 	0x0096d4UL
557 #define  MCP_REG_NVM_CFG4 \
558 	0xe0642cUL
559 #define  MCP_REG_NVM_CFG4_FLASH_SIZE	( \
560 		0x7 << 0)
561 #define  MCP_REG_NVM_CFG4_FLASH_SIZE_SHIFT \
562 	0
563 #define MCP_REG_CPU_STATE \
564 	0xe05004UL
565 #define MCP_REG_CPU_EVENT_MASK \
566 	0xe05008UL
567 #define PGLUE_B_REG_PF_BAR0_SIZE \
568 	0x2aae60UL
569 #define PGLUE_B_REG_PF_BAR1_SIZE \
570 	0x2aae64UL
571 #define PGLUE_B_REG_VF_BAR1_SIZE 0x2aae68UL
572 #define PRS_REG_ENCAPSULATION_TYPE_EN	0x1f0730UL
573 #define PRS_REG_GRE_PROTOCOL		0x1f0734UL
574 #define PRS_REG_VXLAN_PORT		0x1f0738UL
575 #define PRS_REG_OUTPUT_FORMAT_4_0_BB_K2	0x1f099cUL
576 #define NIG_REG_ENC_TYPE_ENABLE		0x501058UL
577 
578 #define NIG_REG_ENC_TYPE_ENABLE_ETH_OVER_GRE_ENABLE		(0x1 << 0)
579 #define NIG_REG_ENC_TYPE_ENABLE_ETH_OVER_GRE_ENABLE_SHIFT	0
580 #define NIG_REG_ENC_TYPE_ENABLE_IP_OVER_GRE_ENABLE		(0x1 << 1)
581 #define NIG_REG_ENC_TYPE_ENABLE_IP_OVER_GRE_ENABLE_SHIFT	1
582 #define NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE			(0x1 << 2)
583 #define NIG_REG_ENC_TYPE_ENABLE_VXLAN_ENABLE_SHIFT		2
584 
585 #define NIG_REG_VXLAN_CTRL		0x50105cUL
586 #define PBF_REG_VXLAN_PORT		0xd80518UL
587 #define PBF_REG_NGE_PORT		0xd8051cUL
588 #define PRS_REG_NGE_PORT		0x1f086cUL
589 #define NIG_REG_NGE_PORT		0x508b38UL
590 
591 #define DORQ_REG_L2_EDPM_TUNNEL_GRE_ETH_EN		0x10090cUL
592 #define DORQ_REG_L2_EDPM_TUNNEL_GRE_IP_EN		0x100910UL
593 #define DORQ_REG_L2_EDPM_TUNNEL_VXLAN_EN		0x100914UL
594 #define DORQ_REG_L2_EDPM_TUNNEL_NGE_IP_EN_K2_E5		0x10092cUL
595 #define DORQ_REG_L2_EDPM_TUNNEL_NGE_ETH_EN_K2_E5	0x100930UL
596 
597 #define NIG_REG_NGE_IP_ENABLE			0x508b28UL
598 #define NIG_REG_NGE_ETH_ENABLE			0x508b2cUL
599 #define NIG_REG_NGE_COMP_VER			0x508b30UL
600 #define PBF_REG_NGE_COMP_VER			0xd80524UL
601 #define PRS_REG_NGE_COMP_VER			0x1f0878UL
602 
603 #define QM_REG_WFQPFWEIGHT	0x2f4e80UL
604 #define QM_REG_WFQVPWEIGHT	0x2fa000UL
605 
606 #define PGLCS_REG_DBG_SELECT_K2_E5 \
607 	0x001d14UL
608 #define PGLCS_REG_DBG_DWORD_ENABLE_K2_E5 \
609 	0x001d18UL
610 #define PGLCS_REG_DBG_SHIFT_K2_E5 \
611 	0x001d1cUL
612 #define PGLCS_REG_DBG_FORCE_VALID_K2_E5 \
613 	0x001d20UL
614 #define PGLCS_REG_DBG_FORCE_FRAME_K2_E5 \
615 	0x001d24UL
616 #define MISC_REG_RESET_PL_PDA_VMAIN_1 \
617 	0x008070UL
618 #define MISC_REG_RESET_PL_PDA_VMAIN_2 \
619 	0x008080UL
620 #define MISC_REG_RESET_PL_PDA_VAUX \
621 	0x008090UL
622 #define MISCS_REG_RESET_PL_UA \
623 	0x009050UL
624 #define MISCS_REG_RESET_PL_HV \
625 	0x009060UL
626 #define MISCS_REG_RESET_PL_HV_2_K2_E5 \
627 	0x009150UL
628 #define DMAE_REG_DBG_SELECT \
629 	0x00c510UL
630 #define DMAE_REG_DBG_DWORD_ENABLE \
631 	0x00c514UL
632 #define DMAE_REG_DBG_SHIFT \
633 	0x00c518UL
634 #define DMAE_REG_DBG_FORCE_VALID \
635 	0x00c51cUL
636 #define DMAE_REG_DBG_FORCE_FRAME \
637 	0x00c520UL
638 #define NCSI_REG_DBG_SELECT \
639 	0x040474UL
640 #define NCSI_REG_DBG_DWORD_ENABLE \
641 	0x040478UL
642 #define NCSI_REG_DBG_SHIFT \
643 	0x04047cUL
644 #define NCSI_REG_DBG_FORCE_VALID \
645 	0x040480UL
646 #define NCSI_REG_DBG_FORCE_FRAME \
647 	0x040484UL
648 #define GRC_REG_DBG_SELECT \
649 	0x0500a4UL
650 #define GRC_REG_DBG_DWORD_ENABLE \
651 	0x0500a8UL
652 #define GRC_REG_DBG_SHIFT \
653 	0x0500acUL
654 #define GRC_REG_DBG_FORCE_VALID	\
655 	0x0500b0UL
656 #define GRC_REG_DBG_FORCE_FRAME	\
657 	0x0500b4UL
658 #define UMAC_REG_DBG_SELECT_K2_E5 \
659 	0x051094UL
660 #define UMAC_REG_DBG_DWORD_ENABLE_K2_E5 \
661 	0x051098UL
662 #define UMAC_REG_DBG_SHIFT_K2_E5 \
663 	0x05109cUL
664 #define UMAC_REG_DBG_FORCE_VALID_K2_E5 \
665 	0x0510a0UL
666 #define UMAC_REG_DBG_FORCE_FRAME_K2_E5 \
667 	0x0510a4UL
668 #define MCP2_REG_DBG_SELECT \
669 	0x052400UL
670 #define MCP2_REG_DBG_DWORD_ENABLE \
671 	0x052404UL
672 #define MCP2_REG_DBG_SHIFT \
673 	0x052408UL
674 #define MCP2_REG_DBG_FORCE_VALID \
675 	0x052440UL
676 #define MCP2_REG_DBG_FORCE_FRAME \
677 	0x052444UL
678 #define PCIE_REG_DBG_SELECT \
679 	0x0547e8UL
680 #define PCIE_REG_DBG_DWORD_ENABLE \
681 	0x0547ecUL
682 #define PCIE_REG_DBG_SHIFT \
683 	0x0547f0UL
684 #define PCIE_REG_DBG_FORCE_VALID \
685 	0x0547f4UL
686 #define PCIE_REG_DBG_FORCE_FRAME \
687 	0x0547f8UL
688 #define DORQ_REG_DBG_SELECT \
689 	0x100ad0UL
690 #define DORQ_REG_DBG_DWORD_ENABLE \
691 	0x100ad4UL
692 #define DORQ_REG_DBG_SHIFT \
693 	0x100ad8UL
694 #define DORQ_REG_DBG_FORCE_VALID \
695 	0x100adcUL
696 #define DORQ_REG_DBG_FORCE_FRAME \
697 	0x100ae0UL
698 #define IGU_REG_DBG_SELECT \
699 	0x181578UL
700 #define IGU_REG_DBG_DWORD_ENABLE \
701 	0x18157cUL
702 #define IGU_REG_DBG_SHIFT \
703 	0x181580UL
704 #define IGU_REG_DBG_FORCE_VALID	\
705 	0x181584UL
706 #define IGU_REG_DBG_FORCE_FRAME	\
707 	0x181588UL
708 #define CAU_REG_DBG_SELECT \
709 	0x1c0ea8UL
710 #define CAU_REG_DBG_DWORD_ENABLE \
711 	0x1c0eacUL
712 #define CAU_REG_DBG_SHIFT \
713 	0x1c0eb0UL
714 #define CAU_REG_DBG_FORCE_VALID	\
715 	0x1c0eb4UL
716 #define CAU_REG_DBG_FORCE_FRAME	\
717 	0x1c0eb8UL
718 #define PRS_REG_DBG_SELECT \
719 	0x1f0b6cUL
720 #define PRS_REG_DBG_DWORD_ENABLE \
721 	0x1f0b70UL
722 #define PRS_REG_DBG_SHIFT \
723 	0x1f0b74UL
724 #define PRS_REG_DBG_FORCE_VALID	\
725 	0x1f0ba0UL
726 #define PRS_REG_DBG_FORCE_FRAME	\
727 	0x1f0ba4UL
728 #define CNIG_REG_DBG_SELECT_K2_E5 \
729 	0x218254UL
730 #define CNIG_REG_DBG_DWORD_ENABLE_K2_E5 \
731 	0x218258UL
732 #define CNIG_REG_DBG_SHIFT_K2_E5 \
733 	0x21825cUL
734 #define CNIG_REG_DBG_FORCE_VALID_K2_E5 \
735 	0x218260UL
736 #define CNIG_REG_DBG_FORCE_FRAME_K2_E5 \
737 	0x218264UL
738 #define PRM_REG_DBG_SELECT \
739 	0x2306a8UL
740 #define PRM_REG_DBG_DWORD_ENABLE \
741 	0x2306acUL
742 #define PRM_REG_DBG_SHIFT \
743 	0x2306b0UL
744 #define PRM_REG_DBG_FORCE_VALID	\
745 	0x2306b4UL
746 #define PRM_REG_DBG_FORCE_FRAME	\
747 	0x2306b8UL
748 #define SRC_REG_DBG_SELECT \
749 	0x238700UL
750 #define SRC_REG_DBG_DWORD_ENABLE \
751 	0x238704UL
752 #define SRC_REG_DBG_SHIFT \
753 	0x238708UL
754 #define SRC_REG_DBG_FORCE_VALID	\
755 	0x23870cUL
756 #define SRC_REG_DBG_FORCE_FRAME	\
757 	0x238710UL
758 #define RSS_REG_DBG_SELECT \
759 	0x238c4cUL
760 #define RSS_REG_DBG_DWORD_ENABLE \
761 	0x238c50UL
762 #define RSS_REG_DBG_SHIFT \
763 	0x238c54UL
764 #define RSS_REG_DBG_FORCE_VALID	\
765 	0x238c58UL
766 #define RSS_REG_DBG_FORCE_FRAME	\
767 	0x238c5cUL
768 #define RPB_REG_DBG_SELECT \
769 	0x23c728UL
770 #define RPB_REG_DBG_DWORD_ENABLE \
771 	0x23c72cUL
772 #define RPB_REG_DBG_SHIFT \
773 	0x23c730UL
774 #define RPB_REG_DBG_FORCE_VALID	\
775 	0x23c734UL
776 #define RPB_REG_DBG_FORCE_FRAME	\
777 	0x23c738UL
778 #define PSWRQ2_REG_DBG_SELECT \
779 	0x240100UL
780 #define PSWRQ2_REG_DBG_DWORD_ENABLE \
781 	0x240104UL
782 #define PSWRQ2_REG_DBG_SHIFT \
783 	0x240108UL
784 #define PSWRQ2_REG_DBG_FORCE_VALID \
785 	0x24010cUL
786 #define PSWRQ2_REG_DBG_FORCE_FRAME \
787 	0x240110UL
788 #define PSWRQ_REG_DBG_SELECT \
789 	0x280020UL
790 #define PSWRQ_REG_DBG_DWORD_ENABLE \
791 	0x280024UL
792 #define PSWRQ_REG_DBG_SHIFT \
793 	0x280028UL
794 #define PSWRQ_REG_DBG_FORCE_VALID \
795 	0x28002cUL
796 #define PSWRQ_REG_DBG_FORCE_FRAME \
797 	0x280030UL
798 #define PSWWR_REG_DBG_SELECT \
799 	0x29a084UL
800 #define PSWWR_REG_DBG_DWORD_ENABLE \
801 	0x29a088UL
802 #define PSWWR_REG_DBG_SHIFT \
803 	0x29a08cUL
804 #define PSWWR_REG_DBG_FORCE_VALID \
805 	0x29a090UL
806 #define PSWWR_REG_DBG_FORCE_FRAME \
807 	0x29a094UL
808 #define PSWRD_REG_DBG_SELECT \
809 	0x29c040UL
810 #define PSWRD_REG_DBG_DWORD_ENABLE \
811 	0x29c044UL
812 #define PSWRD_REG_DBG_SHIFT \
813 	0x29c048UL
814 #define PSWRD_REG_DBG_FORCE_VALID \
815 	0x29c04cUL
816 #define PSWRD_REG_DBG_FORCE_FRAME \
817 	0x29c050UL
818 #define PSWRD2_REG_DBG_SELECT \
819 	0x29d400UL
820 #define PSWRD2_REG_DBG_DWORD_ENABLE \
821 	0x29d404UL
822 #define PSWRD2_REG_DBG_SHIFT \
823 	0x29d408UL
824 #define PSWRD2_REG_DBG_FORCE_VALID \
825 	0x29d40cUL
826 #define PSWRD2_REG_DBG_FORCE_FRAME \
827 	0x29d410UL
828 #define PSWHST2_REG_DBG_SELECT \
829 	0x29e058UL
830 #define PSWHST2_REG_DBG_DWORD_ENABLE \
831 	0x29e05cUL
832 #define PSWHST2_REG_DBG_SHIFT \
833 	0x29e060UL
834 #define PSWHST2_REG_DBG_FORCE_VALID \
835 	0x29e064UL
836 #define PSWHST2_REG_DBG_FORCE_FRAME \
837 	0x29e068UL
838 #define PSWHST_REG_DBG_SELECT \
839 	0x2a0100UL
840 #define PSWHST_REG_DBG_DWORD_ENABLE \
841 	0x2a0104UL
842 #define PSWHST_REG_DBG_SHIFT \
843 	0x2a0108UL
844 #define PSWHST_REG_DBG_FORCE_VALID \
845 	0x2a010cUL
846 #define PSWHST_REG_DBG_FORCE_FRAME \
847 	0x2a0110UL
848 #define PGLUE_B_REG_DBG_SELECT \
849 	0x2a8400UL
850 #define PGLUE_B_REG_DBG_DWORD_ENABLE \
851 	0x2a8404UL
852 #define PGLUE_B_REG_DBG_SHIFT \
853 	0x2a8408UL
854 #define PGLUE_B_REG_DBG_FORCE_VALID \
855 	0x2a840cUL
856 #define PGLUE_B_REG_DBG_FORCE_FRAME \
857 	0x2a8410UL
858 #define TM_REG_DBG_SELECT \
859 	0x2c07a8UL
860 #define TM_REG_DBG_DWORD_ENABLE	\
861 	0x2c07acUL
862 #define TM_REG_DBG_SHIFT \
863 	0x2c07b0UL
864 #define TM_REG_DBG_FORCE_VALID \
865 	0x2c07b4UL
866 #define TM_REG_DBG_FORCE_FRAME \
867 	0x2c07b8UL
868 #define TCFC_REG_DBG_SELECT \
869 	0x2d0500UL
870 #define TCFC_REG_DBG_DWORD_ENABLE \
871 	0x2d0504UL
872 #define TCFC_REG_DBG_SHIFT \
873 	0x2d0508UL
874 #define TCFC_REG_DBG_FORCE_VALID \
875 	0x2d050cUL
876 #define TCFC_REG_DBG_FORCE_FRAME \
877 	0x2d0510UL
878 #define CCFC_REG_DBG_SELECT \
879 	0x2e0500UL
880 #define CCFC_REG_DBG_DWORD_ENABLE \
881 	0x2e0504UL
882 #define CCFC_REG_DBG_SHIFT \
883 	0x2e0508UL
884 #define CCFC_REG_DBG_FORCE_VALID \
885 	0x2e050cUL
886 #define CCFC_REG_DBG_FORCE_FRAME \
887 	0x2e0510UL
888 #define QM_REG_DBG_SELECT \
889 	0x2f2e74UL
890 #define QM_REG_DBG_DWORD_ENABLE	\
891 	0x2f2e78UL
892 #define QM_REG_DBG_SHIFT \
893 	0x2f2e7cUL
894 #define QM_REG_DBG_FORCE_VALID \
895 	0x2f2e80UL
896 #define QM_REG_DBG_FORCE_FRAME \
897 	0x2f2e84UL
898 #define RDIF_REG_DBG_SELECT \
899 	0x300500UL
900 #define RDIF_REG_DBG_DWORD_ENABLE \
901 	0x300504UL
902 #define RDIF_REG_DBG_SHIFT \
903 	0x300508UL
904 #define RDIF_REG_DBG_FORCE_VALID \
905 	0x30050cUL
906 #define RDIF_REG_DBG_FORCE_FRAME \
907 	0x300510UL
908 #define TDIF_REG_DBG_SELECT \
909 	0x310500UL
910 #define TDIF_REG_DBG_DWORD_ENABLE \
911 	0x310504UL
912 #define TDIF_REG_DBG_SHIFT \
913 	0x310508UL
914 #define TDIF_REG_DBG_FORCE_VALID \
915 	0x31050cUL
916 #define TDIF_REG_DBG_FORCE_FRAME \
917 	0x310510UL
918 #define BRB_REG_DBG_SELECT \
919 	0x340ed0UL
920 #define BRB_REG_DBG_DWORD_ENABLE \
921 	0x340ed4UL
922 #define BRB_REG_DBG_SHIFT \
923 	0x340ed8UL
924 #define BRB_REG_DBG_FORCE_VALID	\
925 	0x340edcUL
926 #define BRB_REG_DBG_FORCE_FRAME	\
927 	0x340ee0UL
928 #define XYLD_REG_DBG_SELECT \
929 	0x4c1600UL
930 #define XYLD_REG_DBG_DWORD_ENABLE \
931 	0x4c1604UL
932 #define XYLD_REG_DBG_SHIFT \
933 	0x4c1608UL
934 #define XYLD_REG_DBG_FORCE_VALID \
935 	0x4c160cUL
936 #define XYLD_REG_DBG_FORCE_FRAME \
937 	0x4c1610UL
938 #define YULD_REG_DBG_SELECT_BB_K2 \
939 	0x4c9600UL
940 #define YULD_REG_DBG_DWORD_ENABLE_BB_K2 \
941 	0x4c9604UL
942 #define YULD_REG_DBG_SHIFT_BB_K2 \
943 	0x4c9608UL
944 #define YULD_REG_DBG_FORCE_VALID_BB_K2 \
945 	0x4c960cUL
946 #define YULD_REG_DBG_FORCE_FRAME_BB_K2 \
947 	0x4c9610UL
948 #define TMLD_REG_DBG_SELECT \
949 	0x4d1600UL
950 #define TMLD_REG_DBG_DWORD_ENABLE \
951 	0x4d1604UL
952 #define TMLD_REG_DBG_SHIFT \
953 	0x4d1608UL
954 #define TMLD_REG_DBG_FORCE_VALID \
955 	0x4d160cUL
956 #define TMLD_REG_DBG_FORCE_FRAME \
957 	0x4d1610UL
958 #define MULD_REG_DBG_SELECT \
959 	0x4e1600UL
960 #define MULD_REG_DBG_DWORD_ENABLE \
961 	0x4e1604UL
962 #define MULD_REG_DBG_SHIFT \
963 	0x4e1608UL
964 #define MULD_REG_DBG_FORCE_VALID \
965 	0x4e160cUL
966 #define MULD_REG_DBG_FORCE_FRAME \
967 	0x4e1610UL
968 #define NIG_REG_DBG_SELECT \
969 	0x502140UL
970 #define NIG_REG_DBG_DWORD_ENABLE \
971 	0x502144UL
972 #define NIG_REG_DBG_SHIFT \
973 	0x502148UL
974 #define NIG_REG_DBG_FORCE_VALID	\
975 	0x50214cUL
976 #define NIG_REG_DBG_FORCE_FRAME	\
977 	0x502150UL
978 #define BMB_REG_DBG_SELECT \
979 	0x540a7cUL
980 #define BMB_REG_DBG_DWORD_ENABLE \
981 	0x540a80UL
982 #define BMB_REG_DBG_SHIFT \
983 	0x540a84UL
984 #define BMB_REG_DBG_FORCE_VALID	\
985 	0x540a88UL
986 #define BMB_REG_DBG_FORCE_FRAME	\
987 	0x540a8cUL
988 #define PTU_REG_DBG_SELECT \
989 	0x560100UL
990 #define PTU_REG_DBG_DWORD_ENABLE \
991 	0x560104UL
992 #define PTU_REG_DBG_SHIFT \
993 	0x560108UL
994 #define PTU_REG_DBG_FORCE_VALID	\
995 	0x56010cUL
996 #define PTU_REG_DBG_FORCE_FRAME	\
997 	0x560110UL
998 #define CDU_REG_DBG_SELECT \
999 	0x580704UL
1000 #define CDU_REG_DBG_DWORD_ENABLE \
1001 	0x580708UL
1002 #define CDU_REG_DBG_SHIFT \
1003 	0x58070cUL
1004 #define CDU_REG_DBG_FORCE_VALID	\
1005 	0x580710UL
1006 #define CDU_REG_DBG_FORCE_FRAME	\
1007 	0x580714UL
1008 #define WOL_REG_DBG_SELECT_K2_E5 \
1009 	0x600140UL
1010 #define WOL_REG_DBG_DWORD_ENABLE_K2_E5 \
1011 	0x600144UL
1012 #define WOL_REG_DBG_SHIFT_K2_E5 \
1013 	0x600148UL
1014 #define WOL_REG_DBG_FORCE_VALID_K2_E5 \
1015 	0x60014cUL
1016 #define WOL_REG_DBG_FORCE_FRAME_K2_E5 \
1017 	0x600150UL
1018 #define BMBN_REG_DBG_SELECT_K2_E5 \
1019 	0x610140UL
1020 #define BMBN_REG_DBG_DWORD_ENABLE_K2_E5 \
1021 	0x610144UL
1022 #define BMBN_REG_DBG_SHIFT_K2_E5 \
1023 	0x610148UL
1024 #define BMBN_REG_DBG_FORCE_VALID_K2_E5 \
1025 	0x61014cUL
1026 #define BMBN_REG_DBG_FORCE_FRAME_K2_E5 \
1027 	0x610150UL
1028 #define NWM_REG_DBG_SELECT_K2_E5 \
1029 	0x8000ecUL
1030 #define NWM_REG_DBG_DWORD_ENABLE_K2_E5 \
1031 	0x8000f0UL
1032 #define NWM_REG_DBG_SHIFT_K2_E5 \
1033 	0x8000f4UL
1034 #define NWM_REG_DBG_FORCE_VALID_K2_E5 \
1035 	0x8000f8UL
1036 #define NWM_REG_DBG_FORCE_FRAME_K2_E5 \
1037 	0x8000fcUL
1038 #define PBF_REG_DBG_SELECT \
1039 	0xd80060UL
1040 #define PBF_REG_DBG_DWORD_ENABLE \
1041 	0xd80064UL
1042 #define PBF_REG_DBG_SHIFT \
1043 	0xd80068UL
1044 #define PBF_REG_DBG_FORCE_VALID	\
1045 	0xd8006cUL
1046 #define PBF_REG_DBG_FORCE_FRAME	\
1047 	0xd80070UL
1048 #define PBF_PB1_REG_DBG_SELECT \
1049 	0xda0728UL
1050 #define PBF_PB1_REG_DBG_DWORD_ENABLE \
1051 	0xda072cUL
1052 #define PBF_PB1_REG_DBG_SHIFT \
1053 	0xda0730UL
1054 #define PBF_PB1_REG_DBG_FORCE_VALID \
1055 	0xda0734UL
1056 #define PBF_PB1_REG_DBG_FORCE_FRAME \
1057 	0xda0738UL
1058 #define PBF_PB2_REG_DBG_SELECT \
1059 	0xda4728UL
1060 #define PBF_PB2_REG_DBG_DWORD_ENABLE \
1061 	0xda472cUL
1062 #define PBF_PB2_REG_DBG_SHIFT \
1063 	0xda4730UL
1064 #define PBF_PB2_REG_DBG_FORCE_VALID \
1065 	0xda4734UL
1066 #define PBF_PB2_REG_DBG_FORCE_FRAME \
1067 	0xda4738UL
1068 #define BTB_REG_DBG_SELECT \
1069 	0xdb08c8UL
1070 #define BTB_REG_DBG_DWORD_ENABLE \
1071 	0xdb08ccUL
1072 #define BTB_REG_DBG_SHIFT \
1073 	0xdb08d0UL
1074 #define BTB_REG_DBG_FORCE_VALID	\
1075 	0xdb08d4UL
1076 #define BTB_REG_DBG_FORCE_FRAME	\
1077 	0xdb08d8UL
1078 #define XSDM_REG_DBG_SELECT \
1079 	0xf80e28UL
1080 #define XSDM_REG_DBG_DWORD_ENABLE \
1081 	0xf80e2cUL
1082 #define XSDM_REG_DBG_SHIFT \
1083 	0xf80e30UL
1084 #define XSDM_REG_DBG_FORCE_VALID \
1085 	0xf80e34UL
1086 #define XSDM_REG_DBG_FORCE_FRAME \
1087 	0xf80e38UL
1088 #define YSDM_REG_DBG_SELECT \
1089 	0xf90e28UL
1090 #define YSDM_REG_DBG_DWORD_ENABLE \
1091 	0xf90e2cUL
1092 #define YSDM_REG_DBG_SHIFT \
1093 	0xf90e30UL
1094 #define YSDM_REG_DBG_FORCE_VALID \
1095 	0xf90e34UL
1096 #define YSDM_REG_DBG_FORCE_FRAME \
1097 	0xf90e38UL
1098 #define PSDM_REG_DBG_SELECT \
1099 	0xfa0e28UL
1100 #define PSDM_REG_DBG_DWORD_ENABLE \
1101 	0xfa0e2cUL
1102 #define PSDM_REG_DBG_SHIFT \
1103 	0xfa0e30UL
1104 #define PSDM_REG_DBG_FORCE_VALID \
1105 	0xfa0e34UL
1106 #define PSDM_REG_DBG_FORCE_FRAME \
1107 	0xfa0e38UL
1108 #define TSDM_REG_DBG_SELECT \
1109 	0xfb0e28UL
1110 #define TSDM_REG_DBG_DWORD_ENABLE \
1111 	0xfb0e2cUL
1112 #define TSDM_REG_DBG_SHIFT \
1113 	0xfb0e30UL
1114 #define TSDM_REG_DBG_FORCE_VALID \
1115 	0xfb0e34UL
1116 #define TSDM_REG_DBG_FORCE_FRAME \
1117 	0xfb0e38UL
1118 #define MSDM_REG_DBG_SELECT \
1119 	0xfc0e28UL
1120 #define MSDM_REG_DBG_DWORD_ENABLE \
1121 	0xfc0e2cUL
1122 #define MSDM_REG_DBG_SHIFT \
1123 	0xfc0e30UL
1124 #define MSDM_REG_DBG_FORCE_VALID \
1125 	0xfc0e34UL
1126 #define MSDM_REG_DBG_FORCE_FRAME \
1127 	0xfc0e38UL
1128 #define USDM_REG_DBG_SELECT \
1129 	0xfd0e28UL
1130 #define USDM_REG_DBG_DWORD_ENABLE \
1131 	0xfd0e2cUL
1132 #define USDM_REG_DBG_SHIFT \
1133 	0xfd0e30UL
1134 #define USDM_REG_DBG_FORCE_VALID \
1135 	0xfd0e34UL
1136 #define USDM_REG_DBG_FORCE_FRAME \
1137 	0xfd0e38UL
1138 #define XCM_REG_DBG_SELECT \
1139 	0x1000040UL
1140 #define XCM_REG_DBG_DWORD_ENABLE \
1141 	0x1000044UL
1142 #define XCM_REG_DBG_SHIFT \
1143 	0x1000048UL
1144 #define XCM_REG_DBG_FORCE_VALID	\
1145 	0x100004cUL
1146 #define XCM_REG_DBG_FORCE_FRAME	\
1147 	0x1000050UL
1148 #define YCM_REG_DBG_SELECT \
1149 	0x1080040UL
1150 #define YCM_REG_DBG_DWORD_ENABLE \
1151 	0x1080044UL
1152 #define YCM_REG_DBG_SHIFT \
1153 	0x1080048UL
1154 #define YCM_REG_DBG_FORCE_VALID	\
1155 	0x108004cUL
1156 #define YCM_REG_DBG_FORCE_FRAME	\
1157 	0x1080050UL
1158 #define PCM_REG_DBG_SELECT \
1159 	0x1100040UL
1160 #define PCM_REG_DBG_DWORD_ENABLE \
1161 	0x1100044UL
1162 #define PCM_REG_DBG_SHIFT \
1163 	0x1100048UL
1164 #define PCM_REG_DBG_FORCE_VALID	\
1165 	0x110004cUL
1166 #define PCM_REG_DBG_FORCE_FRAME	\
1167 	0x1100050UL
1168 #define TCM_REG_DBG_SELECT \
1169 	0x1180040UL
1170 #define TCM_REG_DBG_DWORD_ENABLE \
1171 	0x1180044UL
1172 #define TCM_REG_DBG_SHIFT \
1173 	0x1180048UL
1174 #define TCM_REG_DBG_FORCE_VALID	\
1175 	0x118004cUL
1176 #define TCM_REG_DBG_FORCE_FRAME	\
1177 	0x1180050UL
1178 #define MCM_REG_DBG_SELECT \
1179 	0x1200040UL
1180 #define MCM_REG_DBG_DWORD_ENABLE \
1181 	0x1200044UL
1182 #define MCM_REG_DBG_SHIFT \
1183 	0x1200048UL
1184 #define MCM_REG_DBG_FORCE_VALID	\
1185 	0x120004cUL
1186 #define MCM_REG_DBG_FORCE_FRAME	\
1187 	0x1200050UL
1188 #define UCM_REG_DBG_SELECT \
1189 	0x1280050UL
1190 #define UCM_REG_DBG_DWORD_ENABLE \
1191 	0x1280054UL
1192 #define UCM_REG_DBG_SHIFT \
1193 	0x1280058UL
1194 #define UCM_REG_DBG_FORCE_VALID	\
1195 	0x128005cUL
1196 #define UCM_REG_DBG_FORCE_FRAME	\
1197 	0x1280060UL
1198 #define XSEM_REG_DBG_SELECT \
1199 	0x1401528UL
1200 #define XSEM_REG_DBG_DWORD_ENABLE \
1201 	0x140152cUL
1202 #define XSEM_REG_DBG_SHIFT \
1203 	0x1401530UL
1204 #define XSEM_REG_DBG_FORCE_VALID \
1205 	0x1401534UL
1206 #define XSEM_REG_DBG_FORCE_FRAME \
1207 	0x1401538UL
1208 #define YSEM_REG_DBG_SELECT \
1209 	0x1501528UL
1210 #define YSEM_REG_DBG_DWORD_ENABLE \
1211 	0x150152cUL
1212 #define YSEM_REG_DBG_SHIFT \
1213 	0x1501530UL
1214 #define YSEM_REG_DBG_FORCE_VALID \
1215 	0x1501534UL
1216 #define YSEM_REG_DBG_FORCE_FRAME \
1217 	0x1501538UL
1218 #define PSEM_REG_DBG_SELECT \
1219 	0x1601528UL
1220 #define PSEM_REG_DBG_DWORD_ENABLE \
1221 	0x160152cUL
1222 #define PSEM_REG_DBG_SHIFT \
1223 	0x1601530UL
1224 #define PSEM_REG_DBG_FORCE_VALID \
1225 	0x1601534UL
1226 #define PSEM_REG_DBG_FORCE_FRAME \
1227 	0x1601538UL
1228 #define TSEM_REG_DBG_SELECT \
1229 	0x1701528UL
1230 #define TSEM_REG_DBG_DWORD_ENABLE \
1231 	0x170152cUL
1232 #define TSEM_REG_DBG_SHIFT \
1233 	0x1701530UL
1234 #define TSEM_REG_DBG_FORCE_VALID \
1235 	0x1701534UL
1236 #define TSEM_REG_DBG_FORCE_FRAME \
1237 	0x1701538UL
1238 #define MSEM_REG_DBG_SELECT \
1239 	0x1801528UL
1240 #define MSEM_REG_DBG_DWORD_ENABLE \
1241 	0x180152cUL
1242 #define MSEM_REG_DBG_SHIFT \
1243 	0x1801530UL
1244 #define MSEM_REG_DBG_FORCE_VALID \
1245 	0x1801534UL
1246 #define MSEM_REG_DBG_FORCE_FRAME \
1247 	0x1801538UL
1248 #define USEM_REG_DBG_SELECT \
1249 	0x1901528UL
1250 #define USEM_REG_DBG_DWORD_ENABLE \
1251 	0x190152cUL
1252 #define USEM_REG_DBG_SHIFT \
1253 	0x1901530UL
1254 #define USEM_REG_DBG_FORCE_VALID \
1255 	0x1901534UL
1256 #define USEM_REG_DBG_FORCE_FRAME \
1257 	0x1901538UL
1258 #define NWS_REG_DBG_SELECT_K2_E5 \
1259 	0x700128UL
1260 #define NWS_REG_DBG_DWORD_ENABLE_K2_E5 \
1261 	0x70012cUL
1262 #define NWS_REG_DBG_SHIFT_K2_E5 \
1263 	0x700130UL
1264 #define NWS_REG_DBG_FORCE_VALID_K2_E5 \
1265 	0x700134UL
1266 #define NWS_REG_DBG_FORCE_FRAME_K2_E5 \
1267 	0x700138UL
1268 #define MS_REG_DBG_SELECT_K2_E5 \
1269 	0x6a0228UL
1270 #define MS_REG_DBG_DWORD_ENABLE_K2_E5 \
1271 	0x6a022cUL
1272 #define MS_REG_DBG_SHIFT_K2_E5 \
1273 	0x6a0230UL
1274 #define MS_REG_DBG_FORCE_VALID_K2_E5 \
1275 	0x6a0234UL
1276 #define MS_REG_DBG_FORCE_FRAME_K2_E5 \
1277 	0x6a0238UL
1278 #define PCIE_REG_DBG_COMMON_SELECT_K2_E5 \
1279 	0x054398UL
1280 #define PCIE_REG_DBG_COMMON_DWORD_ENABLE_K2_E5 \
1281 	0x05439cUL
1282 #define PCIE_REG_DBG_COMMON_SHIFT_K2_E5 \
1283 	0x0543a0UL
1284 #define PCIE_REG_DBG_COMMON_FORCE_VALID_K2_E5 \
1285 	0x0543a4UL
1286 #define PCIE_REG_DBG_COMMON_FORCE_FRAME_K2_E5 \
1287 	0x0543a8UL
1288 #define PTLD_REG_DBG_SELECT_E5 \
1289 	0x5a1600UL
1290 #define PTLD_REG_DBG_DWORD_ENABLE_E5 \
1291 	0x5a1604UL
1292 #define PTLD_REG_DBG_SHIFT_E5 \
1293 	0x5a1608UL
1294 #define PTLD_REG_DBG_FORCE_VALID_E5 \
1295 	0x5a160cUL
1296 #define PTLD_REG_DBG_FORCE_FRAME_E5 \
1297 	0x5a1610UL
1298 #define YPLD_REG_DBG_SELECT_E5 \
1299 	0x5c1600UL
1300 #define YPLD_REG_DBG_DWORD_ENABLE_E5 \
1301 	0x5c1604UL
1302 #define YPLD_REG_DBG_SHIFT_E5 \
1303 	0x5c1608UL
1304 #define YPLD_REG_DBG_FORCE_VALID_E5 \
1305 	0x5c160cUL
1306 #define YPLD_REG_DBG_FORCE_FRAME_E5 \
1307 	0x5c1610UL
1308 #define RGSRC_REG_DBG_SELECT_E5	\
1309 	0x320040UL
1310 #define RGSRC_REG_DBG_DWORD_ENABLE_E5 \
1311 	0x320044UL
1312 #define RGSRC_REG_DBG_SHIFT_E5 \
1313 	0x320048UL
1314 #define RGSRC_REG_DBG_FORCE_VALID_E5 \
1315 	0x32004cUL
1316 #define RGSRC_REG_DBG_FORCE_FRAME_E5 \
1317 	0x320050UL
1318 #define TGSRC_REG_DBG_SELECT_E5	\
1319 	0x322040UL
1320 #define TGSRC_REG_DBG_DWORD_ENABLE_E5 \
1321 	0x322044UL
1322 #define TGSRC_REG_DBG_SHIFT_E5 \
1323 	0x322048UL
1324 #define TGSRC_REG_DBG_FORCE_VALID_E5 \
1325 	0x32204cUL
1326 #define TGSRC_REG_DBG_FORCE_FRAME_E5 \
1327 	0x322050UL
1328 #define MISC_REG_RESET_PL_UA \
1329 	0x008050UL
1330 #define MISC_REG_RESET_PL_HV \
1331 	0x008060UL
1332 #define XCM_REG_CTX_RBC_ACCS \
1333 	0x1001800UL
1334 #define XCM_REG_AGG_CON_CTX \
1335 	0x1001804UL
1336 #define XCM_REG_SM_CON_CTX \
1337 	0x1001808UL
1338 #define YCM_REG_CTX_RBC_ACCS \
1339 	0x1081800UL
1340 #define YCM_REG_AGG_CON_CTX \
1341 	0x1081804UL
1342 #define YCM_REG_AGG_TASK_CTX \
1343 	0x1081808UL
1344 #define YCM_REG_SM_CON_CTX \
1345 	0x108180cUL
1346 #define YCM_REG_SM_TASK_CTX \
1347 	0x1081810UL
1348 #define PCM_REG_CTX_RBC_ACCS \
1349 	0x1101440UL
1350 #define PCM_REG_SM_CON_CTX \
1351 	0x1101444UL
1352 #define TCM_REG_CTX_RBC_ACCS \
1353 	0x11814c0UL
1354 #define TCM_REG_AGG_CON_CTX \
1355 	0x11814c4UL
1356 #define TCM_REG_AGG_TASK_CTX \
1357 	0x11814c8UL
1358 #define TCM_REG_SM_CON_CTX \
1359 	0x11814ccUL
1360 #define TCM_REG_SM_TASK_CTX \
1361 	0x11814d0UL
1362 #define MCM_REG_CTX_RBC_ACCS \
1363 	0x1201800UL
1364 #define MCM_REG_AGG_CON_CTX \
1365 	0x1201804UL
1366 #define MCM_REG_AGG_TASK_CTX \
1367 	0x1201808UL
1368 #define MCM_REG_SM_CON_CTX \
1369 	0x120180cUL
1370 #define MCM_REG_SM_TASK_CTX \
1371 	0x1201810UL
1372 #define UCM_REG_CTX_RBC_ACCS \
1373 	0x1281700UL
1374 #define UCM_REG_AGG_CON_CTX \
1375 	0x1281704UL
1376 #define UCM_REG_AGG_TASK_CTX \
1377 	0x1281708UL
1378 #define UCM_REG_SM_CON_CTX \
1379 	0x128170cUL
1380 #define UCM_REG_SM_TASK_CTX \
1381 	0x1281710UL
1382 #define XSEM_REG_SLOW_DBG_EMPTY_BB_K2	\
1383 	0x1401140UL
1384 #define XSEM_REG_SYNC_DBG_EMPTY	\
1385 	0x1401160UL
1386 #define XSEM_REG_SLOW_DBG_ACTIVE_BB_K2 \
1387 	0x1401400UL
1388 #define XSEM_REG_SLOW_DBG_MODE_BB_K2 \
1389 	0x1401404UL
1390 #define XSEM_REG_DBG_FRAME_MODE_BB_K2	\
1391 	0x1401408UL
1392 #define XSEM_REG_DBG_MODE1_CFG_BB_K2 \
1393 	0x1401420UL
1394 #define XSEM_REG_FAST_MEMORY \
1395 	0x1440000UL
1396 #define YSEM_REG_SYNC_DBG_EMPTY	\
1397 	0x1501160UL
1398 #define YSEM_REG_SLOW_DBG_ACTIVE_BB_K2 \
1399 	0x1501400UL
1400 #define YSEM_REG_SLOW_DBG_MODE_BB_K2 \
1401 	0x1501404UL
1402 #define YSEM_REG_DBG_FRAME_MODE_BB_K2	\
1403 	0x1501408UL
1404 #define YSEM_REG_DBG_MODE1_CFG_BB_K2 \
1405 	0x1501420UL
1406 #define YSEM_REG_FAST_MEMORY \
1407 	0x1540000UL
1408 #define PSEM_REG_SLOW_DBG_EMPTY_BB_K2	\
1409 	0x1601140UL
1410 #define PSEM_REG_SYNC_DBG_EMPTY	\
1411 	0x1601160UL
1412 #define PSEM_REG_SLOW_DBG_ACTIVE_BB_K2 \
1413 	0x1601400UL
1414 #define PSEM_REG_SLOW_DBG_MODE_BB_K2 \
1415 	0x1601404UL
1416 #define PSEM_REG_DBG_FRAME_MODE_BB_K2	\
1417 	0x1601408UL
1418 #define PSEM_REG_DBG_MODE1_CFG_BB_K2 \
1419 	0x1601420UL
1420 #define PSEM_REG_FAST_MEMORY \
1421 	0x1640000UL
1422 #define TSEM_REG_SLOW_DBG_EMPTY_BB_K2	\
1423 	0x1701140UL
1424 #define TSEM_REG_SYNC_DBG_EMPTY	\
1425 	0x1701160UL
1426 #define TSEM_REG_SLOW_DBG_ACTIVE_BB_K2 \
1427 	0x1701400UL
1428 #define TSEM_REG_SLOW_DBG_MODE_BB_K2 \
1429 	0x1701404UL
1430 #define TSEM_REG_DBG_FRAME_MODE_BB_K2	\
1431 	0x1701408UL
1432 #define TSEM_REG_DBG_MODE1_CFG_BB_K2 \
1433 	0x1701420UL
1434 #define TSEM_REG_FAST_MEMORY \
1435 	0x1740000UL
1436 #define MSEM_REG_SLOW_DBG_EMPTY_BB_K2	\
1437 	0x1801140UL
1438 #define MSEM_REG_SYNC_DBG_EMPTY	\
1439 	0x1801160UL
1440 #define MSEM_REG_SLOW_DBG_ACTIVE_BB_K2 \
1441 	0x1801400UL
1442 #define MSEM_REG_SLOW_DBG_MODE_BB_K2 \
1443 	0x1801404UL
1444 #define MSEM_REG_DBG_FRAME_MODE_BB_K2	\
1445 	0x1801408UL
1446 #define MSEM_REG_DBG_MODE1_CFG_BB_K2 \
1447 	0x1801420UL
1448 #define MSEM_REG_FAST_MEMORY \
1449 	0x1840000UL
1450 #define USEM_REG_SLOW_DBG_EMPTY_BB_K2	\
1451 	0x1901140UL
1452 #define USEM_REG_SYNC_DBG_EMPTY	\
1453 	0x1901160UL
1454 #define USEM_REG_SLOW_DBG_ACTIVE_BB_K2 \
1455 	0x1901400UL
1456 #define USEM_REG_SLOW_DBG_MODE_BB_K2 \
1457 	0x1901404UL
1458 #define USEM_REG_DBG_FRAME_MODE_BB_K2	\
1459 	0x1901408UL
1460 #define USEM_REG_DBG_MODE1_CFG_BB_K2 \
1461 	0x1901420UL
1462 #define USEM_REG_FAST_MEMORY \
1463 	0x1940000UL
1464 #define SEM_FAST_REG_INT_RAM \
1465 	0x020000UL
1466 #define SEM_FAST_REG_INT_RAM_SIZE_BB_K2 \
1467 	20480
1468 #define GRC_REG_TRACE_FIFO_VALID_DATA \
1469 	0x050064UL
1470 #define GRC_REG_NUMBER_VALID_OVERRIDE_WINDOW \
1471 	0x05040cUL
1472 #define GRC_REG_PROTECTION_OVERRIDE_WINDOW \
1473 	0x050500UL
1474 #define IGU_REG_ERROR_HANDLING_MEMORY \
1475 	0x181520UL
1476 #define MCP_REG_CPU_MODE \
1477 	0xe05000UL
1478 #define MCP_REG_CPU_MODE_SOFT_HALT \
1479 		(0x1 << 10)
1480 #define BRB_REG_BIG_RAM_ADDRESS \
1481 	0x340800UL
1482 #define BRB_REG_BIG_RAM_DATA \
1483 	0x341500UL
1484 #define BRB_REG_BIG_RAM_DATA_SIZE \
1485 	64
1486 #define SEM_FAST_REG_STALL_0_BB_K2 \
1487 	0x000488UL
1488 #define SEM_FAST_REG_STALLED \
1489 	0x000494UL
1490 #define BTB_REG_BIG_RAM_ADDRESS \
1491 	0xdb0800UL
1492 #define BTB_REG_BIG_RAM_DATA \
1493 	0xdb0c00UL
1494 #define BMB_REG_BIG_RAM_ADDRESS \
1495 	0x540800UL
1496 #define BMB_REG_BIG_RAM_DATA \
1497 	0x540f00UL
1498 #define SEM_FAST_REG_STORM_REG_FILE \
1499 	0x008000UL
1500 #define RSS_REG_RSS_RAM_ADDR \
1501 	0x238c30UL
1502 #define MISCS_REG_BLOCK_256B_EN \
1503 	0x009074UL
1504 #define MCP_REG_SCRATCH_SIZE_BB_K2 \
1505 	57344
1506 #define MCP_REG_CPU_REG_FILE \
1507 	0xe05200UL
1508 #define MCP_REG_CPU_REG_FILE_SIZE \
1509 	32
1510 #define DBG_REG_DEBUG_TARGET \
1511 	0x01005cUL
1512 #define DBG_REG_FULL_MODE \
1513 	0x010060UL
1514 #define DBG_REG_CALENDAR_OUT_DATA \
1515 	0x010480UL
1516 #define GRC_REG_TRACE_FIFO \
1517 	0x050068UL
1518 #define IGU_REG_ERROR_HANDLING_DATA_VALID \
1519 	0x181530UL
1520 #define DBG_REG_DBG_BLOCK_ON \
1521 	0x010454UL
1522 #define DBG_REG_FRAMING_MODE \
1523 	0x010058UL
1524 #define SEM_FAST_REG_VFC_DATA_WR \
1525 	0x000b40UL
1526 #define SEM_FAST_REG_VFC_ADDR \
1527 	0x000b44UL
1528 #define SEM_FAST_REG_VFC_DATA_RD \
1529 	0x000b48UL
1530 #define RSS_REG_RSS_RAM_DATA \
1531 	0x238c20UL
1532 #define RSS_REG_RSS_RAM_DATA_SIZE \
1533 	4
1534 #define MISC_REG_BLOCK_256B_EN \
1535 	0x008c14UL
1536 #define NWS_REG_NWS_CMU_K2	\
1537 	0x720000UL
1538 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_ADDR_7_0_K2_E5 \
1539 	0x000680UL
1540 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_ADDR_15_8_K2_E5 \
1541 	0x000684UL
1542 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_DATA_7_0_K2_E5 \
1543 	0x0006c0UL
1544 #define PHY_NW_IP_REG_PHY0_TOP_TBUS_DATA_11_8_K2_E5 \
1545 	0x0006c4UL
1546 #define MS_REG_MS_CMU_K2_E5 \
1547 	0x6a4000UL
1548 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X130_K2_E5 \
1549 	0x000208UL
1550 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X131_K2_E5 \
1551 	0x00020cUL
1552 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X132_K2_E5 \
1553 	0x000210UL
1554 #define PHY_SGMII_IP_REG_AHB_CMU_CSR_0_X133_K2_E5 \
1555 	0x000214UL
1556 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X130_K2_E5 \
1557 	0x000208UL
1558 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X131_K2_E5 \
1559 	0x00020cUL
1560 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X132_K2_E5 \
1561 	0x000210UL
1562 #define PHY_PCIE_IP_REG_AHB_CMU_CSR_0_X133_K2_E5 \
1563 	0x000214UL
1564 #define PHY_PCIE_REG_PHY0_K2_E5 \
1565 	0x620000UL
1566 #define PHY_PCIE_REG_PHY1_K2_E5 \
1567 	0x624000UL
1568 #define NIG_REG_ROCE_DUPLICATE_TO_HOST 0x5088f0UL
1569 #define PRS_REG_LIGHT_L2_ETHERTYPE_EN 0x1f0968UL
1570 #define NIG_REG_LLH_ENG_CLS_ENG_ID_TBL 0x501b90UL
1571 #define DORQ_REG_PF_DPM_ENABLE 0x100510UL
1572 #define DORQ_REG_PF_ICID_BIT_SHIFT_NORM	0x100448UL
1573 #define DORQ_REG_PF_MIN_ADDR_REG1 0x100400UL
1574 #define DORQ_REG_PF_DPI_BIT_SHIFT 0x100450UL
1575 #define NIG_REG_RX_PTP_EN 0x501900UL
1576 #define NIG_REG_TX_PTP_EN 0x501904UL
1577 #define NIG_REG_LLH_PTP_TO_HOST	0x501908UL
1578 #define NIG_REG_LLH_PTP_TO_MCP 0x50190cUL
1579 #define NIG_REG_PTP_SW_TXTSEN 0x501910UL
1580 #define NIG_REG_LLH_PTP_ETHERTYPE_1 0x501914UL
1581 #define NIG_REG_LLH_PTP_MAC_DA_2_LSB 0x501918UL
1582 #define NIG_REG_LLH_PTP_MAC_DA_2_MSB 0x50191cUL
1583 #define NIG_REG_LLH_PTP_PARAM_MASK 0x501920UL
1584 #define NIG_REG_LLH_PTP_RULE_MASK 0x501924UL
1585 #define NIG_REG_TX_LLH_PTP_PARAM_MASK 0x501928UL
1586 #define NIG_REG_TX_LLH_PTP_RULE_MASK 0x50192cUL
1587 #define NIG_REG_LLH_PTP_HOST_BUF_SEQID 0x501930UL
1588 #define NIG_REG_LLH_PTP_HOST_BUF_TS_LSB 0x501934UL
1589 #define NIG_REG_LLH_PTP_HOST_BUF_TS_MSB	0x501938UL
1590 #define NIG_REG_LLH_PTP_MCP_BUF_SEQID 0x50193cUL
1591 #define NIG_REG_LLH_PTP_MCP_BUF_TS_LSB 0x501940UL
1592 #define NIG_REG_LLH_PTP_MCP_BUF_TS_MSB 0x501944UL
1593 #define NIG_REG_TX_LLH_PTP_BUF_SEQID 0x501948UL
1594 #define NIG_REG_TX_LLH_PTP_BUF_TS_LSB 0x50194cUL
1595 #define NIG_REG_TX_LLH_PTP_BUF_TS_MSB 0x501950UL
1596 #define NIG_REG_RX_PTP_TS_MSB_ERR 0x501954UL
1597 #define NIG_REG_TX_PTP_TS_MSB_ERR 0x501958UL
1598 #define NIG_REG_TSGEN_SYNC_TIME_LSB 0x5088c0UL
1599 #define NIG_REG_TSGEN_SYNC_TIME_MSB 0x5088c4UL
1600 #define NIG_REG_TSGEN_RST_DRIFT_CNTR 0x5088d8UL
1601 #define NIG_REG_TSGEN_DRIFT_CNTR_CONF 0x5088dcUL
1602 #define NIG_REG_TS_OUTPUT_ENABLE_PDA 0x508870UL
1603 #define NIG_REG_TIMESYNC_GEN_REG_BB 0x500d00UL
1604 #define NIG_REG_TSGEN_FREE_CNT_VALUE_LSB 0x5088a8UL
1605 #define NIG_REG_TSGEN_FREE_CNT_VALUE_MSB 0x5088acUL
1606 #define NIG_REG_PTP_LATCH_OSTS_PKT_TIME 0x509040UL
1607 #define PSWRQ2_REG_WR_MBS0 0x240400UL
1608 
1609 #define PGLUE_B_REG_PGL_ADDR_E8_F0_K2 0x2aaf98UL
1610 #define PGLUE_B_REG_PGL_ADDR_EC_F0_K2 0x2aaf9cUL
1611 #define PGLUE_B_REG_PGL_ADDR_F0_F0_K2 0x2aafa0UL
1612 #define PGLUE_B_REG_PGL_ADDR_F4_F0_K2 0x2aafa4UL
1613 #define PGLUE_B_REG_MASTER_WRITE_PAD_ENABLE 0x2aae30UL
1614 #define NIG_REG_TSGEN_FREECNT_UPDATE_K2 0x509008UL
1615 #define CNIG_REG_NIG_PORT0_CONF_K2 0x218200UL
1616 
1617 #define NIG_REG_TX_EDPM_CTRL 0x501f0cUL
1618 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN (0x1 << 0)
1619 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_EN_SHIFT 0
1620 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN (0xff << 1)
1621 #define NIG_REG_TX_EDPM_CTRL_TX_EDPM_TC_EN_SHIFT 1
1622 
1623 #define PRS_REG_SEARCH_GFT 0x1f11bcUL
1624 #define PRS_REG_SEARCH_NON_IP_AS_GFT 0x1f11c0UL
1625 #define PRS_REG_CM_HDR_GFT 0x1f11c8UL
1626 #define PRS_REG_GFT_CAM 0x1f1100UL
1627 #define PRS_REG_GFT_PROFILE_MASK_RAM 0x1f1000UL
1628 #define PRS_REG_CM_HDR_GFT_EVENT_ID_SHIFT 0
1629 #define PRS_REG_CM_HDR_GFT_CM_HDR_SHIFT 8
1630 #define PRS_REG_LOAD_L2_FILTER 0x1f0198UL
1631 
1632 #endif
1633