24 #define ATC_ATC_INT_STS_REG_ADDRESS_ERROR (0x1<<0)
25 #define ATC_ATC_INT_STS_REG_ATC_GPA_MULTIPLE_HITS (0x1<<2)
26 #define ATC_ATC_INT_STS_REG_ATC_IREQ_LESS_THAN_STU (0x1<<5)
27 #define ATC_ATC_INT_STS_REG_ATC_RCPL_TO_EMPTY_CNT (0x1<<3)
28 #define ATC_ATC_INT_STS_REG_ATC_TCPL_ERROR (0x1<<4)
29 #define ATC_ATC_INT_STS_REG_ATC_TCPL_TO_NOT_PEND (0x1<<1)
31 #define ATC_REG_ATC_INIT_ARRAY 0x1100b8
33 #define ATC_REG_ATC_INIT_DONE 0x1100bc
35 #define ATC_REG_ATC_INT_STS_CLR 0x1101c0
37 #define ATC_REG_ATC_PRTY_MASK 0x1101d8
39 #define ATC_REG_ATC_PRTY_STS_CLR 0x1101d0
41 #define BRB1_REG_BRB1_INT_MASK 0x60128
43 #define BRB1_REG_BRB1_INT_STS 0x6011c
45 #define BRB1_REG_BRB1_PRTY_MASK 0x60138
47 #define BRB1_REG_BRB1_PRTY_STS 0x6012c
49 #define BRB1_REG_BRB1_PRTY_STS_CLR 0x60130
57 #define BRB1_REG_FREE_LIST_PRS_CRDT 0x60200
60 #define BRB1_REG_FULL_0_XOFF_THRESHOLD_0 0x601d0
61 #define BRB1_REG_FULL_0_XOFF_THRESHOLD_1 0x60230
64 #define BRB1_REG_FULL_0_XON_THRESHOLD_0 0x601d4
65 #define BRB1_REG_FULL_0_XON_THRESHOLD_1 0x60234
68 #define BRB1_REG_FULL_1_XOFF_THRESHOLD_0 0x601d8
69 #define BRB1_REG_FULL_1_XOFF_THRESHOLD_1 0x60238
72 #define BRB1_REG_FULL_1_XON_THRESHOLD_0 0x601dc
73 #define BRB1_REG_FULL_1_XON_THRESHOLD_1 0x6023c
76 #define BRB1_REG_FULL_LB_XOFF_THRESHOLD 0x601e0
79 #define BRB1_REG_FULL_LB_XON_THRESHOLD 0x601e4
82 #define BRB1_REG_HIGH_LLFC_HIGH_THRESHOLD_0 0x6014c
85 #define BRB1_REG_HIGH_LLFC_LOW_THRESHOLD_0 0x6013c
87 #define BRB1_REG_LB_GUARANTIED 0x601ec
90 #define BRB1_REG_LB_GUARANTIED_HYST 0x60264
92 #define BRB1_REG_LL_RAM 0x61000
95 #define BRB1_REG_LOW_LLFC_HIGH_THRESHOLD_0 0x6016c
98 #define BRB1_REG_LOW_LLFC_LOW_THRESHOLD_0 0x6015c
101 #define BRB1_REG_MAC_0_CLASS_0_GUARANTIED 0x60244
105 #define BRB1_REG_MAC_0_CLASS_0_GUARANTIED_HYST 0x60254
108 #define BRB1_REG_MAC_0_CLASS_1_GUARANTIED 0x60248
112 #define BRB1_REG_MAC_0_CLASS_1_GUARANTIED_HYST 0x60258
115 #define BRB1_REG_MAC_1_CLASS_0_GUARANTIED 0x6024c
119 #define BRB1_REG_MAC_1_CLASS_0_GUARANTIED_HYST 0x6025c
122 #define BRB1_REG_MAC_1_CLASS_1_GUARANTIED 0x60250
126 #define BRB1_REG_MAC_1_CLASS_1_GUARANTIED_HYST 0x60260
129 #define BRB1_REG_MAC_GUARANTIED_0 0x601e8
130 #define BRB1_REG_MAC_GUARANTIED_1 0x60240
132 #define BRB1_REG_NUM_OF_FULL_BLOCKS 0x60090
135 #define BRB1_REG_NUM_OF_FULL_CYCLES_0 0x600c8
136 #define BRB1_REG_NUM_OF_FULL_CYCLES_1 0x600cc
137 #define BRB1_REG_NUM_OF_FULL_CYCLES_4 0x600d8
140 #define BRB1_REG_NUM_OF_PAUSE_CYCLES_0 0x600b8
141 #define BRB1_REG_NUM_OF_PAUSE_CYCLES_1 0x600bc
144 #define BRB1_REG_PAUSE_0_XOFF_THRESHOLD_0 0x601c0
145 #define BRB1_REG_PAUSE_0_XOFF_THRESHOLD_1 0x60220
148 #define BRB1_REG_PAUSE_0_XON_THRESHOLD_0 0x601c4
149 #define BRB1_REG_PAUSE_0_XON_THRESHOLD_1 0x60224
152 #define BRB1_REG_PAUSE_1_XOFF_THRESHOLD_0 0x601c8
153 #define BRB1_REG_PAUSE_1_XOFF_THRESHOLD_1 0x60228
156 #define BRB1_REG_PAUSE_1_XON_THRESHOLD_0 0x601cc
157 #define BRB1_REG_PAUSE_1_XON_THRESHOLD_1 0x6022c
159 #define BRB1_REG_PAUSE_HIGH_THRESHOLD_0 0x60078
160 #define BRB1_REG_PAUSE_HIGH_THRESHOLD_1 0x6007c
162 #define BRB1_REG_PAUSE_LOW_THRESHOLD_0 0x60068
166 #define BRB1_REG_PER_CLASS_GUARANTY_MODE 0x60268
168 #define BRB1_REG_PORT_NUM_OCC_BLOCKS_0 0x60094
170 #define BRB1_REG_SOFT_RESET 0x600dc
172 #define CCM_REG_CAM_OCCUP 0xd0188
176 #define CCM_REG_CCM_CFC_IFEN 0xd003c
180 #define CCM_REG_CCM_CQM_IFEN 0xd000c
183 #define CCM_REG_CCM_CQM_USE_Q 0xd00c0
185 #define CCM_REG_CCM_INT_MASK 0xd01e4
187 #define CCM_REG_CCM_INT_STS 0xd01d8
189 #define CCM_REG_CCM_PRTY_MASK 0xd01f4
191 #define CCM_REG_CCM_PRTY_STS 0xd01e8
193 #define CCM_REG_CCM_PRTY_STS_CLR 0xd01ec
198 #define CCM_REG_CCM_REG0_SZ 0xd00c4
202 #define CCM_REG_CCM_STORM0_IFEN 0xd0004
206 #define CCM_REG_CCM_STORM1_IFEN 0xd0008
210 #define CCM_REG_CDU_AG_RD_IFEN 0xd0030
214 #define CCM_REG_CDU_AG_WR_IFEN 0xd002c
218 #define CCM_REG_CDU_SM_RD_IFEN 0xd0038
222 #define CCM_REG_CDU_SM_WR_IFEN 0xd0034
226 #define CCM_REG_CFC_INIT_CRD 0xd0204
228 #define CCM_REG_CNT_AUX1_Q 0xd00c8
230 #define CCM_REG_CNT_AUX2_Q 0xd00cc
232 #define CCM_REG_CQM_CCM_HDR_P 0xd008c
234 #define CCM_REG_CQM_CCM_HDR_S 0xd0090
238 #define CCM_REG_CQM_CCM_IFEN 0xd0014
242 #define CCM_REG_CQM_INIT_CRD 0xd020c
246 #define CCM_REG_CQM_P_WEIGHT 0xd00b8
250 #define CCM_REG_CQM_S_WEIGHT 0xd00bc
254 #define CCM_REG_CSDM_IFEN 0xd0018
257 #define CCM_REG_CSDM_LENGTH_MIS 0xd0170
261 #define CCM_REG_CSDM_WEIGHT 0xd00b4
264 #define CCM_REG_ERR_CCM_HDR 0xd0094
266 #define CCM_REG_ERR_EVNT_ID 0xd0098
270 #define CCM_REG_FIC0_INIT_CRD 0xd0210
274 #define CCM_REG_FIC1_INIT_CRD 0xd0214
280 #define CCM_REG_GR_ARB_TYPE 0xd015c
285 #define CCM_REG_GR_LD0_PR 0xd0164
290 #define CCM_REG_GR_LD1_PR 0xd0168
292 #define CCM_REG_INV_DONE_Q 0xd0108
298 #define CCM_REG_N_SM_CTX_LD_0 0xd004c
299 #define CCM_REG_N_SM_CTX_LD_1 0xd0050
300 #define CCM_REG_N_SM_CTX_LD_2 0xd0054
301 #define CCM_REG_N_SM_CTX_LD_3 0xd0058
302 #define CCM_REG_N_SM_CTX_LD_4 0xd005c
306 #define CCM_REG_PBF_IFEN 0xd0028
309 #define CCM_REG_PBF_LENGTH_MIS 0xd0180
313 #define CCM_REG_PBF_WEIGHT 0xd00ac
314 #define CCM_REG_PHYS_QNUM1_0 0xd0134
315 #define CCM_REG_PHYS_QNUM1_1 0xd0138
316 #define CCM_REG_PHYS_QNUM2_0 0xd013c
317 #define CCM_REG_PHYS_QNUM2_1 0xd0140
318 #define CCM_REG_PHYS_QNUM3_0 0xd0144
319 #define CCM_REG_PHYS_QNUM3_1 0xd0148
320 #define CCM_REG_QOS_PHYS_QNUM0_0 0xd0114
321 #define CCM_REG_QOS_PHYS_QNUM0_1 0xd0118
322 #define CCM_REG_QOS_PHYS_QNUM1_0 0xd011c
323 #define CCM_REG_QOS_PHYS_QNUM1_1 0xd0120
324 #define CCM_REG_QOS_PHYS_QNUM2_0 0xd0124
325 #define CCM_REG_QOS_PHYS_QNUM2_1 0xd0128
326 #define CCM_REG_QOS_PHYS_QNUM3_0 0xd012c
327 #define CCM_REG_QOS_PHYS_QNUM3_1 0xd0130
331 #define CCM_REG_STORM_CCM_IFEN 0xd0010
334 #define CCM_REG_STORM_LENGTH_MIS 0xd016c
339 #define CCM_REG_STORM_WEIGHT 0xd009c
343 #define CCM_REG_TSEM_IFEN 0xd001c
346 #define CCM_REG_TSEM_LENGTH_MIS 0xd0174
350 #define CCM_REG_TSEM_WEIGHT 0xd00a0
354 #define CCM_REG_USEM_IFEN 0xd0024
357 #define CCM_REG_USEM_LENGTH_MIS 0xd017c
361 #define CCM_REG_USEM_WEIGHT 0xd00a8
365 #define CCM_REG_XSEM_IFEN 0xd0020
368 #define CCM_REG_XSEM_LENGTH_MIS 0xd0178
372 #define CCM_REG_XSEM_WEIGHT 0xd00a4
376 #define CCM_REG_XX_DESCR_TABLE 0xd0300
377 #define CCM_REG_XX_DESCR_TABLE_SIZE 24
379 #define CCM_REG_XX_FREE 0xd0184
385 #define CCM_REG_XX_INIT_CRD 0xd0220
390 #define CCM_REG_XX_MSG_NUM 0xd0224
392 #define CCM_REG_XX_OVFL_EVNT_ID 0xd0044
396 #define CCM_REG_XX_TABLE 0xd0280
397 #define CDU_REG_CDU_CHK_MASK0 0x101000
398 #define CDU_REG_CDU_CHK_MASK1 0x101004
399 #define CDU_REG_CDU_CONTROL0 0x101008
400 #define CDU_REG_CDU_DEBUG 0x101010
401 #define CDU_REG_CDU_GLOBAL_PARAMS 0x101020
403 #define CDU_REG_CDU_INT_MASK 0x10103c
405 #define CDU_REG_CDU_INT_STS 0x101030
407 #define CDU_REG_CDU_PRTY_MASK 0x10104c
409 #define CDU_REG_CDU_PRTY_STS 0x101040
411 #define CDU_REG_CDU_PRTY_STS_CLR 0x101044
415 #define CDU_REG_ERROR_DATA 0x101014
419 #define CDU_REG_L1TT 0x101800
422 #define CDU_REG_MATT 0x101100
424 #define CDU_REG_MF_MODE 0x101050
427 #define CFC_REG_AC_INIT_DONE 0x104078
429 #define CFC_REG_ACTIVITY_COUNTER 0x104400
430 #define CFC_REG_ACTIVITY_COUNTER_SIZE 256
432 #define CFC_REG_CAM_INIT_DONE 0x10407c
434 #define CFC_REG_CFC_INT_MASK 0x104108
436 #define CFC_REG_CFC_INT_STS 0x1040fc
438 #define CFC_REG_CFC_INT_STS_CLR 0x104100
440 #define CFC_REG_CFC_PRTY_MASK 0x104118
442 #define CFC_REG_CFC_PRTY_STS 0x10410c
444 #define CFC_REG_CFC_PRTY_STS_CLR 0x104110
446 #define CFC_REG_CID_CAM 0x104800
447 #define CFC_REG_CONTROL0 0x104028
448 #define CFC_REG_DEBUG0 0x104050
451 #define CFC_REG_DISABLE_ON_ERROR 0x104044
455 #define CFC_REG_ERROR_VECTOR 0x10403c
457 #define CFC_REG_INFO_RAM 0x105000
458 #define CFC_REG_INFO_RAM_SIZE 1024
459 #define CFC_REG_INIT_REG 0x10404c
460 #define CFC_REG_INTERFACES 0x104058
464 #define CFC_REG_LCREQ_WEIGHTS 0x104084
466 #define CFC_REG_LINK_LIST 0x104c00
467 #define CFC_REG_LINK_LIST_SIZE 256
469 #define CFC_REG_LL_INIT_DONE 0x104074
471 #define CFC_REG_NUM_LCIDS_ALLOC 0x104020
473 #define CFC_REG_NUM_LCIDS_ARRIVING 0x104004
474 #define CFC_REG_NUM_LCIDS_INSIDE_PF 0x104120
476 #define CFC_REG_NUM_LCIDS_LEAVING 0x104018
477 #define CFC_REG_WEAK_ENABLE_PF 0x104124
479 #define CSDM_REG_AGG_INT_EVENT_0 0xc2038
480 #define CSDM_REG_AGG_INT_EVENT_10 0xc2060
481 #define CSDM_REG_AGG_INT_EVENT_11 0xc2064
482 #define CSDM_REG_AGG_INT_EVENT_12 0xc2068
483 #define CSDM_REG_AGG_INT_EVENT_13 0xc206c
484 #define CSDM_REG_AGG_INT_EVENT_14 0xc2070
485 #define CSDM_REG_AGG_INT_EVENT_15 0xc2074
486 #define CSDM_REG_AGG_INT_EVENT_16 0xc2078
487 #define CSDM_REG_AGG_INT_EVENT_2 0xc2040
488 #define CSDM_REG_AGG_INT_EVENT_3 0xc2044
489 #define CSDM_REG_AGG_INT_EVENT_4 0xc2048
490 #define CSDM_REG_AGG_INT_EVENT_5 0xc204c
491 #define CSDM_REG_AGG_INT_EVENT_6 0xc2050
492 #define CSDM_REG_AGG_INT_EVENT_7 0xc2054
493 #define CSDM_REG_AGG_INT_EVENT_8 0xc2058
494 #define CSDM_REG_AGG_INT_EVENT_9 0xc205c
497 #define CSDM_REG_AGG_INT_MODE_10 0xc21e0
498 #define CSDM_REG_AGG_INT_MODE_11 0xc21e4
499 #define CSDM_REG_AGG_INT_MODE_12 0xc21e8
500 #define CSDM_REG_AGG_INT_MODE_13 0xc21ec
501 #define CSDM_REG_AGG_INT_MODE_14 0xc21f0
502 #define CSDM_REG_AGG_INT_MODE_15 0xc21f4
503 #define CSDM_REG_AGG_INT_MODE_16 0xc21f8
504 #define CSDM_REG_AGG_INT_MODE_6 0xc21d0
505 #define CSDM_REG_AGG_INT_MODE_7 0xc21d4
506 #define CSDM_REG_AGG_INT_MODE_8 0xc21d8
507 #define CSDM_REG_AGG_INT_MODE_9 0xc21dc
509 #define CSDM_REG_CFC_RSP_START_ADDR 0xc2008
511 #define CSDM_REG_CMP_COUNTER_MAX0 0xc201c
513 #define CSDM_REG_CMP_COUNTER_MAX1 0xc2020
515 #define CSDM_REG_CMP_COUNTER_MAX2 0xc2024
517 #define CSDM_REG_CMP_COUNTER_MAX3 0xc2028
520 #define CSDM_REG_CMP_COUNTER_START_ADDR 0xc200c
522 #define CSDM_REG_CSDM_INT_MASK_0 0xc229c
523 #define CSDM_REG_CSDM_INT_MASK_1 0xc22ac
525 #define CSDM_REG_CSDM_INT_STS_0 0xc2290
526 #define CSDM_REG_CSDM_INT_STS_1 0xc22a0
528 #define CSDM_REG_CSDM_PRTY_MASK 0xc22bc
530 #define CSDM_REG_CSDM_PRTY_STS 0xc22b0
532 #define CSDM_REG_CSDM_PRTY_STS_CLR 0xc22b4
533 #define CSDM_REG_ENABLE_IN1 0xc2238
534 #define CSDM_REG_ENABLE_IN2 0xc223c
535 #define CSDM_REG_ENABLE_OUT1 0xc2240
536 #define CSDM_REG_ENABLE_OUT2 0xc2244
539 #define CSDM_REG_INIT_CREDIT_PXP_CTRL 0xc24bc
541 #define CSDM_REG_NUM_OF_ACK_AFTER_PLACE 0xc227c
543 #define CSDM_REG_NUM_OF_PKT_END_MSG 0xc2274
545 #define CSDM_REG_NUM_OF_PXP_ASYNC_REQ 0xc2278
547 #define CSDM_REG_NUM_OF_Q0_CMD 0xc2248
549 #define CSDM_REG_NUM_OF_Q10_CMD 0xc226c
551 #define CSDM_REG_NUM_OF_Q11_CMD 0xc2270
553 #define CSDM_REG_NUM_OF_Q1_CMD 0xc224c
555 #define CSDM_REG_NUM_OF_Q3_CMD 0xc2250
557 #define CSDM_REG_NUM_OF_Q4_CMD 0xc2254
559 #define CSDM_REG_NUM_OF_Q5_CMD 0xc2258
561 #define CSDM_REG_NUM_OF_Q6_CMD 0xc225c
563 #define CSDM_REG_NUM_OF_Q7_CMD 0xc2260
565 #define CSDM_REG_NUM_OF_Q8_CMD 0xc2264
567 #define CSDM_REG_NUM_OF_Q9_CMD 0xc2268
569 #define CSDM_REG_Q_COUNTER_START_ADDR 0xc2010
571 #define CSDM_REG_RSP_PXP_CTRL_RDATA_EMPTY 0xc2548
573 #define CSDM_REG_SYNC_PARSER_EMPTY 0xc2550
575 #define CSDM_REG_SYNC_SYNC_EMPTY 0xc2558
578 #define CSDM_REG_TIMER_TICK 0xc2000
580 #define CSEM_REG_ARB_CYCLE_SIZE 0x200034
584 #define CSEM_REG_ARB_ELEMENT0 0x200020
589 #define CSEM_REG_ARB_ELEMENT1 0x200024
595 #define CSEM_REG_ARB_ELEMENT2 0x200028
602 #define CSEM_REG_ARB_ELEMENT3 0x20002c
610 #define CSEM_REG_ARB_ELEMENT4 0x200030
612 #define CSEM_REG_CSEM_INT_MASK_0 0x200110
613 #define CSEM_REG_CSEM_INT_MASK_1 0x200120
615 #define CSEM_REG_CSEM_INT_STS_0 0x200104
616 #define CSEM_REG_CSEM_INT_STS_1 0x200114
618 #define CSEM_REG_CSEM_PRTY_MASK_0 0x200130
619 #define CSEM_REG_CSEM_PRTY_MASK_1 0x200140
621 #define CSEM_REG_CSEM_PRTY_STS_0 0x200124
622 #define CSEM_REG_CSEM_PRTY_STS_1 0x200134
624 #define CSEM_REG_CSEM_PRTY_STS_CLR_0 0x200128
625 #define CSEM_REG_CSEM_PRTY_STS_CLR_1 0x200138
626 #define CSEM_REG_ENABLE_IN 0x2000a4
627 #define CSEM_REG_ENABLE_OUT 0x2000a8
632 #define CSEM_REG_FAST_MEMORY 0x220000
635 #define CSEM_REG_FIC0_DISABLE 0x200224
638 #define CSEM_REG_FIC1_DISABLE 0x200234
641 #define CSEM_REG_INT_TABLE 0x200400
644 #define CSEM_REG_MSG_NUM_FIC0 0x200000
647 #define CSEM_REG_MSG_NUM_FIC1 0x200004
650 #define CSEM_REG_MSG_NUM_FOC0 0x200008
653 #define CSEM_REG_MSG_NUM_FOC1 0x20000c
656 #define CSEM_REG_MSG_NUM_FOC2 0x200010
659 #define CSEM_REG_MSG_NUM_FOC3 0x200014
662 #define CSEM_REG_PAS_DISABLE 0x20024c
664 #define CSEM_REG_PASSIVE_BUFFER 0x202000
666 #define CSEM_REG_PRAM 0x240000
668 #define CSEM_REG_SLEEP_THREADS_VALID 0x20026c
670 #define CSEM_REG_SLOW_EXT_STORE_EMPTY 0x2002a0
672 #define CSEM_REG_THREADS_LIST 0x2002e4
674 #define CSEM_REG_TS_0_AS 0x200038
676 #define CSEM_REG_TS_10_AS 0x200060
678 #define CSEM_REG_TS_11_AS 0x200064
680 #define CSEM_REG_TS_12_AS 0x200068
682 #define CSEM_REG_TS_13_AS 0x20006c
684 #define CSEM_REG_TS_14_AS 0x200070
686 #define CSEM_REG_TS_15_AS 0x200074
688 #define CSEM_REG_TS_16_AS 0x200078
690 #define CSEM_REG_TS_17_AS 0x20007c
692 #define CSEM_REG_TS_18_AS 0x200080
694 #define CSEM_REG_TS_1_AS 0x20003c
696 #define CSEM_REG_TS_2_AS 0x200040
698 #define CSEM_REG_TS_3_AS 0x200044
700 #define CSEM_REG_TS_4_AS 0x200048
702 #define CSEM_REG_TS_5_AS 0x20004c
704 #define CSEM_REG_TS_6_AS 0x200050
706 #define CSEM_REG_TS_7_AS 0x200054
708 #define CSEM_REG_TS_8_AS 0x200058
710 #define CSEM_REG_TS_9_AS 0x20005c
713 #define CSEM_REG_VFPF_ERR_NUM 0x200380
715 #define DBG_REG_DBG_PRTY_MASK 0xc0a8
717 #define DBG_REG_DBG_PRTY_STS 0xc09c
719 #define DBG_REG_DBG_PRTY_STS_CLR 0xc0a0
723 #define DMAE_REG_BACKWARD_COMP_EN 0x10207c
726 #define DMAE_REG_CMD_MEM 0x102400
727 #define DMAE_REG_CMD_MEM_SIZE 224
730 #define DMAE_REG_CRC16C_INIT 0x10201c
733 #define DMAE_REG_CRC16T10_INIT 0x102020
735 #define DMAE_REG_DMAE_INT_MASK 0x102054
737 #define DMAE_REG_DMAE_PRTY_MASK 0x102064
739 #define DMAE_REG_DMAE_PRTY_STS 0x102058
741 #define DMAE_REG_DMAE_PRTY_STS_CLR 0x10205c
743 #define DMAE_REG_GO_C0 0x102080
745 #define DMAE_REG_GO_C1 0x102084
747 #define DMAE_REG_GO_C10 0x102088
749 #define DMAE_REG_GO_C11 0x10208c
751 #define DMAE_REG_GO_C12 0x102090
753 #define DMAE_REG_GO_C13 0x102094
755 #define DMAE_REG_GO_C14 0x102098
757 #define DMAE_REG_GO_C15 0x10209c
759 #define DMAE_REG_GO_C2 0x1020a0
761 #define DMAE_REG_GO_C3 0x1020a4
763 #define DMAE_REG_GO_C4 0x1020a8
765 #define DMAE_REG_GO_C5 0x1020ac
767 #define DMAE_REG_GO_C6 0x1020b0
769 #define DMAE_REG_GO_C7 0x1020b4
771 #define DMAE_REG_GO_C8 0x1020b8
773 #define DMAE_REG_GO_C9 0x1020bc
777 #define DMAE_REG_GRC_IFEN 0x102008
781 #define DMAE_REG_PCI_IFEN 0x102004
785 #define DMAE_REG_PXP_REQ_INIT_CRD 0x1020c0
787 #define DORQ_REG_AGG_CMD0 0x170060
789 #define DORQ_REG_AGG_CMD1 0x170064
791 #define DORQ_REG_AGG_CMD2 0x170068
793 #define DORQ_REG_AGG_CMD3 0x17006c
795 #define DORQ_REG_CMHEAD_RX 0x170050
797 #define DORQ_REG_DB_ADDR0 0x17008c
799 #define DORQ_REG_DORQ_INT_MASK 0x170180
801 #define DORQ_REG_DORQ_INT_STS 0x170174
803 #define DORQ_REG_DORQ_INT_STS_CLR 0x170178
805 #define DORQ_REG_DORQ_PRTY_MASK 0x170190
807 #define DORQ_REG_DORQ_PRTY_STS 0x170184
809 #define DORQ_REG_DORQ_PRTY_STS_CLR 0x170188
811 #define DORQ_REG_DPM_CID_ADDR 0x170044
813 #define DORQ_REG_DPM_CID_OFST 0x170030
815 #define DORQ_REG_DQ_FIFO_AFULL_TH 0x17007c
817 #define DORQ_REG_DQ_FIFO_FULL_TH 0x170078
821 #define DORQ_REG_DQ_FILL_LVLF 0x1700a4
824 #define DORQ_REG_DQ_FULL_ST 0x1700c0
826 #define DORQ_REG_ERR_CMHEAD 0x170058
827 #define DORQ_REG_IF_EN 0x170004
828 #define DORQ_REG_MODE_ACT 0x170008
830 #define DORQ_REG_NORM_CID_OFST 0x17002c
832 #define DORQ_REG_NORM_CMHEAD_TX 0x17004c
835 #define DORQ_REG_OUTST_REQ 0x17003c
836 #define DORQ_REG_PF_USAGE_CNT 0x1701d0
837 #define DORQ_REG_REGN 0x170038
841 #define DORQ_REG_RSPA_CRD_CNT 0x1700ac
845 #define DORQ_REG_RSPB_CRD_CNT 0x1700b0
849 #define DORQ_REG_RSP_INIT_CRD 0x170048
852 #define DORQ_REG_SHRT_ACT_CNT 0x170070
854 #define DORQ_REG_SHRT_CMHEAD 0x170054
855 #define HC_CONFIG_0_REG_ATTN_BIT_EN_0 (0x1<<4)
856 #define HC_CONFIG_0_REG_BLOCK_DISABLE_0 (0x1<<0)
857 #define HC_CONFIG_0_REG_INT_LINE_EN_0 (0x1<<3)
858 #define HC_CONFIG_0_REG_MSI_ATTN_EN_0 (0x1<<7)
859 #define HC_CONFIG_0_REG_MSI_MSIX_INT_EN_0 (0x1<<2)
860 #define HC_CONFIG_0_REG_SINGLE_ISR_EN_0 (0x1<<1)
861 #define HC_CONFIG_1_REG_BLOCK_DISABLE_1 (0x1<<0)
862 #define HC_REG_AGG_INT_0 0x108050
863 #define HC_REG_AGG_INT_1 0x108054
864 #define HC_REG_ATTN_BIT 0x108120
865 #define HC_REG_ATTN_IDX 0x108100
866 #define HC_REG_ATTN_MSG0_ADDR_L 0x108018
867 #define HC_REG_ATTN_MSG1_ADDR_L 0x108020
868 #define HC_REG_ATTN_NUM_P0 0x108038
869 #define HC_REG_ATTN_NUM_P1 0x10803c
870 #define HC_REG_COMMAND_REG 0x108180
871 #define HC_REG_CONFIG_0 0x108000
872 #define HC_REG_CONFIG_1 0x108004
873 #define HC_REG_FUNC_NUM_P0 0x1080ac
874 #define HC_REG_FUNC_NUM_P1 0x1080b0
876 #define HC_REG_HC_PRTY_MASK 0x1080a0
878 #define HC_REG_HC_PRTY_STS 0x108094
880 #define HC_REG_HC_PRTY_STS_CLR 0x108098
881 #define HC_REG_INT_MASK 0x108108
882 #define HC_REG_LEADING_EDGE_0 0x108040
883 #define HC_REG_LEADING_EDGE_1 0x108048
884 #define HC_REG_MAIN_MEMORY 0x108800
885 #define HC_REG_MAIN_MEMORY_SIZE 152
886 #define HC_REG_P0_PROD_CONS 0x108200
887 #define HC_REG_P1_PROD_CONS 0x108400
888 #define HC_REG_PBA_COMMAND 0x108140
889 #define HC_REG_PCI_CONFIG_0 0x108010
890 #define HC_REG_PCI_CONFIG_1 0x108014
891 #define HC_REG_STATISTIC_COUNTERS 0x109000
892 #define HC_REG_TRAILING_EDGE_0 0x108044
893 #define HC_REG_TRAILING_EDGE_1 0x10804c
894 #define HC_REG_UC_RAM_ADDR_0 0x108028
895 #define HC_REG_UC_RAM_ADDR_1 0x108030
896 #define HC_REG_USTORM_ADDR_FOR_COALESCE 0x108068
897 #define HC_REG_VQID_0 0x108008
898 #define HC_REG_VQID_1 0x10800c
899 #define IGU_BLOCK_CONFIGURATION_REG_BACKWARD_COMP_EN (0x1<<1)
900 #define IGU_BLOCK_CONFIGURATION_REG_BLOCK_ENABLE (0x1<<0)
901 #define IGU_REG_ATTENTION_ACK_BITS 0x130108
903 #define IGU_REG_ATTN_FSM 0x130054
904 #define IGU_REG_ATTN_MSG_ADDR_H 0x13011c
905 #define IGU_REG_ATTN_MSG_ADDR_L 0x130120
909 #define IGU_REG_ATTN_WRITE_DONE_PENDING 0x130030
910 #define IGU_REG_BLOCK_CONFIGURATION 0x130000
911 #define IGU_REG_COMMAND_REG_32LSB_DATA 0x130124
912 #define IGU_REG_COMMAND_REG_CTRL 0x13012c
916 #define IGU_REG_CSTORM_TYPE_0_SB_CLEANUP 0x130200
918 #define IGU_REG_CTRL_FSM 0x130064
921 #define IGU_REG_ERROR_HANDLING_DATA_VALID 0x130130
923 #define IGU_REG_IGU_PRTY_MASK 0x1300a8
925 #define IGU_REG_IGU_PRTY_STS 0x13009c
927 #define IGU_REG_IGU_PRTY_STS_CLR 0x1300a0
929 #define IGU_REG_INT_HANDLE_FSM 0x130050
930 #define IGU_REG_LEADING_EDGE_LATCH 0x130134
934 #define IGU_REG_MAPPING_MEMORY 0x131000
935 #define IGU_REG_MAPPING_MEMORY_SIZE 136
936 #define IGU_REG_PBA_STATUS_LSB 0x130138
937 #define IGU_REG_PBA_STATUS_MSB 0x13013c
938 #define IGU_REG_PCI_PF_MSI_EN 0x130140
939 #define IGU_REG_PCI_PF_MSIX_EN 0x130144
940 #define IGU_REG_PCI_PF_MSIX_FUNC_MASK 0x130148
945 #define IGU_REG_PENDING_BITS_STATUS 0x130300
946 #define IGU_REG_PF_CONFIGURATION 0x130154
957 #define IGU_REG_PROD_CONS_MEMORY 0x132000
959 #define IGU_REG_PXP_ARB_FSM 0x130068
964 #define IGU_REG_RESET_MEMORIES 0x130158
966 #define IGU_REG_SB_CTRL_FSM 0x13004c
967 #define IGU_REG_SB_INT_BEFORE_MASK_LSB 0x13015c
968 #define IGU_REG_SB_INT_BEFORE_MASK_MSB 0x130160
969 #define IGU_REG_SB_MASK_LSB 0x130164
970 #define IGU_REG_SB_MASK_MSB 0x130168
975 #define IGU_REG_SILENT_DROP 0x13016c
979 #define IGU_REG_STATISTIC_NUM_MESSAGE_SENT 0x130800
982 #define IGU_REG_TIMER_MASKING_VALUE 0x13003c
983 #define IGU_REG_TRAILING_EDGE_LATCH 0x130104
984 #define IGU_REG_VF_CONFIGURATION 0x130170
988 #define IGU_REG_WRITE_DONE_PENDING 0x130480
989 #define MCP_A_REG_MCPR_SCRATCH 0x3a0000
990 #define MCP_REG_MCPR_ACCESS_LOCK 0x8009c
991 #define MCP_REG_MCPR_CPU_PROGRAM_COUNTER 0x8501c
992 #define MCP_REG_MCPR_GP_INPUTS 0x800c0
993 #define MCP_REG_MCPR_GP_OENABLE 0x800c8
994 #define MCP_REG_MCPR_GP_OUTPUTS 0x800c4
995 #define MCP_REG_MCPR_IMC_COMMAND 0x85900
996 #define MCP_REG_MCPR_IMC_DATAREG0 0x85920
997 #define MCP_REG_MCPR_IMC_SLAVE_CONTROL 0x85904
998 #define MCP_REG_MCPR_CPU_PROGRAM_COUNTER 0x8501c
999 #define MCP_REG_MCPR_NVM_ACCESS_ENABLE 0x86424
1000 #define MCP_REG_MCPR_NVM_ADDR 0x8640c
1001 #define MCP_REG_MCPR_NVM_CFG4 0x8642c
1002 #define MCP_REG_MCPR_NVM_COMMAND 0x86400
1003 #define MCP_REG_MCPR_NVM_READ 0x86410
1004 #define MCP_REG_MCPR_NVM_SW_ARB 0x86420
1005 #define MCP_REG_MCPR_NVM_WRITE 0x86408
1006 #define MCP_REG_MCPR_SCRATCH 0xa0000
1007 #define MISC_AEU_GENERAL_MASK_REG_AEU_NIG_CLOSE_MASK (0x1<<1)
1008 #define MISC_AEU_GENERAL_MASK_REG_AEU_PXP_CLOSE_MASK (0x1<<0)
1022 #define MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 0xa42c
1023 #define MISC_REG_AEU_AFTER_INVERT_1_FUNC_1 0xa430
1037 #define MISC_REG_AEU_AFTER_INVERT_1_MCP 0xa434
1051 #define MISC_REG_AEU_AFTER_INVERT_2_FUNC_0 0xa438
1052 #define MISC_REG_AEU_AFTER_INVERT_2_FUNC_1 0xa43c
1065 #define MISC_REG_AEU_AFTER_INVERT_2_MCP 0xa440
1079 #define MISC_REG_AEU_AFTER_INVERT_3_FUNC_0 0xa444
1080 #define MISC_REG_AEU_AFTER_INVERT_3_FUNC_1 0xa448
1093 #define MISC_REG_AEU_AFTER_INVERT_3_MCP 0xa44c
1106 #define MISC_REG_AEU_AFTER_INVERT_4_FUNC_0 0xa450
1107 #define MISC_REG_AEU_AFTER_INVERT_4_FUNC_1 0xa454
1120 #define MISC_REG_AEU_AFTER_INVERT_4_MCP 0xa458
1125 #define MISC_REG_AEU_AFTER_INVERT_5_FUNC_0 0xa700
1136 #define MISC_REG_AEU_CLR_LATCH_SIGNAL 0xa45c
1150 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_0 0xa06c
1151 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_1 0xa07c
1152 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_2 0xa08c
1153 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_3 0xa09c
1154 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_5 0xa0bc
1155 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_6 0xa0cc
1156 #define MISC_REG_AEU_ENABLE1_FUNC_0_OUT_7 0xa0dc
1170 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_0 0xa10c
1171 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_1 0xa11c
1172 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_2 0xa12c
1173 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_3 0xa13c
1174 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_5 0xa15c
1175 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_6 0xa16c
1176 #define MISC_REG_AEU_ENABLE1_FUNC_1_OUT_7 0xa17c
1190 #define MISC_REG_AEU_ENABLE1_NIG_0 0xa0ec
1191 #define MISC_REG_AEU_ENABLE1_NIG_1 0xa18c
1205 #define MISC_REG_AEU_ENABLE1_PXP_0 0xa0fc
1206 #define MISC_REG_AEU_ENABLE1_PXP_1 0xa19c
1220 #define MISC_REG_AEU_ENABLE2_FUNC_0_OUT_0 0xa070
1221 #define MISC_REG_AEU_ENABLE2_FUNC_0_OUT_1 0xa080
1235 #define MISC_REG_AEU_ENABLE2_FUNC_1_OUT_0 0xa110
1236 #define MISC_REG_AEU_ENABLE2_FUNC_1_OUT_1 0xa120
1250 #define MISC_REG_AEU_ENABLE2_NIG_0 0xa0f0
1251 #define MISC_REG_AEU_ENABLE2_NIG_1 0xa190
1265 #define MISC_REG_AEU_ENABLE2_PXP_0 0xa100
1266 #define MISC_REG_AEU_ENABLE2_PXP_1 0xa1a0
1280 #define MISC_REG_AEU_ENABLE3_FUNC_0_OUT_0 0xa074
1281 #define MISC_REG_AEU_ENABLE3_FUNC_0_OUT_1 0xa084
1295 #define MISC_REG_AEU_ENABLE3_FUNC_1_OUT_0 0xa114
1296 #define MISC_REG_AEU_ENABLE3_FUNC_1_OUT_1 0xa124
1310 #define MISC_REG_AEU_ENABLE3_NIG_0 0xa0f4
1311 #define MISC_REG_AEU_ENABLE3_NIG_1 0xa194
1325 #define MISC_REG_AEU_ENABLE3_PXP_0 0xa104
1326 #define MISC_REG_AEU_ENABLE3_PXP_1 0xa1a4
1339 #define MISC_REG_AEU_ENABLE4_FUNC_0_OUT_0 0xa078
1340 #define MISC_REG_AEU_ENABLE4_FUNC_0_OUT_2 0xa098
1341 #define MISC_REG_AEU_ENABLE4_FUNC_0_OUT_4 0xa0b8
1342 #define MISC_REG_AEU_ENABLE4_FUNC_0_OUT_5 0xa0c8
1343 #define MISC_REG_AEU_ENABLE4_FUNC_0_OUT_6 0xa0d8
1344 #define MISC_REG_AEU_ENABLE4_FUNC_0_OUT_7 0xa0e8
1357 #define MISC_REG_AEU_ENABLE4_FUNC_1_OUT_0 0xa118
1358 #define MISC_REG_AEU_ENABLE4_FUNC_1_OUT_2 0xa138
1359 #define MISC_REG_AEU_ENABLE4_FUNC_1_OUT_4 0xa158
1360 #define MISC_REG_AEU_ENABLE4_FUNC_1_OUT_5 0xa168
1361 #define MISC_REG_AEU_ENABLE4_FUNC_1_OUT_6 0xa178
1362 #define MISC_REG_AEU_ENABLE4_FUNC_1_OUT_7 0xa188
1375 #define MISC_REG_AEU_ENABLE4_NIG_0 0xa0f8
1376 #define MISC_REG_AEU_ENABLE4_NIG_1 0xa198
1389 #define MISC_REG_AEU_ENABLE4_PXP_0 0xa108
1390 #define MISC_REG_AEU_ENABLE4_PXP_1 0xa1a8
1396 #define MISC_REG_AEU_ENABLE5_FUNC_0_OUT_0 0xa688
1402 #define MISC_REG_AEU_ENABLE5_FUNC_1_OUT_0 0xa6b0
1405 #define MISC_REG_AEU_GENERAL_ATTN_0 0xa000
1406 #define MISC_REG_AEU_GENERAL_ATTN_1 0xa004
1407 #define MISC_REG_AEU_GENERAL_ATTN_10 0xa028
1408 #define MISC_REG_AEU_GENERAL_ATTN_11 0xa02c
1409 #define MISC_REG_AEU_GENERAL_ATTN_12 0xa030
1410 #define MISC_REG_AEU_GENERAL_ATTN_2 0xa008
1411 #define MISC_REG_AEU_GENERAL_ATTN_3 0xa00c
1412 #define MISC_REG_AEU_GENERAL_ATTN_4 0xa010
1413 #define MISC_REG_AEU_GENERAL_ATTN_5 0xa014
1414 #define MISC_REG_AEU_GENERAL_ATTN_6 0xa018
1415 #define MISC_REG_AEU_GENERAL_ATTN_7 0xa01c
1416 #define MISC_REG_AEU_GENERAL_ATTN_8 0xa020
1417 #define MISC_REG_AEU_GENERAL_ATTN_9 0xa024
1418 #define MISC_REG_AEU_GENERAL_MASK 0xa61c
1432 #define MISC_REG_AEU_INVERTER_1_FUNC_0 0xa22c
1433 #define MISC_REG_AEU_INVERTER_1_FUNC_1 0xa23c
1447 #define MISC_REG_AEU_INVERTER_2_FUNC_0 0xa230
1448 #define MISC_REG_AEU_INVERTER_2_FUNC_1 0xa240
1451 #define MISC_REG_AEU_MASK_ATTN_FUNC_0 0xa060
1452 #define MISC_REG_AEU_MASK_ATTN_FUNC_1 0xa064
1454 #define MISC_REG_AEU_SYS_KILL_OCCURRED 0xa610
1469 #define MISC_REG_AEU_SYS_KILL_STATUS_0 0xa600
1470 #define MISC_REG_AEU_SYS_KILL_STATUS_1 0xa604
1471 #define MISC_REG_AEU_SYS_KILL_STATUS_2 0xa608
1472 #define MISC_REG_AEU_SYS_KILL_STATUS_3 0xa60c
1475 #define MISC_REG_BOND_ID 0xa400
1479 #define MISC_REG_CHIP_METAL 0xa404
1481 #define MISC_REG_CHIP_NUM 0xa408
1485 #define MISC_REG_CHIP_REV 0xa40c
1489 #define MISC_REG_CHIP_TYPE 0xac60
1490 #define MISC_REG_CHIP_TYPE_57811_MASK (1<<1)
1491 #define MISC_REG_CPMU_LP_DR_ENABLE 0xa858
1495 #define MISC_REG_CPMU_LP_FW_ENABLE_P0 0xa84c
1498 #define MISC_REG_CPMU_LP_IDLE_THR_P0 0xa8a0
1549 #define MISC_REG_CPMU_LP_MASK_ENT_P0 0xa880
1601 #define MISC_REG_CPMU_LP_MASK_EXT_P0 0xa888
1605 #define MISC_REG_CPMU_LP_SM_ENT_CNT_P0 0xa8b8
1609 #define MISC_REG_CPMU_LP_SM_ENT_CNT_P1 0xa8bc
1626 #define MISC_REG_DRIVER_CONTROL_1 0xa510
1627 #define MISC_REG_DRIVER_CONTROL_7 0xa3c8
1630 #define MISC_REG_E1HMF_MODE 0xa5f8
1632 #define MISC_REG_FOUR_PORT_PATH_SWAP 0xa75c
1638 #define MISC_REG_FOUR_PORT_PATH_SWAP_OVWR 0xa738
1640 #define MISC_REG_FOUR_PORT_PORT_SWAP 0xa754
1646 #define MISC_REG_FOUR_PORT_PORT_SWAP_OVWR 0xa734
1648 #define MISC_REG_GENERIC_CR_0 0xa460
1649 #define MISC_REG_GENERIC_CR_1 0xa464
1651 #define MISC_REG_GENERIC_POR_1 0xa474
1661 #define MISC_REG_GEN_PURP_HWG 0xa9a0
1678 #define MISC_REG_GPIO 0xa490
1683 #define MISC_REG_GPIO_EVENT_EN 0xa2bc
1701 #define MISC_REG_GPIO_INT 0xa494
1707 #define MISC_REG_GRC_RSV_ATTN 0xa3c0
1713 #define MISC_REG_GRC_TIMEOUT_ATTN 0xa3c4
1719 #define MISC_REG_GRC_TIMEOUT_EN 0xa280
1748 #define MISC_REG_LCPLL_CTRL_1 0xa2a4
1749 #define MISC_REG_LCPLL_CTRL_REG_2 0xa2a8
1752 #define MISC_REG_LCPLL_E40_PWRDWN 0xaa74
1754 #define MISC_REG_LCPLL_E40_RESETB_ANA 0xaa78
1757 #define MISC_REG_LCPLL_E40_RESETB_DIG 0xaa7c
1759 #define MISC_REG_MISC_INT_MASK 0xa388
1761 #define MISC_REG_MISC_PRTY_MASK 0xa398
1763 #define MISC_REG_MISC_PRTY_STS 0xa38c
1765 #define MISC_REG_MISC_PRTY_STS_CLR 0xa390
1766 #define MISC_REG_NIG_WOL_P0 0xa270
1767 #define MISC_REG_NIG_WOL_P1 0xa274
1770 #define MISC_REG_PCIE_HOT_RESET 0xa618
1788 #define MISC_REG_PLL_STORM_CTRL_1 0xa294
1789 #define MISC_REG_PLL_STORM_CTRL_2 0xa298
1790 #define MISC_REG_PLL_STORM_CTRL_3 0xa29c
1791 #define MISC_REG_PLL_STORM_CTRL_4 0xa2a0
1793 #define MISC_REG_PORT4MODE_EN 0xa750
1799 #define MISC_REG_PORT4MODE_EN_OVWR 0xa720
1814 #define MISC_REG_RESET_REG_1 0xa580
1815 #define MISC_REG_RESET_REG_2 0xa590
1818 #define MISC_REG_SHARED_MEM_ADDR 0xa2b4
1844 #define MISC_REG_SPIO 0xa4fc
1848 #define MISC_REG_SPIO_EVENT_EN 0xa2b8
1864 #define MISC_REG_SPIO_INT 0xa500
1868 #define MISC_REG_SW_TIMER_RELOAD_VAL_4 0xa2fc
1872 #define MISC_REG_SW_TIMER_VAL 0xa5c0
1874 #define MISC_REG_TWO_PORT_PATH_SWAP 0xa758
1880 #define MISC_REG_TWO_PORT_PATH_SWAP_OVWR 0xa72c
1883 #define MISC_REG_UNPREPARED 0xa424
1884 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_BRCST (0x1<<0)
1885 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_MLCST (0x1<<1)
1886 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_NO_VLAN (0x1<<4)
1887 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_UNCST (0x1<<2)
1888 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_VLAN (0x1<<3)
1893 #define MISC_REG_WC0_CTRL_PHY_ADDR 0xa9cc
1894 #define MISC_REG_WC0_RESET 0xac30
1902 #define MISC_REG_XMAC_CORE_PORT_MODE 0xa964
1908 #define MISC_REG_XMAC_PHY_PORT_MODE 0xa960
1911 #define MSTAT_REG_RX_STAT_GR64_LO 0x200
1914 #define MSTAT_REG_TX_STAT_GTXPOK_LO 0
1915 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_BRCST (0x1<<0)
1916 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_MLCST (0x1<<1)
1917 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_NO_VLAN (0x1<<4)
1918 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_UNCST (0x1<<2)
1919 #define NIG_LLH0_BRB1_DRV_MASK_REG_LLH0_BRB1_DRV_MASK_VLAN (0x1<<3)
1920 #define NIG_LLH0_XCM_MASK_REG_LLH0_XCM_MASK_BCN (0x1<<0)
1921 #define NIG_LLH1_XCM_MASK_REG_LLH1_XCM_MASK_BCN (0x1<<0)
1922 #define NIG_MASK_INTERRUPT_PORT0_REG_MASK_EMAC0_MISC_MI_INT (0x1<<0)
1923 #define NIG_MASK_INTERRUPT_PORT0_REG_MASK_SERDES0_LINK_STATUS (0x1<<9)
1924 #define NIG_MASK_INTERRUPT_PORT0_REG_MASK_XGXS0_LINK10G (0x1<<15)
1925 #define NIG_MASK_INTERRUPT_PORT0_REG_MASK_XGXS0_LINK_STATUS (0xf<<18)
1927 #define NIG_REG_BMAC0_IN_EN 0x100ac
1929 #define NIG_REG_BMAC0_OUT_EN 0x100e0
1931 #define NIG_REG_BMAC0_PAUSE_OUT_EN 0x10110
1933 #define NIG_REG_BMAC0_REGS_OUT_EN 0x100e8
1935 #define NIG_REG_BRB0_OUT_EN 0x100f8
1937 #define NIG_REG_BRB0_PAUSE_IN_EN 0x100c4
1939 #define NIG_REG_BRB1_OUT_EN 0x100fc
1941 #define NIG_REG_BRB1_PAUSE_IN_EN 0x100c8
1943 #define NIG_REG_BRB_LB_OUT_EN 0x10100
1947 #define NIG_REG_DEBUG_PACKET_LB 0x10800
1949 #define NIG_REG_EGRESS_DEBUG_IN_EN 0x100dc
1954 #define NIG_REG_EGRESS_DRAIN0_MODE 0x10060
1956 #define NIG_REG_EGRESS_EMAC0_OUT_EN 0x10120
1959 #define NIG_REG_EGRESS_EMAC0_PORT 0x10058
1961 #define NIG_REG_EGRESS_PBF0_IN_EN 0x100cc
1963 #define NIG_REG_EGRESS_PBF1_IN_EN 0x100d0
1965 #define NIG_REG_EGRESS_UMP0_IN_EN 0x100d4
1967 #define NIG_REG_EMAC0_IN_EN 0x100a4
1969 #define NIG_REG_EMAC0_PAUSE_OUT_EN 0x10118
1973 #define NIG_REG_EMAC0_STATUS_MISC_MI_INT 0x10494
1978 #define NIG_REG_INGRESS_BMAC0_MEM 0x10c00
1983 #define NIG_REG_INGRESS_BMAC1_MEM 0x11000
1985 #define NIG_REG_INGRESS_EOP_LB_EMPTY 0x104e0
1988 #define NIG_REG_INGRESS_EOP_LB_FIFO 0x104e4
1992 #define NIG_REG_LATCH_BC_0 0x16210
2006 #define NIG_REG_LATCH_STATUS_0 0x18000
2008 #define NIG_REG_LED_10G_P0 0x10320
2010 #define NIG_REG_LED_10G_P1 0x10324
2015 #define NIG_REG_LED_CONTROL_BLINK_RATE_ENA_P0 0x10318
2019 #define NIG_REG_LED_CONTROL_BLINK_RATE_P0 0x10310
2027 #define NIG_REG_LED_CONTROL_BLINK_TRAFFIC_P0 0x10308
2032 #define NIG_REG_LED_CONTROL_OVERRIDE_TRAFFIC_P0 0x102f8
2039 #define NIG_REG_LED_CONTROL_TRAFFIC_P0 0x10300
2042 #define NIG_REG_LED_MODE_P0 0x102f0
2045 #define NIG_REG_LLFC_EGRESS_SRC_ENABLE_0 0x16070
2046 #define NIG_REG_LLFC_EGRESS_SRC_ENABLE_1 0x16074
2050 #define NIG_REG_LLFC_ENABLE_0 0x16208
2051 #define NIG_REG_LLFC_ENABLE_1 0x1620c
2053 #define NIG_REG_LLFC_HIGH_PRIORITY_CLASSES_0 0x16058
2054 #define NIG_REG_LLFC_HIGH_PRIORITY_CLASSES_1 0x1605c
2056 #define NIG_REG_LLFC_LOW_PRIORITY_CLASSES_0 0x16060
2057 #define NIG_REG_LLFC_LOW_PRIORITY_CLASSES_1 0x16064
2059 #define NIG_REG_LLFC_OUT_EN_0 0x160c8
2060 #define NIG_REG_LLFC_OUT_EN_1 0x160cc
2061 #define NIG_REG_LLH0_ACPI_PAT_0_CRC 0x1015c
2062 #define NIG_REG_LLH0_ACPI_PAT_6_LEN 0x10154
2063 #define NIG_REG_LLH0_BRB1_DRV_MASK 0x10244
2064 #define NIG_REG_LLH0_BRB1_DRV_MASK_MF 0x16048
2066 #define NIG_REG_LLH0_BRB1_NOT_MCP 0x1025c
2070 #define NIG_REG_LLH0_CLS_TYPE 0x16080
2072 #define NIG_REG_LLH0_CM_HEADER 0x1007c
2073 #define NIG_REG_LLH0_DEST_IP_0_1 0x101dc
2074 #define NIG_REG_LLH0_DEST_MAC_0_0 0x101c0
2077 #define NIG_REG_LLH0_DEST_TCP_0 0x10220
2080 #define NIG_REG_LLH0_DEST_UDP_0 0x10214
2081 #define NIG_REG_LLH0_ERROR_MASK 0x1008c
2083 #define NIG_REG_LLH0_EVENT_ID 0x10084
2084 #define NIG_REG_LLH0_FUNC_EN 0x160fc
2085 #define NIG_REG_LLH0_FUNC_MEM 0x16180
2086 #define NIG_REG_LLH0_FUNC_MEM_ENABLE 0x16140
2087 #define NIG_REG_LLH0_FUNC_VLAN_ID 0x16100
2090 #define NIG_REG_LLH0_IPV4_IPV6_0 0x10208
2092 #define NIG_REG_LLH0_T_BIT 0x10074
2094 #define NIG_REG_LLH0_VLAN_ID_0 0x1022c
2096 #define NIG_REG_LLH0_XCM_INIT_CREDIT 0x10554
2097 #define NIG_REG_LLH0_XCM_MASK 0x10130
2098 #define NIG_REG_LLH1_BRB1_DRV_MASK 0x10248
2100 #define NIG_REG_LLH1_BRB1_NOT_MCP 0x102dc
2104 #define NIG_REG_LLH1_CLS_TYPE 0x16084
2106 #define NIG_REG_LLH1_CM_HEADER 0x10080
2107 #define NIG_REG_LLH1_ERROR_MASK 0x10090
2109 #define NIG_REG_LLH1_EVENT_ID 0x10088
2110 #define NIG_REG_LLH1_FUNC_MEM 0x161c0
2111 #define NIG_REG_LLH1_FUNC_MEM_ENABLE 0x16160
2112 #define NIG_REG_LLH1_FUNC_MEM_SIZE 16
2116 #define NIG_REG_LLH1_MF_MODE 0x18614
2118 #define NIG_REG_LLH1_XCM_INIT_CREDIT 0x10564
2119 #define NIG_REG_LLH1_XCM_MASK 0x10134
2122 #define NIG_REG_LLH_E1HOV_MODE 0x160d8
2125 #define NIG_REG_LLH_MF_MODE 0x16024
2126 #define NIG_REG_MASK_INTERRUPT_PORT0 0x10330
2127 #define NIG_REG_MASK_INTERRUPT_PORT1 0x10334
2129 #define NIG_REG_NIG_EMAC0_EN 0x1003c
2131 #define NIG_REG_NIG_EMAC1_EN 0x10040
2134 #define NIG_REG_NIG_INGRESS_EMAC0_NO_CRC 0x10044
2136 #define NIG_REG_NIG_INT_STS_0 0x103b0
2137 #define NIG_REG_NIG_INT_STS_1 0x103c0
2139 #define NIG_REG_NIG_PRTY_MASK 0x103dc
2141 #define NIG_REG_NIG_PRTY_MASK_0 0x183c8
2142 #define NIG_REG_NIG_PRTY_MASK_1 0x183d8
2144 #define NIG_REG_NIG_PRTY_STS 0x103d0
2146 #define NIG_REG_NIG_PRTY_STS_0 0x183bc
2147 #define NIG_REG_NIG_PRTY_STS_1 0x183cc
2149 #define NIG_REG_NIG_PRTY_STS_CLR 0x103d4
2151 #define NIG_REG_NIG_PRTY_STS_CLR_0 0x183c0
2152 #define NIG_REG_NIG_PRTY_STS_CLR_1 0x183d0
2153 #define MCPR_IMC_COMMAND_ENABLE (1L<<31)
2154 #define MCPR_IMC_COMMAND_IMC_STATUS_BITSHIFT 16
2155 #define MCPR_IMC_COMMAND_OPERATION_BITSHIFT 28
2156 #define MCPR_IMC_COMMAND_TRANSFER_ADDRESS_BITSHIFT 8
2159 #define NIG_REG_P0_HDRS_AFTER_BASIC 0x18038
2163 #define NIG_REG_P0_HWPFC_ENABLE 0x18078
2164 #define NIG_REG_P0_LLH_FUNC_MEM2 0x18480
2165 #define NIG_REG_P0_LLH_FUNC_MEM2_ENABLE 0x18440
2167 #define NIG_REG_P0_MAC_IN_EN 0x185ac
2169 #define NIG_REG_P0_MAC_OUT_EN 0x185b0
2171 #define NIG_REG_P0_MAC_PAUSE_OUT_EN 0x185b4
2177 #define NIG_REG_P0_PKT_PRIORITY_TO_COS 0x18054
2182 #define NIG_REG_P0_RX_COS0_PRIORITY_MASK 0x18058
2187 #define NIG_REG_P0_RX_COS1_PRIORITY_MASK 0x1805c
2192 #define NIG_REG_P0_RX_COS2_PRIORITY_MASK 0x186b0
2197 #define NIG_REG_P0_RX_COS3_PRIORITY_MASK 0x186b4
2202 #define NIG_REG_P0_RX_COS4_PRIORITY_MASK 0x186b8
2207 #define NIG_REG_P0_RX_COS5_PRIORITY_MASK 0x186bc
2213 #define NIG_REG_P0_TX_ARB_CLIENT_CREDIT_MAP 0x180f0
2223 #define NIG_REG_P0_TX_ARB_CLIENT_CREDIT_MAP2_LSB 0x18688
2233 #define NIG_REG_P0_TX_ARB_CLIENT_CREDIT_MAP2_MSB 0x1868c
2238 #define NIG_REG_P0_TX_ARB_CLIENT_IS_STRICT 0x180e8
2243 #define NIG_REG_P0_TX_ARB_CLIENT_IS_SUBJECT2WFQ 0x180ec
2246 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_0 0x1810c
2247 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_1 0x18110
2248 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_2 0x18114
2249 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_3 0x18118
2250 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_4 0x1811c
2251 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_5 0x186a0
2252 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_6 0x186a4
2253 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_7 0x186a8
2254 #define NIG_REG_P0_TX_ARB_CREDIT_UPPER_BOUND_8 0x186ac
2257 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_0 0x180f8
2258 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_1 0x180fc
2259 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_2 0x18100
2260 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_3 0x18104
2261 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_4 0x18108
2262 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_5 0x18690
2263 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_6 0x18694
2264 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_7 0x18698
2265 #define NIG_REG_P0_TX_ARB_CREDIT_WEIGHT_8 0x1869c
2270 #define NIG_REG_P0_TX_ARB_NUM_STRICT_ARB_SLOTS 0x180f4
2279 #define NIG_REG_P0_TX_ARB_PRIORITY_CLIENT 0x180e4
2282 #define NIG_REG_P1_HDRS_AFTER_BASIC 0x1818c
2283 #define NIG_REG_P1_LLH_FUNC_MEM2 0x184c0
2284 #define NIG_REG_P1_LLH_FUNC_MEM2_ENABLE 0x18460
2294 #define NIG_REG_P0_TX_ARB_PRIORITY_CLIENT2_LSB 0x18680
2304 #define NIG_REG_P0_TX_ARB_PRIORITY_CLIENT2_MSB 0x18684
2305 #define NIG_REG_P1_HWPFC_ENABLE 0x181d0
2306 #define NIG_REG_P1_MAC_IN_EN 0x185c0
2308 #define NIG_REG_P1_MAC_OUT_EN 0x185c4
2310 #define NIG_REG_P1_MAC_PAUSE_OUT_EN 0x185c8
2316 #define NIG_REG_P1_PKT_PRIORITY_TO_COS 0x181a8
2321 #define NIG_REG_P1_RX_COS0_PRIORITY_MASK 0x181ac
2326 #define NIG_REG_P1_RX_COS1_PRIORITY_MASK 0x181b0
2331 #define NIG_REG_P1_RX_COS2_PRIORITY_MASK 0x186f8
2333 #define NIG_REG_P1_RX_MACFIFO_EMPTY 0x1858c
2335 #define NIG_REG_P1_TLLH_FIFO_EMPTY 0x18338
2348 #define NIG_REG_P1_TX_ARB_CLIENT_CREDIT_MAP2_LSB 0x186e8
2361 #define NIG_REG_P1_TX_ARB_CLIENT_CREDIT_MAP2_MSB 0x186ec
2368 #define NIG_REG_P1_TX_ARB_CLIENT_IS_STRICT 0x18234
2375 #define NIG_REG_P1_TX_ARB_CLIENT_IS_SUBJECT2WFQ 0x18238
2376 #define NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_0 0x18258
2377 #define NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_1 0x1825c
2378 #define NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_2 0x18260
2379 #define NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_3 0x18264
2380 #define NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_4 0x18268
2381 #define NIG_REG_P1_TX_ARB_CREDIT_UPPER_BOUND_5 0x186f4
2384 #define NIG_REG_P1_TX_ARB_CREDIT_WEIGHT_0 0x18244
2385 #define NIG_REG_P1_TX_ARB_CREDIT_WEIGHT_1 0x18248
2386 #define NIG_REG_P1_TX_ARB_CREDIT_WEIGHT_2 0x1824c
2387 #define NIG_REG_P1_TX_ARB_CREDIT_WEIGHT_3 0x18250
2388 #define NIG_REG_P1_TX_ARB_CREDIT_WEIGHT_4 0x18254
2389 #define NIG_REG_P1_TX_ARB_CREDIT_WEIGHT_5 0x186f0
2394 #define NIG_REG_P1_TX_ARB_NUM_STRICT_ARB_SLOTS 0x18240
2406 #define NIG_REG_P1_TX_ARB_PRIORITY_CLIENT2_LSB 0x186e0
2418 #define NIG_REG_P1_TX_ARB_PRIORITY_CLIENT2_MSB 0x186e4
2420 #define NIG_REG_P1_TX_MACFIFO_EMPTY 0x18594
2423 #define NIG_REG_P1_TX_MNG_HOST_FIFO_EMPTY 0x182b8
2429 #define NIG_REG_PAUSE_ENABLE_0 0x160c0
2430 #define NIG_REG_PAUSE_ENABLE_1 0x160c4
2432 #define NIG_REG_PBF_LB_IN_EN 0x100b4
2435 #define NIG_REG_PORT_SWAP 0x10394
2439 #define NIG_REG_PPP_ENABLE_0 0x160b0
2440 #define NIG_REG_PPP_ENABLE_1 0x160b4
2442 #define NIG_REG_PRS_EOP_OUT_EN 0x10104
2444 #define NIG_REG_PRS_REQ_IN_EN 0x100b8
2446 #define NIG_REG_SERDES0_CTRL_MD_DEVAD 0x10370
2448 #define NIG_REG_SERDES0_CTRL_MD_ST 0x1036c
2450 #define NIG_REG_SERDES0_CTRL_PHY_ADDR 0x10374
2452 #define NIG_REG_SERDES0_STATUS_LINK_STATUS 0x10578
2455 #define NIG_REG_STAT0_BRB_DISCARD 0x105f0
2458 #define NIG_REG_STAT0_BRB_TRUNCATE 0x105f8
2461 #define NIG_REG_STAT0_EGRESS_MAC_PKT0 0x10750
2464 #define NIG_REG_STAT0_EGRESS_MAC_PKT1 0x10760
2467 #define NIG_REG_STAT1_BRB_DISCARD 0x10628
2470 #define NIG_REG_STAT1_EGRESS_MAC_PKT0 0x107a0
2473 #define NIG_REG_STAT1_EGRESS_MAC_PKT1 0x107b0
2475 #define NIG_REG_STAT2_BRB_OCTET 0x107e0
2476 #define NIG_REG_STATUS_INTERRUPT_PORT0 0x10328
2477 #define NIG_REG_STATUS_INTERRUPT_PORT1 0x1032c
2481 #define NIG_REG_STRAP_OVERRIDE 0x10398
2483 #define NIG_REG_XCM0_OUT_EN 0x100f0
2485 #define NIG_REG_XCM1_OUT_EN 0x100f4
2487 #define NIG_REG_XGXS0_CTRL_EXTREMOTEMDIOST 0x10348
2489 #define NIG_REG_XGXS0_CTRL_MD_DEVAD 0x1033c
2491 #define NIG_REG_XGXS0_CTRL_MD_ST 0x10338
2493 #define NIG_REG_XGXS0_CTRL_PHY_ADDR 0x10340
2495 #define NIG_REG_XGXS0_STATUS_LINK10G 0x10680
2497 #define NIG_REG_XGXS0_STATUS_LINK_STATUS 0x10684
2499 #define NIG_REG_XGXS_LANE_SEL_P0 0x102e8
2501 #define NIG_REG_XGXS_SERDES0_MODE_SEL 0x102e0
2502 #define NIG_STATUS_INTERRUPT_PORT0_REG_STATUS_EMAC0_MISC_MI_INT (0x1<<0)
2503 #define NIG_STATUS_INTERRUPT_PORT0_REG_STATUS_SERDES0_LINK_STATUS (0x1<<9)
2504 #define NIG_STATUS_INTERRUPT_PORT0_REG_STATUS_XGXS0_LINK10G (0x1<<15)
2505 #define NIG_STATUS_INTERRUPT_PORT0_REG_STATUS_XGXS0_LINK_STATUS (0xf<<18)
2506 #define NIG_STATUS_INTERRUPT_PORT0_REG_STATUS_XGXS0_LINK_STATUS_SIZE 18
2508 #define PBF_REG_COS0_UPPER_BOUND 0x15c05c
2511 #define PBF_REG_COS0_UPPER_BOUND_P0 0x15c2cc
2514 #define PBF_REG_COS0_UPPER_BOUND_P1 0x15c2e4
2516 #define PBF_REG_COS0_WEIGHT 0x15c054
2518 #define PBF_REG_COS0_WEIGHT_P0 0x15c2a8
2520 #define PBF_REG_COS0_WEIGHT_P1 0x15c2c0
2522 #define PBF_REG_COS1_UPPER_BOUND 0x15c060
2524 #define PBF_REG_COS1_WEIGHT 0x15c058
2526 #define PBF_REG_COS1_WEIGHT_P0 0x15c2ac
2528 #define PBF_REG_COS1_WEIGHT_P1 0x15c2c4
2530 #define PBF_REG_COS2_WEIGHT_P0 0x15c2b0
2532 #define PBF_REG_COS2_WEIGHT_P1 0x15c2c8
2534 #define PBF_REG_COS3_WEIGHT_P0 0x15c2b4
2536 #define PBF_REG_COS4_WEIGHT_P0 0x15c2b8
2538 #define PBF_REG_COS5_WEIGHT_P0 0x15c2bc
2541 #define PBF_REG_CREDIT_LB_Q 0x140338
2544 #define PBF_REG_CREDIT_Q0 0x14033c
2547 #define PBF_REG_CREDIT_Q1 0x140340
2550 #define PBF_REG_DISABLE_NEW_TASK_PROC_P0 0x14005c
2553 #define PBF_REG_DISABLE_NEW_TASK_PROC_P1 0x140060
2556 #define PBF_REG_DISABLE_NEW_TASK_PROC_P4 0x14006c
2557 #define PBF_REG_DISABLE_PF 0x1402e8
2562 #define PBF_REG_ETS_ARB_CLIENT_CREDIT_MAP_P0 0x15c288
2567 #define PBF_REG_ETS_ARB_CLIENT_CREDIT_MAP_P1 0x15c28c
2572 #define PBF_REG_ETS_ARB_CLIENT_IS_STRICT_P0 0x15c278
2577 #define PBF_REG_ETS_ARB_CLIENT_IS_STRICT_P1 0x15c27c
2580 #define PBF_REG_ETS_ARB_CLIENT_IS_SUBJECT2WFQ_P0 0x15c280
2583 #define PBF_REG_ETS_ARB_CLIENT_IS_SUBJECT2WFQ_P1 0x15c284
2588 #define PBF_REG_ETS_ARB_NUM_STRICT_ARB_SLOTS_P0 0x15c2a0
2593 #define PBF_REG_ETS_ARB_NUM_STRICT_ARB_SLOTS_P1 0x15c2a4
2598 #define PBF_REG_ETS_ARB_PRIORITY_CLIENT_P0 0x15c270
2603 #define PBF_REG_ETS_ARB_PRIORITY_CLIENT_P1 0x15c274
2607 #define PBF_REG_ETS_ENABLED 0x15c050
2610 #define PBF_REG_HDRS_AFTER_BASIC 0x15c0a8
2612 #define PBF_REG_HDRS_AFTER_TAG_0 0x15c0b8
2615 #define PBF_REG_HIGH_PRIORITY_COS_NUM 0x15c04c
2616 #define PBF_REG_IF_ENABLE_REG 0x140044
2620 #define PBF_REG_INIT 0x140000
2623 #define PBF_REG_INIT_CRD_LB_Q 0x15c248
2626 #define PBF_REG_INIT_CRD_Q0 0x15c230
2629 #define PBF_REG_INIT_CRD_Q1 0x15c234
2633 #define PBF_REG_INIT_P0 0x140004
2637 #define PBF_REG_INIT_P1 0x140008
2641 #define PBF_REG_INIT_P4 0x14000c
2644 #define PBF_REG_INTERNAL_CRD_FREED_CNT_LB_Q 0x140354
2647 #define PBF_REG_INTERNAL_CRD_FREED_CNT_Q0 0x140358
2650 #define PBF_REG_INTERNAL_CRD_FREED_CNT_Q1 0x14035c
2652 #define PBF_REG_MAC_IF0_ENABLE 0x140030
2654 #define PBF_REG_MAC_IF1_ENABLE 0x140034
2656 #define PBF_REG_MAC_LB_ENABLE 0x140040
2658 #define PBF_REG_MUST_HAVE_HDRS 0x15c0c4
2662 #define PBF_REG_NUM_STRICT_ARB_SLOTS 0x15c064
2665 #define PBF_REG_P0_ARB_THRSH 0x1400e4
2667 #define PBF_REG_P0_CREDIT 0x140200
2670 #define PBF_REG_P0_INIT_CRD 0x1400d0
2673 #define PBF_REG_P0_INTERNAL_CRD_FREED_CNT 0x140308
2675 #define PBF_REG_P0_PAUSE_ENABLE 0x140014
2677 #define PBF_REG_P0_TASK_CNT 0x140204
2680 #define PBF_REG_P0_TQ_LINES_FREED_CNT 0x1402f0
2682 #define PBF_REG_P0_TQ_OCCUPANCY 0x1402fc
2685 #define PBF_REG_P1_CREDIT 0x140208
2688 #define PBF_REG_P1_INIT_CRD 0x1400d4
2691 #define PBF_REG_P1_INTERNAL_CRD_FREED_CNT 0x14030c
2693 #define PBF_REG_P1_TASK_CNT 0x14020c
2696 #define PBF_REG_P1_TQ_LINES_FREED_CNT 0x1402f4
2698 #define PBF_REG_P1_TQ_OCCUPANCY 0x140300
2700 #define PBF_REG_P4_CREDIT 0x140210
2703 #define PBF_REG_P4_INIT_CRD 0x1400e0
2706 #define PBF_REG_P4_INTERNAL_CRD_FREED_CNT 0x140310
2708 #define PBF_REG_P4_TASK_CNT 0x140214
2711 #define PBF_REG_P4_TQ_LINES_FREED_CNT 0x1402f8
2713 #define PBF_REG_P4_TQ_OCCUPANCY 0x140304
2715 #define PBF_REG_PBF_INT_MASK 0x1401d4
2717 #define PBF_REG_PBF_INT_STS 0x1401c8
2719 #define PBF_REG_PBF_PRTY_MASK 0x1401e4
2721 #define PBF_REG_PBF_PRTY_STS_CLR 0x1401dc
2723 #define PBF_REG_TAG_ETHERTYPE_0 0x15c090
2726 #define PBF_REG_TAG_LEN_0 0x15c09c
2729 #define PBF_REG_TQ_LINES_FREED_CNT_LB_Q 0x14038c
2732 #define PBF_REG_TQ_LINES_FREED_CNT_Q0 0x140390
2735 #define PBF_REG_TQ_LINES_FREED_CNT_Q1 0x140394
2738 #define PBF_REG_TQ_OCCUPANCY_LB_Q 0x1403a8
2740 #define PBF_REG_TQ_OCCUPANCY_Q0 0x1403ac
2742 #define PBF_REG_TQ_OCCUPANCY_Q1 0x1403b0
2743 #define PB_REG_CONTROL 0
2745 #define PB_REG_PB_INT_MASK 0x28
2747 #define PB_REG_PB_INT_STS 0x1c
2749 #define PB_REG_PB_PRTY_MASK 0x38
2751 #define PB_REG_PB_PRTY_STS 0x2c
2753 #define PB_REG_PB_PRTY_STS_CLR 0x30
2754 #define PGLUE_B_PGLUE_B_INT_STS_REG_ADDRESS_ERROR (0x1<<0)
2755 #define PGLUE_B_PGLUE_B_INT_STS_REG_CSSNOOP_FIFO_OVERFLOW (0x1<<8)
2756 #define PGLUE_B_PGLUE_B_INT_STS_REG_INCORRECT_RCV_BEHAVIOR (0x1<<1)
2757 #define PGLUE_B_PGLUE_B_INT_STS_REG_TCPL_ERROR_ATTN (0x1<<6)
2758 #define PGLUE_B_PGLUE_B_INT_STS_REG_TCPL_IN_TWO_RCBS_ATTN (0x1<<7)
2759 #define PGLUE_B_PGLUE_B_INT_STS_REG_VF_GRC_SPACE_VIOLATION_ATTN (0x1<<4)
2760 #define PGLUE_B_PGLUE_B_INT_STS_REG_VF_LENGTH_VIOLATION_ATTN (0x1<<3)
2761 #define PGLUE_B_PGLUE_B_INT_STS_REG_VF_MSIX_BAR_VIOLATION_ATTN (0x1<<5)
2762 #define PGLUE_B_PGLUE_B_INT_STS_REG_WAS_ERROR_ATTN (0x1<<2)
2767 #define PGLUE_B_REG_CFG_SPACE_A_REQUEST 0x9010
2772 #define PGLUE_B_REG_CFG_SPACE_B_REQUEST 0x9014
2775 #define PGLUE_B_REG_CSDM_INB_INT_A_PF_ENABLE 0x9194
2778 #define PGLUE_B_REG_CSDM_INB_INT_B_VF 0x916c
2781 #define PGLUE_B_REG_CSDM_INB_INT_B_VF_ENABLE 0x919c
2783 #define PGLUE_B_REG_CSDM_START_OFFSET_A 0x9100
2785 #define PGLUE_B_REG_CSDM_START_OFFSET_B 0x9108
2787 #define PGLUE_B_REG_CSDM_VF_SHIFT_B 0x9110
2789 #define PGLUE_B_REG_CSDM_ZONE_A_SIZE_PF 0x91ac
2794 #define PGLUE_B_REG_FLR_REQUEST_PF_7_0 0x9028
2799 #define PGLUE_B_REG_FLR_REQUEST_PF_7_0_CLR 0x9418
2803 #define PGLUE_B_REG_FLR_REQUEST_VF_127_96 0x9024
2807 #define PGLUE_B_REG_FLR_REQUEST_VF_31_0 0x9018
2811 #define PGLUE_B_REG_FLR_REQUEST_VF_63_32 0x901c
2815 #define PGLUE_B_REG_FLR_REQUEST_VF_95_64 0x9020
2825 #define PGLUE_B_REG_INCORRECT_RCV_DETAILS 0x9068
2826 #define PGLUE_B_REG_INTERNAL_PFID_ENABLE_MASTER 0x942c
2827 #define PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_READ 0x9430
2828 #define PGLUE_B_REG_INTERNAL_PFID_ENABLE_TARGET_WRITE 0x9434
2829 #define PGLUE_B_REG_INTERNAL_VFID_ENABLE 0x9438
2831 #define PGLUE_B_REG_PGLUE_B_INT_STS 0x9298
2833 #define PGLUE_B_REG_PGLUE_B_INT_STS_CLR 0x929c
2835 #define PGLUE_B_REG_PGLUE_B_PRTY_MASK 0x92b4
2837 #define PGLUE_B_REG_PGLUE_B_PRTY_STS 0x92a8
2839 #define PGLUE_B_REG_PGLUE_B_PRTY_STS_CLR 0x92ac
2846 #define PGLUE_B_REG_RX_ERR_DETAILS 0x9080
2853 #define PGLUE_B_REG_RX_TCPL_ERR_DETAILS 0x9084
2858 #define PGLUE_B_REG_SHADOW_BME_PF_7_0_CLR 0x9458
2864 #define PGLUE_B_REG_SR_IOV_DISABLED_REQUEST 0x9030
2868 #define PGLUE_B_REG_TAGS_63_32 0x9244
2871 #define PGLUE_B_REG_TSDM_INB_INT_A_PF_ENABLE 0x9170
2873 #define PGLUE_B_REG_TSDM_START_OFFSET_A 0x90c4
2875 #define PGLUE_B_REG_TSDM_START_OFFSET_B 0x90cc
2877 #define PGLUE_B_REG_TSDM_VF_SHIFT_B 0x90d4
2879 #define PGLUE_B_REG_TSDM_ZONE_A_SIZE_PF 0x91a0
2881 #define PGLUE_B_REG_TX_ERR_RD_ADD_31_0 0x9098
2883 #define PGLUE_B_REG_TX_ERR_RD_ADD_63_32 0x909c
2888 #define PGLUE_B_REG_TX_ERR_RD_DETAILS 0x90a0
2896 #define PGLUE_B_REG_TX_ERR_RD_DETAILS2 0x90a4
2898 #define PGLUE_B_REG_TX_ERR_WR_ADD_31_0 0x9088
2900 #define PGLUE_B_REG_TX_ERR_WR_ADD_63_32 0x908c
2904 #define PGLUE_B_REG_TX_ERR_WR_DETAILS 0x9090
2912 #define PGLUE_B_REG_TX_ERR_WR_DETAILS2 0x9094
2916 #define PGLUE_B_REG_USDM_INB_INT_A_0 0x9128
2917 #define PGLUE_B_REG_USDM_INB_INT_A_1 0x912c
2918 #define PGLUE_B_REG_USDM_INB_INT_A_2 0x9130
2919 #define PGLUE_B_REG_USDM_INB_INT_A_3 0x9134
2920 #define PGLUE_B_REG_USDM_INB_INT_A_4 0x9138
2921 #define PGLUE_B_REG_USDM_INB_INT_A_5 0x913c
2922 #define PGLUE_B_REG_USDM_INB_INT_A_6 0x9140
2925 #define PGLUE_B_REG_USDM_INB_INT_A_PF_ENABLE 0x917c
2928 #define PGLUE_B_REG_USDM_INB_INT_A_VF_ENABLE 0x9180
2931 #define PGLUE_B_REG_USDM_INB_INT_B_VF_ENABLE 0x9184
2933 #define PGLUE_B_REG_USDM_START_OFFSET_A 0x90d8
2935 #define PGLUE_B_REG_USDM_START_OFFSET_B 0x90e0
2937 #define PGLUE_B_REG_USDM_VF_SHIFT_B 0x90e8
2939 #define PGLUE_B_REG_USDM_ZONE_A_SIZE_PF 0x91a4
2946 #define PGLUE_B_REG_VF_GRC_SPACE_VIOLATION_DETAILS 0x9234
2954 #define PGLUE_B_REG_VF_LENGTH_VIOLATION_DETAILS 0x9230
2959 #define PGLUE_B_REG_WAS_ERROR_PF_7_0 0x907c
2963 #define PGLUE_B_REG_WAS_ERROR_PF_7_0_CLR 0x9470
2968 #define PGLUE_B_REG_WAS_ERROR_VF_127_96 0x9078
2972 #define PGLUE_B_REG_WAS_ERROR_VF_127_96_CLR 0x9474
2977 #define PGLUE_B_REG_WAS_ERROR_VF_31_0 0x906c
2981 #define PGLUE_B_REG_WAS_ERROR_VF_31_0_CLR 0x9478
2986 #define PGLUE_B_REG_WAS_ERROR_VF_63_32 0x9070
2990 #define PGLUE_B_REG_WAS_ERROR_VF_63_32_CLR 0x947c
2995 #define PGLUE_B_REG_WAS_ERROR_VF_95_64 0x9074
2999 #define PGLUE_B_REG_WAS_ERROR_VF_95_64_CLR 0x9480
3002 #define PGLUE_B_REG_XSDM_INB_INT_A_PF_ENABLE 0x9188
3004 #define PGLUE_B_REG_XSDM_START_OFFSET_A 0x90ec
3006 #define PGLUE_B_REG_XSDM_START_OFFSET_B 0x90f4
3008 #define PGLUE_B_REG_XSDM_VF_SHIFT_B 0x90fc
3010 #define PGLUE_B_REG_XSDM_ZONE_A_SIZE_PF 0x91a8
3011 #define PRS_REG_A_PRSU_20 0x40134
3013 #define PRS_REG_CFC_LD_CURRENT_CREDIT 0x40164
3015 #define PRS_REG_CFC_SEARCH_CURRENT_CREDIT 0x40168
3018 #define PRS_REG_CFC_SEARCH_INITIAL_CREDIT 0x4011c
3020 #define PRS_REG_CID_PORT_0 0x400fc
3024 #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_0 0x400dc
3025 #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_1 0x400e0
3026 #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_2 0x400e4
3027 #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_3 0x400e8
3028 #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_4 0x400ec
3029 #define PRS_REG_CM_HDR_FLUSH_LOAD_TYPE_5 0x400f0
3033 #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_0 0x400bc
3034 #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_1 0x400c0
3035 #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_2 0x400c4
3036 #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_3 0x400c8
3037 #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_4 0x400cc
3038 #define PRS_REG_CM_HDR_FLUSH_NO_LOAD_TYPE_5 0x400d0
3041 #define PRS_REG_CM_HDR_LOOPBACK_TYPE_1 0x4009c
3042 #define PRS_REG_CM_HDR_LOOPBACK_TYPE_2 0x400a0
3043 #define PRS_REG_CM_HDR_LOOPBACK_TYPE_3 0x400a4
3044 #define PRS_REG_CM_HDR_LOOPBACK_TYPE_4 0x400a8
3047 #define PRS_REG_CM_HDR_TYPE_0 0x40078
3048 #define PRS_REG_CM_HDR_TYPE_1 0x4007c
3049 #define PRS_REG_CM_HDR_TYPE_2 0x40080
3050 #define PRS_REG_CM_HDR_TYPE_3 0x40084
3051 #define PRS_REG_CM_HDR_TYPE_4 0x40088
3053 #define PRS_REG_CM_NO_MATCH_HDR 0x400b8
3055 #define PRS_REG_E1HOV_MODE 0x401c8
3058 #define PRS_REG_EVENT_ID_1 0x40054
3059 #define PRS_REG_EVENT_ID_2 0x40058
3060 #define PRS_REG_EVENT_ID_3 0x4005c
3062 #define PRS_REG_FCOE_TYPE 0x401d0
3065 #define PRS_REG_FLUSH_REGIONS_TYPE_0 0x40004
3066 #define PRS_REG_FLUSH_REGIONS_TYPE_1 0x40008
3067 #define PRS_REG_FLUSH_REGIONS_TYPE_2 0x4000c
3068 #define PRS_REG_FLUSH_REGIONS_TYPE_3 0x40010
3069 #define PRS_REG_FLUSH_REGIONS_TYPE_4 0x40014
3070 #define PRS_REG_FLUSH_REGIONS_TYPE_5 0x40018
3071 #define PRS_REG_FLUSH_REGIONS_TYPE_6 0x4001c
3072 #define PRS_REG_FLUSH_REGIONS_TYPE_7 0x40020
3075 #define PRS_REG_HDRS_AFTER_BASIC 0x40238
3078 #define PRS_REG_HDRS_AFTER_BASIC_PORT_0 0x40270
3079 #define PRS_REG_HDRS_AFTER_BASIC_PORT_1 0x40290
3081 #define PRS_REG_HDRS_AFTER_TAG_0 0x40248
3084 #define PRS_REG_HDRS_AFTER_TAG_0_PORT_0 0x40280
3085 #define PRS_REG_HDRS_AFTER_TAG_0_PORT_1 0x402a0
3087 #define PRS_REG_INC_VALUE 0x40048
3089 #define PRS_REG_MUST_HAVE_HDRS 0x40254
3092 #define PRS_REG_MUST_HAVE_HDRS_PORT_0 0x4028c
3093 #define PRS_REG_MUST_HAVE_HDRS_PORT_1 0x402ac
3094 #define PRS_REG_NIC_MODE 0x40138
3097 #define PRS_REG_NO_MATCH_EVENT_ID 0x40070
3099 #define PRS_REG_NUM_OF_CFC_FLUSH_MESSAGES 0x40128
3102 #define PRS_REG_NUM_OF_DEAD_CYCLES 0x40130
3104 #define PRS_REG_NUM_OF_PACKETS 0x40124
3106 #define PRS_REG_NUM_OF_TRANSPARENT_FLUSH_MESSAGES 0x4012c
3109 #define PRS_REG_PACKET_REGIONS_TYPE_0 0x40028
3110 #define PRS_REG_PACKET_REGIONS_TYPE_1 0x4002c
3111 #define PRS_REG_PACKET_REGIONS_TYPE_2 0x40030
3112 #define PRS_REG_PACKET_REGIONS_TYPE_3 0x40034
3113 #define PRS_REG_PACKET_REGIONS_TYPE_4 0x40038
3114 #define PRS_REG_PACKET_REGIONS_TYPE_5 0x4003c
3115 #define PRS_REG_PACKET_REGIONS_TYPE_6 0x40040
3116 #define PRS_REG_PACKET_REGIONS_TYPE_7 0x40044
3118 #define PRS_REG_PENDING_BRB_CAC0_RQ 0x40174
3120 #define PRS_REG_PENDING_BRB_PRS_RQ 0x40170
3122 #define PRS_REG_PRS_INT_STS 0x40188
3124 #define PRS_REG_PRS_PRTY_MASK 0x401a4
3126 #define PRS_REG_PRS_PRTY_STS 0x40198
3128 #define PRS_REG_PRS_PRTY_STS_CLR 0x4019c
3131 #define PRS_REG_PURE_REGIONS 0x40024
3135 #define PRS_REG_SERIAL_NUM_STATUS_LSB 0x40154
3139 #define PRS_REG_SERIAL_NUM_STATUS_MSB 0x40158
3141 #define PRS_REG_SRC_CURRENT_CREDIT 0x4016c
3143 #define PRS_REG_TAG_ETHERTYPE_0 0x401d4
3146 #define PRS_REG_TAG_LEN_0 0x4022c
3148 #define PRS_REG_TCM_CURRENT_CREDIT 0x40160
3150 #define PRS_REG_TSDM_CURRENT_CREDIT 0x4015c
3151 #define PXP2_PXP2_INT_MASK_0_REG_PGL_CPL_AFT (0x1<<19)
3152 #define PXP2_PXP2_INT_MASK_0_REG_PGL_CPL_OF (0x1<<20)
3153 #define PXP2_PXP2_INT_MASK_0_REG_PGL_PCIE_ATTN (0x1<<22)
3154 #define PXP2_PXP2_INT_MASK_0_REG_PGL_READ_BLOCKED (0x1<<23)
3155 #define PXP2_PXP2_INT_MASK_0_REG_PGL_WRITE_BLOCKED (0x1<<24)
3156 #define PXP2_PXP2_INT_STS_0_REG_WR_PGLUE_EOP_ERROR (0x1<<7)
3157 #define PXP2_PXP2_INT_STS_CLR_0_REG_WR_PGLUE_EOP_ERROR (0x1<<7)
3159 #define PXP2_REG_HST_DATA_FIFO_STATUS 0x12047c
3161 #define PXP2_REG_HST_HEADER_FIFO_STATUS 0x120478
3162 #define PXP2_REG_PGL_ADDR_88_F0 0x120534
3166 #define PXP2_REG_PGL_ADDR_88_F1 0x120544
3167 #define PXP2_REG_PGL_ADDR_8C_F0 0x120538
3171 #define PXP2_REG_PGL_ADDR_8C_F1 0x120548
3172 #define PXP2_REG_PGL_ADDR_90_F0 0x12053c
3176 #define PXP2_REG_PGL_ADDR_90_F1 0x12054c
3177 #define PXP2_REG_PGL_ADDR_94_F0 0x120540
3181 #define PXP2_REG_PGL_ADDR_94_F1 0x120550
3182 #define PXP2_REG_PGL_CONTROL0 0x120490
3183 #define PXP2_REG_PGL_CONTROL1 0x120514
3184 #define PXP2_REG_PGL_DEBUG 0x120520
3189 #define PXP2_REG_PGL_EXP_ROM2 0x120808
3192 #define PXP2_REG_PGL_INT_CSDM_0 0x1204f4
3193 #define PXP2_REG_PGL_INT_CSDM_1 0x1204f8
3194 #define PXP2_REG_PGL_INT_CSDM_2 0x1204fc
3195 #define PXP2_REG_PGL_INT_CSDM_3 0x120500
3196 #define PXP2_REG_PGL_INT_CSDM_4 0x120504
3197 #define PXP2_REG_PGL_INT_CSDM_5 0x120508
3198 #define PXP2_REG_PGL_INT_CSDM_6 0x12050c
3199 #define PXP2_REG_PGL_INT_CSDM_7 0x120510
3202 #define PXP2_REG_PGL_INT_TSDM_0 0x120494
3203 #define PXP2_REG_PGL_INT_TSDM_1 0x120498
3204 #define PXP2_REG_PGL_INT_TSDM_2 0x12049c
3205 #define PXP2_REG_PGL_INT_TSDM_3 0x1204a0
3206 #define PXP2_REG_PGL_INT_TSDM_4 0x1204a4
3207 #define PXP2_REG_PGL_INT_TSDM_5 0x1204a8
3208 #define PXP2_REG_PGL_INT_TSDM_6 0x1204ac
3209 #define PXP2_REG_PGL_INT_TSDM_7 0x1204b0
3212 #define PXP2_REG_PGL_INT_USDM_0 0x1204b4
3213 #define PXP2_REG_PGL_INT_USDM_1 0x1204b8
3214 #define PXP2_REG_PGL_INT_USDM_2 0x1204bc
3215 #define PXP2_REG_PGL_INT_USDM_3 0x1204c0
3216 #define PXP2_REG_PGL_INT_USDM_4 0x1204c4
3217 #define PXP2_REG_PGL_INT_USDM_5 0x1204c8
3218 #define PXP2_REG_PGL_INT_USDM_6 0x1204cc
3219 #define PXP2_REG_PGL_INT_USDM_7 0x1204d0
3222 #define PXP2_REG_PGL_INT_XSDM_0 0x1204d4
3223 #define PXP2_REG_PGL_INT_XSDM_1 0x1204d8
3224 #define PXP2_REG_PGL_INT_XSDM_2 0x1204dc
3225 #define PXP2_REG_PGL_INT_XSDM_3 0x1204e0
3226 #define PXP2_REG_PGL_INT_XSDM_4 0x1204e4
3227 #define PXP2_REG_PGL_INT_XSDM_5 0x1204e8
3228 #define PXP2_REG_PGL_INT_XSDM_6 0x1204ec
3229 #define PXP2_REG_PGL_INT_XSDM_7 0x1204f0
3235 #define PXP2_REG_PGL_PRETEND_FUNC_F0 0x120674
3236 #define PXP2_REG_PGL_PRETEND_FUNC_F1 0x120678
3237 #define PXP2_REG_PGL_PRETEND_FUNC_F2 0x12067c
3238 #define PXP2_REG_PGL_PRETEND_FUNC_F3 0x120680
3239 #define PXP2_REG_PGL_PRETEND_FUNC_F4 0x120684
3240 #define PXP2_REG_PGL_PRETEND_FUNC_F5 0x120688
3241 #define PXP2_REG_PGL_PRETEND_FUNC_F6 0x12068c
3242 #define PXP2_REG_PGL_PRETEND_FUNC_F7 0x120690
3245 #define PXP2_REG_PGL_READ_BLOCKED 0x120568
3246 #define PXP2_REG_PGL_TAGS_LIMIT 0x1205a8
3248 #define PXP2_REG_PGL_TXW_CDTS 0x12052c
3251 #define PXP2_REG_PGL_WRITE_BLOCKED 0x120564
3252 #define PXP2_REG_PSWRQ_BW_ADD1 0x1201c0
3253 #define PXP2_REG_PSWRQ_BW_ADD10 0x1201e4
3254 #define PXP2_REG_PSWRQ_BW_ADD11 0x1201e8
3255 #define PXP2_REG_PSWRQ_BW_ADD2 0x1201c4
3256 #define PXP2_REG_PSWRQ_BW_ADD28 0x120228
3257 #define PXP2_REG_PSWRQ_BW_ADD3 0x1201c8
3258 #define PXP2_REG_PSWRQ_BW_ADD6 0x1201d4
3259 #define PXP2_REG_PSWRQ_BW_ADD7 0x1201d8
3260 #define PXP2_REG_PSWRQ_BW_ADD8 0x1201dc
3261 #define PXP2_REG_PSWRQ_BW_ADD9 0x1201e0
3262 #define PXP2_REG_PSWRQ_BW_CREDIT 0x12032c
3263 #define PXP2_REG_PSWRQ_BW_L1 0x1202b0
3264 #define PXP2_REG_PSWRQ_BW_L10 0x1202d4
3265 #define PXP2_REG_PSWRQ_BW_L11 0x1202d8
3266 #define PXP2_REG_PSWRQ_BW_L2 0x1202b4
3267 #define PXP2_REG_PSWRQ_BW_L28 0x120318
3268 #define PXP2_REG_PSWRQ_BW_L3 0x1202b8
3269 #define PXP2_REG_PSWRQ_BW_L6 0x1202c4
3270 #define PXP2_REG_PSWRQ_BW_L7 0x1202c8
3271 #define PXP2_REG_PSWRQ_BW_L8 0x1202cc
3272 #define PXP2_REG_PSWRQ_BW_L9 0x1202d0
3273 #define PXP2_REG_PSWRQ_BW_RD 0x120324
3274 #define PXP2_REG_PSWRQ_BW_UB1 0x120238
3275 #define PXP2_REG_PSWRQ_BW_UB10 0x12025c
3276 #define PXP2_REG_PSWRQ_BW_UB11 0x120260
3277 #define PXP2_REG_PSWRQ_BW_UB2 0x12023c
3278 #define PXP2_REG_PSWRQ_BW_UB28 0x1202a0
3279 #define PXP2_REG_PSWRQ_BW_UB3 0x120240
3280 #define PXP2_REG_PSWRQ_BW_UB6 0x12024c
3281 #define PXP2_REG_PSWRQ_BW_UB7 0x120250
3282 #define PXP2_REG_PSWRQ_BW_UB8 0x120254
3283 #define PXP2_REG_PSWRQ_BW_UB9 0x120258
3284 #define PXP2_REG_PSWRQ_BW_WR 0x120328
3285 #define PXP2_REG_PSWRQ_CDU0_L2P 0x120000
3286 #define PXP2_REG_PSWRQ_QM0_L2P 0x120038
3287 #define PXP2_REG_PSWRQ_SRC0_L2P 0x120054
3288 #define PXP2_REG_PSWRQ_TM0_L2P 0x12001c
3289 #define PXP2_REG_PSWRQ_TSDM0_L2P 0x1200e0
3291 #define PXP2_REG_PXP2_INT_MASK_0 0x120578
3293 #define PXP2_REG_PXP2_INT_STS_0 0x12056c
3294 #define PXP2_REG_PXP2_INT_STS_1 0x120608
3296 #define PXP2_REG_PXP2_INT_STS_CLR_0 0x120570
3298 #define PXP2_REG_PXP2_PRTY_MASK_0 0x120588
3299 #define PXP2_REG_PXP2_PRTY_MASK_1 0x120598
3301 #define PXP2_REG_PXP2_PRTY_STS_0 0x12057c
3302 #define PXP2_REG_PXP2_PRTY_STS_1 0x12058c
3304 #define PXP2_REG_PXP2_PRTY_STS_CLR_0 0x120580
3305 #define PXP2_REG_PXP2_PRTY_STS_CLR_1 0x120590
3308 #define PXP2_REG_RD_ALMOST_FULL_0 0x120424
3310 #define PXP2_REG_RD_BLK_CNT 0x120418
3313 #define PXP2_REG_RD_BLK_NUM_CFG 0x12040c
3315 #define PXP2_REG_RD_CDURD_SWAP_MODE 0x120404
3317 #define PXP2_REG_RD_DISABLE_INPUTS 0x120374
3319 #define PXP2_REG_RD_INIT_DONE 0x120370
3322 #define PXP2_REG_RD_MAX_BLKS_VQ10 0x1203a0
3325 #define PXP2_REG_RD_MAX_BLKS_VQ11 0x1203a4
3328 #define PXP2_REG_RD_MAX_BLKS_VQ17 0x1203bc
3331 #define PXP2_REG_RD_MAX_BLKS_VQ18 0x1203c0
3334 #define PXP2_REG_RD_MAX_BLKS_VQ19 0x1203c4
3337 #define PXP2_REG_RD_MAX_BLKS_VQ22 0x1203d0
3340 #define PXP2_REG_RD_MAX_BLKS_VQ25 0x1203dc
3343 #define PXP2_REG_RD_MAX_BLKS_VQ6 0x120390
3346 #define PXP2_REG_RD_MAX_BLKS_VQ9 0x12039c
3348 #define PXP2_REG_RD_PBF_SWAP_MODE 0x1203f4
3350 #define PXP2_REG_RD_PORT_IS_IDLE_0 0x12041c
3351 #define PXP2_REG_RD_PORT_IS_IDLE_1 0x120420
3353 #define PXP2_REG_RD_QM_SWAP_MODE 0x1203f8
3355 #define PXP2_REG_RD_SR_CNT 0x120414
3357 #define PXP2_REG_RD_SRC_SWAP_MODE 0x120400
3360 #define PXP2_REG_RD_SR_NUM_CFG 0x120408
3362 #define PXP2_REG_RD_START_INIT 0x12036c
3364 #define PXP2_REG_RD_TM_SWAP_MODE 0x1203fc
3366 #define PXP2_REG_RQ_BW_RD_ADD0 0x1201bc
3368 #define PXP2_REG_RQ_BW_RD_ADD12 0x1201ec
3370 #define PXP2_REG_RQ_BW_RD_ADD13 0x1201f0
3372 #define PXP2_REG_RQ_BW_RD_ADD14 0x1201f4
3374 #define PXP2_REG_RQ_BW_RD_ADD15 0x1201f8
3376 #define PXP2_REG_RQ_BW_RD_ADD16 0x1201fc
3378 #define PXP2_REG_RQ_BW_RD_ADD17 0x120200
3380 #define PXP2_REG_RQ_BW_RD_ADD18 0x120204
3382 #define PXP2_REG_RQ_BW_RD_ADD19 0x120208
3384 #define PXP2_REG_RQ_BW_RD_ADD20 0x12020c
3386 #define PXP2_REG_RQ_BW_RD_ADD22 0x120210
3388 #define PXP2_REG_RQ_BW_RD_ADD23 0x120214
3390 #define PXP2_REG_RQ_BW_RD_ADD24 0x120218
3392 #define PXP2_REG_RQ_BW_RD_ADD25 0x12021c
3394 #define PXP2_REG_RQ_BW_RD_ADD26 0x120220
3396 #define PXP2_REG_RQ_BW_RD_ADD27 0x120224
3398 #define PXP2_REG_RQ_BW_RD_ADD4 0x1201cc
3400 #define PXP2_REG_RQ_BW_RD_ADD5 0x1201d0
3402 #define PXP2_REG_RQ_BW_RD_L0 0x1202ac
3404 #define PXP2_REG_RQ_BW_RD_L12 0x1202dc
3406 #define PXP2_REG_RQ_BW_RD_L13 0x1202e0
3408 #define PXP2_REG_RQ_BW_RD_L14 0x1202e4
3410 #define PXP2_REG_RQ_BW_RD_L15 0x1202e8
3412 #define PXP2_REG_RQ_BW_RD_L16 0x1202ec
3414 #define PXP2_REG_RQ_BW_RD_L17 0x1202f0
3416 #define PXP2_REG_RQ_BW_RD_L18 0x1202f4
3418 #define PXP2_REG_RQ_BW_RD_L19 0x1202f8
3420 #define PXP2_REG_RQ_BW_RD_L20 0x1202fc
3422 #define PXP2_REG_RQ_BW_RD_L22 0x120300
3424 #define PXP2_REG_RQ_BW_RD_L23 0x120304
3426 #define PXP2_REG_RQ_BW_RD_L24 0x120308
3428 #define PXP2_REG_RQ_BW_RD_L25 0x12030c
3430 #define PXP2_REG_RQ_BW_RD_L26 0x120310
3432 #define PXP2_REG_RQ_BW_RD_L27 0x120314
3434 #define PXP2_REG_RQ_BW_RD_L4 0x1202bc
3436 #define PXP2_REG_RQ_BW_RD_L5 0x1202c0
3438 #define PXP2_REG_RQ_BW_RD_UBOUND0 0x120234
3440 #define PXP2_REG_RQ_BW_RD_UBOUND12 0x120264
3442 #define PXP2_REG_RQ_BW_RD_UBOUND13 0x120268
3444 #define PXP2_REG_RQ_BW_RD_UBOUND14 0x12026c
3446 #define PXP2_REG_RQ_BW_RD_UBOUND15 0x120270
3448 #define PXP2_REG_RQ_BW_RD_UBOUND16 0x120274
3450 #define PXP2_REG_RQ_BW_RD_UBOUND17 0x120278
3452 #define PXP2_REG_RQ_BW_RD_UBOUND18 0x12027c
3454 #define PXP2_REG_RQ_BW_RD_UBOUND19 0x120280
3456 #define PXP2_REG_RQ_BW_RD_UBOUND20 0x120284
3458 #define PXP2_REG_RQ_BW_RD_UBOUND22 0x120288
3460 #define PXP2_REG_RQ_BW_RD_UBOUND23 0x12028c
3462 #define PXP2_REG_RQ_BW_RD_UBOUND24 0x120290
3464 #define PXP2_REG_RQ_BW_RD_UBOUND25 0x120294
3466 #define PXP2_REG_RQ_BW_RD_UBOUND26 0x120298
3468 #define PXP2_REG_RQ_BW_RD_UBOUND27 0x12029c
3470 #define PXP2_REG_RQ_BW_RD_UBOUND4 0x120244
3472 #define PXP2_REG_RQ_BW_RD_UBOUND5 0x120248
3474 #define PXP2_REG_RQ_BW_WR_ADD29 0x12022c
3476 #define PXP2_REG_RQ_BW_WR_ADD30 0x120230
3478 #define PXP2_REG_RQ_BW_WR_L29 0x12031c
3480 #define PXP2_REG_RQ_BW_WR_L30 0x120320
3482 #define PXP2_REG_RQ_BW_WR_UBOUND29 0x1202a4
3484 #define PXP2_REG_RQ_BW_WR_UBOUND30 0x1202a8
3486 #define PXP2_REG_RQ_CDU0_EFIRST_MEM_ADDR 0x120008
3488 #define PXP2_REG_RQ_CDU_ENDIAN_M 0x1201a0
3489 #define PXP2_REG_RQ_CDU_FIRST_ILT 0x12061c
3490 #define PXP2_REG_RQ_CDU_LAST_ILT 0x120620
3493 #define PXP2_REG_RQ_CDU_P_SIZE 0x120018
3496 #define PXP2_REG_RQ_CFG_DONE 0x1201b4
3498 #define PXP2_REG_RQ_DBG_ENDIAN_M 0x1201a4
3501 #define PXP2_REG_RQ_DISABLE_INPUTS 0x120330
3505 #define PXP2_REG_RQ_DRAM_ALIGN 0x1205b0
3509 #define PXP2_REG_RQ_DRAM_ALIGN_RD 0x12092c
3512 #define PXP2_REG_RQ_DRAM_ALIGN_SEL 0x120930
3515 #define PXP2_REG_RQ_ELT_DISABLE 0x12066c
3517 #define PXP2_REG_RQ_HC_ENDIAN_M 0x1201a8
3520 #define PXP2_REG_RQ_ILT_MODE 0x1205b4
3522 #define PXP2_REG_RQ_ONCHIP_AT 0x122000
3524 #define PXP2_REG_RQ_ONCHIP_AT_B0 0x128000
3526 #define PXP2_REG_RQ_PDR_LIMIT 0x12033c
3528 #define PXP2_REG_RQ_QM_ENDIAN_M 0x120194
3529 #define PXP2_REG_RQ_QM_FIRST_ILT 0x120634
3530 #define PXP2_REG_RQ_QM_LAST_ILT 0x120638
3533 #define PXP2_REG_RQ_QM_P_SIZE 0x120050
3535 #define PXP2_REG_RQ_RBC_DONE 0x1201b0
3538 #define PXP2_REG_RQ_RD_MBS0 0x120160
3541 #define PXP2_REG_RQ_RD_MBS1 0x120168
3543 #define PXP2_REG_RQ_SRC_ENDIAN_M 0x12019c
3544 #define PXP2_REG_RQ_SRC_FIRST_ILT 0x12063c
3545 #define PXP2_REG_RQ_SRC_LAST_ILT 0x120640
3548 #define PXP2_REG_RQ_SRC_P_SIZE 0x12006c
3550 #define PXP2_REG_RQ_TM_ENDIAN_M 0x120198
3551 #define PXP2_REG_RQ_TM_FIRST_ILT 0x120644
3552 #define PXP2_REG_RQ_TM_LAST_ILT 0x120648
3555 #define PXP2_REG_RQ_TM_P_SIZE 0x120034
3557 #define PXP2_REG_RQ_UFIFO_NUM_OF_ENTRY 0x12080c
3559 #define PXP2_REG_RQ_USDM0_EFIRST_MEM_ADDR 0x120094
3561 #define PXP2_REG_RQ_VQ0_ENTRY_CNT 0x120810
3563 #define PXP2_REG_RQ_VQ10_ENTRY_CNT 0x120818
3565 #define PXP2_REG_RQ_VQ11_ENTRY_CNT 0x120820
3567 #define PXP2_REG_RQ_VQ12_ENTRY_CNT 0x120828
3569 #define PXP2_REG_RQ_VQ13_ENTRY_CNT 0x120830
3571 #define PXP2_REG_RQ_VQ14_ENTRY_CNT 0x120838
3573 #define PXP2_REG_RQ_VQ15_ENTRY_CNT 0x120840
3575 #define PXP2_REG_RQ_VQ16_ENTRY_CNT 0x120848
3577 #define PXP2_REG_RQ_VQ17_ENTRY_CNT 0x120850
3579 #define PXP2_REG_RQ_VQ18_ENTRY_CNT 0x120858
3581 #define PXP2_REG_RQ_VQ19_ENTRY_CNT 0x120860
3583 #define PXP2_REG_RQ_VQ1_ENTRY_CNT 0x120868
3585 #define PXP2_REG_RQ_VQ20_ENTRY_CNT 0x120870
3587 #define PXP2_REG_RQ_VQ21_ENTRY_CNT 0x120878
3589 #define PXP2_REG_RQ_VQ22_ENTRY_CNT 0x120880
3591 #define PXP2_REG_RQ_VQ23_ENTRY_CNT 0x120888
3593 #define PXP2_REG_RQ_VQ24_ENTRY_CNT 0x120890
3595 #define PXP2_REG_RQ_VQ25_ENTRY_CNT 0x120898
3597 #define PXP2_REG_RQ_VQ26_ENTRY_CNT 0x1208a0
3599 #define PXP2_REG_RQ_VQ27_ENTRY_CNT 0x1208a8
3601 #define PXP2_REG_RQ_VQ28_ENTRY_CNT 0x1208b0
3603 #define PXP2_REG_RQ_VQ29_ENTRY_CNT 0x1208b8
3605 #define PXP2_REG_RQ_VQ2_ENTRY_CNT 0x1208c0
3607 #define PXP2_REG_RQ_VQ30_ENTRY_CNT 0x1208c8
3609 #define PXP2_REG_RQ_VQ31_ENTRY_CNT 0x1208d0
3611 #define PXP2_REG_RQ_VQ3_ENTRY_CNT 0x1208d8
3613 #define PXP2_REG_RQ_VQ4_ENTRY_CNT 0x1208e0
3615 #define PXP2_REG_RQ_VQ5_ENTRY_CNT 0x1208e8
3617 #define PXP2_REG_RQ_VQ6_ENTRY_CNT 0x1208f0
3619 #define PXP2_REG_RQ_VQ7_ENTRY_CNT 0x1208f8
3621 #define PXP2_REG_RQ_VQ8_ENTRY_CNT 0x120900
3623 #define PXP2_REG_RQ_VQ9_ENTRY_CNT 0x120908
3626 #define PXP2_REG_RQ_WR_MBS0 0x12015c
3629 #define PXP2_REG_RQ_WR_MBS1 0x120164
3632 #define PXP2_REG_WR_CDU_MPS 0x1205f0
3635 #define PXP2_REG_WR_CSDM_MPS 0x1205d0
3638 #define PXP2_REG_WR_DBG_MPS 0x1205e8
3641 #define PXP2_REG_WR_DMAE_MPS 0x1205ec
3645 #define PXP2_REG_WR_DMAE_TH 0x120368
3648 #define PXP2_REG_WR_HC_MPS 0x1205c8
3651 #define PXP2_REG_WR_QM_MPS 0x1205dc
3653 #define PXP2_REG_WR_REV_MODE 0x120670
3656 #define PXP2_REG_WR_SRC_MPS 0x1205e4
3659 #define PXP2_REG_WR_TM_MPS 0x1205e0
3662 #define PXP2_REG_WR_TSDM_MPS 0x1205d4
3666 #define PXP2_REG_WR_USDMDP_TH 0x120348
3669 #define PXP2_REG_WR_USDM_MPS 0x1205cc
3672 #define PXP2_REG_WR_XSDM_MPS 0x1205d8
3674 #define PXP_REG_HST_ARB_IS_IDLE 0x103004
3677 #define PXP_REG_HST_CLIENTS_WAITING_TO_ARB 0x103008
3680 #define PXP_REG_HST_DISCARD_DOORBELLS 0x1030a4
3684 #define PXP_REG_HST_DISCARD_DOORBELLS_STATUS 0x1030a0
3687 #define PXP_REG_HST_DISCARD_INTERNAL_WRITES 0x1030a8
3692 #define PXP_REG_HST_DISCARD_INTERNAL_WRITES_STATUS 0x10309c
3694 #define PXP_REG_HST_INBOUND_INT 0x103800
3696 #define PXP_REG_PXP_INT_MASK_0 0x103074
3697 #define PXP_REG_PXP_INT_MASK_1 0x103084
3699 #define PXP_REG_PXP_INT_STS_0 0x103068
3700 #define PXP_REG_PXP_INT_STS_1 0x103078
3702 #define PXP_REG_PXP_INT_STS_CLR_0 0x10306c
3703 #define PXP_REG_PXP_INT_STS_CLR_1 0x10307c
3705 #define PXP_REG_PXP_PRTY_MASK 0x103094
3707 #define PXP_REG_PXP_PRTY_STS 0x103088
3709 #define PXP_REG_PXP_PRTY_STS_CLR 0x10308c
3712 #define QM_REG_ACTCTRINITVAL_0 0x168040
3713 #define QM_REG_ACTCTRINITVAL_1 0x168044
3714 #define QM_REG_ACTCTRINITVAL_2 0x168048
3715 #define QM_REG_ACTCTRINITVAL_3 0x16804c
3720 #define QM_REG_BASEADDR 0x168900
3725 #define QM_REG_BASEADDR_EXT_A 0x16e100
3727 #define QM_REG_BYTECRDCOST 0x168234
3729 #define QM_REG_BYTECRDINITVAL 0x168238
3732 #define QM_REG_BYTECRDPORT_LSB 0x168228
3735 #define QM_REG_BYTECRDPORT_LSB_EXT_A 0x16e520
3738 #define QM_REG_BYTECRDPORT_MSB 0x168224
3741 #define QM_REG_BYTECRDPORT_MSB_EXT_A 0x16e51c
3744 #define QM_REG_BYTECREDITAFULLTHR 0x168094
3746 #define QM_REG_CMINITCRD_0 0x1680cc
3747 #define QM_REG_BYTECRDCMDQ_0 0x16e6e8
3748 #define QM_REG_CMINITCRD_1 0x1680d0
3749 #define QM_REG_CMINITCRD_2 0x1680d4
3750 #define QM_REG_CMINITCRD_3 0x1680d8
3751 #define QM_REG_CMINITCRD_4 0x1680dc
3752 #define QM_REG_CMINITCRD_5 0x1680e0
3753 #define QM_REG_CMINITCRD_6 0x1680e4
3754 #define QM_REG_CMINITCRD_7 0x1680e8
3757 #define QM_REG_CMINTEN 0x1680ec
3760 #define QM_REG_CMINTVOQMASK_0 0x1681f4
3761 #define QM_REG_CMINTVOQMASK_1 0x1681f8
3762 #define QM_REG_CMINTVOQMASK_2 0x1681fc
3763 #define QM_REG_CMINTVOQMASK_3 0x168200
3764 #define QM_REG_CMINTVOQMASK_4 0x168204
3765 #define QM_REG_CMINTVOQMASK_5 0x168208
3766 #define QM_REG_CMINTVOQMASK_6 0x16820c
3767 #define QM_REG_CMINTVOQMASK_7 0x168210
3770 #define QM_REG_CONNNUM_0 0x168020
3772 #define QM_REG_CQM_WRC_FIFOLVL 0x168018
3774 #define QM_REG_CTXREG_0 0x168030
3775 #define QM_REG_CTXREG_1 0x168034
3776 #define QM_REG_CTXREG_2 0x168038
3777 #define QM_REG_CTXREG_3 0x16803c
3780 #define QM_REG_ENBYPVOQMASK 0x16823c
3783 #define QM_REG_ENBYTECRD_LSB 0x168220
3786 #define QM_REG_ENBYTECRD_LSB_EXT_A 0x16e518
3789 #define QM_REG_ENBYTECRD_MSB 0x16821c
3792 #define QM_REG_ENBYTECRD_MSB_EXT_A 0x16e514
3795 #define QM_REG_ENSEC 0x1680f0
3797 #define QM_REG_FUNCNUMSEL_LSB 0x168230
3799 #define QM_REG_FUNCNUMSEL_MSB 0x16822c
3802 #define QM_REG_HWAEMPTYMASK_LSB 0x168218
3805 #define QM_REG_HWAEMPTYMASK_LSB_EXT_A 0x16e510
3808 #define QM_REG_HWAEMPTYMASK_MSB 0x168214
3811 #define QM_REG_HWAEMPTYMASK_MSB_EXT_A 0x16e50c
3813 #define QM_REG_OUTLDREQ 0x168804
3816 #define QM_REG_OVFERROR 0x16805c
3818 #define QM_REG_OVFQNUM 0x168058
3820 #define QM_REG_PAUSESTATE0 0x168410
3822 #define QM_REG_PAUSESTATE1 0x168414
3824 #define QM_REG_PAUSESTATE2 0x16e684
3826 #define QM_REG_PAUSESTATE3 0x16e688
3828 #define QM_REG_PAUSESTATE4 0x16e68c
3830 #define QM_REG_PAUSESTATE5 0x16e690
3832 #define QM_REG_PAUSESTATE6 0x16e694
3834 #define QM_REG_PAUSESTATE7 0x16e698
3836 #define QM_REG_PCIREQAT 0x168054
3837 #define QM_REG_PF_EN 0x16e70c
3840 #define QM_REG_PF_USG_CNT_0 0x16e040
3842 #define QM_REG_PORT0BYTECRD 0x168300
3844 #define QM_REG_PORT1BYTECRD 0x168304
3846 #define QM_REG_PQ2PCIFUNC_0 0x16e6bc
3847 #define QM_REG_PQ2PCIFUNC_1 0x16e6c0
3848 #define QM_REG_PQ2PCIFUNC_2 0x16e6c4
3849 #define QM_REG_PQ2PCIFUNC_3 0x16e6c8
3850 #define QM_REG_PQ2PCIFUNC_4 0x16e6cc
3851 #define QM_REG_PQ2PCIFUNC_5 0x16e6d0
3852 #define QM_REG_PQ2PCIFUNC_6 0x16e6d4
3853 #define QM_REG_PQ2PCIFUNC_7 0x16e6d8
3857 #define QM_REG_PTRTBL 0x168a00
3861 #define QM_REG_PTRTBL_EXT_A 0x16e200
3863 #define QM_REG_QM_INT_MASK 0x168444
3865 #define QM_REG_QM_INT_STS 0x168438
3867 #define QM_REG_QM_PRTY_MASK 0x168454
3869 #define QM_REG_QM_PRTY_STS 0x168448
3871 #define QM_REG_QM_PRTY_STS_CLR 0x16844c
3873 #define QM_REG_QSTATUS_HIGH 0x16802c
3875 #define QM_REG_QSTATUS_HIGH_EXT_A 0x16e408
3877 #define QM_REG_QSTATUS_LOW 0x168028
3879 #define QM_REG_QSTATUS_LOW_EXT_A 0x16e404
3881 #define QM_REG_QTASKCTR_0 0x168308
3883 #define QM_REG_QTASKCTR_EXT_A_0 0x16e584
3885 #define QM_REG_QVOQIDX_0 0x1680f4
3886 #define QM_REG_QVOQIDX_10 0x16811c
3887 #define QM_REG_QVOQIDX_100 0x16e49c
3888 #define QM_REG_QVOQIDX_101 0x16e4a0
3889 #define QM_REG_QVOQIDX_102 0x16e4a4
3890 #define QM_REG_QVOQIDX_103 0x16e4a8
3891 #define QM_REG_QVOQIDX_104 0x16e4ac
3892 #define QM_REG_QVOQIDX_105 0x16e4b0
3893 #define QM_REG_QVOQIDX_106 0x16e4b4
3894 #define QM_REG_QVOQIDX_107 0x16e4b8
3895 #define QM_REG_QVOQIDX_108 0x16e4bc
3896 #define QM_REG_QVOQIDX_109 0x16e4c0
3897 #define QM_REG_QVOQIDX_11 0x168120
3898 #define QM_REG_QVOQIDX_110 0x16e4c4
3899 #define QM_REG_QVOQIDX_111 0x16e4c8
3900 #define QM_REG_QVOQIDX_112 0x16e4cc
3901 #define QM_REG_QVOQIDX_113 0x16e4d0
3902 #define QM_REG_QVOQIDX_114 0x16e4d4
3903 #define QM_REG_QVOQIDX_115 0x16e4d8
3904 #define QM_REG_QVOQIDX_116 0x16e4dc
3905 #define QM_REG_QVOQIDX_117 0x16e4e0
3906 #define QM_REG_QVOQIDX_118 0x16e4e4
3907 #define QM_REG_QVOQIDX_119 0x16e4e8
3908 #define QM_REG_QVOQIDX_12 0x168124
3909 #define QM_REG_QVOQIDX_120 0x16e4ec
3910 #define QM_REG_QVOQIDX_121 0x16e4f0
3911 #define QM_REG_QVOQIDX_122 0x16e4f4
3912 #define QM_REG_QVOQIDX_123 0x16e4f8
3913 #define QM_REG_QVOQIDX_124 0x16e4fc
3914 #define QM_REG_QVOQIDX_125 0x16e500
3915 #define QM_REG_QVOQIDX_126 0x16e504
3916 #define QM_REG_QVOQIDX_127 0x16e508
3917 #define QM_REG_QVOQIDX_13 0x168128
3918 #define QM_REG_QVOQIDX_14 0x16812c
3919 #define QM_REG_QVOQIDX_15 0x168130
3920 #define QM_REG_QVOQIDX_16 0x168134
3921 #define QM_REG_QVOQIDX_17 0x168138
3922 #define QM_REG_QVOQIDX_21 0x168148
3923 #define QM_REG_QVOQIDX_22 0x16814c
3924 #define QM_REG_QVOQIDX_23 0x168150
3925 #define QM_REG_QVOQIDX_24 0x168154
3926 #define QM_REG_QVOQIDX_25 0x168158
3927 #define QM_REG_QVOQIDX_26 0x16815c
3928 #define QM_REG_QVOQIDX_27 0x168160
3929 #define QM_REG_QVOQIDX_28 0x168164
3930 #define QM_REG_QVOQIDX_29 0x168168
3931 #define QM_REG_QVOQIDX_30 0x16816c
3932 #define QM_REG_QVOQIDX_31 0x168170
3933 #define QM_REG_QVOQIDX_32 0x168174
3934 #define QM_REG_QVOQIDX_33 0x168178
3935 #define QM_REG_QVOQIDX_34 0x16817c
3936 #define QM_REG_QVOQIDX_35 0x168180
3937 #define QM_REG_QVOQIDX_36 0x168184
3938 #define QM_REG_QVOQIDX_37 0x168188
3939 #define QM_REG_QVOQIDX_38 0x16818c
3940 #define QM_REG_QVOQIDX_39 0x168190
3941 #define QM_REG_QVOQIDX_40 0x168194
3942 #define QM_REG_QVOQIDX_41 0x168198
3943 #define QM_REG_QVOQIDX_42 0x16819c
3944 #define QM_REG_QVOQIDX_43 0x1681a0
3945 #define QM_REG_QVOQIDX_44 0x1681a4
3946 #define QM_REG_QVOQIDX_45 0x1681a8
3947 #define QM_REG_QVOQIDX_46 0x1681ac
3948 #define QM_REG_QVOQIDX_47 0x1681b0
3949 #define QM_REG_QVOQIDX_48 0x1681b4
3950 #define QM_REG_QVOQIDX_49 0x1681b8
3951 #define QM_REG_QVOQIDX_5 0x168108
3952 #define QM_REG_QVOQIDX_50 0x1681bc
3953 #define QM_REG_QVOQIDX_51 0x1681c0
3954 #define QM_REG_QVOQIDX_52 0x1681c4
3955 #define QM_REG_QVOQIDX_53 0x1681c8
3956 #define QM_REG_QVOQIDX_54 0x1681cc
3957 #define QM_REG_QVOQIDX_55 0x1681d0
3958 #define QM_REG_QVOQIDX_56 0x1681d4
3959 #define QM_REG_QVOQIDX_57 0x1681d8
3960 #define QM_REG_QVOQIDX_58 0x1681dc
3961 #define QM_REG_QVOQIDX_59 0x1681e0
3962 #define QM_REG_QVOQIDX_6 0x16810c
3963 #define QM_REG_QVOQIDX_60 0x1681e4
3964 #define QM_REG_QVOQIDX_61 0x1681e8
3965 #define QM_REG_QVOQIDX_62 0x1681ec
3966 #define QM_REG_QVOQIDX_63 0x1681f0
3967 #define QM_REG_QVOQIDX_64 0x16e40c
3968 #define QM_REG_QVOQIDX_65 0x16e410
3969 #define QM_REG_QVOQIDX_69 0x16e420
3970 #define QM_REG_QVOQIDX_7 0x168110
3971 #define QM_REG_QVOQIDX_70 0x16e424
3972 #define QM_REG_QVOQIDX_71 0x16e428
3973 #define QM_REG_QVOQIDX_72 0x16e42c
3974 #define QM_REG_QVOQIDX_73 0x16e430
3975 #define QM_REG_QVOQIDX_74 0x16e434
3976 #define QM_REG_QVOQIDX_75 0x16e438
3977 #define QM_REG_QVOQIDX_76 0x16e43c
3978 #define QM_REG_QVOQIDX_77 0x16e440
3979 #define QM_REG_QVOQIDX_78 0x16e444
3980 #define QM_REG_QVOQIDX_79 0x16e448
3981 #define QM_REG_QVOQIDX_8 0x168114
3982 #define QM_REG_QVOQIDX_80 0x16e44c
3983 #define QM_REG_QVOQIDX_81 0x16e450
3984 #define QM_REG_QVOQIDX_85 0x16e460
3985 #define QM_REG_QVOQIDX_86 0x16e464
3986 #define QM_REG_QVOQIDX_87 0x16e468
3987 #define QM_REG_QVOQIDX_88 0x16e46c
3988 #define QM_REG_QVOQIDX_89 0x16e470
3989 #define QM_REG_QVOQIDX_9 0x168118
3990 #define QM_REG_QVOQIDX_90 0x16e474
3991 #define QM_REG_QVOQIDX_91 0x16e478
3992 #define QM_REG_QVOQIDX_92 0x16e47c
3993 #define QM_REG_QVOQIDX_93 0x16e480
3994 #define QM_REG_QVOQIDX_94 0x16e484
3995 #define QM_REG_QVOQIDX_95 0x16e488
3996 #define QM_REG_QVOQIDX_96 0x16e48c
3997 #define QM_REG_QVOQIDX_97 0x16e490
3998 #define QM_REG_QVOQIDX_98 0x16e494
3999 #define QM_REG_QVOQIDX_99 0x16e498
4001 #define QM_REG_SOFT_RESET 0x168428
4003 #define QM_REG_TASKCRDCOST_0 0x16809c
4004 #define QM_REG_TASKCRDCOST_1 0x1680a0
4005 #define QM_REG_TASKCRDCOST_2 0x1680a4
4006 #define QM_REG_TASKCRDCOST_4 0x1680ac
4007 #define QM_REG_TASKCRDCOST_5 0x1680b0
4009 #define QM_REG_TQM_WRC_FIFOLVL 0x168010
4011 #define QM_REG_UQM_WRC_FIFOLVL 0x168008
4013 #define QM_REG_VOQCRDERRREG 0x168408
4015 #define QM_REG_VOQCREDIT_0 0x1682d0
4016 #define QM_REG_VOQCREDIT_1 0x1682d4
4017 #define QM_REG_VOQCREDIT_4 0x1682e0
4019 #define QM_REG_VOQCREDITAFULLTHR 0x168090
4021 #define QM_REG_VOQINITCREDIT_0 0x168060
4022 #define QM_REG_VOQINITCREDIT_1 0x168064
4023 #define QM_REG_VOQINITCREDIT_2 0x168068
4024 #define QM_REG_VOQINITCREDIT_4 0x168070
4025 #define QM_REG_VOQINITCREDIT_5 0x168074
4027 #define QM_REG_VOQPORT_0 0x1682a0
4028 #define QM_REG_VOQPORT_1 0x1682a4
4029 #define QM_REG_VOQPORT_2 0x1682a8
4031 #define QM_REG_VOQQMASK_0_LSB 0x168240
4033 #define QM_REG_VOQQMASK_0_LSB_EXT_A 0x16e524
4035 #define QM_REG_VOQQMASK_0_MSB 0x168244
4037 #define QM_REG_VOQQMASK_0_MSB_EXT_A 0x16e528
4039 #define QM_REG_VOQQMASK_10_LSB 0x168290
4041 #define QM_REG_VOQQMASK_10_LSB_EXT_A 0x16e574
4043 #define QM_REG_VOQQMASK_10_MSB 0x168294
4045 #define QM_REG_VOQQMASK_10_MSB_EXT_A 0x16e578
4047 #define QM_REG_VOQQMASK_11_LSB 0x168298
4049 #define QM_REG_VOQQMASK_11_LSB_EXT_A 0x16e57c
4051 #define QM_REG_VOQQMASK_11_MSB 0x16829c
4053 #define QM_REG_VOQQMASK_11_MSB_EXT_A 0x16e580
4055 #define QM_REG_VOQQMASK_1_LSB 0x168248
4057 #define QM_REG_VOQQMASK_1_LSB_EXT_A 0x16e52c
4059 #define QM_REG_VOQQMASK_1_MSB 0x16824c
4061 #define QM_REG_VOQQMASK_1_MSB_EXT_A 0x16e530
4063 #define QM_REG_VOQQMASK_2_LSB 0x168250
4065 #define QM_REG_VOQQMASK_2_LSB_EXT_A 0x16e534
4067 #define QM_REG_VOQQMASK_2_MSB 0x168254
4069 #define QM_REG_VOQQMASK_2_MSB_EXT_A 0x16e538
4071 #define QM_REG_VOQQMASK_3_LSB 0x168258
4073 #define QM_REG_VOQQMASK_3_LSB_EXT_A 0x16e53c
4075 #define QM_REG_VOQQMASK_3_MSB_EXT_A 0x16e540
4077 #define QM_REG_VOQQMASK_4_LSB 0x168260
4079 #define QM_REG_VOQQMASK_4_LSB_EXT_A 0x16e544
4081 #define QM_REG_VOQQMASK_4_MSB 0x168264
4083 #define QM_REG_VOQQMASK_4_MSB_EXT_A 0x16e548
4085 #define QM_REG_VOQQMASK_5_LSB 0x168268
4087 #define QM_REG_VOQQMASK_5_LSB_EXT_A 0x16e54c
4089 #define QM_REG_VOQQMASK_5_MSB 0x16826c
4091 #define QM_REG_VOQQMASK_5_MSB_EXT_A 0x16e550
4093 #define QM_REG_VOQQMASK_6_LSB 0x168270
4095 #define QM_REG_VOQQMASK_6_LSB_EXT_A 0x16e554
4097 #define QM_REG_VOQQMASK_6_MSB 0x168274
4099 #define QM_REG_VOQQMASK_6_MSB_EXT_A 0x16e558
4101 #define QM_REG_VOQQMASK_7_LSB 0x168278
4103 #define QM_REG_VOQQMASK_7_LSB_EXT_A 0x16e55c
4105 #define QM_REG_VOQQMASK_7_MSB 0x16827c
4107 #define QM_REG_VOQQMASK_7_MSB_EXT_A 0x16e560
4109 #define QM_REG_VOQQMASK_8_LSB 0x168280
4111 #define QM_REG_VOQQMASK_8_LSB_EXT_A 0x16e564
4113 #define QM_REG_VOQQMASK_8_MSB 0x168284
4115 #define QM_REG_VOQQMASK_8_MSB_EXT_A 0x16e568
4117 #define QM_REG_VOQQMASK_9_LSB 0x168288
4119 #define QM_REG_VOQQMASK_9_LSB_EXT_A 0x16e56c
4121 #define QM_REG_VOQQMASK_9_MSB_EXT_A 0x16e570
4123 #define QM_REG_WRRWEIGHTS_0 0x16880c
4124 #define QM_REG_WRRWEIGHTS_1 0x168810
4125 #define QM_REG_WRRWEIGHTS_10 0x168814
4126 #define QM_REG_WRRWEIGHTS_11 0x168818
4127 #define QM_REG_WRRWEIGHTS_12 0x16881c
4128 #define QM_REG_WRRWEIGHTS_13 0x168820
4129 #define QM_REG_WRRWEIGHTS_14 0x168824
4130 #define QM_REG_WRRWEIGHTS_15 0x168828
4131 #define QM_REG_WRRWEIGHTS_16 0x16e000
4132 #define QM_REG_WRRWEIGHTS_17 0x16e004
4133 #define QM_REG_WRRWEIGHTS_18 0x16e008
4134 #define QM_REG_WRRWEIGHTS_19 0x16e00c
4135 #define QM_REG_WRRWEIGHTS_2 0x16882c
4136 #define QM_REG_WRRWEIGHTS_20 0x16e010
4137 #define QM_REG_WRRWEIGHTS_21 0x16e014
4138 #define QM_REG_WRRWEIGHTS_22 0x16e018
4139 #define QM_REG_WRRWEIGHTS_23 0x16e01c
4140 #define QM_REG_WRRWEIGHTS_24 0x16e020
4141 #define QM_REG_WRRWEIGHTS_25 0x16e024
4142 #define QM_REG_WRRWEIGHTS_26 0x16e028
4143 #define QM_REG_WRRWEIGHTS_27 0x16e02c
4144 #define QM_REG_WRRWEIGHTS_28 0x16e030
4145 #define QM_REG_WRRWEIGHTS_29 0x16e034
4146 #define QM_REG_WRRWEIGHTS_3 0x168830
4147 #define QM_REG_WRRWEIGHTS_30 0x16e038
4148 #define QM_REG_WRRWEIGHTS_31 0x16e03c
4149 #define QM_REG_WRRWEIGHTS_4 0x168834
4150 #define QM_REG_WRRWEIGHTS_5 0x168838
4151 #define QM_REG_WRRWEIGHTS_6 0x16883c
4152 #define QM_REG_WRRWEIGHTS_7 0x168840
4153 #define QM_REG_WRRWEIGHTS_8 0x168844
4154 #define QM_REG_WRRWEIGHTS_9 0x168848
4156 #define QM_REG_XQM_WRC_FIFOLVL 0x168000
4158 #define SEM_FAST_REG_PARITY_RST 0x18840
4159 #define SRC_REG_COUNTFREE0 0x40500
4162 #define SRC_REG_E1HMF_ENABLE 0x404cc
4163 #define SRC_REG_FIRSTFREE0 0x40510
4164 #define SRC_REG_KEYRSS0_0 0x40408
4165 #define SRC_REG_KEYRSS0_7 0x40424
4166 #define SRC_REG_KEYRSS1_9 0x40454
4167 #define SRC_REG_KEYSEARCH_0 0x40458
4168 #define SRC_REG_KEYSEARCH_1 0x4045c
4169 #define SRC_REG_KEYSEARCH_2 0x40460
4170 #define SRC_REG_KEYSEARCH_3 0x40464
4171 #define SRC_REG_KEYSEARCH_4 0x40468
4172 #define SRC_REG_KEYSEARCH_5 0x4046c
4173 #define SRC_REG_KEYSEARCH_6 0x40470
4174 #define SRC_REG_KEYSEARCH_7 0x40474
4175 #define SRC_REG_KEYSEARCH_8 0x40478
4176 #define SRC_REG_KEYSEARCH_9 0x4047c
4177 #define SRC_REG_LASTFREE0 0x40530
4178 #define SRC_REG_NUMBER_HASH_BITS0 0x40400
4180 #define SRC_REG_SOFT_RST 0x4049c
4182 #define SRC_REG_SRC_INT_STS 0x404ac
4184 #define SRC_REG_SRC_PRTY_MASK 0x404c8
4186 #define SRC_REG_SRC_PRTY_STS 0x404bc
4188 #define SRC_REG_SRC_PRTY_STS_CLR 0x404c0
4190 #define TCM_REG_CAM_OCCUP 0x5017c
4194 #define TCM_REG_CDU_AG_RD_IFEN 0x50034
4198 #define TCM_REG_CDU_AG_WR_IFEN 0x50030
4202 #define TCM_REG_CDU_SM_RD_IFEN 0x5003c
4206 #define TCM_REG_CDU_SM_WR_IFEN 0x50038
4210 #define TCM_REG_CFC_INIT_CRD 0x50204
4214 #define TCM_REG_CP_WEIGHT 0x500c0
4218 #define TCM_REG_CSEM_IFEN 0x5002c
4221 #define TCM_REG_CSEM_LENGTH_MIS 0x50174
4225 #define TCM_REG_CSEM_WEIGHT 0x500bc
4227 #define TCM_REG_ERR_EVNT_ID 0x500a0
4229 #define TCM_REG_ERR_TCM_HDR 0x5009c
4231 #define TCM_REG_EXPR_EVNT_ID 0x500a4
4235 #define TCM_REG_FIC0_INIT_CRD 0x5020c
4239 #define TCM_REG_FIC1_INIT_CRD 0x50210
4244 #define TCM_REG_GR_ARB_TYPE 0x50114
4248 #define TCM_REG_GR_LD0_PR 0x5011c
4252 #define TCM_REG_GR_LD1_PR 0x50120
4258 #define TCM_REG_N_SM_CTX_LD_0 0x50050
4259 #define TCM_REG_N_SM_CTX_LD_1 0x50054
4260 #define TCM_REG_N_SM_CTX_LD_2 0x50058
4261 #define TCM_REG_N_SM_CTX_LD_3 0x5005c
4262 #define TCM_REG_N_SM_CTX_LD_4 0x50060
4263 #define TCM_REG_N_SM_CTX_LD_5 0x50064
4267 #define TCM_REG_PBF_IFEN 0x50024
4270 #define TCM_REG_PBF_LENGTH_MIS 0x5016c
4274 #define TCM_REG_PBF_WEIGHT 0x500b4
4275 #define TCM_REG_PHYS_QNUM0_0 0x500e0
4276 #define TCM_REG_PHYS_QNUM0_1 0x500e4
4277 #define TCM_REG_PHYS_QNUM1_0 0x500e8
4278 #define TCM_REG_PHYS_QNUM1_1 0x500ec
4279 #define TCM_REG_PHYS_QNUM2_0 0x500f0
4280 #define TCM_REG_PHYS_QNUM2_1 0x500f4
4281 #define TCM_REG_PHYS_QNUM3_0 0x500f8
4282 #define TCM_REG_PHYS_QNUM3_1 0x500fc
4286 #define TCM_REG_PRS_IFEN 0x50020
4289 #define TCM_REG_PRS_LENGTH_MIS 0x50168
4293 #define TCM_REG_PRS_WEIGHT 0x500b0
4295 #define TCM_REG_STOP_EVNT_ID 0x500a8
4298 #define TCM_REG_STORM_LENGTH_MIS 0x50160
4302 #define TCM_REG_STORM_TCM_IFEN 0x50010
4306 #define TCM_REG_STORM_WEIGHT 0x500ac
4310 #define TCM_REG_TCM_CFC_IFEN 0x50040
4312 #define TCM_REG_TCM_INT_MASK 0x501dc
4314 #define TCM_REG_TCM_INT_STS 0x501d0
4316 #define TCM_REG_TCM_PRTY_MASK 0x501ec
4318 #define TCM_REG_TCM_PRTY_STS 0x501e0
4320 #define TCM_REG_TCM_PRTY_STS_CLR 0x501e4
4325 #define TCM_REG_TCM_REG0_SZ 0x500d8
4329 #define TCM_REG_TCM_STORM0_IFEN 0x50004
4333 #define TCM_REG_TCM_STORM1_IFEN 0x50008
4337 #define TCM_REG_TCM_TQM_IFEN 0x5000c
4339 #define TCM_REG_TCM_TQM_USE_Q 0x500d4
4341 #define TCM_REG_TM_TCM_HDR 0x50098
4345 #define TCM_REG_TM_TCM_IFEN 0x5001c
4349 #define TCM_REG_TM_WEIGHT 0x500d0
4353 #define TCM_REG_TQM_INIT_CRD 0x5021c
4357 #define TCM_REG_TQM_P_WEIGHT 0x500c8
4361 #define TCM_REG_TQM_S_WEIGHT 0x500cc
4363 #define TCM_REG_TQM_TCM_HDR_P 0x50090
4365 #define TCM_REG_TQM_TCM_HDR_S 0x50094
4369 #define TCM_REG_TQM_TCM_IFEN 0x50014
4373 #define TCM_REG_TSDM_IFEN 0x50018
4376 #define TCM_REG_TSDM_LENGTH_MIS 0x50164
4380 #define TCM_REG_TSDM_WEIGHT 0x500c4
4384 #define TCM_REG_USEM_IFEN 0x50028
4387 #define TCM_REG_USEM_LENGTH_MIS 0x50170
4391 #define TCM_REG_USEM_WEIGHT 0x500b8
4395 #define TCM_REG_XX_DESCR_TABLE 0x50280
4396 #define TCM_REG_XX_DESCR_TABLE_SIZE 29
4398 #define TCM_REG_XX_FREE 0x50178
4404 #define TCM_REG_XX_INIT_CRD 0x50220
4407 #define TCM_REG_XX_MAX_LL_SZ 0x50044
4410 #define TCM_REG_XX_MSG_NUM 0x50224
4412 #define TCM_REG_XX_OVFL_EVNT_ID 0x50048
4416 #define TCM_REG_XX_TABLE 0x50240
4418 #define TM_REG_CFC_AC_CRDCNT_VAL 0x164208
4420 #define TM_REG_CFC_CLD_CRDCNT_VAL 0x164210
4422 #define TM_REG_CL0_CONT_REGION 0x164030
4424 #define TM_REG_CL1_CONT_REGION 0x164034
4426 #define TM_REG_CL2_CONT_REGION 0x164038
4428 #define TM_REG_CLIN_PRIOR0_CLIENT 0x164024
4430 #define TM_REG_CLOUT_CRDCNT0_VAL 0x164220
4432 #define TM_REG_CLOUT_CRDCNT1_VAL 0x164228
4434 #define TM_REG_CLOUT_CRDCNT2_VAL 0x164230
4436 #define TM_REG_EN_CL0_INPUT 0x164008
4438 #define TM_REG_EN_CL1_INPUT 0x16400c
4440 #define TM_REG_EN_CL2_INPUT 0x164010
4441 #define TM_REG_EN_LINEAR0_TIMER 0x164014
4443 #define TM_REG_EN_REAL_TIME_CNT 0x1640d8
4445 #define TM_REG_EN_TIMERS 0x164000
4448 #define TM_REG_EXP_CRDCNT_VAL 0x164238
4450 #define TM_REG_LIN0_LOGIC_ADDR 0x164240
4452 #define TM_REG_LIN0_MAX_ACTIVE_CID 0x164048
4454 #define TM_REG_LIN0_NUM_SCANS 0x1640a0
4456 #define TM_REG_LIN0_PHY_ADDR 0x164270
4458 #define TM_REG_LIN0_PHY_ADDR_VALID 0x164248
4459 #define TM_REG_LIN0_SCAN_ON 0x1640d0
4461 #define TM_REG_LIN0_SCAN_TIME 0x16403c
4462 #define TM_REG_LIN0_VNIC_UC 0x164128
4464 #define TM_REG_LIN1_LOGIC_ADDR 0x164250
4466 #define TM_REG_LIN1_PHY_ADDR 0x164280
4468 #define TM_REG_LIN1_PHY_ADDR_VALID 0x164258
4470 #define TM_REG_LIN_SETCLR_FIFO_ALFULL_THR 0x164070
4472 #define TM_REG_PCIARB_CRDCNT_VAL 0x164260
4474 #define TM_REG_TIMER_TICK_SIZE 0x16401c
4476 #define TM_REG_TM_CONTEXT_REGION 0x164044
4478 #define TM_REG_TM_INT_MASK 0x1640fc
4480 #define TM_REG_TM_INT_STS 0x1640f0
4482 #define TM_REG_TM_PRTY_MASK 0x16410c
4484 #define TM_REG_TM_PRTY_STS_CLR 0x164104
4486 #define TSDM_REG_AGG_INT_EVENT_0 0x42038
4487 #define TSDM_REG_AGG_INT_EVENT_1 0x4203c
4488 #define TSDM_REG_AGG_INT_EVENT_2 0x42040
4489 #define TSDM_REG_AGG_INT_EVENT_3 0x42044
4490 #define TSDM_REG_AGG_INT_EVENT_4 0x42048
4492 #define TSDM_REG_AGG_INT_T_0 0x420b8
4493 #define TSDM_REG_AGG_INT_T_1 0x420bc
4495 #define TSDM_REG_CFC_RSP_START_ADDR 0x42008
4497 #define TSDM_REG_CMP_COUNTER_MAX0 0x4201c
4499 #define TSDM_REG_CMP_COUNTER_MAX1 0x42020
4501 #define TSDM_REG_CMP_COUNTER_MAX2 0x42024
4503 #define TSDM_REG_CMP_COUNTER_MAX3 0x42028
4506 #define TSDM_REG_CMP_COUNTER_START_ADDR 0x4200c
4507 #define TSDM_REG_ENABLE_IN1 0x42238
4508 #define TSDM_REG_ENABLE_IN2 0x4223c
4509 #define TSDM_REG_ENABLE_OUT1 0x42240
4510 #define TSDM_REG_ENABLE_OUT2 0x42244
4513 #define TSDM_REG_INIT_CREDIT_PXP_CTRL 0x424bc
4515 #define TSDM_REG_NUM_OF_ACK_AFTER_PLACE 0x4227c
4517 #define TSDM_REG_NUM_OF_PKT_END_MSG 0x42274
4519 #define TSDM_REG_NUM_OF_PXP_ASYNC_REQ 0x42278
4521 #define TSDM_REG_NUM_OF_Q0_CMD 0x42248
4523 #define TSDM_REG_NUM_OF_Q10_CMD 0x4226c
4525 #define TSDM_REG_NUM_OF_Q11_CMD 0x42270
4527 #define TSDM_REG_NUM_OF_Q1_CMD 0x4224c
4529 #define TSDM_REG_NUM_OF_Q3_CMD 0x42250
4531 #define TSDM_REG_NUM_OF_Q4_CMD 0x42254
4533 #define TSDM_REG_NUM_OF_Q5_CMD 0x42258
4535 #define TSDM_REG_NUM_OF_Q6_CMD 0x4225c
4537 #define TSDM_REG_NUM_OF_Q7_CMD 0x42260
4539 #define TSDM_REG_NUM_OF_Q8_CMD 0x42264
4541 #define TSDM_REG_NUM_OF_Q9_CMD 0x42268
4543 #define TSDM_REG_PCK_END_MSG_START_ADDR 0x42014
4545 #define TSDM_REG_Q_COUNTER_START_ADDR 0x42010
4547 #define TSDM_REG_RSP_PXP_CTRL_RDATA_EMPTY 0x42548
4549 #define TSDM_REG_SYNC_PARSER_EMPTY 0x42550
4551 #define TSDM_REG_SYNC_SYNC_EMPTY 0x42558
4554 #define TSDM_REG_TIMER_TICK 0x42000
4556 #define TSDM_REG_TSDM_INT_MASK_0 0x4229c
4557 #define TSDM_REG_TSDM_INT_MASK_1 0x422ac
4559 #define TSDM_REG_TSDM_INT_STS_0 0x42290
4560 #define TSDM_REG_TSDM_INT_STS_1 0x422a0
4562 #define TSDM_REG_TSDM_PRTY_MASK 0x422bc
4564 #define TSDM_REG_TSDM_PRTY_STS 0x422b0
4566 #define TSDM_REG_TSDM_PRTY_STS_CLR 0x422b4
4568 #define TSEM_REG_ARB_CYCLE_SIZE 0x180034
4572 #define TSEM_REG_ARB_ELEMENT0 0x180020
4577 #define TSEM_REG_ARB_ELEMENT1 0x180024
4583 #define TSEM_REG_ARB_ELEMENT2 0x180028
4590 #define TSEM_REG_ARB_ELEMENT3 0x18002c
4598 #define TSEM_REG_ARB_ELEMENT4 0x180030
4599 #define TSEM_REG_ENABLE_IN 0x1800a4
4600 #define TSEM_REG_ENABLE_OUT 0x1800a8
4605 #define TSEM_REG_FAST_MEMORY 0x1a0000
4608 #define TSEM_REG_FIC0_DISABLE 0x180224
4611 #define TSEM_REG_FIC1_DISABLE 0x180234
4614 #define TSEM_REG_INT_TABLE 0x180400
4617 #define TSEM_REG_MSG_NUM_FIC0 0x180000
4620 #define TSEM_REG_MSG_NUM_FIC1 0x180004
4623 #define TSEM_REG_MSG_NUM_FOC0 0x180008
4626 #define TSEM_REG_MSG_NUM_FOC1 0x18000c
4629 #define TSEM_REG_MSG_NUM_FOC2 0x180010
4632 #define TSEM_REG_MSG_NUM_FOC3 0x180014
4635 #define TSEM_REG_PAS_DISABLE 0x18024c
4637 #define TSEM_REG_PASSIVE_BUFFER 0x181000
4639 #define TSEM_REG_PRAM 0x1c0000
4641 #define TSEM_REG_SLEEP_THREADS_VALID 0x18026c
4643 #define TSEM_REG_SLOW_EXT_STORE_EMPTY 0x1802a0
4645 #define TSEM_REG_THREADS_LIST 0x1802e4
4647 #define TSEM_REG_TSEM_PRTY_STS_CLR_0 0x180118
4648 #define TSEM_REG_TSEM_PRTY_STS_CLR_1 0x180128
4650 #define TSEM_REG_TS_0_AS 0x180038
4652 #define TSEM_REG_TS_10_AS 0x180060
4654 #define TSEM_REG_TS_11_AS 0x180064
4656 #define TSEM_REG_TS_12_AS 0x180068
4658 #define TSEM_REG_TS_13_AS 0x18006c
4660 #define TSEM_REG_TS_14_AS 0x180070
4662 #define TSEM_REG_TS_15_AS 0x180074
4664 #define TSEM_REG_TS_16_AS 0x180078
4666 #define TSEM_REG_TS_17_AS 0x18007c
4668 #define TSEM_REG_TS_18_AS 0x180080
4670 #define TSEM_REG_TS_1_AS 0x18003c
4672 #define TSEM_REG_TS_2_AS 0x180040
4674 #define TSEM_REG_TS_3_AS 0x180044
4676 #define TSEM_REG_TS_4_AS 0x180048
4678 #define TSEM_REG_TS_5_AS 0x18004c
4680 #define TSEM_REG_TS_6_AS 0x180050
4682 #define TSEM_REG_TS_7_AS 0x180054
4684 #define TSEM_REG_TS_8_AS 0x180058
4686 #define TSEM_REG_TS_9_AS 0x18005c
4688 #define TSEM_REG_TSEM_INT_MASK_0 0x180100
4689 #define TSEM_REG_TSEM_INT_MASK_1 0x180110
4691 #define TSEM_REG_TSEM_INT_STS_0 0x1800f4
4692 #define TSEM_REG_TSEM_INT_STS_1 0x180104
4694 #define TSEM_REG_TSEM_PRTY_MASK_0 0x180120
4695 #define TSEM_REG_TSEM_PRTY_MASK_1 0x180130
4697 #define TSEM_REG_TSEM_PRTY_STS_0 0x180114
4698 #define TSEM_REG_TSEM_PRTY_STS_1 0x180124
4701 #define TSEM_REG_VFPF_ERR_NUM 0x180380
4706 #define UCM_REG_AG_CTX 0xe2000
4708 #define UCM_REG_CAM_OCCUP 0xe0170
4712 #define UCM_REG_CDU_AG_RD_IFEN 0xe0038
4716 #define UCM_REG_CDU_AG_WR_IFEN 0xe0034
4720 #define UCM_REG_CDU_SM_RD_IFEN 0xe0040
4724 #define UCM_REG_CDU_SM_WR_IFEN 0xe003c
4728 #define UCM_REG_CFC_INIT_CRD 0xe0204
4732 #define UCM_REG_CP_WEIGHT 0xe00c4
4736 #define UCM_REG_CSEM_IFEN 0xe0028
4739 #define UCM_REG_CSEM_LENGTH_MIS 0xe0160
4743 #define UCM_REG_CSEM_WEIGHT 0xe00b8
4747 #define UCM_REG_DORQ_IFEN 0xe0030
4750 #define UCM_REG_DORQ_LENGTH_MIS 0xe0168
4754 #define UCM_REG_DORQ_WEIGHT 0xe00c0
4756 #define UCM_REG_ERR_EVNT_ID 0xe00a4
4758 #define UCM_REG_ERR_UCM_HDR 0xe00a0
4760 #define UCM_REG_EXPR_EVNT_ID 0xe00a8
4764 #define UCM_REG_FIC0_INIT_CRD 0xe020c
4768 #define UCM_REG_FIC1_INIT_CRD 0xe0210
4773 #define UCM_REG_GR_ARB_TYPE 0xe0144
4777 #define UCM_REG_GR_LD0_PR 0xe014c
4781 #define UCM_REG_GR_LD1_PR 0xe0150
4783 #define UCM_REG_INV_CFLG_Q 0xe00e4
4789 #define UCM_REG_N_SM_CTX_LD_0 0xe0054
4790 #define UCM_REG_N_SM_CTX_LD_1 0xe0058
4791 #define UCM_REG_N_SM_CTX_LD_2 0xe005c
4792 #define UCM_REG_N_SM_CTX_LD_3 0xe0060
4793 #define UCM_REG_N_SM_CTX_LD_4 0xe0064
4794 #define UCM_REG_N_SM_CTX_LD_5 0xe0068
4795 #define UCM_REG_PHYS_QNUM0_0 0xe0110
4796 #define UCM_REG_PHYS_QNUM0_1 0xe0114
4797 #define UCM_REG_PHYS_QNUM1_0 0xe0118
4798 #define UCM_REG_PHYS_QNUM1_1 0xe011c
4799 #define UCM_REG_PHYS_QNUM2_0 0xe0120
4800 #define UCM_REG_PHYS_QNUM2_1 0xe0124
4801 #define UCM_REG_PHYS_QNUM3_0 0xe0128
4802 #define UCM_REG_PHYS_QNUM3_1 0xe012c
4804 #define UCM_REG_STOP_EVNT_ID 0xe00ac
4807 #define UCM_REG_STORM_LENGTH_MIS 0xe0154
4811 #define UCM_REG_STORM_UCM_IFEN 0xe0010
4815 #define UCM_REG_STORM_WEIGHT 0xe00b0
4819 #define UCM_REG_TM_INIT_CRD 0xe021c
4821 #define UCM_REG_TM_UCM_HDR 0xe009c
4825 #define UCM_REG_TM_UCM_IFEN 0xe001c
4829 #define UCM_REG_TM_WEIGHT 0xe00d4
4833 #define UCM_REG_TSEM_IFEN 0xe0024
4836 #define UCM_REG_TSEM_LENGTH_MIS 0xe015c
4840 #define UCM_REG_TSEM_WEIGHT 0xe00b4
4844 #define UCM_REG_UCM_CFC_IFEN 0xe0044
4846 #define UCM_REG_UCM_INT_MASK 0xe01d4
4848 #define UCM_REG_UCM_INT_STS 0xe01c8
4850 #define UCM_REG_UCM_PRTY_MASK 0xe01e4
4852 #define UCM_REG_UCM_PRTY_STS 0xe01d8
4854 #define UCM_REG_UCM_PRTY_STS_CLR 0xe01dc
4859 #define UCM_REG_UCM_REG0_SZ 0xe00dc
4863 #define UCM_REG_UCM_STORM0_IFEN 0xe0004
4867 #define UCM_REG_UCM_STORM1_IFEN 0xe0008
4871 #define UCM_REG_UCM_TM_IFEN 0xe0020
4875 #define UCM_REG_UCM_UQM_IFEN 0xe000c
4877 #define UCM_REG_UCM_UQM_USE_Q 0xe00d8
4881 #define UCM_REG_UQM_INIT_CRD 0xe0220
4885 #define UCM_REG_UQM_P_WEIGHT 0xe00cc
4889 #define UCM_REG_UQM_S_WEIGHT 0xe00d0
4891 #define UCM_REG_UQM_UCM_HDR_P 0xe0094
4893 #define UCM_REG_UQM_UCM_HDR_S 0xe0098
4897 #define UCM_REG_UQM_UCM_IFEN 0xe0014
4901 #define UCM_REG_USDM_IFEN 0xe0018
4904 #define UCM_REG_USDM_LENGTH_MIS 0xe0158
4908 #define UCM_REG_USDM_WEIGHT 0xe00c8
4912 #define UCM_REG_XSEM_IFEN 0xe002c
4915 #define UCM_REG_XSEM_LENGTH_MIS 0xe0164
4919 #define UCM_REG_XSEM_WEIGHT 0xe00bc
4923 #define UCM_REG_XX_DESCR_TABLE 0xe0280
4924 #define UCM_REG_XX_DESCR_TABLE_SIZE 27
4926 #define UCM_REG_XX_FREE 0xe016c
4931 #define UCM_REG_XX_INIT_CRD 0xe0224
4934 #define UCM_REG_XX_MSG_NUM 0xe0228
4936 #define UCM_REG_XX_OVFL_EVNT_ID 0xe004c
4940 #define UCM_REG_XX_TABLE 0xe0300
4941 #define UMAC_COMMAND_CONFIG_REG_HD_ENA (0x1<<10)
4942 #define UMAC_COMMAND_CONFIG_REG_IGNORE_TX_PAUSE (0x1<<28)
4943 #define UMAC_COMMAND_CONFIG_REG_LOOP_ENA (0x1<<15)
4944 #define UMAC_COMMAND_CONFIG_REG_NO_LGTH_CHECK (0x1<<24)
4945 #define UMAC_COMMAND_CONFIG_REG_PAD_EN (0x1<<5)
4946 #define UMAC_COMMAND_CONFIG_REG_PAUSE_IGNORE (0x1<<8)
4947 #define UMAC_COMMAND_CONFIG_REG_PROMIS_EN (0x1<<4)
4948 #define UMAC_COMMAND_CONFIG_REG_RX_ENA (0x1<<1)
4949 #define UMAC_COMMAND_CONFIG_REG_SW_RESET (0x1<<13)
4950 #define UMAC_COMMAND_CONFIG_REG_TX_ENA (0x1<<0)
4951 #define UMAC_REG_COMMAND_CONFIG 0x8
4955 #define UMAC_REG_EEE_WAKE_TIMER 0x6c
4958 #define UMAC_REG_MAC_ADDR0 0xc
4961 #define UMAC_REG_MAC_ADDR1 0x10
4964 #define UMAC_REG_MAXFR 0x14
4965 #define UMAC_REG_UMAC_EEE_CTRL 0x64
4966 #define UMAC_UMAC_EEE_CTRL_REG_EEE_EN (0x1<<3)
4968 #define USDM_REG_AGG_INT_EVENT_0 0xc4038
4969 #define USDM_REG_AGG_INT_EVENT_1 0xc403c
4970 #define USDM_REG_AGG_INT_EVENT_2 0xc4040
4971 #define USDM_REG_AGG_INT_EVENT_4 0xc4048
4972 #define USDM_REG_AGG_INT_EVENT_5 0xc404c
4973 #define USDM_REG_AGG_INT_EVENT_6 0xc4050
4976 #define USDM_REG_AGG_INT_MODE_0 0xc41b8
4977 #define USDM_REG_AGG_INT_MODE_1 0xc41bc
4978 #define USDM_REG_AGG_INT_MODE_4 0xc41c8
4979 #define USDM_REG_AGG_INT_MODE_5 0xc41cc
4980 #define USDM_REG_AGG_INT_MODE_6 0xc41d0
4982 #define USDM_REG_AGG_INT_T_5 0xc40cc
4983 #define USDM_REG_AGG_INT_T_6 0xc40d0
4985 #define USDM_REG_CFC_RSP_START_ADDR 0xc4008
4987 #define USDM_REG_CMP_COUNTER_MAX0 0xc401c
4989 #define USDM_REG_CMP_COUNTER_MAX1 0xc4020
4991 #define USDM_REG_CMP_COUNTER_MAX2 0xc4024
4993 #define USDM_REG_CMP_COUNTER_MAX3 0xc4028
4996 #define USDM_REG_CMP_COUNTER_START_ADDR 0xc400c
4997 #define USDM_REG_ENABLE_IN1 0xc4238
4998 #define USDM_REG_ENABLE_IN2 0xc423c
4999 #define USDM_REG_ENABLE_OUT1 0xc4240
5000 #define USDM_REG_ENABLE_OUT2 0xc4244
5003 #define USDM_REG_INIT_CREDIT_PXP_CTRL 0xc44c0
5005 #define USDM_REG_NUM_OF_ACK_AFTER_PLACE 0xc4280
5007 #define USDM_REG_NUM_OF_PKT_END_MSG 0xc4278
5009 #define USDM_REG_NUM_OF_PXP_ASYNC_REQ 0xc427c
5011 #define USDM_REG_NUM_OF_Q0_CMD 0xc4248
5013 #define USDM_REG_NUM_OF_Q10_CMD 0xc4270
5015 #define USDM_REG_NUM_OF_Q11_CMD 0xc4274
5017 #define USDM_REG_NUM_OF_Q1_CMD 0xc424c
5019 #define USDM_REG_NUM_OF_Q2_CMD 0xc4250
5021 #define USDM_REG_NUM_OF_Q3_CMD 0xc4254
5023 #define USDM_REG_NUM_OF_Q4_CMD 0xc4258
5025 #define USDM_REG_NUM_OF_Q5_CMD 0xc425c
5027 #define USDM_REG_NUM_OF_Q6_CMD 0xc4260
5029 #define USDM_REG_NUM_OF_Q7_CMD 0xc4264
5031 #define USDM_REG_NUM_OF_Q8_CMD 0xc4268
5033 #define USDM_REG_NUM_OF_Q9_CMD 0xc426c
5035 #define USDM_REG_PCK_END_MSG_START_ADDR 0xc4014
5037 #define USDM_REG_Q_COUNTER_START_ADDR 0xc4010
5039 #define USDM_REG_RSP_PXP_CTRL_RDATA_EMPTY 0xc4550
5041 #define USDM_REG_SYNC_PARSER_EMPTY 0xc4558
5043 #define USDM_REG_SYNC_SYNC_EMPTY 0xc4560
5046 #define USDM_REG_TIMER_TICK 0xc4000
5048 #define USDM_REG_USDM_INT_MASK_0 0xc42a0
5049 #define USDM_REG_USDM_INT_MASK_1 0xc42b0
5051 #define USDM_REG_USDM_INT_STS_0 0xc4294
5052 #define USDM_REG_USDM_INT_STS_1 0xc42a4
5054 #define USDM_REG_USDM_PRTY_MASK 0xc42c0
5056 #define USDM_REG_USDM_PRTY_STS 0xc42b4
5058 #define USDM_REG_USDM_PRTY_STS_CLR 0xc42b8
5060 #define USEM_REG_ARB_CYCLE_SIZE 0x300034
5064 #define USEM_REG_ARB_ELEMENT0 0x300020
5069 #define USEM_REG_ARB_ELEMENT1 0x300024
5075 #define USEM_REG_ARB_ELEMENT2 0x300028
5082 #define USEM_REG_ARB_ELEMENT3 0x30002c
5090 #define USEM_REG_ARB_ELEMENT4 0x300030
5091 #define USEM_REG_ENABLE_IN 0x3000a4
5092 #define USEM_REG_ENABLE_OUT 0x3000a8
5097 #define USEM_REG_FAST_MEMORY 0x320000
5100 #define USEM_REG_FIC0_DISABLE 0x300224
5103 #define USEM_REG_FIC1_DISABLE 0x300234
5106 #define USEM_REG_INT_TABLE 0x300400
5109 #define USEM_REG_MSG_NUM_FIC0 0x300000
5112 #define USEM_REG_MSG_NUM_FIC1 0x300004
5115 #define USEM_REG_MSG_NUM_FOC0 0x300008
5118 #define USEM_REG_MSG_NUM_FOC1 0x30000c
5121 #define USEM_REG_MSG_NUM_FOC2 0x300010
5124 #define USEM_REG_MSG_NUM_FOC3 0x300014
5127 #define USEM_REG_PAS_DISABLE 0x30024c
5129 #define USEM_REG_PASSIVE_BUFFER 0x302000
5131 #define USEM_REG_PRAM 0x340000
5133 #define USEM_REG_SLEEP_THREADS_VALID 0x30026c
5135 #define USEM_REG_SLOW_EXT_STORE_EMPTY 0x3002a0
5137 #define USEM_REG_THREADS_LIST 0x3002e4
5139 #define USEM_REG_TS_0_AS 0x300038
5141 #define USEM_REG_TS_10_AS 0x300060
5143 #define USEM_REG_TS_11_AS 0x300064
5145 #define USEM_REG_TS_12_AS 0x300068
5147 #define USEM_REG_TS_13_AS 0x30006c
5149 #define USEM_REG_TS_14_AS 0x300070
5151 #define USEM_REG_TS_15_AS 0x300074
5153 #define USEM_REG_TS_16_AS 0x300078
5155 #define USEM_REG_TS_17_AS 0x30007c
5157 #define USEM_REG_TS_18_AS 0x300080
5159 #define USEM_REG_TS_1_AS 0x30003c
5161 #define USEM_REG_TS_2_AS 0x300040
5163 #define USEM_REG_TS_3_AS 0x300044
5165 #define USEM_REG_TS_4_AS 0x300048
5167 #define USEM_REG_TS_5_AS 0x30004c
5169 #define USEM_REG_TS_6_AS 0x300050
5171 #define USEM_REG_TS_7_AS 0x300054
5173 #define USEM_REG_TS_8_AS 0x300058
5175 #define USEM_REG_TS_9_AS 0x30005c
5177 #define USEM_REG_USEM_INT_MASK_0 0x300110
5178 #define USEM_REG_USEM_INT_MASK_1 0x300120
5180 #define USEM_REG_USEM_INT_STS_0 0x300104
5181 #define USEM_REG_USEM_INT_STS_1 0x300114
5183 #define USEM_REG_USEM_PRTY_MASK_0 0x300130
5184 #define USEM_REG_USEM_PRTY_MASK_1 0x300140
5186 #define USEM_REG_USEM_PRTY_STS_0 0x300124
5187 #define USEM_REG_USEM_PRTY_STS_1 0x300134
5189 #define USEM_REG_USEM_PRTY_STS_CLR_0 0x300128
5190 #define USEM_REG_USEM_PRTY_STS_CLR_1 0x300138
5193 #define USEM_REG_VFPF_ERR_NUM 0x300380
5194 #define VFC_MEMORIES_RST_REG_CAM_RST (0x1<<0)
5195 #define VFC_MEMORIES_RST_REG_RAM_RST (0x1<<1)
5196 #define VFC_REG_MEMORIES_RST 0x1943c
5201 #define XCM_REG_AG_CTX 0x28000
5203 #define XCM_REG_AUX1_Q 0x20134
5205 #define XCM_REG_AUX_CNT_FLG_Q_19 0x201b0
5207 #define XCM_REG_CAM_OCCUP 0x20244
5211 #define XCM_REG_CDU_AG_RD_IFEN 0x20044
5215 #define XCM_REG_CDU_AG_WR_IFEN 0x20040
5219 #define XCM_REG_CDU_SM_RD_IFEN 0x2004c
5223 #define XCM_REG_CDU_SM_WR_IFEN 0x20048
5227 #define XCM_REG_CFC_INIT_CRD 0x20404
5231 #define XCM_REG_CP_WEIGHT 0x200dc
5235 #define XCM_REG_CSEM_IFEN 0x20028
5238 #define XCM_REG_CSEM_LENGTH_MIS 0x20228
5242 #define XCM_REG_CSEM_WEIGHT 0x200c4
5246 #define XCM_REG_DORQ_IFEN 0x20030
5249 #define XCM_REG_DORQ_LENGTH_MIS 0x20230
5253 #define XCM_REG_DORQ_WEIGHT 0x200cc
5255 #define XCM_REG_ERR_EVNT_ID 0x200b0
5257 #define XCM_REG_ERR_XCM_HDR 0x200ac
5259 #define XCM_REG_EXPR_EVNT_ID 0x200b4
5263 #define XCM_REG_FIC0_INIT_CRD 0x2040c
5267 #define XCM_REG_FIC1_INIT_CRD 0x20410
5268 #define XCM_REG_GLB_DEL_ACK_MAX_CNT_0 0x20118
5269 #define XCM_REG_GLB_DEL_ACK_MAX_CNT_1 0x2011c
5270 #define XCM_REG_GLB_DEL_ACK_TMR_VAL_0 0x20108
5271 #define XCM_REG_GLB_DEL_ACK_TMR_VAL_1 0x2010c
5276 #define XCM_REG_GR_ARB_TYPE 0x2020c
5280 #define XCM_REG_GR_LD0_PR 0x20214
5284 #define XCM_REG_GR_LD1_PR 0x20218
5288 #define XCM_REG_NIG0_IFEN 0x20038
5291 #define XCM_REG_NIG0_LENGTH_MIS 0x20238
5295 #define XCM_REG_NIG0_WEIGHT 0x200d4
5299 #define XCM_REG_NIG1_IFEN 0x2003c
5302 #define XCM_REG_NIG1_LENGTH_MIS 0x2023c
5308 #define XCM_REG_N_SM_CTX_LD_0 0x20060
5309 #define XCM_REG_N_SM_CTX_LD_1 0x20064
5310 #define XCM_REG_N_SM_CTX_LD_2 0x20068
5311 #define XCM_REG_N_SM_CTX_LD_3 0x2006c
5312 #define XCM_REG_N_SM_CTX_LD_4 0x20070
5313 #define XCM_REG_N_SM_CTX_LD_5 0x20074
5317 #define XCM_REG_PBF_IFEN 0x20034
5320 #define XCM_REG_PBF_LENGTH_MIS 0x20234
5324 #define XCM_REG_PBF_WEIGHT 0x200d0
5325 #define XCM_REG_PHYS_QNUM3_0 0x20100
5326 #define XCM_REG_PHYS_QNUM3_1 0x20104
5328 #define XCM_REG_STOP_EVNT_ID 0x200b8
5331 #define XCM_REG_STORM_LENGTH_MIS 0x2021c
5335 #define XCM_REG_STORM_WEIGHT 0x200bc
5339 #define XCM_REG_STORM_XCM_IFEN 0x20010
5343 #define XCM_REG_TM_INIT_CRD 0x2041c
5347 #define XCM_REG_TM_WEIGHT 0x200ec
5349 #define XCM_REG_TM_XCM_HDR 0x200a8
5353 #define XCM_REG_TM_XCM_IFEN 0x2001c
5357 #define XCM_REG_TSEM_IFEN 0x20024
5360 #define XCM_REG_TSEM_LENGTH_MIS 0x20224
5364 #define XCM_REG_TSEM_WEIGHT 0x200c0
5366 #define XCM_REG_UNA_GT_NXT_Q 0x20120
5370 #define XCM_REG_USEM_IFEN 0x2002c
5373 #define XCM_REG_USEM_LENGTH_MIS 0x2022c
5377 #define XCM_REG_USEM_WEIGHT 0x200c8
5378 #define XCM_REG_WU_DA_CNT_CMD00 0x201d4
5379 #define XCM_REG_WU_DA_CNT_CMD01 0x201d8
5380 #define XCM_REG_WU_DA_CNT_CMD10 0x201dc
5381 #define XCM_REG_WU_DA_CNT_CMD11 0x201e0
5382 #define XCM_REG_WU_DA_CNT_UPD_VAL00 0x201e4
5383 #define XCM_REG_WU_DA_CNT_UPD_VAL01 0x201e8
5384 #define XCM_REG_WU_DA_CNT_UPD_VAL10 0x201ec
5385 #define XCM_REG_WU_DA_CNT_UPD_VAL11 0x201f0
5386 #define XCM_REG_WU_DA_SET_TMR_CNT_FLG_CMD00 0x201c4
5387 #define XCM_REG_WU_DA_SET_TMR_CNT_FLG_CMD01 0x201c8
5388 #define XCM_REG_WU_DA_SET_TMR_CNT_FLG_CMD10 0x201cc
5389 #define XCM_REG_WU_DA_SET_TMR_CNT_FLG_CMD11 0x201d0
5393 #define XCM_REG_XCM_CFC_IFEN 0x20050
5395 #define XCM_REG_XCM_INT_MASK 0x202b4
5397 #define XCM_REG_XCM_INT_STS 0x202a8
5399 #define XCM_REG_XCM_PRTY_MASK 0x202c4
5401 #define XCM_REG_XCM_PRTY_STS 0x202b8
5403 #define XCM_REG_XCM_PRTY_STS_CLR 0x202bc
5409 #define XCM_REG_XCM_REG0_SZ 0x200f4
5413 #define XCM_REG_XCM_STORM0_IFEN 0x20004
5417 #define XCM_REG_XCM_STORM1_IFEN 0x20008
5421 #define XCM_REG_XCM_TM_IFEN 0x20020
5425 #define XCM_REG_XCM_XQM_IFEN 0x2000c
5427 #define XCM_REG_XCM_XQM_USE_Q 0x200f0
5429 #define XCM_REG_XQM_BYP_ACT_UPD 0x200fc
5433 #define XCM_REG_XQM_INIT_CRD 0x20420
5437 #define XCM_REG_XQM_P_WEIGHT 0x200e4
5441 #define XCM_REG_XQM_S_WEIGHT 0x200e8
5443 #define XCM_REG_XQM_XCM_HDR_P 0x200a0
5445 #define XCM_REG_XQM_XCM_HDR_S 0x200a4
5449 #define XCM_REG_XQM_XCM_IFEN 0x20014
5453 #define XCM_REG_XSDM_IFEN 0x20018
5456 #define XCM_REG_XSDM_LENGTH_MIS 0x20220
5460 #define XCM_REG_XSDM_WEIGHT 0x200e0
5464 #define XCM_REG_XX_DESCR_TABLE 0x20480
5465 #define XCM_REG_XX_DESCR_TABLE_SIZE 32
5467 #define XCM_REG_XX_FREE 0x20240
5473 #define XCM_REG_XX_INIT_CRD 0x20424
5476 #define XCM_REG_XX_MSG_NUM 0x20428
5478 #define XCM_REG_XX_OVFL_EVNT_ID 0x20058
5479 #define XMAC_CLEAR_RX_LSS_STATUS_REG_CLEAR_LOCAL_FAULT_STATUS (0x1<<0)
5480 #define XMAC_CLEAR_RX_LSS_STATUS_REG_CLEAR_REMOTE_FAULT_STATUS (0x1<<1)
5481 #define XMAC_CTRL_REG_LINE_LOCAL_LPBK (0x1<<2)
5482 #define XMAC_CTRL_REG_RX_EN (0x1<<1)
5483 #define XMAC_CTRL_REG_SOFT_RESET (0x1<<6)
5484 #define XMAC_CTRL_REG_TX_EN (0x1<<0)
5485 #define XMAC_PAUSE_CTRL_REG_RX_PAUSE_EN (0x1<<18)
5486 #define XMAC_PAUSE_CTRL_REG_TX_PAUSE_EN (0x1<<17)
5487 #define XMAC_PFC_CTRL_HI_REG_FORCE_PFC_XON (0x1<<1)
5488 #define XMAC_PFC_CTRL_HI_REG_PFC_REFRESH_EN (0x1<<0)
5489 #define XMAC_PFC_CTRL_HI_REG_PFC_STATS_EN (0x1<<3)
5490 #define XMAC_PFC_CTRL_HI_REG_RX_PFC_EN (0x1<<4)
5491 #define XMAC_PFC_CTRL_HI_REG_TX_PFC_EN (0x1<<5)
5492 #define XMAC_REG_CLEAR_RX_LSS_STATUS 0x60
5493 #define XMAC_REG_CTRL 0
5496 #define XMAC_REG_CTRL_SA_HI 0x2c
5499 #define XMAC_REG_CTRL_SA_LO 0x28
5500 #define XMAC_REG_EEE_CTRL 0xd8
5501 #define XMAC_REG_EEE_TIMERS_HI 0xe4
5502 #define XMAC_REG_PAUSE_CTRL 0x68
5503 #define XMAC_REG_PFC_CTRL 0x70
5504 #define XMAC_REG_PFC_CTRL_HI 0x74
5505 #define XMAC_REG_RX_LSS_STATUS 0x58
5508 #define XMAC_REG_RX_MAX_SIZE 0x40
5509 #define XMAC_REG_TX_CTRL 0x20
5513 #define XCM_REG_XX_TABLE 0x20500
5515 #define XSDM_REG_AGG_INT_EVENT_0 0x166038
5516 #define XSDM_REG_AGG_INT_EVENT_1 0x16603c
5517 #define XSDM_REG_AGG_INT_EVENT_10 0x166060
5518 #define XSDM_REG_AGG_INT_EVENT_11 0x166064
5519 #define XSDM_REG_AGG_INT_EVENT_12 0x166068
5520 #define XSDM_REG_AGG_INT_EVENT_13 0x16606c
5521 #define XSDM_REG_AGG_INT_EVENT_14 0x166070
5522 #define XSDM_REG_AGG_INT_EVENT_2 0x166040
5523 #define XSDM_REG_AGG_INT_EVENT_3 0x166044
5524 #define XSDM_REG_AGG_INT_EVENT_4 0x166048
5525 #define XSDM_REG_AGG_INT_EVENT_5 0x16604c
5526 #define XSDM_REG_AGG_INT_EVENT_6 0x166050
5527 #define XSDM_REG_AGG_INT_EVENT_7 0x166054
5528 #define XSDM_REG_AGG_INT_EVENT_8 0x166058
5529 #define XSDM_REG_AGG_INT_EVENT_9 0x16605c
5532 #define XSDM_REG_AGG_INT_MODE_0 0x1661b8
5533 #define XSDM_REG_AGG_INT_MODE_1 0x1661bc
5535 #define XSDM_REG_CFC_RSP_START_ADDR 0x166008
5537 #define XSDM_REG_CMP_COUNTER_MAX0 0x16601c
5539 #define XSDM_REG_CMP_COUNTER_MAX1 0x166020
5541 #define XSDM_REG_CMP_COUNTER_MAX2 0x166024
5543 #define XSDM_REG_CMP_COUNTER_MAX3 0x166028
5546 #define XSDM_REG_CMP_COUNTER_START_ADDR 0x16600c
5547 #define XSDM_REG_ENABLE_IN1 0x166238
5548 #define XSDM_REG_ENABLE_IN2 0x16623c
5549 #define XSDM_REG_ENABLE_OUT1 0x166240
5550 #define XSDM_REG_ENABLE_OUT2 0x166244
5553 #define XSDM_REG_INIT_CREDIT_PXP_CTRL 0x1664bc
5555 #define XSDM_REG_NUM_OF_ACK_AFTER_PLACE 0x16627c
5557 #define XSDM_REG_NUM_OF_PKT_END_MSG 0x166274
5559 #define XSDM_REG_NUM_OF_PXP_ASYNC_REQ 0x166278
5561 #define XSDM_REG_NUM_OF_Q0_CMD 0x166248
5563 #define XSDM_REG_NUM_OF_Q10_CMD 0x16626c
5565 #define XSDM_REG_NUM_OF_Q11_CMD 0x166270
5567 #define XSDM_REG_NUM_OF_Q1_CMD 0x16624c
5569 #define XSDM_REG_NUM_OF_Q3_CMD 0x166250
5571 #define XSDM_REG_NUM_OF_Q4_CMD 0x166254
5573 #define XSDM_REG_NUM_OF_Q5_CMD 0x166258
5575 #define XSDM_REG_NUM_OF_Q6_CMD 0x16625c
5577 #define XSDM_REG_NUM_OF_Q7_CMD 0x166260
5579 #define XSDM_REG_NUM_OF_Q8_CMD 0x166264
5581 #define XSDM_REG_NUM_OF_Q9_CMD 0x166268
5583 #define XSDM_REG_Q_COUNTER_START_ADDR 0x166010
5587 #define XSDM_REG_OPERATION_GEN 0x1664c4
5589 #define XSDM_REG_RSP_PXP_CTRL_RDATA_EMPTY 0x166548
5591 #define XSDM_REG_SYNC_PARSER_EMPTY 0x166550
5593 #define XSDM_REG_SYNC_SYNC_EMPTY 0x166558
5596 #define XSDM_REG_TIMER_TICK 0x166000
5598 #define XSDM_REG_XSDM_INT_MASK_0 0x16629c
5599 #define XSDM_REG_XSDM_INT_MASK_1 0x1662ac
5601 #define XSDM_REG_XSDM_INT_STS_0 0x166290
5602 #define XSDM_REG_XSDM_INT_STS_1 0x1662a0
5604 #define XSDM_REG_XSDM_PRTY_MASK 0x1662bc
5606 #define XSDM_REG_XSDM_PRTY_STS 0x1662b0
5608 #define XSDM_REG_XSDM_PRTY_STS_CLR 0x1662b4
5610 #define XSEM_REG_ARB_CYCLE_SIZE 0x280034
5614 #define XSEM_REG_ARB_ELEMENT0 0x280020
5619 #define XSEM_REG_ARB_ELEMENT1 0x280024
5625 #define XSEM_REG_ARB_ELEMENT2 0x280028
5632 #define XSEM_REG_ARB_ELEMENT3 0x28002c
5640 #define XSEM_REG_ARB_ELEMENT4 0x280030
5641 #define XSEM_REG_ENABLE_IN 0x2800a4
5642 #define XSEM_REG_ENABLE_OUT 0x2800a8
5647 #define XSEM_REG_FAST_MEMORY 0x2a0000
5650 #define XSEM_REG_FIC0_DISABLE 0x280224
5653 #define XSEM_REG_FIC1_DISABLE 0x280234
5656 #define XSEM_REG_INT_TABLE 0x280400
5659 #define XSEM_REG_MSG_NUM_FIC0 0x280000
5662 #define XSEM_REG_MSG_NUM_FIC1 0x280004
5665 #define XSEM_REG_MSG_NUM_FOC0 0x280008
5668 #define XSEM_REG_MSG_NUM_FOC1 0x28000c
5671 #define XSEM_REG_MSG_NUM_FOC2 0x280010
5674 #define XSEM_REG_MSG_NUM_FOC3 0x280014
5677 #define XSEM_REG_PAS_DISABLE 0x28024c
5679 #define XSEM_REG_PASSIVE_BUFFER 0x282000
5681 #define XSEM_REG_PRAM 0x2c0000
5683 #define XSEM_REG_SLEEP_THREADS_VALID 0x28026c
5685 #define XSEM_REG_SLOW_EXT_STORE_EMPTY 0x2802a0
5687 #define XSEM_REG_THREADS_LIST 0x2802e4
5689 #define XSEM_REG_TS_0_AS 0x280038
5691 #define XSEM_REG_TS_10_AS 0x280060
5693 #define XSEM_REG_TS_11_AS 0x280064
5695 #define XSEM_REG_TS_12_AS 0x280068
5697 #define XSEM_REG_TS_13_AS 0x28006c
5699 #define XSEM_REG_TS_14_AS 0x280070
5701 #define XSEM_REG_TS_15_AS 0x280074
5703 #define XSEM_REG_TS_16_AS 0x280078
5705 #define XSEM_REG_TS_17_AS 0x28007c
5707 #define XSEM_REG_TS_18_AS 0x280080
5709 #define XSEM_REG_TS_1_AS 0x28003c
5711 #define XSEM_REG_TS_2_AS 0x280040
5713 #define XSEM_REG_TS_3_AS 0x280044
5715 #define XSEM_REG_TS_4_AS 0x280048
5717 #define XSEM_REG_TS_5_AS 0x28004c
5719 #define XSEM_REG_TS_6_AS 0x280050
5721 #define XSEM_REG_TS_7_AS 0x280054
5723 #define XSEM_REG_TS_8_AS 0x280058
5725 #define XSEM_REG_TS_9_AS 0x28005c
5728 #define XSEM_REG_VFPF_ERR_NUM 0x280380
5730 #define XSEM_REG_XSEM_INT_MASK_0 0x280110
5731 #define XSEM_REG_XSEM_INT_MASK_1 0x280120
5733 #define XSEM_REG_XSEM_INT_STS_0 0x280104
5734 #define XSEM_REG_XSEM_INT_STS_1 0x280114
5736 #define XSEM_REG_XSEM_PRTY_MASK_0 0x280130
5737 #define XSEM_REG_XSEM_PRTY_MASK_1 0x280140
5739 #define XSEM_REG_XSEM_PRTY_STS_0 0x280124
5740 #define XSEM_REG_XSEM_PRTY_STS_1 0x280134
5742 #define XSEM_REG_XSEM_PRTY_STS_CLR_0 0x280128
5743 #define XSEM_REG_XSEM_PRTY_STS_CLR_1 0x280138
5744 #define MCPR_ACCESS_LOCK_LOCK (1L<<31)
5745 #define MCPR_NVM_ACCESS_ENABLE_EN (1L<<0)
5746 #define MCPR_NVM_ACCESS_ENABLE_WR_EN (1L<<1)
5747 #define MCPR_NVM_ADDR_NVM_ADDR_VALUE (0xffffffL<<0)
5748 #define MCPR_NVM_CFG4_FLASH_SIZE (0x7L<<0)
5749 #define MCPR_NVM_COMMAND_DOIT (1L<<4)
5750 #define MCPR_NVM_COMMAND_DONE (1L<<3)
5751 #define MCPR_NVM_COMMAND_FIRST (1L<<7)
5752 #define MCPR_NVM_COMMAND_LAST (1L<<8)
5753 #define MCPR_NVM_COMMAND_WR (1L<<5)
5754 #define MCPR_NVM_SW_ARB_ARB_ARB1 (1L<<9)
5755 #define MCPR_NVM_SW_ARB_ARB_REQ_CLR1 (1L<<5)
5756 #define MCPR_NVM_SW_ARB_ARB_REQ_SET1 (1L<<1)
5757 #define BIGMAC_REGISTER_BMAC_CONTROL (0x00<<3)
5758 #define BIGMAC_REGISTER_BMAC_XGXS_CONTROL (0x01<<3)
5759 #define BIGMAC_REGISTER_CNT_MAX_SIZE (0x05<<3)
5760 #define BIGMAC_REGISTER_RX_CONTROL (0x21<<3)
5761 #define BIGMAC_REGISTER_RX_LLFC_MSG_FLDS (0x46<<3)
5762 #define BIGMAC_REGISTER_RX_LSS_STATUS (0x43<<3)
5763 #define BIGMAC_REGISTER_RX_MAX_SIZE (0x23<<3)
5764 #define BIGMAC_REGISTER_RX_STAT_GR64 (0x26<<3)
5765 #define BIGMAC_REGISTER_RX_STAT_GRIPJ (0x42<<3)
5766 #define BIGMAC_REGISTER_TX_CONTROL (0x07<<3)
5767 #define BIGMAC_REGISTER_TX_MAX_SIZE (0x09<<3)
5768 #define BIGMAC_REGISTER_TX_PAUSE_THRESHOLD (0x0A<<3)
5769 #define BIGMAC_REGISTER_TX_SOURCE_ADDR (0x08<<3)
5770 #define BIGMAC_REGISTER_TX_STAT_GTBYT (0x20<<3)
5771 #define BIGMAC_REGISTER_TX_STAT_GTPKT (0x0C<<3)
5772 #define BIGMAC2_REGISTER_BMAC_CONTROL (0x00<<3)
5773 #define BIGMAC2_REGISTER_BMAC_XGXS_CONTROL (0x01<<3)
5774 #define BIGMAC2_REGISTER_CNT_MAX_SIZE (0x05<<3)
5775 #define BIGMAC2_REGISTER_PFC_CONTROL (0x06<<3)
5776 #define BIGMAC2_REGISTER_RX_CONTROL (0x3A<<3)
5777 #define BIGMAC2_REGISTER_RX_LLFC_MSG_FLDS (0x62<<3)
5778 #define BIGMAC2_REGISTER_RX_LSS_STAT (0x3E<<3)
5779 #define BIGMAC2_REGISTER_RX_MAX_SIZE (0x3C<<3)
5780 #define BIGMAC2_REGISTER_RX_STAT_GR64 (0x40<<3)
5781 #define BIGMAC2_REGISTER_RX_STAT_GRIPJ (0x5f<<3)
5782 #define BIGMAC2_REGISTER_RX_STAT_GRPP (0x51<<3)
5783 #define BIGMAC2_REGISTER_TX_CONTROL (0x1C<<3)
5784 #define BIGMAC2_REGISTER_TX_MAX_SIZE (0x1E<<3)
5785 #define BIGMAC2_REGISTER_TX_PAUSE_CONTROL (0x20<<3)
5786 #define BIGMAC2_REGISTER_TX_SOURCE_ADDR (0x1D<<3)
5787 #define BIGMAC2_REGISTER_TX_STAT_GTBYT (0x39<<3)
5788 #define BIGMAC2_REGISTER_TX_STAT_GTPOK (0x22<<3)
5789 #define BIGMAC2_REGISTER_TX_STAT_GTPP (0x24<<3)
5790 #define EMAC_LED_1000MB_OVERRIDE (1L<<1)
5791 #define EMAC_LED_100MB_OVERRIDE (1L<<2)
5792 #define EMAC_LED_10MB_OVERRIDE (1L<<3)
5793 #define EMAC_LED_2500MB_OVERRIDE (1L<<12)
5794 #define EMAC_LED_OVERRIDE (1L<<0)
5795 #define EMAC_LED_TRAFFIC (1L<<6)
5796 #define EMAC_MDIO_COMM_COMMAND_ADDRESS (0L<<26)
5797 #define EMAC_MDIO_COMM_COMMAND_READ_22 (2L<<26)
5798 #define EMAC_MDIO_COMM_COMMAND_READ_45 (3L<<26)
5799 #define EMAC_MDIO_COMM_COMMAND_WRITE_22 (1L<<26)
5800 #define EMAC_MDIO_COMM_COMMAND_WRITE_45 (1L<<26)
5801 #define EMAC_MDIO_COMM_DATA (0xffffL<<0)
5802 #define EMAC_MDIO_COMM_START_BUSY (1L<<29)
5803 #define EMAC_MDIO_MODE_AUTO_POLL (1L<<4)
5804 #define EMAC_MDIO_MODE_CLAUSE_45 (1L<<31)
5805 #define EMAC_MDIO_MODE_CLOCK_CNT (0x3ffL<<16)
5806 #define EMAC_MDIO_MODE_CLOCK_CNT_BITSHIFT 16
5807 #define EMAC_MDIO_STATUS_10MB (1L<<1)
5808 #define EMAC_MODE_25G_MODE (1L<<5)
5809 #define EMAC_MODE_HALF_DUPLEX (1L<<1)
5810 #define EMAC_MODE_PORT_GMII (2L<<2)
5811 #define EMAC_MODE_PORT_MII (1L<<2)
5812 #define EMAC_MODE_PORT_MII_10M (3L<<2)
5813 #define EMAC_MODE_RESET (1L<<0)
5814 #define EMAC_REG_EMAC_LED 0xc
5815 #define EMAC_REG_EMAC_MAC_MATCH 0x10
5816 #define EMAC_REG_EMAC_MDIO_COMM 0xac
5817 #define EMAC_REG_EMAC_MDIO_MODE 0xb4
5818 #define EMAC_REG_EMAC_MDIO_STATUS 0xb0
5819 #define EMAC_REG_EMAC_MODE 0x0
5820 #define EMAC_REG_EMAC_RX_MODE 0xc8
5821 #define EMAC_REG_EMAC_RX_MTU_SIZE 0x9c
5822 #define EMAC_REG_EMAC_RX_STAT_AC 0x180
5823 #define EMAC_REG_EMAC_RX_STAT_AC_28 0x1f4
5824 #define EMAC_REG_EMAC_RX_STAT_AC_COUNT 23
5825 #define EMAC_REG_EMAC_TX_MODE 0xbc
5826 #define EMAC_REG_EMAC_TX_STAT_AC 0x280
5827 #define EMAC_REG_EMAC_TX_STAT_AC_COUNT 22
5828 #define EMAC_REG_RX_PFC_MODE 0x320
5829 #define EMAC_REG_RX_PFC_MODE_PRIORITIES (1L<<2)
5830 #define EMAC_REG_RX_PFC_MODE_RX_EN (1L<<1)
5831 #define EMAC_REG_RX_PFC_MODE_TX_EN (1L<<0)
5832 #define EMAC_REG_RX_PFC_PARAM 0x324
5833 #define EMAC_REG_RX_PFC_PARAM_OPCODE_BITSHIFT 0
5834 #define EMAC_REG_RX_PFC_PARAM_PRIORITY_EN_BITSHIFT 16
5835 #define EMAC_REG_RX_PFC_STATS_XOFF_RCVD 0x328
5836 #define EMAC_REG_RX_PFC_STATS_XOFF_RCVD_COUNT (0xffff<<0)
5837 #define EMAC_REG_RX_PFC_STATS_XOFF_SENT 0x330
5838 #define EMAC_REG_RX_PFC_STATS_XOFF_SENT_COUNT (0xffff<<0)
5839 #define EMAC_REG_RX_PFC_STATS_XON_RCVD 0x32c
5840 #define EMAC_REG_RX_PFC_STATS_XON_RCVD_COUNT (0xffff<<0)
5841 #define EMAC_REG_RX_PFC_STATS_XON_SENT 0x334
5842 #define EMAC_REG_RX_PFC_STATS_XON_SENT_COUNT (0xffff<<0)
5843 #define EMAC_RX_MODE_FLOW_EN (1L<<2)
5844 #define EMAC_RX_MODE_KEEP_MAC_CONTROL (1L<<3)
5845 #define EMAC_RX_MODE_KEEP_VLAN_TAG (1L<<10)
5846 #define EMAC_RX_MODE_PROMISCUOUS (1L<<8)
5847 #define EMAC_RX_MODE_RESET (1L<<0)
5848 #define EMAC_RX_MTU_SIZE_JUMBO_ENA (1L<<31)
5849 #define EMAC_TX_MODE_EXT_PAUSE_EN (1L<<3)
5850 #define EMAC_TX_MODE_FLOW_EN (1L<<4)
5851 #define EMAC_TX_MODE_RESET (1L<<0)
5852 #define MISC_REGISTERS_GPIO_0 0
5853 #define MISC_REGISTERS_GPIO_1 1
5854 #define MISC_REGISTERS_GPIO_2 2
5855 #define MISC_REGISTERS_GPIO_3 3
5856 #define MISC_REGISTERS_GPIO_CLR_POS 16
5857 #define MISC_REGISTERS_GPIO_FLOAT (0xffL<<24)
5858 #define MISC_REGISTERS_GPIO_FLOAT_POS 24
5859 #define MISC_REGISTERS_GPIO_HIGH 1
5860 #define MISC_REGISTERS_GPIO_INPUT_HI_Z 2
5861 #define MISC_REGISTERS_GPIO_INT_CLR_POS 24
5862 #define MISC_REGISTERS_GPIO_INT_OUTPUT_CLR 0
5863 #define MISC_REGISTERS_GPIO_INT_OUTPUT_SET 1
5864 #define MISC_REGISTERS_GPIO_INT_SET_POS 16
5865 #define MISC_REGISTERS_GPIO_LOW 0
5866 #define MISC_REGISTERS_GPIO_OUTPUT_HIGH 1
5867 #define MISC_REGISTERS_GPIO_OUTPUT_LOW 0
5868 #define MISC_REGISTERS_GPIO_PORT_SHIFT 4
5869 #define MISC_REGISTERS_GPIO_SET_POS 8
5870 #define MISC_REGISTERS_RESET_REG_1_CLEAR 0x588
5871 #define MISC_REGISTERS_RESET_REG_1_RST_BRB1 (0x1<<0)
5872 #define MISC_REGISTERS_RESET_REG_1_RST_DORQ (0x1<<19)
5873 #define MISC_REGISTERS_RESET_REG_1_RST_HC (0x1<<29)
5874 #define MISC_REGISTERS_RESET_REG_1_RST_NIG (0x1<<7)
5875 #define MISC_REGISTERS_RESET_REG_1_RST_PXP (0x1<<26)
5876 #define MISC_REGISTERS_RESET_REG_1_RST_PXPV (0x1<<27)
5877 #define MISC_REGISTERS_RESET_REG_1_SET 0x584
5878 #define MISC_REGISTERS_RESET_REG_2_CLEAR 0x598
5879 #define MISC_REGISTERS_RESET_REG_2_MSTAT0 (0x1<<24)
5880 #define MISC_REGISTERS_RESET_REG_2_MSTAT1 (0x1<<25)
5881 #define MISC_REGISTERS_RESET_REG_2_PGLC (0x1<<19)
5882 #define MISC_REGISTERS_RESET_REG_2_RST_ATC (0x1<<17)
5883 #define MISC_REGISTERS_RESET_REG_2_RST_BMAC0 (0x1<<0)
5884 #define MISC_REGISTERS_RESET_REG_2_RST_BMAC1 (0x1<<1)
5885 #define MISC_REGISTERS_RESET_REG_2_RST_EMAC0 (0x1<<2)
5886 #define MISC_REGISTERS_RESET_REG_2_RST_EMAC0_HARD_CORE (0x1<<14)
5887 #define MISC_REGISTERS_RESET_REG_2_RST_EMAC1 (0x1<<3)
5888 #define MISC_REGISTERS_RESET_REG_2_RST_EMAC1_HARD_CORE (0x1<<15)
5889 #define MISC_REGISTERS_RESET_REG_2_RST_GRC (0x1<<4)
5890 #define MISC_REGISTERS_RESET_REG_2_RST_MCP_N_HARD_CORE_RST_B (0x1<<6)
5891 #define MISC_REGISTERS_RESET_REG_2_RST_MCP_N_RESET_CMN_CORE (0x1<<8)
5892 #define MISC_REGISTERS_RESET_REG_2_RST_MCP_N_RESET_CMN_CPU (0x1<<7)
5893 #define MISC_REGISTERS_RESET_REG_2_RST_MCP_N_RESET_REG_HARD_CORE (0x1<<5)
5894 #define MISC_REGISTERS_RESET_REG_2_RST_MDIO (0x1<<13)
5895 #define MISC_REGISTERS_RESET_REG_2_RST_MISC_CORE (0x1<<11)
5896 #define MISC_REGISTERS_RESET_REG_2_RST_PCI_MDIO (0x1<<13)
5897 #define MISC_REGISTERS_RESET_REG_2_RST_RBCN (0x1<<9)
5898 #define MISC_REGISTERS_RESET_REG_2_SET 0x594
5899 #define MISC_REGISTERS_RESET_REG_2_UMAC0 (0x1<<20)
5900 #define MISC_REGISTERS_RESET_REG_2_UMAC1 (0x1<<21)
5901 #define MISC_REGISTERS_RESET_REG_2_XMAC (0x1<<22)
5902 #define MISC_REGISTERS_RESET_REG_2_XMAC_SOFT (0x1<<23)
5903 #define MISC_REGISTERS_RESET_REG_3_CLEAR 0x5a8
5904 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_SERDES0_IDDQ (0x1<<1)
5905 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_SERDES0_PWRDWN (0x1<<2)
5906 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_SERDES0_PWRDWN_SD (0x1<<3)
5907 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_SERDES0_RSTB_HW (0x1<<0)
5908 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_XGXS0_IDDQ (0x1<<5)
5909 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_XGXS0_PWRDWN (0x1<<6)
5910 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_XGXS0_PWRDWN_SD (0x1<<7)
5911 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_XGXS0_RSTB_HW (0x1<<4)
5912 #define MISC_REGISTERS_RESET_REG_3_MISC_NIG_MUX_XGXS0_TXD_FIFO_RSTB (0x1<<8)
5913 #define MISC_REGISTERS_RESET_REG_3_SET 0x5a4
5914 #define MISC_REGISTERS_SPIO_4 4
5915 #define MISC_REGISTERS_SPIO_5 5
5916 #define MISC_REGISTERS_SPIO_7 7
5917 #define MISC_REGISTERS_SPIO_CLR_POS 16
5918 #define MISC_REGISTERS_SPIO_FLOAT (0xffL<<24)
5919 #define MISC_REGISTERS_SPIO_FLOAT_POS 24
5920 #define MISC_REGISTERS_SPIO_INPUT_HI_Z 2
5921 #define MISC_REGISTERS_SPIO_INT_OLD_SET_POS 16
5922 #define MISC_REGISTERS_SPIO_OUTPUT_HIGH 1
5923 #define MISC_REGISTERS_SPIO_OUTPUT_LOW 0
5924 #define MISC_REGISTERS_SPIO_SET_POS 8
5925 #define HW_LOCK_MAX_RESOURCE_VALUE 31
5926 #define HW_LOCK_RESOURCE_DCBX_ADMIN_MIB 13
5927 #define HW_LOCK_RESOURCE_DRV_FLAGS 10
5928 #define HW_LOCK_RESOURCE_GPIO 1
5929 #define HW_LOCK_RESOURCE_MDIO 0
5930 #define HW_LOCK_RESOURCE_NVRAM 12
5931 #define HW_LOCK_RESOURCE_PORT0_ATT_MASK 3
5932 #define HW_LOCK_RESOURCE_RECOVERY_LEADER_0 8
5933 #define HW_LOCK_RESOURCE_RECOVERY_LEADER_1 9
5934 #define HW_LOCK_RESOURCE_RECOVERY_REG 11
5935 #define HW_LOCK_RESOURCE_RESET 5
5936 #define HW_LOCK_RESOURCE_SPIO 2
5937 #define AEU_INPUTS_ATTN_BITS_ATC_HW_INTERRUPT (0x1<<4)
5938 #define AEU_INPUTS_ATTN_BITS_ATC_PARITY_ERROR (0x1<<5)
5939 #define AEU_INPUTS_ATTN_BITS_BRB_PARITY_ERROR (0x1<<18)
5940 #define AEU_INPUTS_ATTN_BITS_CCM_HW_INTERRUPT (0x1<<31)
5941 #define AEU_INPUTS_ATTN_BITS_CCM_PARITY_ERROR (0x1<<30)
5942 #define AEU_INPUTS_ATTN_BITS_CDU_HW_INTERRUPT (0x1<<9)
5943 #define AEU_INPUTS_ATTN_BITS_CDU_PARITY_ERROR (0x1<<8)
5944 #define AEU_INPUTS_ATTN_BITS_CFC_HW_INTERRUPT (0x1<<7)
5945 #define AEU_INPUTS_ATTN_BITS_CFC_PARITY_ERROR (0x1<<6)
5946 #define AEU_INPUTS_ATTN_BITS_CSDM_HW_INTERRUPT (0x1<<29)
5947 #define AEU_INPUTS_ATTN_BITS_CSDM_PARITY_ERROR (0x1<<28)
5948 #define AEU_INPUTS_ATTN_BITS_CSEMI_HW_INTERRUPT (0x1<<1)
5949 #define AEU_INPUTS_ATTN_BITS_CSEMI_PARITY_ERROR (0x1<<0)
5950 #define AEU_INPUTS_ATTN_BITS_DEBUG_PARITY_ERROR (0x1<<18)
5951 #define AEU_INPUTS_ATTN_BITS_DMAE_HW_INTERRUPT (0x1<<11)
5952 #define AEU_INPUTS_ATTN_BITS_DMAE_PARITY_ERROR (0x1<<10)
5953 #define AEU_INPUTS_ATTN_BITS_DOORBELLQ_HW_INTERRUPT (0x1<<13)
5954 #define AEU_INPUTS_ATTN_BITS_DOORBELLQ_PARITY_ERROR (0x1<<12)
5955 #define AEU_INPUTS_ATTN_BITS_GPIO0_FUNCTION_0 (0x1<<2)
5956 #define AEU_INPUTS_ATTN_BITS_IGU_PARITY_ERROR (0x1<<12)
5957 #define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_ROM_PARITY (0x1<<28)
5958 #define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY (0x1<<31)
5959 #define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_RX_PARITY (0x1<<29)
5960 #define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_UMP_TX_PARITY (0x1<<30)
5961 #define AEU_INPUTS_ATTN_BITS_MISC_HW_INTERRUPT (0x1<<15)
5962 #define AEU_INPUTS_ATTN_BITS_MISC_PARITY_ERROR (0x1<<14)
5963 #define AEU_INPUTS_ATTN_BITS_NIG_PARITY_ERROR (0x1<<14)
5964 #define AEU_INPUTS_ATTN_BITS_PARSER_PARITY_ERROR (0x1<<20)
5965 #define AEU_INPUTS_ATTN_BITS_PBCLIENT_HW_INTERRUPT (0x1<<31)
5966 #define AEU_INPUTS_ATTN_BITS_PBCLIENT_PARITY_ERROR (0x1<<30)
5967 #define AEU_INPUTS_ATTN_BITS_PBF_PARITY_ERROR (0x1<<0)
5968 #define AEU_INPUTS_ATTN_BITS_PGLUE_HW_INTERRUPT (0x1<<2)
5969 #define AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR (0x1<<3)
5970 #define AEU_INPUTS_ATTN_BITS_PXPPCICLOCKCLIENT_HW_INTERRUPT (0x1<<5)
5971 #define AEU_INPUTS_ATTN_BITS_PXPPCICLOCKCLIENT_PARITY_ERROR (0x1<<4)
5972 #define AEU_INPUTS_ATTN_BITS_PXP_HW_INTERRUPT (0x1<<3)
5973 #define AEU_INPUTS_ATTN_BITS_PXP_PARITY_ERROR (0x1<<2)
5974 #define AEU_INPUTS_ATTN_BITS_QM_HW_INTERRUPT (0x1<<3)
5975 #define AEU_INPUTS_ATTN_BITS_QM_PARITY_ERROR (0x1<<2)
5976 #define AEU_INPUTS_ATTN_BITS_SEARCHER_PARITY_ERROR (0x1<<22)
5977 #define AEU_INPUTS_ATTN_BITS_SPIO5 (0x1<<15)
5978 #define AEU_INPUTS_ATTN_BITS_TCM_HW_INTERRUPT (0x1<<27)
5979 #define AEU_INPUTS_ATTN_BITS_TCM_PARITY_ERROR (0x1<<26)
5980 #define AEU_INPUTS_ATTN_BITS_TIMERS_HW_INTERRUPT (0x1<<5)
5981 #define AEU_INPUTS_ATTN_BITS_TIMERS_PARITY_ERROR (0x1<<4)
5982 #define AEU_INPUTS_ATTN_BITS_TSDM_HW_INTERRUPT (0x1<<25)
5983 #define AEU_INPUTS_ATTN_BITS_TSDM_PARITY_ERROR (0x1<<24)
5984 #define AEU_INPUTS_ATTN_BITS_TSEMI_HW_INTERRUPT (0x1<<29)
5985 #define AEU_INPUTS_ATTN_BITS_TSEMI_PARITY_ERROR (0x1<<28)
5986 #define AEU_INPUTS_ATTN_BITS_UCM_HW_INTERRUPT (0x1<<23)
5987 #define AEU_INPUTS_ATTN_BITS_UCM_PARITY_ERROR (0x1<<22)
5988 #define AEU_INPUTS_ATTN_BITS_UPB_HW_INTERRUPT (0x1<<27)
5989 #define AEU_INPUTS_ATTN_BITS_UPB_PARITY_ERROR (0x1<<26)
5990 #define AEU_INPUTS_ATTN_BITS_USDM_HW_INTERRUPT (0x1<<21)
5991 #define AEU_INPUTS_ATTN_BITS_USDM_PARITY_ERROR (0x1<<20)
5992 #define AEU_INPUTS_ATTN_BITS_USEMI_HW_INTERRUPT (0x1<<25)
5993 #define AEU_INPUTS_ATTN_BITS_USEMI_PARITY_ERROR (0x1<<24)
5994 #define AEU_INPUTS_ATTN_BITS_VAUX_PCI_CORE_PARITY_ERROR (0x1<<16)
5995 #define AEU_INPUTS_ATTN_BITS_XCM_HW_INTERRUPT (0x1<<9)
5996 #define AEU_INPUTS_ATTN_BITS_XCM_PARITY_ERROR (0x1<<8)
5997 #define AEU_INPUTS_ATTN_BITS_XSDM_HW_INTERRUPT (0x1<<7)
5998 #define AEU_INPUTS_ATTN_BITS_XSDM_PARITY_ERROR (0x1<<6)
5999 #define AEU_INPUTS_ATTN_BITS_XSEMI_HW_INTERRUPT (0x1<<11)
6000 #define AEU_INPUTS_ATTN_BITS_XSEMI_PARITY_ERROR (0x1<<10)
6002 #define AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_0 (0x1<<5)
6003 #define AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_1 (0x1<<9)
6005 #define RESERVED_GENERAL_ATTENTION_BIT_0 0
6007 #define EVEREST_GEN_ATTN_IN_USE_MASK 0x7ffe0
6008 #define EVEREST_LATCHED_ATTN_IN_USE_MASK 0xffe00000
6010 #define RESERVED_GENERAL_ATTENTION_BIT_6 6
6011 #define RESERVED_GENERAL_ATTENTION_BIT_7 7
6012 #define RESERVED_GENERAL_ATTENTION_BIT_8 8
6013 #define RESERVED_GENERAL_ATTENTION_BIT_9 9
6014 #define RESERVED_GENERAL_ATTENTION_BIT_10 10
6015 #define RESERVED_GENERAL_ATTENTION_BIT_11 11
6016 #define RESERVED_GENERAL_ATTENTION_BIT_12 12
6017 #define RESERVED_GENERAL_ATTENTION_BIT_13 13
6018 #define RESERVED_GENERAL_ATTENTION_BIT_14 14
6019 #define RESERVED_GENERAL_ATTENTION_BIT_15 15
6020 #define RESERVED_GENERAL_ATTENTION_BIT_16 16
6021 #define RESERVED_GENERAL_ATTENTION_BIT_17 17
6022 #define RESERVED_GENERAL_ATTENTION_BIT_18 18
6023 #define RESERVED_GENERAL_ATTENTION_BIT_19 19
6024 #define RESERVED_GENERAL_ATTENTION_BIT_20 20
6025 #define RESERVED_GENERAL_ATTENTION_BIT_21 21
6028 #define TSTORM_FATAL_ASSERT_ATTENTION_BIT RESERVED_GENERAL_ATTENTION_BIT_7
6029 #define USTORM_FATAL_ASSERT_ATTENTION_BIT RESERVED_GENERAL_ATTENTION_BIT_8
6030 #define CSTORM_FATAL_ASSERT_ATTENTION_BIT RESERVED_GENERAL_ATTENTION_BIT_9
6031 #define XSTORM_FATAL_ASSERT_ATTENTION_BIT RESERVED_GENERAL_ATTENTION_BIT_10
6034 #define MCP_FATAL_ASSERT_ATTENTION_BIT RESERVED_GENERAL_ATTENTION_BIT_11
6037 #define LINK_SYNC_ATTENTION_BIT_FUNC_0 RESERVED_GENERAL_ATTENTION_BIT_12
6038 #define LINK_SYNC_ATTENTION_BIT_FUNC_1 RESERVED_GENERAL_ATTENTION_BIT_13
6039 #define LINK_SYNC_ATTENTION_BIT_FUNC_2 RESERVED_GENERAL_ATTENTION_BIT_14
6040 #define LINK_SYNC_ATTENTION_BIT_FUNC_3 RESERVED_GENERAL_ATTENTION_BIT_15
6041 #define LINK_SYNC_ATTENTION_BIT_FUNC_4 RESERVED_GENERAL_ATTENTION_BIT_16
6042 #define LINK_SYNC_ATTENTION_BIT_FUNC_5 RESERVED_GENERAL_ATTENTION_BIT_17
6043 #define LINK_SYNC_ATTENTION_BIT_FUNC_6 RESERVED_GENERAL_ATTENTION_BIT_18
6044 #define LINK_SYNC_ATTENTION_BIT_FUNC_7 RESERVED_GENERAL_ATTENTION_BIT_19
6047 #define LATCHED_ATTN_RBCR 23
6048 #define LATCHED_ATTN_RBCT 24
6049 #define LATCHED_ATTN_RBCN 25
6050 #define LATCHED_ATTN_RBCU 26
6051 #define LATCHED_ATTN_RBCP 27
6052 #define LATCHED_ATTN_TIMEOUT_GRC 28
6053 #define LATCHED_ATTN_RSVD_GRC 29
6054 #define LATCHED_ATTN_ROM_PARITY_MCP 30
6055 #define LATCHED_ATTN_UM_RX_PARITY_MCP 31
6056 #define LATCHED_ATTN_UM_TX_PARITY_MCP 32
6057 #define LATCHED_ATTN_SCPAD_PARITY_MCP 33
6059 #define GENERAL_ATTEN_WORD(atten_name) ((94 + atten_name) / 32)
6060 #define GENERAL_ATTEN_OFFSET(atten_name)\
6061 (1UL << ((94 + atten_name) % 32))
6069 #define GRCBASE_PXPCS 0x000000
6070 #define GRCBASE_PCICONFIG 0x002000
6071 #define GRCBASE_PCIREG 0x002400
6072 #define GRCBASE_EMAC0 0x008000
6073 #define GRCBASE_EMAC1 0x008400
6074 #define GRCBASE_DBU 0x008800
6075 #define GRCBASE_MISC 0x00A000
6076 #define GRCBASE_DBG 0x00C000
6077 #define GRCBASE_NIG 0x010000
6078 #define GRCBASE_XCM 0x020000
6079 #define GRCBASE_PRS 0x040000
6080 #define GRCBASE_SRCH 0x040400
6081 #define GRCBASE_TSDM 0x042000
6082 #define GRCBASE_TCM 0x050000
6083 #define GRCBASE_BRB1 0x060000
6084 #define GRCBASE_MCP 0x080000
6085 #define GRCBASE_UPB 0x0C1000
6086 #define GRCBASE_CSDM 0x0C2000
6087 #define GRCBASE_USDM 0x0C4000
6088 #define GRCBASE_CCM 0x0D0000
6089 #define GRCBASE_UCM 0x0E0000
6090 #define GRCBASE_CDU 0x101000
6091 #define GRCBASE_DMAE 0x102000
6092 #define GRCBASE_PXP 0x103000
6093 #define GRCBASE_CFC 0x104000
6094 #define GRCBASE_HC 0x108000
6095 #define GRCBASE_PXP2 0x120000
6096 #define GRCBASE_PBF 0x140000
6097 #define GRCBASE_UMAC0 0x160000
6098 #define GRCBASE_UMAC1 0x160400
6099 #define GRCBASE_XPB 0x161000
6100 #define GRCBASE_MSTAT0 0x162000
6101 #define GRCBASE_MSTAT1 0x162800
6102 #define GRCBASE_XMAC0 0x163000
6103 #define GRCBASE_XMAC1 0x163800
6104 #define GRCBASE_TIMERS 0x164000
6105 #define GRCBASE_XSDM 0x166000
6106 #define GRCBASE_QM 0x168000
6107 #define GRCBASE_DQ 0x170000
6108 #define GRCBASE_TSEM 0x180000
6109 #define GRCBASE_CSEM 0x200000
6110 #define GRCBASE_XSEM 0x280000
6111 #define GRCBASE_USEM 0x300000
6112 #define GRCBASE_MISC_AEU GRCBASE_MISC
6116 #define PCICFG_OFFSET 0x2000
6117 #define PCICFG_VENDOR_ID_OFFSET 0x00
6118 #define PCICFG_DEVICE_ID_OFFSET 0x02
6119 #define PCICFG_COMMAND_OFFSET 0x04
6120 #define PCICFG_COMMAND_IO_SPACE (1<<0)
6121 #define PCICFG_COMMAND_MEM_SPACE (1<<1)
6122 #define PCICFG_COMMAND_BUS_MASTER (1<<2)
6123 #define PCICFG_COMMAND_SPECIAL_CYCLES (1<<3)
6124 #define PCICFG_COMMAND_MWI_CYCLES (1<<4)
6125 #define PCICFG_COMMAND_VGA_SNOOP (1<<5)
6126 #define PCICFG_COMMAND_PERR_ENA (1<<6)
6127 #define PCICFG_COMMAND_STEPPING (1<<7)
6128 #define PCICFG_COMMAND_SERR_ENA (1<<8)
6129 #define PCICFG_COMMAND_FAST_B2B (1<<9)
6130 #define PCICFG_COMMAND_INT_DISABLE (1<<10)
6131 #define PCICFG_COMMAND_RESERVED (0x1f<<11)
6132 #define PCICFG_STATUS_OFFSET 0x06
6133 #define PCICFG_REVESION_ID_OFFSET 0x08
6134 #define PCICFG_CACHE_LINE_SIZE 0x0c
6135 #define PCICFG_LATENCY_TIMER 0x0d
6136 #define PCICFG_BAR_1_LOW 0x10
6137 #define PCICFG_BAR_1_HIGH 0x14
6138 #define PCICFG_BAR_2_LOW 0x18
6139 #define PCICFG_BAR_2_HIGH 0x1c
6140 #define PCICFG_SUBSYSTEM_VENDOR_ID_OFFSET 0x2c
6141 #define PCICFG_SUBSYSTEM_ID_OFFSET 0x2e
6142 #define PCICFG_INT_LINE 0x3c
6143 #define PCICFG_INT_PIN 0x3d
6144 #define PCICFG_PM_CAPABILITY 0x48
6145 #define PCICFG_PM_CAPABILITY_VERSION (0x3<<16)
6146 #define PCICFG_PM_CAPABILITY_CLOCK (1<<19)
6147 #define PCICFG_PM_CAPABILITY_RESERVED (1<<20)
6148 #define PCICFG_PM_CAPABILITY_DSI (1<<21)
6149 #define PCICFG_PM_CAPABILITY_AUX_CURRENT (0x7<<22)
6150 #define PCICFG_PM_CAPABILITY_D1_SUPPORT (1<<25)
6151 #define PCICFG_PM_CAPABILITY_D2_SUPPORT (1<<26)
6152 #define PCICFG_PM_CAPABILITY_PME_IN_D0 (1<<27)
6153 #define PCICFG_PM_CAPABILITY_PME_IN_D1 (1<<28)
6154 #define PCICFG_PM_CAPABILITY_PME_IN_D2 (1<<29)
6155 #define PCICFG_PM_CAPABILITY_PME_IN_D3_HOT (1<<30)
6156 #define PCICFG_PM_CAPABILITY_PME_IN_D3_COLD (1<<31)
6157 #define PCICFG_PM_CSR_OFFSET 0x4c
6158 #define PCICFG_PM_CSR_STATE (0x3<<0)
6159 #define PCICFG_PM_CSR_PME_ENABLE (1<<8)
6160 #define PCICFG_PM_CSR_PME_STATUS (1<<15)
6161 #define PCICFG_MSI_CAP_ID_OFFSET 0x58
6162 #define PCICFG_MSI_CONTROL_ENABLE (0x1<<16)
6163 #define PCICFG_MSI_CONTROL_MCAP (0x7<<17)
6164 #define PCICFG_MSI_CONTROL_MENA (0x7<<20)
6165 #define PCICFG_MSI_CONTROL_64_BIT_ADDR_CAP (0x1<<23)
6166 #define PCICFG_MSI_CONTROL_MSI_PVMASK_CAPABLE (0x1<<24)
6167 #define PCICFG_GRC_ADDRESS 0x78
6168 #define PCICFG_GRC_DATA 0x80
6169 #define PCICFG_ME_REGISTER 0x98
6170 #define PCICFG_MSIX_CAP_ID_OFFSET 0xa0
6171 #define PCICFG_MSIX_CONTROL_TABLE_SIZE (0x7ff<<16)
6172 #define PCICFG_MSIX_CONTROL_RESERVED (0x7<<27)
6173 #define PCICFG_MSIX_CONTROL_FUNC_MASK (0x1<<30)
6174 #define PCICFG_MSIX_CONTROL_MSIX_ENABLE (0x1<<31)
6176 #define PCICFG_DEVICE_CONTROL 0xb4
6177 #define PCICFG_DEVICE_STATUS 0xb6
6178 #define PCICFG_DEVICE_STATUS_CORR_ERR_DET (1<<0)
6179 #define PCICFG_DEVICE_STATUS_NON_FATAL_ERR_DET (1<<1)
6180 #define PCICFG_DEVICE_STATUS_FATAL_ERR_DET (1<<2)
6181 #define PCICFG_DEVICE_STATUS_UNSUP_REQ_DET (1<<3)
6182 #define PCICFG_DEVICE_STATUS_AUX_PWR_DET (1<<4)
6183 #define PCICFG_DEVICE_STATUS_NO_PEND (1<<5)
6184 #define PCICFG_LINK_CONTROL 0xbc
6187 #define BAR_USTRORM_INTMEM 0x400000
6188 #define BAR_CSTRORM_INTMEM 0x410000
6189 #define BAR_XSTRORM_INTMEM 0x420000
6190 #define BAR_TSTRORM_INTMEM 0x430000
6193 #define BAR_IGU_INTMEM 0x440000
6195 #define BAR_DOORBELL_OFFSET 0x800000
6197 #define BAR_ME_REGISTER 0x450000
6200 #define GRC_CONFIG_2_SIZE_REG 0x408
6201 #define PCI_CONFIG_2_BAR1_SIZE (0xfL<<0)
6202 #define PCI_CONFIG_2_BAR1_SIZE_DISABLED (0L<<0)
6203 #define PCI_CONFIG_2_BAR1_SIZE_64K (1L<<0)
6204 #define PCI_CONFIG_2_BAR1_SIZE_128K (2L<<0)
6205 #define PCI_CONFIG_2_BAR1_SIZE_256K (3L<<0)
6206 #define PCI_CONFIG_2_BAR1_SIZE_512K (4L<<0)
6207 #define PCI_CONFIG_2_BAR1_SIZE_1M (5L<<0)
6208 #define PCI_CONFIG_2_BAR1_SIZE_2M (6L<<0)
6209 #define PCI_CONFIG_2_BAR1_SIZE_4M (7L<<0)
6210 #define PCI_CONFIG_2_BAR1_SIZE_8M (8L<<0)
6211 #define PCI_CONFIG_2_BAR1_SIZE_16M (9L<<0)
6212 #define PCI_CONFIG_2_BAR1_SIZE_32M (10L<<0)
6213 #define PCI_CONFIG_2_BAR1_SIZE_64M (11L<<0)
6214 #define PCI_CONFIG_2_BAR1_SIZE_128M (12L<<0)
6215 #define PCI_CONFIG_2_BAR1_SIZE_256M (13L<<0)
6216 #define PCI_CONFIG_2_BAR1_SIZE_512M (14L<<0)
6217 #define PCI_CONFIG_2_BAR1_SIZE_1G (15L<<0)
6218 #define PCI_CONFIG_2_BAR1_64ENA (1L<<4)
6219 #define PCI_CONFIG_2_EXP_ROM_RETRY (1L<<5)
6220 #define PCI_CONFIG_2_CFG_CYCLE_RETRY (1L<<6)
6221 #define PCI_CONFIG_2_FIRST_CFG_DONE (1L<<7)
6222 #define PCI_CONFIG_2_EXP_ROM_SIZE (0xffL<<8)
6223 #define PCI_CONFIG_2_EXP_ROM_SIZE_DISABLED (0L<<8)
6224 #define PCI_CONFIG_2_EXP_ROM_SIZE_2K (1L<<8)
6225 #define PCI_CONFIG_2_EXP_ROM_SIZE_4K (2L<<8)
6226 #define PCI_CONFIG_2_EXP_ROM_SIZE_8K (3L<<8)
6227 #define PCI_CONFIG_2_EXP_ROM_SIZE_16K (4L<<8)
6228 #define PCI_CONFIG_2_EXP_ROM_SIZE_32K (5L<<8)
6229 #define PCI_CONFIG_2_EXP_ROM_SIZE_64K (6L<<8)
6230 #define PCI_CONFIG_2_EXP_ROM_SIZE_128K (7L<<8)
6231 #define PCI_CONFIG_2_EXP_ROM_SIZE_256K (8L<<8)
6232 #define PCI_CONFIG_2_EXP_ROM_SIZE_512K (9L<<8)
6233 #define PCI_CONFIG_2_EXP_ROM_SIZE_1M (10L<<8)
6234 #define PCI_CONFIG_2_EXP_ROM_SIZE_2M (11L<<8)
6235 #define PCI_CONFIG_2_EXP_ROM_SIZE_4M (12L<<8)
6236 #define PCI_CONFIG_2_EXP_ROM_SIZE_8M (13L<<8)
6237 #define PCI_CONFIG_2_EXP_ROM_SIZE_16M (14L<<8)
6238 #define PCI_CONFIG_2_EXP_ROM_SIZE_32M (15L<<8)
6239 #define PCI_CONFIG_2_BAR_PREFETCH (1L<<16)
6240 #define PCI_CONFIG_2_RESERVED0 (0x7fffL<<17)
6243 #define GRC_CONFIG_3_SIZE_REG 0x40c
6244 #define PCI_CONFIG_3_STICKY_BYTE (0xffL<<0)
6245 #define PCI_CONFIG_3_FORCE_PME (1L<<24)
6246 #define PCI_CONFIG_3_PME_STATUS (1L<<25)
6247 #define PCI_CONFIG_3_PME_ENABLE (1L<<26)
6248 #define PCI_CONFIG_3_PM_STATE (0x3L<<27)
6249 #define PCI_CONFIG_3_VAUX_PRESET (1L<<30)
6250 #define PCI_CONFIG_3_PCI_POWER (1L<<31)
6252 #define GRC_BAR2_CONFIG 0x4e0
6253 #define PCI_CONFIG_2_BAR2_SIZE (0xfL<<0)
6254 #define PCI_CONFIG_2_BAR2_SIZE_DISABLED (0L<<0)
6255 #define PCI_CONFIG_2_BAR2_SIZE_64K (1L<<0)
6256 #define PCI_CONFIG_2_BAR2_SIZE_128K (2L<<0)
6257 #define PCI_CONFIG_2_BAR2_SIZE_256K (3L<<0)
6258 #define PCI_CONFIG_2_BAR2_SIZE_512K (4L<<0)
6259 #define PCI_CONFIG_2_BAR2_SIZE_1M (5L<<0)
6260 #define PCI_CONFIG_2_BAR2_SIZE_2M (6L<<0)
6261 #define PCI_CONFIG_2_BAR2_SIZE_4M (7L<<0)
6262 #define PCI_CONFIG_2_BAR2_SIZE_8M (8L<<0)
6263 #define PCI_CONFIG_2_BAR2_SIZE_16M (9L<<0)
6264 #define PCI_CONFIG_2_BAR2_SIZE_32M (10L<<0)
6265 #define PCI_CONFIG_2_BAR2_SIZE_64M (11L<<0)
6266 #define PCI_CONFIG_2_BAR2_SIZE_128M (12L<<0)
6267 #define PCI_CONFIG_2_BAR2_SIZE_256M (13L<<0)
6268 #define PCI_CONFIG_2_BAR2_SIZE_512M (14L<<0)
6269 #define PCI_CONFIG_2_BAR2_SIZE_1G (15L<<0)
6270 #define PCI_CONFIG_2_BAR2_64ENA (1L<<4)
6272 #define PCI_PM_DATA_A 0x410
6273 #define PCI_PM_DATA_B 0x414
6274 #define PCI_ID_VAL1 0x434
6275 #define PCI_ID_VAL2 0x438
6277 #define PXPCS_TL_CONTROL_5 0x814
6278 #define PXPCS_TL_CONTROL_5_UNKNOWNTYPE_ERR_ATTN (1 << 29)
6279 #define PXPCS_TL_CONTROL_5_BOUNDARY4K_ERR_ATTN (1 << 28)
6280 #define PXPCS_TL_CONTROL_5_MRRS_ERR_ATTN (1 << 27)
6281 #define PXPCS_TL_CONTROL_5_MPS_ERR_ATTN (1 << 26)
6282 #define PXPCS_TL_CONTROL_5_TTX_BRIDGE_FORWARD_ERR (1 << 25)
6283 #define PXPCS_TL_CONTROL_5_TTX_TXINTF_OVERFLOW (1 << 24)
6284 #define PXPCS_TL_CONTROL_5_PHY_ERR_ATTN (1 << 23)
6285 #define PXPCS_TL_CONTROL_5_DL_ERR_ATTN (1 << 22)
6286 #define PXPCS_TL_CONTROL_5_TTX_ERR_NP_TAG_IN_USE (1 << 21)
6287 #define PXPCS_TL_CONTROL_5_TRX_ERR_UNEXP_RTAG (1 << 20)
6288 #define PXPCS_TL_CONTROL_5_PRI_SIG_TARGET_ABORT1 (1 << 19)
6289 #define PXPCS_TL_CONTROL_5_ERR_UNSPPORT1 (1 << 18)
6290 #define PXPCS_TL_CONTROL_5_ERR_ECRC1 (1 << 17)
6291 #define PXPCS_TL_CONTROL_5_ERR_MALF_TLP1 (1 << 16)
6292 #define PXPCS_TL_CONTROL_5_ERR_RX_OFLOW1 (1 << 15)
6293 #define PXPCS_TL_CONTROL_5_ERR_UNEXP_CPL1 (1 << 14)
6294 #define PXPCS_TL_CONTROL_5_ERR_MASTER_ABRT1 (1 << 13)
6295 #define PXPCS_TL_CONTROL_5_ERR_CPL_TIMEOUT1 (1 << 12)
6296 #define PXPCS_TL_CONTROL_5_ERR_FC_PRTL1 (1 << 11)
6297 #define PXPCS_TL_CONTROL_5_ERR_PSND_TLP1 (1 << 10)
6298 #define PXPCS_TL_CONTROL_5_PRI_SIG_TARGET_ABORT (1 << 9)
6299 #define PXPCS_TL_CONTROL_5_ERR_UNSPPORT (1 << 8)
6300 #define PXPCS_TL_CONTROL_5_ERR_ECRC (1 << 7)
6301 #define PXPCS_TL_CONTROL_5_ERR_MALF_TLP (1 << 6)
6302 #define PXPCS_TL_CONTROL_5_ERR_RX_OFLOW (1 << 5)
6303 #define PXPCS_TL_CONTROL_5_ERR_UNEXP_CPL (1 << 4)
6304 #define PXPCS_TL_CONTROL_5_ERR_MASTER_ABRT (1 << 3)
6305 #define PXPCS_TL_CONTROL_5_ERR_CPL_TIMEOUT (1 << 2)
6306 #define PXPCS_TL_CONTROL_5_ERR_FC_PRTL (1 << 1)
6307 #define PXPCS_TL_CONTROL_5_ERR_PSND_TLP (1 << 0)
6310 #define PXPCS_TL_FUNC345_STAT 0x854
6311 #define PXPCS_TL_FUNC345_STAT_PRI_SIG_TARGET_ABORT4 (1 << 29)
6312 #define PXPCS_TL_FUNC345_STAT_ERR_UNSPPORT4\
6315 #define PXPCS_TL_FUNC345_STAT_ERR_ECRC4\
6318 #define PXPCS_TL_FUNC345_STAT_ERR_MALF_TLP4\
6321 #define PXPCS_TL_FUNC345_STAT_ERR_RX_OFLOW4\
6325 #define PXPCS_TL_FUNC345_STAT_ERR_UNEXP_CPL4\
6329 #define PXPCS_TL_FUNC345_STAT_ERR_MASTER_ABRT4\
6332 #define PXPCS_TL_FUNC345_STAT_ERR_CPL_TIMEOUT4\
6335 #define PXPCS_TL_FUNC345_STAT_ERR_FC_PRTL4\
6339 #define PXPCS_TL_FUNC345_STAT_ERR_PSND_TLP4\
6342 #define PXPCS_TL_FUNC345_STAT_PRI_SIG_TARGET_ABORT3 (1 << 19)
6343 #define PXPCS_TL_FUNC345_STAT_ERR_UNSPPORT3\
6346 #define PXPCS_TL_FUNC345_STAT_ERR_ECRC3\
6349 #define PXPCS_TL_FUNC345_STAT_ERR_MALF_TLP3\
6352 #define PXPCS_TL_FUNC345_STAT_ERR_RX_OFLOW3\
6356 #define PXPCS_TL_FUNC345_STAT_ERR_UNEXP_CPL3\
6360 #define PXPCS_TL_FUNC345_STAT_ERR_MASTER_ABRT3\
6363 #define PXPCS_TL_FUNC345_STAT_ERR_CPL_TIMEOUT3\
6366 #define PXPCS_TL_FUNC345_STAT_ERR_FC_PRTL3\
6370 #define PXPCS_TL_FUNC345_STAT_ERR_PSND_TLP3\
6373 #define PXPCS_TL_FUNC345_STAT_PRI_SIG_TARGET_ABORT2 (1 << 9)
6374 #define PXPCS_TL_FUNC345_STAT_ERR_UNSPPORT2\
6377 #define PXPCS_TL_FUNC345_STAT_ERR_ECRC2\
6380 #define PXPCS_TL_FUNC345_STAT_ERR_MALF_TLP2\
6383 #define PXPCS_TL_FUNC345_STAT_ERR_RX_OFLOW2\
6387 #define PXPCS_TL_FUNC345_STAT_ERR_UNEXP_CPL2\
6391 #define PXPCS_TL_FUNC345_STAT_ERR_MASTER_ABRT2\
6394 #define PXPCS_TL_FUNC345_STAT_ERR_CPL_TIMEOUT2\
6397 #define PXPCS_TL_FUNC345_STAT_ERR_FC_PRTL2\
6401 #define PXPCS_TL_FUNC345_STAT_ERR_PSND_TLP2\
6406 #define PXPCS_TL_FUNC678_STAT 0x85C
6407 #define PXPCS_TL_FUNC678_STAT_PRI_SIG_TARGET_ABORT7 (1 << 29)
6408 #define PXPCS_TL_FUNC678_STAT_ERR_UNSPPORT7\
6411 #define PXPCS_TL_FUNC678_STAT_ERR_ECRC7\
6414 #define PXPCS_TL_FUNC678_STAT_ERR_MALF_TLP7\
6417 #define PXPCS_TL_FUNC678_STAT_ERR_RX_OFLOW7\
6421 #define PXPCS_TL_FUNC678_STAT_ERR_UNEXP_CPL7\
6425 #define PXPCS_TL_FUNC678_STAT_ERR_MASTER_ABRT7\
6428 #define PXPCS_TL_FUNC678_STAT_ERR_CPL_TIMEOUT7\
6431 #define PXPCS_TL_FUNC678_STAT_ERR_FC_PRTL7\
6435 #define PXPCS_TL_FUNC678_STAT_ERR_PSND_TLP7\
6438 #define PXPCS_TL_FUNC678_STAT_PRI_SIG_TARGET_ABORT6 (1 << 19)
6439 #define PXPCS_TL_FUNC678_STAT_ERR_UNSPPORT6\
6442 #define PXPCS_TL_FUNC678_STAT_ERR_ECRC6\
6445 #define PXPCS_TL_FUNC678_STAT_ERR_MALF_TLP6\
6448 #define PXPCS_TL_FUNC678_STAT_ERR_RX_OFLOW6\
6452 #define PXPCS_TL_FUNC678_STAT_ERR_UNEXP_CPL6\
6456 #define PXPCS_TL_FUNC678_STAT_ERR_MASTER_ABRT6\
6459 #define PXPCS_TL_FUNC678_STAT_ERR_CPL_TIMEOUT6\
6462 #define PXPCS_TL_FUNC678_STAT_ERR_FC_PRTL6\
6466 #define PXPCS_TL_FUNC678_STAT_ERR_PSND_TLP6\
6469 #define PXPCS_TL_FUNC678_STAT_PRI_SIG_TARGET_ABORT5 (1 << 9)
6470 #define PXPCS_TL_FUNC678_STAT_ERR_UNSPPORT5\
6473 #define PXPCS_TL_FUNC678_STAT_ERR_ECRC5\
6476 #define PXPCS_TL_FUNC678_STAT_ERR_MALF_TLP5\
6479 #define PXPCS_TL_FUNC678_STAT_ERR_RX_OFLOW5\
6483 #define PXPCS_TL_FUNC678_STAT_ERR_UNEXP_CPL5\
6487 #define PXPCS_TL_FUNC678_STAT_ERR_MASTER_ABRT5\
6490 #define PXPCS_TL_FUNC678_STAT_ERR_CPL_TIMEOUT5\
6493 #define PXPCS_TL_FUNC678_STAT_ERR_FC_PRTL5\
6497 #define PXPCS_TL_FUNC678_STAT_ERR_PSND_TLP5\
6502 #define BAR_USTRORM_INTMEM 0x400000
6503 #define BAR_CSTRORM_INTMEM 0x410000
6504 #define BAR_XSTRORM_INTMEM 0x420000
6505 #define BAR_TSTRORM_INTMEM 0x430000
6508 #define BAR_IGU_INTMEM 0x440000
6510 #define BAR_DOORBELL_OFFSET 0x800000
6512 #define BAR_ME_REGISTER 0x450000
6513 #define ME_REG_PF_NUM_SHIFT 0
6514 #define ME_REG_PF_NUM\
6515 (7L<<ME_REG_PF_NUM_SHIFT)
6516 #define ME_REG_VF_VALID (1<<8)
6517 #define ME_REG_VF_NUM_SHIFT 9
6518 #define ME_REG_VF_NUM_MASK (0x3f<<ME_REG_VF_NUM_SHIFT)
6519 #define ME_REG_VF_ERR (0x1<<3)
6520 #define ME_REG_ABS_PF_NUM_SHIFT 16
6521 #define ME_REG_ABS_PF_NUM\
6522 (7L<<ME_REG_ABS_PF_NUM_SHIFT)
6525 #define MDIO_REG_BANK_CL73_IEEEB0 0x0
6526 #define MDIO_CL73_IEEEB0_CL73_AN_CONTROL 0x0
6527 #define MDIO_CL73_IEEEB0_CL73_AN_CONTROL_RESTART_AN 0x0200
6528 #define MDIO_CL73_IEEEB0_CL73_AN_CONTROL_AN_EN 0x1000
6529 #define MDIO_CL73_IEEEB0_CL73_AN_CONTROL_MAIN_RST 0x8000
6531 #define MDIO_REG_BANK_CL73_IEEEB1 0x10
6532 #define MDIO_CL73_IEEEB1_AN_ADV1 0x00
6533 #define MDIO_CL73_IEEEB1_AN_ADV1_PAUSE 0x0400
6534 #define MDIO_CL73_IEEEB1_AN_ADV1_ASYMMETRIC 0x0800
6535 #define MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_BOTH 0x0C00
6536 #define MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK 0x0C00
6537 #define MDIO_CL73_IEEEB1_AN_ADV2 0x01
6538 #define MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M 0x0000
6539 #define MDIO_CL73_IEEEB1_AN_ADV2_ADVR_1000M_KX 0x0020
6540 #define MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KX4 0x0040
6541 #define MDIO_CL73_IEEEB1_AN_ADV2_ADVR_10G_KR 0x0080
6542 #define MDIO_CL73_IEEEB1_AN_LP_ADV1 0x03
6543 #define MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE 0x0400
6544 #define MDIO_CL73_IEEEB1_AN_LP_ADV1_ASYMMETRIC 0x0800
6545 #define MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_BOTH 0x0C00
6546 #define MDIO_CL73_IEEEB1_AN_LP_ADV1_PAUSE_MASK 0x0C00
6547 #define MDIO_CL73_IEEEB1_AN_LP_ADV2 0x04
6549 #define MDIO_REG_BANK_RX0 0x80b0
6550 #define MDIO_RX0_RX_STATUS 0x10
6551 #define MDIO_RX0_RX_STATUS_SIGDET 0x8000
6552 #define MDIO_RX0_RX_STATUS_RX_SEQ_DONE 0x1000
6553 #define MDIO_RX0_RX_EQ_BOOST 0x1c
6554 #define MDIO_RX0_RX_EQ_BOOST_EQUALIZER_CTRL_MASK 0x7
6555 #define MDIO_RX0_RX_EQ_BOOST_OFFSET_CTRL 0x10
6557 #define MDIO_REG_BANK_RX1 0x80c0
6558 #define MDIO_RX1_RX_EQ_BOOST 0x1c
6559 #define MDIO_RX1_RX_EQ_BOOST_EQUALIZER_CTRL_MASK 0x7
6560 #define MDIO_RX1_RX_EQ_BOOST_OFFSET_CTRL 0x10
6562 #define MDIO_REG_BANK_RX2 0x80d0
6563 #define MDIO_RX2_RX_EQ_BOOST 0x1c
6564 #define MDIO_RX2_RX_EQ_BOOST_EQUALIZER_CTRL_MASK 0x7
6565 #define MDIO_RX2_RX_EQ_BOOST_OFFSET_CTRL 0x10
6567 #define MDIO_REG_BANK_RX3 0x80e0
6568 #define MDIO_RX3_RX_EQ_BOOST 0x1c
6569 #define MDIO_RX3_RX_EQ_BOOST_EQUALIZER_CTRL_MASK 0x7
6570 #define MDIO_RX3_RX_EQ_BOOST_OFFSET_CTRL 0x10
6572 #define MDIO_REG_BANK_RX_ALL 0x80f0
6573 #define MDIO_RX_ALL_RX_EQ_BOOST 0x1c
6574 #define MDIO_RX_ALL_RX_EQ_BOOST_EQUALIZER_CTRL_MASK 0x7
6575 #define MDIO_RX_ALL_RX_EQ_BOOST_OFFSET_CTRL 0x10
6577 #define MDIO_REG_BANK_TX0 0x8060
6578 #define MDIO_TX0_TX_DRIVER 0x17
6579 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
6580 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
6581 #define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
6582 #define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
6583 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
6584 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
6585 #define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
6586 #define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
6587 #define MDIO_TX0_TX_DRIVER_ICBUF1T 1
6589 #define MDIO_REG_BANK_TX1 0x8070
6590 #define MDIO_TX1_TX_DRIVER 0x17
6591 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
6592 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
6593 #define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
6594 #define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
6595 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
6596 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
6597 #define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
6598 #define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
6599 #define MDIO_TX0_TX_DRIVER_ICBUF1T 1
6601 #define MDIO_REG_BANK_TX2 0x8080
6602 #define MDIO_TX2_TX_DRIVER 0x17
6603 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
6604 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
6605 #define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
6606 #define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
6607 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
6608 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
6609 #define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
6610 #define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
6611 #define MDIO_TX0_TX_DRIVER_ICBUF1T 1
6613 #define MDIO_REG_BANK_TX3 0x8090
6614 #define MDIO_TX3_TX_DRIVER 0x17
6615 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_MASK 0xf000
6616 #define MDIO_TX0_TX_DRIVER_PREEMPHASIS_SHIFT 12
6617 #define MDIO_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
6618 #define MDIO_TX0_TX_DRIVER_IDRIVER_SHIFT 8
6619 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_MASK 0x00f0
6620 #define MDIO_TX0_TX_DRIVER_IPREDRIVER_SHIFT 4
6621 #define MDIO_TX0_TX_DRIVER_IFULLSPD_MASK 0x000e
6622 #define MDIO_TX0_TX_DRIVER_IFULLSPD_SHIFT 1
6623 #define MDIO_TX0_TX_DRIVER_ICBUF1T 1
6625 #define MDIO_REG_BANK_XGXS_BLOCK0 0x8000
6626 #define MDIO_BLOCK0_XGXS_CONTROL 0x10
6628 #define MDIO_REG_BANK_XGXS_BLOCK1 0x8010
6629 #define MDIO_BLOCK1_LANE_CTRL0 0x15
6630 #define MDIO_BLOCK1_LANE_CTRL1 0x16
6631 #define MDIO_BLOCK1_LANE_CTRL2 0x17
6632 #define MDIO_BLOCK1_LANE_PRBS 0x19
6634 #define MDIO_REG_BANK_XGXS_BLOCK2 0x8100
6635 #define MDIO_XGXS_BLOCK2_RX_LN_SWAP 0x10
6636 #define MDIO_XGXS_BLOCK2_RX_LN_SWAP_ENABLE 0x8000
6637 #define MDIO_XGXS_BLOCK2_RX_LN_SWAP_FORCE_ENABLE 0x4000
6638 #define MDIO_XGXS_BLOCK2_TX_LN_SWAP 0x11
6639 #define MDIO_XGXS_BLOCK2_TX_LN_SWAP_ENABLE 0x8000
6640 #define MDIO_XGXS_BLOCK2_UNICORE_MODE_10G 0x14
6641 #define MDIO_XGXS_BLOCK2_UNICORE_MODE_10G_CX4_XGXS 0x0001
6642 #define MDIO_XGXS_BLOCK2_UNICORE_MODE_10G_HIGIG_XGXS 0x0010
6643 #define MDIO_XGXS_BLOCK2_TEST_MODE_LANE 0x15
6645 #define MDIO_REG_BANK_GP_STATUS 0x8120
6646 #define MDIO_GP_STATUS_TOP_AN_STATUS1 0x1B
6647 #define MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_AUTONEG_COMPLETE 0x0001
6648 #define MDIO_GP_STATUS_TOP_AN_STATUS1_CL37_AUTONEG_COMPLETE 0x0002
6649 #define MDIO_GP_STATUS_TOP_AN_STATUS1_LINK_STATUS 0x0004
6650 #define MDIO_GP_STATUS_TOP_AN_STATUS1_DUPLEX_STATUS 0x0008
6651 #define MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_MR_LP_NP_AN_ABLE 0x0010
6652 #define MDIO_GP_STATUS_TOP_AN_STATUS1_CL73_LP_NP_BAM_ABLE 0x0020
6653 #define MDIO_GP_STATUS_TOP_AN_STATUS1_PAUSE_RSOLUTION_TXSIDE 0x0040
6654 #define MDIO_GP_STATUS_TOP_AN_STATUS1_PAUSE_RSOLUTION_RXSIDE 0x0080
6655 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_MASK 0x3f00
6656 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10M 0x0000
6657 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_100M 0x0100
6658 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_1G 0x0200
6659 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_2_5G 0x0300
6660 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_5G 0x0400
6661 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_6G 0x0500
6662 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10G_HIG 0x0600
6663 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10G_CX4 0x0700
6664 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_12G_HIG 0x0800
6665 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_12_5G 0x0900
6666 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_13G 0x0A00
6667 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_15G 0x0B00
6668 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_16G 0x0C00
6669 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_1G_KX 0x0D00
6670 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10G_KX4 0x0E00
6671 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10G_KR 0x0F00
6672 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10G_XFI 0x1B00
6673 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_20G_DXGXS 0x1E00
6674 #define MDIO_GP_STATUS_TOP_AN_STATUS1_ACTUAL_SPEED_10G_SFI 0x1F00
6677 #define MDIO_REG_BANK_10G_PARALLEL_DETECT 0x8130
6678 #define MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS 0x10
6679 #define MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_STATUS_PD_LINK 0x8000
6680 #define MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_CONTROL 0x11
6681 #define MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_CONTROL_PARDET10G_EN 0x1
6682 #define MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_LINK 0x13
6683 #define MDIO_10G_PARALLEL_DETECT_PAR_DET_10G_LINK_CNT (0xb71<<1)
6685 #define MDIO_REG_BANK_SERDES_DIGITAL 0x8300
6686 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1 0x10
6687 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1_FIBER_MODE 0x0001
6688 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1_TBI_IF 0x0002
6689 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1_SIGNAL_DETECT_EN 0x0004
6690 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1_INVERT_SIGNAL_DETECT 0x0008
6691 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1_AUTODET 0x0010
6692 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL1_MSTR_MODE 0x0020
6693 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL2 0x11
6694 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL2_PRL_DT_EN 0x0001
6695 #define MDIO_SERDES_DIGITAL_A_1000X_CONTROL2_AN_FST_TMR 0x0040
6696 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1 0x14
6697 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SGMII 0x0001
6698 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_LINK 0x0002
6699 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_DUPLEX 0x0004
6700 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SPEED_MASK 0x0018
6701 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SPEED_SHIFT 3
6702 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SPEED_2_5G 0x0018
6703 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SPEED_1G 0x0010
6704 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SPEED_100M 0x0008
6705 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS1_SPEED_10M 0x0000
6706 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS2 0x15
6707 #define MDIO_SERDES_DIGITAL_A_1000X_STATUS2_AN_DISABLED 0x0002
6708 #define MDIO_SERDES_DIGITAL_MISC1 0x18
6709 #define MDIO_SERDES_DIGITAL_MISC1_REFCLK_SEL_MASK 0xE000
6710 #define MDIO_SERDES_DIGITAL_MISC1_REFCLK_SEL_25M 0x0000
6711 #define MDIO_SERDES_DIGITAL_MISC1_REFCLK_SEL_100M 0x2000
6712 #define MDIO_SERDES_DIGITAL_MISC1_REFCLK_SEL_125M 0x4000
6713 #define MDIO_SERDES_DIGITAL_MISC1_REFCLK_SEL_156_25M 0x6000
6714 #define MDIO_SERDES_DIGITAL_MISC1_REFCLK_SEL_187_5M 0x8000
6715 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_SEL 0x0010
6716 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_MASK 0x000f
6717 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_2_5G 0x0000
6718 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_5G 0x0001
6719 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_6G 0x0002
6720 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_10G_HIG 0x0003
6721 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_10G_CX4 0x0004
6722 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_12G 0x0005
6723 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_12_5G 0x0006
6724 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_13G 0x0007
6725 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_15G 0x0008
6726 #define MDIO_SERDES_DIGITAL_MISC1_FORCE_SPEED_16G 0x0009
6728 #define MDIO_REG_BANK_OVER_1G 0x8320
6729 #define MDIO_OVER_1G_DIGCTL_3_4 0x14
6730 #define MDIO_OVER_1G_DIGCTL_3_4_MP_ID_MASK 0xffe0
6731 #define MDIO_OVER_1G_DIGCTL_3_4_MP_ID_SHIFT 5
6732 #define MDIO_OVER_1G_UP1 0x19
6733 #define MDIO_OVER_1G_UP1_2_5G 0x0001
6734 #define MDIO_OVER_1G_UP1_5G 0x0002
6735 #define MDIO_OVER_1G_UP1_6G 0x0004
6736 #define MDIO_OVER_1G_UP1_10G 0x0010
6737 #define MDIO_OVER_1G_UP1_10GH 0x0008
6738 #define MDIO_OVER_1G_UP1_12G 0x0020
6739 #define MDIO_OVER_1G_UP1_12_5G 0x0040
6740 #define MDIO_OVER_1G_UP1_13G 0x0080
6741 #define MDIO_OVER_1G_UP1_15G 0x0100
6742 #define MDIO_OVER_1G_UP1_16G 0x0200
6743 #define MDIO_OVER_1G_UP2 0x1A
6744 #define MDIO_OVER_1G_UP2_IPREDRIVER_MASK 0x0007
6745 #define MDIO_OVER_1G_UP2_IDRIVER_MASK 0x0038
6746 #define MDIO_OVER_1G_UP2_PREEMPHASIS_MASK 0x03C0
6747 #define MDIO_OVER_1G_UP3 0x1B
6748 #define MDIO_OVER_1G_UP3_HIGIG2 0x0001
6749 #define MDIO_OVER_1G_LP_UP1 0x1C
6750 #define MDIO_OVER_1G_LP_UP2 0x1D
6751 #define MDIO_OVER_1G_LP_UP2_MR_ADV_OVER_1G_MASK 0x03ff
6752 #define MDIO_OVER_1G_LP_UP2_PREEMPHASIS_MASK 0x0780
6753 #define MDIO_OVER_1G_LP_UP2_PREEMPHASIS_SHIFT 7
6754 #define MDIO_OVER_1G_LP_UP3 0x1E
6756 #define MDIO_REG_BANK_REMOTE_PHY 0x8330
6757 #define MDIO_REMOTE_PHY_MISC_RX_STATUS 0x10
6758 #define MDIO_REMOTE_PHY_MISC_RX_STATUS_CL37_FSM_RECEIVED_OVER1G_MSG 0x0010
6759 #define MDIO_REMOTE_PHY_MISC_RX_STATUS_CL37_FSM_RECEIVED_BRCM_OUI_MSG 0x0600
6761 #define MDIO_REG_BANK_BAM_NEXT_PAGE 0x8350
6762 #define MDIO_BAM_NEXT_PAGE_MP5_NEXT_PAGE_CTRL 0x10
6763 #define MDIO_BAM_NEXT_PAGE_MP5_NEXT_PAGE_CTRL_BAM_MODE 0x0001
6764 #define MDIO_BAM_NEXT_PAGE_MP5_NEXT_PAGE_CTRL_TETON_AN 0x0002
6766 #define MDIO_REG_BANK_CL73_USERB0 0x8370
6767 #define MDIO_CL73_USERB0_CL73_UCTRL 0x10
6768 #define MDIO_CL73_USERB0_CL73_UCTRL_USTAT1_MUXSEL 0x0002
6769 #define MDIO_CL73_USERB0_CL73_USTAT1 0x11
6770 #define MDIO_CL73_USERB0_CL73_USTAT1_LINK_STATUS_CHECK 0x0100
6771 #define MDIO_CL73_USERB0_CL73_USTAT1_AN_GOOD_CHECK_BAM37 0x0400
6772 #define MDIO_CL73_USERB0_CL73_BAM_CTRL1 0x12
6773 #define MDIO_CL73_USERB0_CL73_BAM_CTRL1_BAM_EN 0x8000
6774 #define MDIO_CL73_USERB0_CL73_BAM_CTRL1_BAM_STATION_MNGR_EN 0x4000
6775 #define MDIO_CL73_USERB0_CL73_BAM_CTRL1_BAM_NP_AFTER_BP_EN 0x2000
6776 #define MDIO_CL73_USERB0_CL73_BAM_CTRL3 0x14
6777 #define MDIO_CL73_USERB0_CL73_BAM_CTRL3_USE_CL73_HCD_MR 0x0001
6779 #define MDIO_REG_BANK_AER_BLOCK 0xFFD0
6780 #define MDIO_AER_BLOCK_AER_REG 0x1E
6782 #define MDIO_REG_BANK_COMBO_IEEE0 0xFFE0
6783 #define MDIO_COMBO_IEEE0_MII_CONTROL 0x10
6784 #define MDIO_COMBO_IEEO_MII_CONTROL_MAN_SGMII_SP_MASK 0x2040
6785 #define MDIO_COMBO_IEEO_MII_CONTROL_MAN_SGMII_SP_10 0x0000
6786 #define MDIO_COMBO_IEEO_MII_CONTROL_MAN_SGMII_SP_100 0x2000
6787 #define MDIO_COMBO_IEEO_MII_CONTROL_MAN_SGMII_SP_1000 0x0040
6788 #define MDIO_COMBO_IEEO_MII_CONTROL_FULL_DUPLEX 0x0100
6789 #define MDIO_COMBO_IEEO_MII_CONTROL_RESTART_AN 0x0200
6790 #define MDIO_COMBO_IEEO_MII_CONTROL_AN_EN 0x1000
6791 #define MDIO_COMBO_IEEO_MII_CONTROL_LOOPBACK 0x4000
6792 #define MDIO_COMBO_IEEO_MII_CONTROL_RESET 0x8000
6793 #define MDIO_COMBO_IEEE0_MII_STATUS 0x11
6794 #define MDIO_COMBO_IEEE0_MII_STATUS_LINK_PASS 0x0004
6795 #define MDIO_COMBO_IEEE0_MII_STATUS_AUTONEG_COMPLETE 0x0020
6796 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV 0x14
6797 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_FULL_DUPLEX 0x0020
6798 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_HALF_DUPLEX 0x0040
6799 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_MASK 0x0180
6800 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_NONE 0x0000
6801 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC 0x0080
6802 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC 0x0100
6803 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH 0x0180
6804 #define MDIO_COMBO_IEEE0_AUTO_NEG_ADV_NEXT_PAGE 0x8000
6805 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1 0x15
6806 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_NEXT_PAGE 0x8000
6807 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_ACK 0x4000
6808 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_PAUSE_MASK 0x0180
6809 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_PAUSE_NONE 0x0000
6810 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_PAUSE_BOTH 0x0180
6811 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_HALF_DUP_CAP 0x0040
6812 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_FULL_DUP_CAP 0x0020
6816 #define MDIO_COMBO_IEEE0_AUTO_NEG_LINK_PARTNER_ABILITY1_SGMII_MODE 0x0001
6819 #define MDIO_PMA_DEVAD 0x1
6821 #define MDIO_PMA_REG_CTRL 0x0
6822 #define MDIO_PMA_REG_STATUS 0x1
6823 #define MDIO_PMA_REG_10G_CTRL2 0x7
6824 #define MDIO_PMA_REG_TX_DISABLE 0x0009
6825 #define MDIO_PMA_REG_RX_SD 0xa
6827 #define MDIO_PMA_REG_BCM_CTRL 0x0096
6828 #define MDIO_PMA_REG_FEC_CTRL 0x00ab
6829 #define MDIO_PMA_REG_PHY_IDENTIFIER 0xc800
6830 #define MDIO_PMA_REG_DIGITAL_CTRL 0xc808
6831 #define MDIO_PMA_REG_DIGITAL_STATUS 0xc809
6832 #define MDIO_PMA_REG_TX_POWER_DOWN 0xca02
6833 #define MDIO_PMA_REG_CMU_PLL_BYPASS 0xca09
6834 #define MDIO_PMA_REG_MISC_CTRL 0xca0a
6835 #define MDIO_PMA_REG_GEN_CTRL 0xca10
6836 #define MDIO_PMA_REG_GEN_CTRL_ROM_RESET_INTERNAL_MP 0x0188
6837 #define MDIO_PMA_REG_GEN_CTRL_ROM_MICRO_RESET 0x018a
6838 #define MDIO_PMA_REG_M8051_MSGIN_REG 0xca12
6839 #define MDIO_PMA_REG_M8051_MSGOUT_REG 0xca13
6840 #define MDIO_PMA_REG_ROM_VER1 0xca19
6841 #define MDIO_PMA_REG_ROM_VER2 0xca1a
6842 #define MDIO_PMA_REG_EDC_FFE_MAIN 0xca1b
6843 #define MDIO_PMA_REG_PLL_BANDWIDTH 0xca1d
6844 #define MDIO_PMA_REG_PLL_CTRL 0xca1e
6845 #define MDIO_PMA_REG_MISC_CTRL0 0xca23
6846 #define MDIO_PMA_REG_LRM_MODE 0xca3f
6847 #define MDIO_PMA_REG_CDR_BANDWIDTH 0xca46
6848 #define MDIO_PMA_REG_MISC_CTRL1 0xca85
6850 #define MDIO_PMA_REG_SFP_TWO_WIRE_CTRL 0x8000
6851 #define MDIO_PMA_REG_SFP_TWO_WIRE_CTRL_STATUS_MASK 0x000c
6852 #define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IDLE 0x0000
6853 #define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_COMPLETE 0x0004
6854 #define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_IN_PROGRESS 0x0008
6855 #define MDIO_PMA_REG_SFP_TWO_WIRE_STATUS_FAILED 0x000c
6856 #define MDIO_PMA_REG_SFP_TWO_WIRE_BYTE_CNT 0x8002
6857 #define MDIO_PMA_REG_SFP_TWO_WIRE_MEM_ADDR 0x8003
6858 #define MDIO_PMA_REG_8726_TWO_WIRE_DATA_BUF 0xc820
6859 #define MDIO_PMA_REG_8726_TWO_WIRE_DATA_MASK 0xff
6860 #define MDIO_PMA_REG_8726_TX_CTRL1 0xca01
6861 #define MDIO_PMA_REG_8726_TX_CTRL2 0xca05
6863 #define MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR 0x8005
6864 #define MDIO_PMA_REG_8727_TWO_WIRE_DATA_BUF 0x8007
6865 #define MDIO_PMA_REG_8727_TWO_WIRE_DATA_MASK 0xff
6866 #define MDIO_PMA_REG_8727_TX_CTRL1 0xca02
6867 #define MDIO_PMA_REG_8727_TX_CTRL2 0xca05
6868 #define MDIO_PMA_REG_8727_PCS_OPT_CTRL 0xc808
6869 #define MDIO_PMA_REG_8727_GPIO_CTRL 0xc80e
6870 #define MDIO_PMA_REG_8727_PCS_GP 0xc842
6871 #define MDIO_PMA_REG_8727_OPT_CFG_REG 0xc8e4
6873 #define MDIO_AN_REG_8727_MISC_CTRL 0x8309
6875 #define MDIO_PMA_REG_8073_CHIP_REV 0xc801
6876 #define MDIO_PMA_REG_8073_SPEED_LINK_STATUS 0xc820
6877 #define MDIO_PMA_REG_8073_XAUI_WA 0xc841
6878 #define MDIO_PMA_REG_8073_OPT_DIGITAL_CTRL 0xcd08
6880 #define MDIO_PMA_REG_7101_RESET 0xc000
6881 #define MDIO_PMA_REG_7107_LED_CNTL 0xc007
6882 #define MDIO_PMA_REG_7107_LINK_LED_CNTL 0xc009
6883 #define MDIO_PMA_REG_7101_VER1 0xc026
6884 #define MDIO_PMA_REG_7101_VER2 0xc027
6886 #define MDIO_PMA_REG_8481_PMD_SIGNAL 0xa811
6887 #define MDIO_PMA_REG_8481_LED1_MASK 0xa82c
6888 #define MDIO_PMA_REG_8481_LED2_MASK 0xa82f
6889 #define MDIO_PMA_REG_8481_LED3_MASK 0xa832
6890 #define MDIO_PMA_REG_8481_LED3_BLINK 0xa834
6891 #define MDIO_PMA_REG_8481_LED5_MASK 0xa838
6892 #define MDIO_PMA_REG_8481_SIGNAL_MASK 0xa835
6893 #define MDIO_PMA_REG_8481_LINK_SIGNAL 0xa83b
6894 #define MDIO_PMA_REG_8481_LINK_SIGNAL_LED4_ENABLE_MASK 0x800
6895 #define MDIO_PMA_REG_8481_LINK_SIGNAL_LED4_ENABLE_SHIFT 11
6898 #define MDIO_WIS_DEVAD 0x2
6900 #define MDIO_WIS_REG_LASI_CNTL 0x9002
6901 #define MDIO_WIS_REG_LASI_STATUS 0x9005
6903 #define MDIO_PCS_DEVAD 0x3
6904 #define MDIO_PCS_REG_STATUS 0x0020
6905 #define MDIO_PCS_REG_LASI_STATUS 0x9005
6906 #define MDIO_PCS_REG_7101_DSP_ACCESS 0xD000
6907 #define MDIO_PCS_REG_7101_SPI_MUX 0xD008
6908 #define MDIO_PCS_REG_7101_SPI_CTRL_ADDR 0xE12A
6909 #define MDIO_PCS_REG_7101_SPI_RESET_BIT (5)
6910 #define MDIO_PCS_REG_7101_SPI_FIFO_ADDR 0xE02A
6911 #define MDIO_PCS_REG_7101_SPI_FIFO_ADDR_WRITE_ENABLE_CMD (6)
6912 #define MDIO_PCS_REG_7101_SPI_FIFO_ADDR_BULK_ERASE_CMD (0xC7)
6913 #define MDIO_PCS_REG_7101_SPI_FIFO_ADDR_PAGE_PROGRAM_CMD (2)
6914 #define MDIO_PCS_REG_7101_SPI_BYTES_TO_TRANSFER_ADDR 0xE028
6917 #define MDIO_XS_DEVAD 0x4
6918 #define MDIO_XS_PLL_SEQUENCER 0x8000
6919 #define MDIO_XS_SFX7101_XGXS_TEST1 0xc00a
6921 #define MDIO_XS_8706_REG_BANK_RX0 0x80bc
6922 #define MDIO_XS_8706_REG_BANK_RX1 0x80cc
6923 #define MDIO_XS_8706_REG_BANK_RX2 0x80dc
6924 #define MDIO_XS_8706_REG_BANK_RX3 0x80ec
6925 #define MDIO_XS_8706_REG_BANK_RXA 0x80fc
6927 #define MDIO_XS_REG_8073_RX_CTRL_PCIE 0x80FA
6929 #define MDIO_AN_DEVAD 0x7
6931 #define MDIO_AN_REG_CTRL 0x0000
6932 #define MDIO_AN_REG_STATUS 0x0001
6933 #define MDIO_AN_REG_STATUS_AN_COMPLETE 0x0020
6934 #define MDIO_AN_REG_ADV_PAUSE 0x0010
6935 #define MDIO_AN_REG_ADV_PAUSE_PAUSE 0x0400
6936 #define MDIO_AN_REG_ADV_PAUSE_ASYMMETRIC 0x0800
6937 #define MDIO_AN_REG_ADV_PAUSE_BOTH 0x0C00
6938 #define MDIO_AN_REG_ADV_PAUSE_MASK 0x0C00
6939 #define MDIO_AN_REG_ADV 0x0011
6940 #define MDIO_AN_REG_ADV2 0x0012
6941 #define MDIO_AN_REG_LP_AUTO_NEG 0x0013
6942 #define MDIO_AN_REG_LP_AUTO_NEG2 0x0014
6943 #define MDIO_AN_REG_MASTER_STATUS 0x0021
6944 #define MDIO_AN_REG_EEE_ADV 0x003c
6945 #define MDIO_AN_REG_LP_EEE_ADV 0x003d
6947 #define MDIO_AN_REG_LINK_STATUS 0x8304
6948 #define MDIO_AN_REG_CL37_CL73 0x8370
6949 #define MDIO_AN_REG_CL37_AN 0xffe0
6950 #define MDIO_AN_REG_CL37_FC_LD 0xffe4
6951 #define MDIO_AN_REG_CL37_FC_LP 0xffe5
6952 #define MDIO_AN_REG_1000T_STATUS 0xffea
6954 #define MDIO_AN_REG_8073_2_5G 0x8329
6955 #define MDIO_AN_REG_8073_BAM 0x8350
6957 #define MDIO_AN_REG_8481_10GBASE_T_AN_CTRL 0x0020
6958 #define MDIO_AN_REG_8481_LEGACY_MII_CTRL 0xffe0
6959 #define MDIO_AN_REG_8481_MII_CTRL_FORCE_1G 0x40
6960 #define MDIO_AN_REG_8481_LEGACY_MII_STATUS 0xffe1
6961 #define MDIO_AN_REG_8481_LEGACY_AN_ADV 0xffe4
6962 #define MDIO_AN_REG_8481_LEGACY_AN_EXPANSION 0xffe6
6963 #define MDIO_AN_REG_8481_1000T_CTRL 0xffe9
6964 #define MDIO_AN_REG_8481_1G_100T_EXT_CTRL 0xfff0
6965 #define MIDO_AN_REG_8481_EXT_CTRL_FORCE_LEDS_OFF 0x0008
6966 #define MDIO_AN_REG_8481_EXPANSION_REG_RD_RW 0xfff5
6967 #define MDIO_AN_REG_8481_EXPANSION_REG_ACCESS 0xfff7
6968 #define MDIO_AN_REG_8481_AUX_CTRL 0xfff8
6969 #define MDIO_AN_REG_8481_LEGACY_SHADOW 0xfffc
6972 #define MDIO_CTL_DEVAD 0x1e
6973 #define MDIO_CTL_REG_84823_MEDIA 0x401a
6974 #define MDIO_CTL_REG_84823_MEDIA_MAC_MASK 0x0018
6976 #define MDIO_CTL_REG_84823_CTRL_MAC_XFI 0x0008
6977 #define MDIO_CTL_REG_84823_MEDIA_MAC_XAUI_M 0x0010
6979 #define MDIO_CTL_REG_84823_MEDIA_LINE_MASK 0x0060
6980 #define MDIO_CTL_REG_84823_MEDIA_LINE_XAUI_L 0x0020
6981 #define MDIO_CTL_REG_84823_MEDIA_LINE_XFI 0x0040
6985 #define MDIO_CTL_REG_84823_MEDIA_COPPER_CORE_DOWN 0x0080
6986 #define MDIO_CTL_REG_84823_MEDIA_PRIORITY_MASK 0x0100
6987 #define MDIO_CTL_REG_84823_MEDIA_PRIORITY_COPPER 0x0000
6988 #define MDIO_CTL_REG_84823_MEDIA_PRIORITY_FIBER 0x0100
6989 #define MDIO_CTL_REG_84823_MEDIA_FIBER_1G 0x1000
6990 #define MDIO_CTL_REG_84823_USER_CTRL_REG 0x4005
6991 #define MDIO_CTL_REG_84823_USER_CTRL_CMS 0x0080
6992 #define MDIO_PMA_REG_84823_CTL_SLOW_CLK_CNT_HIGH 0xa82b
6993 #define MDIO_PMA_REG_84823_BLINK_RATE_VAL_15P9HZ 0x2f
6994 #define MDIO_PMA_REG_84823_CTL_LED_CTL_1 0xa8e3
6995 #define MDIO_PMA_REG_84833_CTL_LED_CTL_1 0xa8ec
6996 #define MDIO_PMA_REG_84823_LED3_STRETCH_EN 0x0080
6999 #define MDIO_84833_TOP_CFG_FW_REV 0x400f
7000 #define MDIO_84833_TOP_CFG_FW_EEE 0x10b1
7001 #define MDIO_84833_TOP_CFG_FW_NO_EEE 0x1f81
7002 #define MDIO_84833_TOP_CFG_XGPHY_STRAP1 0x401a
7003 #define MDIO_84833_SUPER_ISOLATE 0x8000
7005 #define MDIO_84833_TOP_CFG_SCRATCH_REG0 0x4005
7006 #define MDIO_84833_TOP_CFG_SCRATCH_REG1 0x4006
7007 #define MDIO_84833_TOP_CFG_SCRATCH_REG2 0x4007
7008 #define MDIO_84833_TOP_CFG_SCRATCH_REG3 0x4008
7009 #define MDIO_84833_TOP_CFG_SCRATCH_REG4 0x4009
7010 #define MDIO_84833_TOP_CFG_SCRATCH_REG26 0x4037
7011 #define MDIO_84833_TOP_CFG_SCRATCH_REG27 0x4038
7012 #define MDIO_84833_TOP_CFG_SCRATCH_REG28 0x4039
7013 #define MDIO_84833_TOP_CFG_SCRATCH_REG29 0x403a
7014 #define MDIO_84833_TOP_CFG_SCRATCH_REG30 0x403b
7015 #define MDIO_84833_TOP_CFG_SCRATCH_REG31 0x403c
7016 #define MDIO_84833_CMD_HDLR_COMMAND MDIO_84833_TOP_CFG_SCRATCH_REG0
7017 #define MDIO_84833_CMD_HDLR_STATUS MDIO_84833_TOP_CFG_SCRATCH_REG26
7018 #define MDIO_84833_CMD_HDLR_DATA1 MDIO_84833_TOP_CFG_SCRATCH_REG27
7019 #define MDIO_84833_CMD_HDLR_DATA2 MDIO_84833_TOP_CFG_SCRATCH_REG28
7020 #define MDIO_84833_CMD_HDLR_DATA3 MDIO_84833_TOP_CFG_SCRATCH_REG29
7021 #define MDIO_84833_CMD_HDLR_DATA4 MDIO_84833_TOP_CFG_SCRATCH_REG30
7022 #define MDIO_84833_CMD_HDLR_DATA5 MDIO_84833_TOP_CFG_SCRATCH_REG31
7025 #define PHY84833_CMD_SET_PAIR_SWAP 0x8001
7026 #define PHY84833_CMD_GET_EEE_MODE 0x8008
7027 #define PHY84833_CMD_SET_EEE_MODE 0x8009
7029 #define PHY84833_STATUS_CMD_RECEIVED 0x0001
7030 #define PHY84833_STATUS_CMD_IN_PROGRESS 0x0002
7031 #define PHY84833_STATUS_CMD_COMPLETE_PASS 0x0004
7032 #define PHY84833_STATUS_CMD_COMPLETE_ERROR 0x0008
7033 #define PHY84833_STATUS_CMD_OPEN_FOR_CMDS 0x0010
7034 #define PHY84833_STATUS_CMD_SYSTEM_BOOT 0x0020
7035 #define PHY84833_STATUS_CMD_NOT_OPEN_FOR_CMDS 0x0040
7036 #define PHY84833_STATUS_CMD_CLEAR_COMPLETE 0x0080
7037 #define PHY84833_STATUS_CMD_OPEN_OVERRIDE 0xa5a5
7041 #define MDIO_WC_DEVAD 0x3
7042 #define MDIO_WC_REG_IEEE0BLK_MIICNTL 0x0
7043 #define MDIO_WC_REG_IEEE0BLK_AUTONEGNP 0x7
7044 #define MDIO_WC_REG_AN_IEEE1BLK_AN_ADVERTISEMENT0 0x10
7045 #define MDIO_WC_REG_AN_IEEE1BLK_AN_ADVERTISEMENT1 0x11
7046 #define MDIO_WC_REG_AN_IEEE1BLK_AN_ADVERTISEMENT2 0x12
7047 #define MDIO_WC_REG_AN_IEEE1BLK_AN_ADV2_FEC_ABILITY 0x4000
7048 #define MDIO_WC_REG_AN_IEEE1BLK_AN_ADV2_FEC_REQ 0x8000
7049 #define MDIO_WC_REG_PMD_IEEE9BLK_TENGBASE_KR_PMD_CONTROL_REGISTER_150 0x96
7050 #define MDIO_WC_REG_XGXSBLK0_XGXSCONTROL 0x8000
7051 #define MDIO_WC_REG_XGXSBLK0_MISCCONTROL1 0x800e
7052 #define MDIO_WC_REG_XGXSBLK1_DESKEW 0x8010
7053 #define MDIO_WC_REG_XGXSBLK1_LANECTRL0 0x8015
7054 #define MDIO_WC_REG_XGXSBLK1_LANECTRL1 0x8016
7055 #define MDIO_WC_REG_XGXSBLK1_LANECTRL2 0x8017
7056 #define MDIO_WC_REG_TX0_ANA_CTRL0 0x8061
7057 #define MDIO_WC_REG_TX1_ANA_CTRL0 0x8071
7058 #define MDIO_WC_REG_TX2_ANA_CTRL0 0x8081
7059 #define MDIO_WC_REG_TX3_ANA_CTRL0 0x8091
7060 #define MDIO_WC_REG_TX0_TX_DRIVER 0x8067
7061 #define MDIO_WC_REG_TX0_TX_DRIVER_IPRE_DRIVER_OFFSET 0x04
7062 #define MDIO_WC_REG_TX0_TX_DRIVER_IPRE_DRIVER_MASK 0x00f0
7063 #define MDIO_WC_REG_TX0_TX_DRIVER_IDRIVER_OFFSET 0x08
7064 #define MDIO_WC_REG_TX0_TX_DRIVER_IDRIVER_MASK 0x0f00
7065 #define MDIO_WC_REG_TX0_TX_DRIVER_POST2_COEFF_OFFSET 0x0c
7066 #define MDIO_WC_REG_TX0_TX_DRIVER_POST2_COEFF_MASK 0x7000
7067 #define MDIO_WC_REG_TX1_TX_DRIVER 0x8077
7068 #define MDIO_WC_REG_TX2_TX_DRIVER 0x8087
7069 #define MDIO_WC_REG_TX3_TX_DRIVER 0x8097
7070 #define MDIO_WC_REG_RX0_ANARXCONTROL1G 0x80b9
7071 #define MDIO_WC_REG_RX2_ANARXCONTROL1G 0x80d9
7072 #define MDIO_WC_REG_RX0_PCI_CTRL 0x80ba
7073 #define MDIO_WC_REG_RX1_PCI_CTRL 0x80ca
7074 #define MDIO_WC_REG_RX2_PCI_CTRL 0x80da
7075 #define MDIO_WC_REG_RX3_PCI_CTRL 0x80ea
7076 #define MDIO_WC_REG_XGXSBLK2_UNICORE_MODE_10G 0x8104
7077 #define MDIO_WC_REG_XGXS_STATUS3 0x8129
7078 #define MDIO_WC_REG_PAR_DET_10G_STATUS 0x8130
7079 #define MDIO_WC_REG_PAR_DET_10G_CTRL 0x8131
7080 #define MDIO_WC_REG_XGXS_X2_CONTROL2 0x8141
7081 #define MDIO_WC_REG_XGXS_RX_LN_SWAP1 0x816B
7082 #define MDIO_WC_REG_XGXS_TX_LN_SWAP1 0x8169
7083 #define MDIO_WC_REG_GP2_STATUS_GP_2_0 0x81d0
7084 #define MDIO_WC_REG_GP2_STATUS_GP_2_1 0x81d1
7085 #define MDIO_WC_REG_GP2_STATUS_GP_2_2 0x81d2
7086 #define MDIO_WC_REG_GP2_STATUS_GP_2_3 0x81d3
7087 #define MDIO_WC_REG_GP2_STATUS_GP_2_4 0x81d4
7088 #define MDIO_WC_REG_GP2_STATUS_GP_2_4_CL73_AN_CMPL 0x1000
7089 #define MDIO_WC_REG_GP2_STATUS_GP_2_4_CL37_AN_CMPL 0x0100
7090 #define MDIO_WC_REG_GP2_STATUS_GP_2_4_CL37_LP_AN_CAP 0x0010
7091 #define MDIO_WC_REG_GP2_STATUS_GP_2_4_CL37_AN_CAP 0x1
7092 #define MDIO_WC_REG_UC_INFO_B0_DEAD_TRAP 0x81EE
7093 #define MDIO_WC_REG_UC_INFO_B1_VERSION 0x81F0
7094 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_MODE 0x81F2
7095 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_LANE0_OFFSET 0x0
7096 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_MODE_DEFAULT 0x0
7097 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_MODE_SFP_OPT_LR 0x1
7098 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_MODE_SFP_DAC 0x2
7099 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_MODE_SFP_XLAUI 0x3
7100 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_MODE_LONG_CH_6G 0x4
7101 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_LANE1_OFFSET 0x4
7102 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_LANE2_OFFSET 0x8
7103 #define MDIO_WC_REG_UC_INFO_B1_FIRMWARE_LANE3_OFFSET 0xc
7104 #define MDIO_WC_REG_UC_INFO_B1_CRC 0x81FE
7105 #define MDIO_WC_REG_DSC_SMC 0x8213
7106 #define MDIO_WC_REG_DSC2B0_DSC_MISC_CTRL0 0x821e
7107 #define MDIO_WC_REG_TX_FIR_TAP 0x82e2
7108 #define MDIO_WC_REG_TX_FIR_TAP_PRE_TAP_OFFSET 0x00
7109 #define MDIO_WC_REG_TX_FIR_TAP_PRE_TAP_MASK 0x000f
7110 #define MDIO_WC_REG_TX_FIR_TAP_MAIN_TAP_OFFSET 0x04
7111 #define MDIO_WC_REG_TX_FIR_TAP_MAIN_TAP_MASK 0x03f0
7112 #define MDIO_WC_REG_TX_FIR_TAP_POST_TAP_OFFSET 0x0a
7113 #define MDIO_WC_REG_TX_FIR_TAP_POST_TAP_MASK 0x7c00
7114 #define MDIO_WC_REG_TX_FIR_TAP_ENABLE 0x8000
7115 #define MDIO_WC_REG_CL72_USERB0_CL72_MISC1_CONTROL 0x82e3
7116 #define MDIO_WC_REG_CL72_USERB0_CL72_OS_DEF_CTRL 0x82e6
7117 #define MDIO_WC_REG_CL72_USERB0_CL72_BR_DEF_CTRL 0x82e7
7118 #define MDIO_WC_REG_CL72_USERB0_CL72_2P5_DEF_CTRL 0x82e8
7119 #define MDIO_WC_REG_CL72_USERB0_CL72_MISC4_CONTROL 0x82ec
7120 #define MDIO_WC_REG_SERDESDIGITAL_CONTROL1000X1 0x8300
7121 #define MDIO_WC_REG_SERDESDIGITAL_CONTROL1000X2 0x8301
7122 #define MDIO_WC_REG_SERDESDIGITAL_CONTROL1000X3 0x8302
7123 #define MDIO_WC_REG_SERDESDIGITAL_STATUS1000X1 0x8304
7124 #define MDIO_WC_REG_SERDESDIGITAL_MISC1 0x8308
7125 #define MDIO_WC_REG_SERDESDIGITAL_MISC2 0x8309
7126 #define MDIO_WC_REG_DIGITAL3_UP1 0x8329
7127 #define MDIO_WC_REG_DIGITAL3_LP_UP1 0x832c
7128 #define MDIO_WC_REG_DIGITAL4_MISC3 0x833c
7129 #define MDIO_WC_REG_DIGITAL4_MISC5 0x833e
7130 #define MDIO_WC_REG_DIGITAL5_MISC6 0x8345
7131 #define MDIO_WC_REG_DIGITAL5_MISC7 0x8349
7132 #define MDIO_WC_REG_DIGITAL5_ACTUAL_SPEED 0x834e
7133 #define MDIO_WC_REG_DIGITAL6_MP5_NEXTPAGECTRL 0x8350
7134 #define MDIO_WC_REG_CL49_USERB0_CTRL 0x8368
7135 #define MDIO_WC_REG_EEE_COMBO_CONTROL0 0x8390
7136 #define MDIO_WC_REG_TX66_CONTROL 0x83b0
7137 #define MDIO_WC_REG_RX66_CONTROL 0x83c0
7138 #define MDIO_WC_REG_RX66_SCW0 0x83c2
7139 #define MDIO_WC_REG_RX66_SCW1 0x83c3
7140 #define MDIO_WC_REG_RX66_SCW2 0x83c4
7141 #define MDIO_WC_REG_RX66_SCW3 0x83c5
7142 #define MDIO_WC_REG_RX66_SCW0_MASK 0x83c6
7143 #define MDIO_WC_REG_RX66_SCW1_MASK 0x83c7
7144 #define MDIO_WC_REG_RX66_SCW2_MASK 0x83c8
7145 #define MDIO_WC_REG_RX66_SCW3_MASK 0x83c9
7146 #define MDIO_WC_REG_FX100_CTRL1 0x8400
7147 #define MDIO_WC_REG_FX100_CTRL3 0x8402
7149 #define MDIO_WC_REG_MICROBLK_CMD 0xffc2
7150 #define MDIO_WC_REG_MICROBLK_DL_STATUS 0xffc5
7151 #define MDIO_WC_REG_MICROBLK_CMD3 0xffcc
7153 #define MDIO_WC_REG_AERBLK_AER 0xffde
7154 #define MDIO_WC_REG_COMBO_IEEE0_MIICTRL 0xffe0
7155 #define MDIO_WC_REG_COMBO_IEEE0_MIIISTAT 0xffe1
7157 #define MDIO_WC0_XGXS_BLK2_LANE_RESET 0x810A
7158 #define MDIO_WC0_XGXS_BLK2_LANE_RESET_RX_BITSHIFT 0
7159 #define MDIO_WC0_XGXS_BLK2_LANE_RESET_TX_BITSHIFT 4
7161 #define MDIO_WC0_XGXS_BLK6_XGXS_X2_CONTROL2 0x8141
7163 #define DIGITAL5_ACTUAL_SPEED_TX_MASK 0x003f
7166 #define MDIO_REG_GPHY_PHYID_LSB 0x3
7167 #define MDIO_REG_GPHY_ID_54618SE 0x5cd5
7168 #define MDIO_REG_GPHY_CL45_ADDR_REG 0xd
7169 #define MDIO_REG_GPHY_CL45_DATA_REG 0xe
7170 #define MDIO_REG_GPHY_EEE_RESOLVED 0x803e
7171 #define MDIO_REG_GPHY_EXP_ACCESS_GATE 0x15
7172 #define MDIO_REG_GPHY_EXP_ACCESS 0x17
7173 #define MDIO_REG_GPHY_EXP_ACCESS_TOP 0xd00
7174 #define MDIO_REG_GPHY_EXP_TOP_2K_BUF 0x40
7175 #define MDIO_REG_GPHY_AUX_STATUS 0x19
7176 #define MDIO_REG_INTR_STATUS 0x1a
7177 #define MDIO_REG_INTR_MASK 0x1b
7178 #define MDIO_REG_INTR_MASK_LINK_STATUS (0x1 << 1)
7179 #define MDIO_REG_GPHY_SHADOW 0x1c
7180 #define MDIO_REG_GPHY_SHADOW_LED_SEL1 (0x0d << 10)
7181 #define MDIO_REG_GPHY_SHADOW_LED_SEL2 (0x0e << 10)
7182 #define MDIO_REG_GPHY_SHADOW_WR_ENA (0x1 << 15)
7183 #define MDIO_REG_GPHY_SHADOW_AUTO_DET_MED (0x1e << 10)
7184 #define MDIO_REG_GPHY_SHADOW_INVERT_FIB_SD (0x1 << 8)
7186 #define IGU_FUNC_BASE 0x0400
7188 #define IGU_ADDR_MSIX 0x0000
7189 #define IGU_ADDR_INT_ACK 0x0200
7190 #define IGU_ADDR_PROD_UPD 0x0201
7191 #define IGU_ADDR_ATTN_BITS_UPD 0x0202
7192 #define IGU_ADDR_ATTN_BITS_SET 0x0203
7193 #define IGU_ADDR_ATTN_BITS_CLR 0x0204
7194 #define IGU_ADDR_COALESCE_NOW 0x0205
7195 #define IGU_ADDR_SIMD_MASK 0x0206
7196 #define IGU_ADDR_SIMD_NOMASK 0x0207
7197 #define IGU_ADDR_MSI_CTL 0x0210
7198 #define IGU_ADDR_MSI_ADDR_LO 0x0211
7199 #define IGU_ADDR_MSI_ADDR_HI 0x0212
7200 #define IGU_ADDR_MSI_DATA 0x0213
7202 #define IGU_USE_REGISTER_ustorm_type_0_sb_cleanup 0
7203 #define IGU_USE_REGISTER_ustorm_type_1_sb_cleanup 1
7204 #define IGU_USE_REGISTER_cstorm_type_0_sb_cleanup 2
7205 #define IGU_USE_REGISTER_cstorm_type_1_sb_cleanup 3
7207 #define COMMAND_REG_INT_ACK 0x0
7208 #define COMMAND_REG_PROD_UPD 0x4
7209 #define COMMAND_REG_ATTN_BITS_UPD 0x8
7210 #define COMMAND_REG_ATTN_BITS_SET 0xc
7211 #define COMMAND_REG_ATTN_BITS_CLR 0x10
7212 #define COMMAND_REG_COALESCE_NOW 0x14
7213 #define COMMAND_REG_SIMD_MASK 0x18
7214 #define COMMAND_REG_SIMD_NOMASK 0x1c
7217 #define IGU_MEM_BASE 0x0000
7219 #define IGU_MEM_MSIX_BASE 0x0000
7220 #define IGU_MEM_MSIX_UPPER 0x007f
7221 #define IGU_MEM_MSIX_RESERVED_UPPER 0x01ff
7223 #define IGU_MEM_PBA_MSIX_BASE 0x0200
7224 #define IGU_MEM_PBA_MSIX_UPPER 0x0200
7226 #define IGU_CMD_BACKWARD_COMP_PROD_UPD 0x0201
7227 #define IGU_MEM_PBA_MSIX_RESERVED_UPPER 0x03ff
7229 #define IGU_CMD_INT_ACK_BASE 0x0400
7230 #define IGU_CMD_INT_ACK_UPPER\
7231 (IGU_CMD_INT_ACK_BASE + MAX_SB_PER_PORT * NUM_OF_PORTS_PER_PATH - 1)
7232 #define IGU_CMD_INT_ACK_RESERVED_UPPER 0x04ff
7234 #define IGU_CMD_E2_PROD_UPD_BASE 0x0500
7235 #define IGU_CMD_E2_PROD_UPD_UPPER\
7236 (IGU_CMD_E2_PROD_UPD_BASE + MAX_SB_PER_PORT * NUM_OF_PORTS_PER_PATH - 1)
7237 #define IGU_CMD_E2_PROD_UPD_RESERVED_UPPER 0x059f
7239 #define IGU_CMD_ATTN_BIT_UPD_UPPER 0x05a0
7240 #define IGU_CMD_ATTN_BIT_SET_UPPER 0x05a1
7241 #define IGU_CMD_ATTN_BIT_CLR_UPPER 0x05a2
7243 #define IGU_REG_SISR_MDPC_WMASK_UPPER 0x05a3
7244 #define IGU_REG_SISR_MDPC_WMASK_LSB_UPPER 0x05a4
7245 #define IGU_REG_SISR_MDPC_WMASK_MSB_UPPER 0x05a5
7246 #define IGU_REG_SISR_MDPC_WOMASK_UPPER 0x05a6
7248 #define IGU_REG_RESERVED_UPPER 0x05ff
7250 #define IGU_PF_CONF_FUNC_EN (0x1<<0)
7251 #define IGU_PF_CONF_MSI_MSIX_EN (0x1<<1)
7252 #define IGU_PF_CONF_INT_LINE_EN (0x1<<2)
7253 #define IGU_PF_CONF_ATTN_BIT_EN (0x1<<3)
7254 #define IGU_PF_CONF_SINGLE_ISR_EN (0x1<<4)
7255 #define IGU_PF_CONF_SIMD_MODE (0x1<<5)
7258 #define IGU_VF_CONF_FUNC_EN (0x1<<0)
7259 #define IGU_VF_CONF_MSI_MSIX_EN (0x1<<1)
7260 #define IGU_VF_CONF_PARENT_MASK (0x3<<2)
7261 #define IGU_VF_CONF_PARENT_SHIFT 2
7262 #define IGU_VF_CONF_SINGLE_ISR_EN (0x1<<4)
7265 #define IGU_BC_DSB_NUM_SEGS 5
7266 #define IGU_BC_NDSB_NUM_SEGS 2
7267 #define IGU_NORM_DSB_NUM_SEGS 2
7268 #define IGU_NORM_NDSB_NUM_SEGS 1
7269 #define IGU_BC_BASE_DSB_PROD 128
7270 #define IGU_NORM_BASE_DSB_PROD 136
7274 #define IGU_FID_ENCODE_IS_PF (0x1<<6)
7275 #define IGU_FID_ENCODE_IS_PF_SHIFT 6
7276 #define IGU_FID_VF_NUM_MASK (0x3f)
7277 #define IGU_FID_PF_NUM_MASK (0x7)
7279 #define IGU_REG_MAPPING_MEMORY_VALID (1<<0)
7280 #define IGU_REG_MAPPING_MEMORY_VECTOR_MASK (0x3F<<1)
7281 #define IGU_REG_MAPPING_MEMORY_VECTOR_SHIFT 1
7282 #define IGU_REG_MAPPING_MEMORY_FID_MASK (0x7F<<7)
7283 #define IGU_REG_MAPPING_MEMORY_FID_SHIFT 7
7286 #define CDU_REGION_NUMBER_XCM_AG 2
7287 #define CDU_REGION_NUMBER_UCM_AG 4
7294 #define CDU_VALID_DATA(_cid, _region, _type)\
7295 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf)))
7296 #define CDU_CRC8(_cid, _region, _type)\
7297 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff))
7298 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type)\
7299 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
7300 #define CDU_RSRVD_VALUE_TYPE_B(_crc, _type)\
7301 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
7302 #define CDU_RSRVD_INVALIDATE_CONTEXT_VALUE(_val) ((_val) & ~0x80)
7319 for (i = 0; i < 32; i++) {
7320 D[
i] = (
u8)(data & 1);
7325 for (i = 0; i < 8; i++) {
7330 NewCRC[0] = D[31] ^ D[30] ^ D[28] ^ D[23] ^ D[21] ^ D[19] ^ D[18] ^
7331 D[16] ^ D[14] ^ D[12] ^ D[8] ^ D[7] ^ D[6] ^ D[0] ^ C[4] ^
7333 NewCRC[1] = D[30] ^ D[29] ^ D[28] ^ D[24] ^ D[23] ^ D[22] ^ D[21] ^
7334 D[20] ^ D[18] ^ D[17] ^ D[16] ^ D[15] ^ D[14] ^ D[13] ^
7335 D[12] ^ D[9] ^ D[6] ^ D[1] ^ D[0] ^ C[0] ^ C[4] ^ C[5] ^
7337 NewCRC[2] = D[29] ^ D[28] ^ D[25] ^ D[24] ^ D[22] ^ D[17] ^ D[15] ^
7338 D[13] ^ D[12] ^ D[10] ^ D[8] ^ D[6] ^ D[2] ^ D[1] ^ D[0] ^
7339 C[0] ^ C[1] ^ C[4] ^ C[5];
7340 NewCRC[3] = D[30] ^ D[29] ^ D[26] ^ D[25] ^ D[23] ^ D[18] ^ D[16] ^
7341 D[14] ^ D[13] ^ D[11] ^ D[9] ^ D[7] ^ D[3] ^ D[2] ^ D[1] ^
7342 C[1] ^ C[2] ^ C[5] ^ C[6];
7343 NewCRC[4] = D[31] ^ D[30] ^ D[27] ^ D[26] ^ D[24] ^ D[19] ^ D[17] ^
7344 D[15] ^ D[14] ^ D[12] ^ D[10] ^ D[8] ^ D[4] ^ D[3] ^ D[2] ^
7345 C[0] ^ C[2] ^ C[3] ^ C[6] ^ C[7];
7346 NewCRC[5] = D[31] ^ D[28] ^ D[27] ^ D[25] ^ D[20] ^ D[18] ^ D[16] ^
7347 D[15] ^ D[13] ^ D[11] ^ D[9] ^ D[5] ^ D[4] ^ D[3] ^ C[1] ^
7349 NewCRC[6] = D[29] ^ D[28] ^ D[26] ^ D[21] ^ D[19] ^ D[17] ^ D[16] ^
7350 D[14] ^ D[12] ^ D[10] ^ D[6] ^ D[5] ^ D[4] ^ C[2] ^ C[4] ^
7352 NewCRC[7] = D[30] ^ D[29] ^ D[27] ^ D[22] ^ D[20] ^ D[18] ^ D[17] ^
7353 D[15] ^ D[13] ^ D[11] ^ D[7] ^ D[6] ^ D[5] ^ C[3] ^ C[5] ^
7357 for (i = 0; i < 8; i++)
7358 crc_res |= (NewCRC[i] << i);