Go to the documentation of this file.
28 #ifndef __CVMX_NPEI_DEFS_H__
29 #define __CVMX_NPEI_DEFS_H__
31 #define CVMX_NPEI_BAR1_INDEXX(offset) (0x0000000000000000ull + ((offset) & 31) * 16)
32 #define CVMX_NPEI_BIST_STATUS (0x0000000000000580ull)
33 #define CVMX_NPEI_BIST_STATUS2 (0x0000000000000680ull)
34 #define CVMX_NPEI_CTL_PORT0 (0x0000000000000250ull)
35 #define CVMX_NPEI_CTL_PORT1 (0x0000000000000260ull)
36 #define CVMX_NPEI_CTL_STATUS (0x0000000000000570ull)
37 #define CVMX_NPEI_CTL_STATUS2 (0x0000000000003C00ull)
38 #define CVMX_NPEI_DATA_OUT_CNT (0x00000000000005F0ull)
39 #define CVMX_NPEI_DBG_DATA (0x0000000000000510ull)
40 #define CVMX_NPEI_DBG_SELECT (0x0000000000000500ull)
41 #define CVMX_NPEI_DMA0_INT_LEVEL (0x00000000000005C0ull)
42 #define CVMX_NPEI_DMA1_INT_LEVEL (0x00000000000005D0ull)
43 #define CVMX_NPEI_DMAX_COUNTS(offset) (0x0000000000000450ull + ((offset) & 7) * 16)
44 #define CVMX_NPEI_DMAX_DBELL(offset) (0x00000000000003B0ull + ((offset) & 7) * 16)
45 #define CVMX_NPEI_DMAX_IBUFF_SADDR(offset) (0x0000000000000400ull + ((offset) & 7) * 16)
46 #define CVMX_NPEI_DMAX_NADDR(offset) (0x00000000000004A0ull + ((offset) & 7) * 16)
47 #define CVMX_NPEI_DMA_CNTS (0x00000000000005E0ull)
48 #define CVMX_NPEI_DMA_CONTROL (0x00000000000003A0ull)
49 #define CVMX_NPEI_DMA_PCIE_REQ_NUM (0x00000000000005B0ull)
50 #define CVMX_NPEI_DMA_STATE1 (0x00000000000006C0ull)
51 #define CVMX_NPEI_DMA_STATE1_P1 (0x0000000000000680ull)
52 #define CVMX_NPEI_DMA_STATE2 (0x00000000000006D0ull)
53 #define CVMX_NPEI_DMA_STATE2_P1 (0x0000000000000690ull)
54 #define CVMX_NPEI_DMA_STATE3_P1 (0x00000000000006A0ull)
55 #define CVMX_NPEI_DMA_STATE4_P1 (0x00000000000006B0ull)
56 #define CVMX_NPEI_DMA_STATE5_P1 (0x00000000000006C0ull)
57 #define CVMX_NPEI_INT_A_ENB (0x0000000000000560ull)
58 #define CVMX_NPEI_INT_A_ENB2 (0x0000000000003CE0ull)
59 #define CVMX_NPEI_INT_A_SUM (0x0000000000000550ull)
60 #define CVMX_NPEI_INT_ENB (0x0000000000000540ull)
61 #define CVMX_NPEI_INT_ENB2 (0x0000000000003CD0ull)
62 #define CVMX_NPEI_INT_INFO (0x0000000000000590ull)
63 #define CVMX_NPEI_INT_SUM (0x0000000000000530ull)
64 #define CVMX_NPEI_INT_SUM2 (0x0000000000003CC0ull)
65 #define CVMX_NPEI_LAST_WIN_RDATA0 (0x0000000000000600ull)
66 #define CVMX_NPEI_LAST_WIN_RDATA1 (0x0000000000000610ull)
67 #define CVMX_NPEI_MEM_ACCESS_CTL (0x00000000000004F0ull)
68 #define CVMX_NPEI_MEM_ACCESS_SUBIDX(offset) (0x0000000000000280ull + ((offset) & 31) * 16 - 16*12)
69 #define CVMX_NPEI_MSI_ENB0 (0x0000000000003C50ull)
70 #define CVMX_NPEI_MSI_ENB1 (0x0000000000003C60ull)
71 #define CVMX_NPEI_MSI_ENB2 (0x0000000000003C70ull)
72 #define CVMX_NPEI_MSI_ENB3 (0x0000000000003C80ull)
73 #define CVMX_NPEI_MSI_RCV0 (0x0000000000003C10ull)
74 #define CVMX_NPEI_MSI_RCV1 (0x0000000000003C20ull)
75 #define CVMX_NPEI_MSI_RCV2 (0x0000000000003C30ull)
76 #define CVMX_NPEI_MSI_RCV3 (0x0000000000003C40ull)
77 #define CVMX_NPEI_MSI_RD_MAP (0x0000000000003CA0ull)
78 #define CVMX_NPEI_MSI_W1C_ENB0 (0x0000000000003CF0ull)
79 #define CVMX_NPEI_MSI_W1C_ENB1 (0x0000000000003D00ull)
80 #define CVMX_NPEI_MSI_W1C_ENB2 (0x0000000000003D10ull)
81 #define CVMX_NPEI_MSI_W1C_ENB3 (0x0000000000003D20ull)
82 #define CVMX_NPEI_MSI_W1S_ENB0 (0x0000000000003D30ull)
83 #define CVMX_NPEI_MSI_W1S_ENB1 (0x0000000000003D40ull)
84 #define CVMX_NPEI_MSI_W1S_ENB2 (0x0000000000003D50ull)
85 #define CVMX_NPEI_MSI_W1S_ENB3 (0x0000000000003D60ull)
86 #define CVMX_NPEI_MSI_WR_MAP (0x0000000000003C90ull)
87 #define CVMX_NPEI_PCIE_CREDIT_CNT (0x0000000000003D70ull)
88 #define CVMX_NPEI_PCIE_MSI_RCV (0x0000000000003CB0ull)
89 #define CVMX_NPEI_PCIE_MSI_RCV_B1 (0x0000000000000650ull)
90 #define CVMX_NPEI_PCIE_MSI_RCV_B2 (0x0000000000000660ull)
91 #define CVMX_NPEI_PCIE_MSI_RCV_B3 (0x0000000000000670ull)
92 #define CVMX_NPEI_PKTX_CNTS(offset) (0x0000000000002400ull + ((offset) & 31) * 16)
93 #define CVMX_NPEI_PKTX_INSTR_BADDR(offset) (0x0000000000002800ull + ((offset) & 31) * 16)
94 #define CVMX_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (0x0000000000002C00ull + ((offset) & 31) * 16)
95 #define CVMX_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (0x0000000000003000ull + ((offset) & 31) * 16)
96 #define CVMX_NPEI_PKTX_INSTR_HEADER(offset) (0x0000000000003400ull + ((offset) & 31) * 16)
97 #define CVMX_NPEI_PKTX_IN_BP(offset) (0x0000000000003800ull + ((offset) & 31) * 16)
98 #define CVMX_NPEI_PKTX_SLIST_BADDR(offset) (0x0000000000001400ull + ((offset) & 31) * 16)
99 #define CVMX_NPEI_PKTX_SLIST_BAOFF_DBELL(offset) (0x0000000000001800ull + ((offset) & 31) * 16)
100 #define CVMX_NPEI_PKTX_SLIST_FIFO_RSIZE(offset) (0x0000000000001C00ull + ((offset) & 31) * 16)
101 #define CVMX_NPEI_PKT_CNT_INT (0x0000000000001110ull)
102 #define CVMX_NPEI_PKT_CNT_INT_ENB (0x0000000000001130ull)
103 #define CVMX_NPEI_PKT_DATA_OUT_ES (0x00000000000010B0ull)
104 #define CVMX_NPEI_PKT_DATA_OUT_NS (0x00000000000010A0ull)
105 #define CVMX_NPEI_PKT_DATA_OUT_ROR (0x0000000000001090ull)
106 #define CVMX_NPEI_PKT_DPADDR (0x0000000000001080ull)
107 #define CVMX_NPEI_PKT_INPUT_CONTROL (0x0000000000001150ull)
108 #define CVMX_NPEI_PKT_INSTR_ENB (0x0000000000001000ull)
109 #define CVMX_NPEI_PKT_INSTR_RD_SIZE (0x0000000000001190ull)
110 #define CVMX_NPEI_PKT_INSTR_SIZE (0x0000000000001020ull)
111 #define CVMX_NPEI_PKT_INT_LEVELS (0x0000000000001100ull)
112 #define CVMX_NPEI_PKT_IN_BP (0x00000000000006B0ull)
113 #define CVMX_NPEI_PKT_IN_DONEX_CNTS(offset) (0x0000000000002000ull + ((offset) & 31) * 16)
114 #define CVMX_NPEI_PKT_IN_INSTR_COUNTS (0x00000000000006A0ull)
115 #define CVMX_NPEI_PKT_IN_PCIE_PORT (0x00000000000011A0ull)
116 #define CVMX_NPEI_PKT_IPTR (0x0000000000001070ull)
117 #define CVMX_NPEI_PKT_OUTPUT_WMARK (0x0000000000001160ull)
118 #define CVMX_NPEI_PKT_OUT_BMODE (0x00000000000010D0ull)
119 #define CVMX_NPEI_PKT_OUT_ENB (0x0000000000001010ull)
120 #define CVMX_NPEI_PKT_PCIE_PORT (0x00000000000010E0ull)
121 #define CVMX_NPEI_PKT_PORT_IN_RST (0x0000000000000690ull)
122 #define CVMX_NPEI_PKT_SLIST_ES (0x0000000000001050ull)
123 #define CVMX_NPEI_PKT_SLIST_ID_SIZE (0x0000000000001180ull)
124 #define CVMX_NPEI_PKT_SLIST_NS (0x0000000000001040ull)
125 #define CVMX_NPEI_PKT_SLIST_ROR (0x0000000000001030ull)
126 #define CVMX_NPEI_PKT_TIME_INT (0x0000000000001120ull)
127 #define CVMX_NPEI_PKT_TIME_INT_ENB (0x0000000000001140ull)
128 #define CVMX_NPEI_RSL_INT_BLOCKS (0x0000000000000520ull)
129 #define CVMX_NPEI_SCRATCH_1 (0x0000000000000270ull)
130 #define CVMX_NPEI_STATE1 (0x0000000000000620ull)
131 #define CVMX_NPEI_STATE2 (0x0000000000000630ull)
132 #define CVMX_NPEI_STATE3 (0x0000000000000640ull)
133 #define CVMX_NPEI_WINDOW_CTL (0x0000000000000380ull)
134 #define CVMX_NPEI_WIN_RD_ADDR (0x0000000000000210ull)
135 #define CVMX_NPEI_WIN_RD_DATA (0x0000000000000240ull)
136 #define CVMX_NPEI_WIN_WR_ADDR (0x0000000000000200ull)
137 #define CVMX_NPEI_WIN_WR_DATA (0x0000000000000220ull)
138 #define CVMX_NPEI_WIN_WR_MASK (0x0000000000000230ull)
143 #ifdef __BIG_ENDIAN_BITFIELD
166 #ifdef __BIG_ENDIAN_BITFIELD
269 #ifdef __BIG_ENDIAN_BITFIELD
390 #ifdef __BIG_ENDIAN_BITFIELD
490 #ifdef __BIG_ENDIAN_BITFIELD
617 #ifdef __BIG_ENDIAN_BITFIELD
658 #ifdef __BIG_ENDIAN_BITFIELD
705 #ifdef __BIG_ENDIAN_BITFIELD
752 #ifdef __BIG_ENDIAN_BITFIELD
778 #ifdef __BIG_ENDIAN_BITFIELD
804 #ifdef __BIG_ENDIAN_BITFIELD
825 #ifdef __BIG_ENDIAN_BITFIELD
860 #ifdef __BIG_ENDIAN_BITFIELD
883 #ifdef __BIG_ENDIAN_BITFIELD
902 #ifdef __BIG_ENDIAN_BITFIELD
924 #ifdef __BIG_ENDIAN_BITFIELD
950 #ifdef __BIG_ENDIAN_BITFIELD
967 #ifdef __BIG_ENDIAN_BITFIELD
986 #ifdef __BIG_ENDIAN_BITFIELD
1003 #ifdef __BIG_ENDIAN_BITFIELD
1017 #ifdef __BIG_ENDIAN_BITFIELD
1034 #ifdef __BIG_ENDIAN_BITFIELD
1051 #ifdef __BIG_ENDIAN_BITFIELD
1068 #ifdef __BIG_ENDIAN_BITFIELD
1085 #ifdef __BIG_ENDIAN_BITFIELD
1102 #ifdef __BIG_ENDIAN_BITFIELD
1142 #ifdef __BIG_ENDIAN_BITFIELD
1178 #ifdef __BIG_ENDIAN_BITFIELD
1219 #ifdef __BIG_ENDIAN_BITFIELD
1260 #ifdef __BIG_ENDIAN_BITFIELD
1282 #ifdef __BIG_ENDIAN_BITFIELD
1309 #ifdef __BIG_ENDIAN_BITFIELD
1341 #ifdef __BIG_ENDIAN_BITFIELD
1363 #ifdef __BIG_ENDIAN_BITFIELD
1380 #ifdef __BIG_ENDIAN_BITFIELD
1402 #ifdef __BIG_ENDIAN_BITFIELD
1423 #ifdef __BIG_ENDIAN_BITFIELD
1444 #ifdef __BIG_ENDIAN_BITFIELD
1460 #ifdef __BIG_ENDIAN_BITFIELD
1488 #ifdef __BIG_ENDIAN_BITFIELD
1504 #ifdef __BIG_ENDIAN_BITFIELD
1532 #ifdef __BIG_ENDIAN_BITFIELD
1548 #ifdef __BIG_ENDIAN_BITFIELD
1576 #ifdef __BIG_ENDIAN_BITFIELD
1592 #ifdef __BIG_ENDIAN_BITFIELD
1726 #ifdef __BIG_ENDIAN_BITFIELD
1860 #ifdef __BIG_ENDIAN_BITFIELD
1995 #ifdef __BIG_ENDIAN_BITFIELD
2127 #ifdef __BIG_ENDIAN_BITFIELD
2259 #ifdef __BIG_ENDIAN_BITFIELD
2392 #ifdef __BIG_ENDIAN_BITFIELD
2410 #ifdef __BIG_ENDIAN_BITFIELD
2544 #ifdef __BIG_ENDIAN_BITFIELD
2672 #ifdef __BIG_ENDIAN_BITFIELD
2801 #ifdef __BIG_ENDIAN_BITFIELD
2935 #ifdef __BIG_ENDIAN_BITFIELD
2950 #ifdef __BIG_ENDIAN_BITFIELD
2965 #ifdef __BIG_ENDIAN_BITFIELD
2984 #ifdef __BIG_ENDIAN_BITFIELD
3019 #ifdef __BIG_ENDIAN_BITFIELD
3034 #ifdef __BIG_ENDIAN_BITFIELD
3049 #ifdef __BIG_ENDIAN_BITFIELD
3064 #ifdef __BIG_ENDIAN_BITFIELD
3079 #ifdef __BIG_ENDIAN_BITFIELD
3094 #ifdef __BIG_ENDIAN_BITFIELD
3109 #ifdef __BIG_ENDIAN_BITFIELD
3124 #ifdef __BIG_ENDIAN_BITFIELD
3139 #ifdef __BIG_ENDIAN_BITFIELD
3158 #ifdef __BIG_ENDIAN_BITFIELD
3171 #ifdef __BIG_ENDIAN_BITFIELD
3184 #ifdef __BIG_ENDIAN_BITFIELD
3197 #ifdef __BIG_ENDIAN_BITFIELD
3210 #ifdef __BIG_ENDIAN_BITFIELD
3223 #ifdef __BIG_ENDIAN_BITFIELD
3236 #ifdef __BIG_ENDIAN_BITFIELD
3249 #ifdef __BIG_ENDIAN_BITFIELD
3262 #ifdef __BIG_ENDIAN_BITFIELD
3281 #ifdef __BIG_ENDIAN_BITFIELD
3306 #ifdef __BIG_ENDIAN_BITFIELD
3323 #ifdef __BIG_ENDIAN_BITFIELD
3342 #ifdef __BIG_ENDIAN_BITFIELD
3361 #ifdef __BIG_ENDIAN_BITFIELD
3380 #ifdef __BIG_ENDIAN_BITFIELD
3397 #ifdef __BIG_ENDIAN_BITFIELD
3412 #ifdef __BIG_ENDIAN_BITFIELD
3427 #ifdef __BIG_ENDIAN_BITFIELD
3442 #ifdef __BIG_ENDIAN_BITFIELD
3463 #ifdef __BIG_ENDIAN_BITFIELD
3500 #ifdef __BIG_ENDIAN_BITFIELD
3515 #ifdef __BIG_ENDIAN_BITFIELD
3530 #ifdef __BIG_ENDIAN_BITFIELD
3545 #ifdef __BIG_ENDIAN_BITFIELD
3560 #ifdef __BIG_ENDIAN_BITFIELD
3575 #ifdef __BIG_ENDIAN_BITFIELD
3588 #ifdef __BIG_ENDIAN_BITFIELD
3603 #ifdef __BIG_ENDIAN_BITFIELD
3618 #ifdef __BIG_ENDIAN_BITFIELD
3633 #ifdef __BIG_ENDIAN_BITFIELD
3648 #ifdef __BIG_ENDIAN_BITFIELD
3663 #ifdef __BIG_ENDIAN_BITFIELD
3678 #ifdef __BIG_ENDIAN_BITFIELD
3691 #ifdef __BIG_ENDIAN_BITFIELD
3722 #ifdef __BIG_ENDIAN_BITFIELD
3737 #ifdef __BIG_ENDIAN_BITFIELD
3750 #ifdef __BIG_ENDIAN_BITFIELD
3765 #ifdef __BIG_ENDIAN_BITFIELD
3782 #ifdef __BIG_ENDIAN_BITFIELD
3797 #ifdef __BIG_ENDIAN_BITFIELD
3812 #ifdef __BIG_ENDIAN_BITFIELD
3827 #ifdef __BIG_ENDIAN_BITFIELD
3842 #ifdef __BIG_ENDIAN_BITFIELD
3855 #ifdef __BIG_ENDIAN_BITFIELD
3870 #ifdef __BIG_ENDIAN_BITFIELD
3883 #ifdef __BIG_ENDIAN_BITFIELD
3900 #ifdef __BIG_ENDIAN_BITFIELD
3915 #ifdef __BIG_ENDIAN_BITFIELD
3930 #ifdef __BIG_ENDIAN_BITFIELD
3945 #ifdef __BIG_ENDIAN_BITFIELD
3960 #ifdef __BIG_ENDIAN_BITFIELD
4031 #ifdef __BIG_ENDIAN_BITFIELD
4046 #ifdef __BIG_ENDIAN_BITFIELD
4067 #ifdef __BIG_ENDIAN_BITFIELD
4094 #ifdef __BIG_ENDIAN_BITFIELD
4117 #ifdef __BIG_ENDIAN_BITFIELD
4138 #ifdef __BIG_ENDIAN_BITFIELD
4153 #ifdef __BIG_ENDIAN_BITFIELD
4174 #ifdef __BIG_ENDIAN_BITFIELD
4189 #ifdef __BIG_ENDIAN_BITFIELD
4206 #ifdef __BIG_ENDIAN_BITFIELD