Go to the documentation of this file.
28 #ifndef __CVMX_SLI_DEFS_H__
29 #define __CVMX_SLI_DEFS_H__
31 #define CVMX_SLI_BIST_STATUS (0x0000000000000580ull)
32 #define CVMX_SLI_CTL_PORTX(offset) (0x0000000000000050ull + ((offset) & 3) * 16)
33 #define CVMX_SLI_CTL_STATUS (0x0000000000000570ull)
34 #define CVMX_SLI_DATA_OUT_CNT (0x00000000000005F0ull)
35 #define CVMX_SLI_DBG_DATA (0x0000000000000310ull)
36 #define CVMX_SLI_DBG_SELECT (0x0000000000000300ull)
37 #define CVMX_SLI_DMAX_CNT(offset) (0x0000000000000400ull + ((offset) & 1) * 16)
38 #define CVMX_SLI_DMAX_INT_LEVEL(offset) (0x00000000000003E0ull + ((offset) & 1) * 16)
39 #define CVMX_SLI_DMAX_TIM(offset) (0x0000000000000420ull + ((offset) & 1) * 16)
40 #define CVMX_SLI_INT_ENB_CIU (0x0000000000003CD0ull)
41 #define CVMX_SLI_INT_ENB_PORTX(offset) (0x0000000000000340ull + ((offset) & 1) * 16)
42 #define CVMX_SLI_INT_SUM (0x0000000000000330ull)
43 #define CVMX_SLI_LAST_WIN_RDATA0 (0x0000000000000600ull)
44 #define CVMX_SLI_LAST_WIN_RDATA1 (0x0000000000000610ull)
45 #define CVMX_SLI_LAST_WIN_RDATA2 (0x00000000000006C0ull)
46 #define CVMX_SLI_LAST_WIN_RDATA3 (0x00000000000006D0ull)
47 #define CVMX_SLI_MAC_CREDIT_CNT (0x0000000000003D70ull)
48 #define CVMX_SLI_MAC_CREDIT_CNT2 (0x0000000000003E10ull)
49 #define CVMX_SLI_MAC_NUMBER (0x0000000000003E00ull)
50 #define CVMX_SLI_MEM_ACCESS_CTL (0x00000000000002F0ull)
51 #define CVMX_SLI_MEM_ACCESS_SUBIDX(offset) (0x00000000000000E0ull + ((offset) & 31) * 16 - 16*12)
52 #define CVMX_SLI_MSI_ENB0 (0x0000000000003C50ull)
53 #define CVMX_SLI_MSI_ENB1 (0x0000000000003C60ull)
54 #define CVMX_SLI_MSI_ENB2 (0x0000000000003C70ull)
55 #define CVMX_SLI_MSI_ENB3 (0x0000000000003C80ull)
56 #define CVMX_SLI_MSI_RCV0 (0x0000000000003C10ull)
57 #define CVMX_SLI_MSI_RCV1 (0x0000000000003C20ull)
58 #define CVMX_SLI_MSI_RCV2 (0x0000000000003C30ull)
59 #define CVMX_SLI_MSI_RCV3 (0x0000000000003C40ull)
60 #define CVMX_SLI_MSI_RD_MAP (0x0000000000003CA0ull)
61 #define CVMX_SLI_MSI_W1C_ENB0 (0x0000000000003CF0ull)
62 #define CVMX_SLI_MSI_W1C_ENB1 (0x0000000000003D00ull)
63 #define CVMX_SLI_MSI_W1C_ENB2 (0x0000000000003D10ull)
64 #define CVMX_SLI_MSI_W1C_ENB3 (0x0000000000003D20ull)
65 #define CVMX_SLI_MSI_W1S_ENB0 (0x0000000000003D30ull)
66 #define CVMX_SLI_MSI_W1S_ENB1 (0x0000000000003D40ull)
67 #define CVMX_SLI_MSI_W1S_ENB2 (0x0000000000003D50ull)
68 #define CVMX_SLI_MSI_W1S_ENB3 (0x0000000000003D60ull)
69 #define CVMX_SLI_MSI_WR_MAP (0x0000000000003C90ull)
70 #define CVMX_SLI_PCIE_MSI_RCV (0x0000000000003CB0ull)
71 #define CVMX_SLI_PCIE_MSI_RCV_B1 (0x0000000000000650ull)
72 #define CVMX_SLI_PCIE_MSI_RCV_B2 (0x0000000000000660ull)
73 #define CVMX_SLI_PCIE_MSI_RCV_B3 (0x0000000000000670ull)
74 #define CVMX_SLI_PKTX_CNTS(offset) (0x0000000000002400ull + ((offset) & 31) * 16)
75 #define CVMX_SLI_PKTX_INSTR_BADDR(offset) (0x0000000000002800ull + ((offset) & 31) * 16)
76 #define CVMX_SLI_PKTX_INSTR_BAOFF_DBELL(offset) (0x0000000000002C00ull + ((offset) & 31) * 16)
77 #define CVMX_SLI_PKTX_INSTR_FIFO_RSIZE(offset) (0x0000000000003000ull + ((offset) & 31) * 16)
78 #define CVMX_SLI_PKTX_INSTR_HEADER(offset) (0x0000000000003400ull + ((offset) & 31) * 16)
79 #define CVMX_SLI_PKTX_IN_BP(offset) (0x0000000000003800ull + ((offset) & 31) * 16)
80 #define CVMX_SLI_PKTX_OUT_SIZE(offset) (0x0000000000000C00ull + ((offset) & 31) * 16)
81 #define CVMX_SLI_PKTX_SLIST_BADDR(offset) (0x0000000000001400ull + ((offset) & 31) * 16)
82 #define CVMX_SLI_PKTX_SLIST_BAOFF_DBELL(offset) (0x0000000000001800ull + ((offset) & 31) * 16)
83 #define CVMX_SLI_PKTX_SLIST_FIFO_RSIZE(offset) (0x0000000000001C00ull + ((offset) & 31) * 16)
84 #define CVMX_SLI_PKT_CNT_INT (0x0000000000001130ull)
85 #define CVMX_SLI_PKT_CNT_INT_ENB (0x0000000000001150ull)
86 #define CVMX_SLI_PKT_CTL (0x0000000000001220ull)
87 #define CVMX_SLI_PKT_DATA_OUT_ES (0x00000000000010B0ull)
88 #define CVMX_SLI_PKT_DATA_OUT_NS (0x00000000000010A0ull)
89 #define CVMX_SLI_PKT_DATA_OUT_ROR (0x0000000000001090ull)
90 #define CVMX_SLI_PKT_DPADDR (0x0000000000001080ull)
91 #define CVMX_SLI_PKT_INPUT_CONTROL (0x0000000000001170ull)
92 #define CVMX_SLI_PKT_INSTR_ENB (0x0000000000001000ull)
93 #define CVMX_SLI_PKT_INSTR_RD_SIZE (0x00000000000011A0ull)
94 #define CVMX_SLI_PKT_INSTR_SIZE (0x0000000000001020ull)
95 #define CVMX_SLI_PKT_INT_LEVELS (0x0000000000001120ull)
96 #define CVMX_SLI_PKT_IN_BP (0x0000000000001210ull)
97 #define CVMX_SLI_PKT_IN_DONEX_CNTS(offset) (0x0000000000002000ull + ((offset) & 31) * 16)
98 #define CVMX_SLI_PKT_IN_INSTR_COUNTS (0x0000000000001200ull)
99 #define CVMX_SLI_PKT_IN_PCIE_PORT (0x00000000000011B0ull)
100 #define CVMX_SLI_PKT_IPTR (0x0000000000001070ull)
101 #define CVMX_SLI_PKT_OUTPUT_WMARK (0x0000000000001180ull)
102 #define CVMX_SLI_PKT_OUT_BMODE (0x00000000000010D0ull)
103 #define CVMX_SLI_PKT_OUT_BP_EN (0x0000000000001240ull)
104 #define CVMX_SLI_PKT_OUT_ENB (0x0000000000001010ull)
105 #define CVMX_SLI_PKT_PCIE_PORT (0x00000000000010E0ull)
106 #define CVMX_SLI_PKT_PORT_IN_RST (0x00000000000011F0ull)
107 #define CVMX_SLI_PKT_SLIST_ES (0x0000000000001050ull)
108 #define CVMX_SLI_PKT_SLIST_NS (0x0000000000001040ull)
109 #define CVMX_SLI_PKT_SLIST_ROR (0x0000000000001030ull)
110 #define CVMX_SLI_PKT_TIME_INT (0x0000000000001140ull)
111 #define CVMX_SLI_PKT_TIME_INT_ENB (0x0000000000001160ull)
112 #define CVMX_SLI_PORTX_PKIND(offset) (0x0000000000000800ull + ((offset) & 31) * 16)
113 #define CVMX_SLI_S2M_PORTX_CTL(offset) (0x0000000000003D80ull + ((offset) & 3) * 16)
114 #define CVMX_SLI_SCRATCH_1 (0x00000000000003C0ull)
115 #define CVMX_SLI_SCRATCH_2 (0x00000000000003D0ull)
116 #define CVMX_SLI_STATE1 (0x0000000000000620ull)
117 #define CVMX_SLI_STATE2 (0x0000000000000630ull)
118 #define CVMX_SLI_STATE3 (0x0000000000000640ull)
119 #define CVMX_SLI_TX_PIPE (0x0000000000001230ull)
120 #define CVMX_SLI_WINDOW_CTL (0x00000000000002E0ull)
121 #define CVMX_SLI_WIN_RD_ADDR (0x0000000000000010ull)
122 #define CVMX_SLI_WIN_RD_DATA (0x0000000000000040ull)
123 #define CVMX_SLI_WIN_WR_ADDR (0x0000000000000000ull)
124 #define CVMX_SLI_WIN_WR_DATA (0x0000000000000020ull)
125 #define CVMX_SLI_WIN_WR_MASK (0x0000000000000030ull)
130 #ifdef __BIG_ENDIAN_BITFIELD
187 #ifdef __BIG_ENDIAN_BITFIELD
240 #ifdef __BIG_ENDIAN_BITFIELD
304 #ifdef __BIG_ENDIAN_BITFIELD
352 #ifdef __BIG_ENDIAN_BITFIELD
365 #ifdef __BIG_ENDIAN_BITFIELD
386 #ifdef __BIG_ENDIAN_BITFIELD
412 #ifdef __BIG_ENDIAN_BITFIELD
434 #ifdef __BIG_ENDIAN_BITFIELD
456 #ifdef __BIG_ENDIAN_BITFIELD
476 #ifdef __BIG_ENDIAN_BITFIELD
496 #ifdef __BIG_ENDIAN_BITFIELD
516 #ifdef __BIG_ENDIAN_BITFIELD
613 #ifdef __BIG_ENDIAN_BITFIELD
708 #ifdef __BIG_ENDIAN_BITFIELD
785 #ifdef __BIG_ENDIAN_BITFIELD
868 #ifdef __BIG_ENDIAN_BITFIELD
967 #ifdef __BIG_ENDIAN_BITFIELD
1064 #ifdef __BIG_ENDIAN_BITFIELD
1145 #ifdef __BIG_ENDIAN_BITFIELD
1232 #ifdef __BIG_ENDIAN_BITFIELD
1331 #ifdef __BIG_ENDIAN_BITFIELD
1428 #ifdef __BIG_ENDIAN_BITFIELD
1509 #ifdef __BIG_ENDIAN_BITFIELD
1596 #ifdef __BIG_ENDIAN_BITFIELD
1614 #ifdef __BIG_ENDIAN_BITFIELD
1632 #ifdef __BIG_ENDIAN_BITFIELD
1646 #ifdef __BIG_ENDIAN_BITFIELD
1660 #ifdef __BIG_ENDIAN_BITFIELD
1693 #ifdef __BIG_ENDIAN_BITFIELD
1720 #ifdef __BIG_ENDIAN_BITFIELD
1758 #ifdef __BIG_ENDIAN_BITFIELD
1770 #ifdef __BIG_ENDIAN_BITFIELD
1787 #ifdef __BIG_ENDIAN_BITFIELD
1809 #ifdef __BIG_ENDIAN_BITFIELD
1832 #ifdef __BIG_ENDIAN_BITFIELD
1858 #ifdef __BIG_ENDIAN_BITFIELD
1889 #ifdef __BIG_ENDIAN_BITFIELD
1907 #ifdef __BIG_ENDIAN_BITFIELD
1925 #ifdef __BIG_ENDIAN_BITFIELD
1943 #ifdef __BIG_ENDIAN_BITFIELD
1961 #ifdef __BIG_ENDIAN_BITFIELD
1979 #ifdef __BIG_ENDIAN_BITFIELD
1997 #ifdef __BIG_ENDIAN_BITFIELD
2015 #ifdef __BIG_ENDIAN_BITFIELD
2033 #ifdef __BIG_ENDIAN_BITFIELD
2055 #ifdef __BIG_ENDIAN_BITFIELD
2073 #ifdef __BIG_ENDIAN_BITFIELD
2091 #ifdef __BIG_ENDIAN_BITFIELD
2109 #ifdef __BIG_ENDIAN_BITFIELD
2127 #ifdef __BIG_ENDIAN_BITFIELD
2145 #ifdef __BIG_ENDIAN_BITFIELD
2163 #ifdef __BIG_ENDIAN_BITFIELD
2181 #ifdef __BIG_ENDIAN_BITFIELD
2199 #ifdef __BIG_ENDIAN_BITFIELD
2221 #ifdef __BIG_ENDIAN_BITFIELD
2241 #ifdef __BIG_ENDIAN_BITFIELD
2263 #ifdef __BIG_ENDIAN_BITFIELD
2285 #ifdef __BIG_ENDIAN_BITFIELD
2307 #ifdef __BIG_ENDIAN_BITFIELD
2329 #ifdef __BIG_ENDIAN_BITFIELD
2347 #ifdef __BIG_ENDIAN_BITFIELD
2367 #ifdef __BIG_ENDIAN_BITFIELD
2387 #ifdef __BIG_ENDIAN_BITFIELD
2413 #ifdef __BIG_ENDIAN_BITFIELD
2460 #ifdef __BIG_ENDIAN_BITFIELD
2517 #ifdef __BIG_ENDIAN_BITFIELD
2539 #ifdef __BIG_ENDIAN_BITFIELD
2559 #ifdef __BIG_ENDIAN_BITFIELD
2579 #ifdef __BIG_ENDIAN_BITFIELD
2599 #ifdef __BIG_ENDIAN_BITFIELD
2619 #ifdef __BIG_ENDIAN_BITFIELD
2639 #ifdef __BIG_ENDIAN_BITFIELD
2661 #ifdef __BIG_ENDIAN_BITFIELD
2679 #ifdef __BIG_ENDIAN_BITFIELD
2699 #ifdef __BIG_ENDIAN_BITFIELD
2719 #ifdef __BIG_ENDIAN_BITFIELD
2739 #ifdef __BIG_ENDIAN_BITFIELD
2757 #ifdef __BIG_ENDIAN_BITFIELD
2777 #ifdef __BIG_ENDIAN_BITFIELD
2797 #ifdef __BIG_ENDIAN_BITFIELD
2815 #ifdef __BIG_ENDIAN_BITFIELD
2855 #ifdef __BIG_ENDIAN_BITFIELD
2889 #ifdef __BIG_ENDIAN_BITFIELD
2909 #ifdef __BIG_ENDIAN_BITFIELD
2927 #ifdef __BIG_ENDIAN_BITFIELD
2947 #ifdef __BIG_ENDIAN_BITFIELD
2969 #ifdef __BIG_ENDIAN_BITFIELD
2989 #ifdef __BIG_ENDIAN_BITFIELD
3009 #ifdef __BIG_ENDIAN_BITFIELD
3024 #ifdef __BIG_ENDIAN_BITFIELD
3044 #ifdef __BIG_ENDIAN_BITFIELD
3064 #ifdef __BIG_ENDIAN_BITFIELD
3082 #ifdef __BIG_ENDIAN_BITFIELD
3102 #ifdef __BIG_ENDIAN_BITFIELD
3120 #ifdef __BIG_ENDIAN_BITFIELD
3140 #ifdef __BIG_ENDIAN_BITFIELD
3160 #ifdef __BIG_ENDIAN_BITFIELD
3180 #ifdef __BIG_ENDIAN_BITFIELD
3200 #ifdef __BIG_ENDIAN_BITFIELD
3222 #ifdef __BIG_ENDIAN_BITFIELD
3239 #ifdef __BIG_ENDIAN_BITFIELD
3263 #ifdef __BIG_ENDIAN_BITFIELD
3281 #ifdef __BIG_ENDIAN_BITFIELD
3299 #ifdef __BIG_ENDIAN_BITFIELD
3323 #ifdef __BIG_ENDIAN_BITFIELD
3355 #ifdef __BIG_ENDIAN_BITFIELD
3381 #ifdef __BIG_ENDIAN_BITFIELD
3400 #ifdef __BIG_ENDIAN_BITFIELD
3424 #ifdef __BIG_ENDIAN_BITFIELD
3442 #ifdef __BIG_ENDIAN_BITFIELD
3466 #ifdef __BIG_ENDIAN_BITFIELD
3484 #ifdef __BIG_ENDIAN_BITFIELD
3504 #ifdef __BIG_ENDIAN_BITFIELD