1 /***********************license start***************
2 * Author: Cavium Networks
4 * Contact: support@caviumnetworks.com
5 * This file is part of the OCTEON SDK
7 * Copyright (C) 2003-2018 Cavium, Inc.
9 * This file is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License, Version 2, as
11 * published by the Free Software Foundation.
13 * This file is distributed in the hope that it will be useful, but
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, TITLE, or
16 * NONINFRINGEMENT. See the GNU General Public License for more
19 * You should have received a copy of the GNU General Public License
20 * along with this file; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 * or visit http://www.gnu.org/licenses/.
24 * This file may also be available under a different license from Cavium.
25 * Contact Cavium Networks for more information
26 ***********************license end**************************************/
28 #ifndef __CVMX_GMXX_DEFS_H__
29 #define __CVMX_GMXX_DEFS_H__
31 static inline uint64_t CVMX_GMXX_HG2_CONTROL(unsigned long block_id
)
33 switch (cvmx_get_octeon_family()) {
34 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
35 return CVMX_ADD_IO_SEG(0x0001180008000550ull
) + (block_id
) * 0x1000000ull
;
37 return CVMX_ADD_IO_SEG(0x0001180008000550ull
) + (block_id
) * 0x8000000ull
;
40 static inline uint64_t CVMX_GMXX_INF_MODE(unsigned long block_id
)
42 switch (cvmx_get_octeon_family()) {
43 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
44 return CVMX_ADD_IO_SEG(0x00011800080007F8ull
) + (block_id
) * 0x1000000ull
;
46 return CVMX_ADD_IO_SEG(0x00011800080007F8ull
) + (block_id
) * 0x8000000ull
;
49 static inline uint64_t CVMX_GMXX_PRTX_CFG(unsigned long offset
, unsigned long block_id
)
51 switch (cvmx_get_octeon_family()) {
52 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
53 return CVMX_ADD_IO_SEG(0x0001180008000010ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
54 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
55 return CVMX_ADD_IO_SEG(0x0001180008000010ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
57 return CVMX_ADD_IO_SEG(0x0001180008000010ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
60 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM0(unsigned long offset
, unsigned long block_id
)
62 switch (cvmx_get_octeon_family()) {
63 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
64 return CVMX_ADD_IO_SEG(0x0001180008000180ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
65 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
66 return CVMX_ADD_IO_SEG(0x0001180008000180ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
68 return CVMX_ADD_IO_SEG(0x0001180008000180ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
71 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM1(unsigned long offset
, unsigned long block_id
)
73 switch (cvmx_get_octeon_family()) {
74 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
75 return CVMX_ADD_IO_SEG(0x0001180008000188ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
76 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
77 return CVMX_ADD_IO_SEG(0x0001180008000188ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
79 return CVMX_ADD_IO_SEG(0x0001180008000188ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
82 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM2(unsigned long offset
, unsigned long block_id
)
84 switch (cvmx_get_octeon_family()) {
85 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
86 return CVMX_ADD_IO_SEG(0x0001180008000190ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
87 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
88 return CVMX_ADD_IO_SEG(0x0001180008000190ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
90 return CVMX_ADD_IO_SEG(0x0001180008000190ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
93 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM3(unsigned long offset
, unsigned long block_id
)
95 switch (cvmx_get_octeon_family()) {
96 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
97 return CVMX_ADD_IO_SEG(0x0001180008000198ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
98 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
99 return CVMX_ADD_IO_SEG(0x0001180008000198ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
101 return CVMX_ADD_IO_SEG(0x0001180008000198ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
104 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM4(unsigned long offset
, unsigned long block_id
)
106 switch (cvmx_get_octeon_family()) {
107 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
108 return CVMX_ADD_IO_SEG(0x00011800080001A0ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
109 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
110 return CVMX_ADD_IO_SEG(0x00011800080001A0ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
112 return CVMX_ADD_IO_SEG(0x00011800080001A0ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
115 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM5(unsigned long offset
, unsigned long block_id
)
117 switch (cvmx_get_octeon_family()) {
118 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
119 return CVMX_ADD_IO_SEG(0x00011800080001A8ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
120 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
121 return CVMX_ADD_IO_SEG(0x00011800080001A8ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
123 return CVMX_ADD_IO_SEG(0x00011800080001A8ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
126 static inline uint64_t CVMX_GMXX_RXX_ADR_CAM_EN(unsigned long offset
, unsigned long block_id
)
128 switch (cvmx_get_octeon_family()) {
129 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
130 return CVMX_ADD_IO_SEG(0x0001180008000108ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
131 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
132 return CVMX_ADD_IO_SEG(0x0001180008000108ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
134 return CVMX_ADD_IO_SEG(0x0001180008000108ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
137 static inline uint64_t CVMX_GMXX_RXX_ADR_CTL(unsigned long offset
, unsigned long block_id
)
139 switch (cvmx_get_octeon_family()) {
140 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
141 return CVMX_ADD_IO_SEG(0x0001180008000100ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
142 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
143 return CVMX_ADD_IO_SEG(0x0001180008000100ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
145 return CVMX_ADD_IO_SEG(0x0001180008000100ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
148 static inline uint64_t CVMX_GMXX_RXX_FRM_CTL(unsigned long offset
, unsigned long block_id
)
150 switch (cvmx_get_octeon_family()) {
151 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
152 return CVMX_ADD_IO_SEG(0x0001180008000018ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
153 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
154 return CVMX_ADD_IO_SEG(0x0001180008000018ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
156 return CVMX_ADD_IO_SEG(0x0001180008000018ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
159 #define CVMX_GMXX_RXX_FRM_MAX(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000030ull) + (((offset) & 3) + ((block_id) & 1) * 0x10000ull) * 2048)
160 #define CVMX_GMXX_RXX_FRM_MIN(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000028ull) + (((offset) & 3) + ((block_id) & 1) * 0x10000ull) * 2048)
162 static inline uint64_t CVMX_GMXX_RXX_INT_EN(unsigned long offset
, unsigned long block_id
)
164 switch (cvmx_get_octeon_family()) {
165 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
166 return CVMX_ADD_IO_SEG(0x0001180008000008ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
167 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
168 return CVMX_ADD_IO_SEG(0x0001180008000008ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
170 return CVMX_ADD_IO_SEG(0x0001180008000008ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
173 static inline uint64_t CVMX_GMXX_RXX_INT_REG(unsigned long offset
, unsigned long block_id
)
175 switch (cvmx_get_octeon_family()) {
176 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
177 return CVMX_ADD_IO_SEG(0x0001180008000000ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
178 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
179 return CVMX_ADD_IO_SEG(0x0001180008000000ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
181 return CVMX_ADD_IO_SEG(0x0001180008000000ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
184 static inline uint64_t CVMX_GMXX_RXX_JABBER(unsigned long offset
, unsigned long block_id
)
186 switch (cvmx_get_octeon_family()) {
187 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
188 return CVMX_ADD_IO_SEG(0x0001180008000038ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
189 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
190 return CVMX_ADD_IO_SEG(0x0001180008000038ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
192 return CVMX_ADD_IO_SEG(0x0001180008000038ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
195 #define CVMX_GMXX_RXX_RX_INBND(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000060ull) + (((offset) & 3) + ((block_id) & 1) * 0x10000ull) * 2048)
197 static inline uint64_t CVMX_GMXX_RX_PRTS(unsigned long block_id
)
199 switch (cvmx_get_octeon_family()) {
200 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
201 return CVMX_ADD_IO_SEG(0x0001180008000410ull
) + (block_id
) * 0x1000000ull
;
203 return CVMX_ADD_IO_SEG(0x0001180008000410ull
) + (block_id
) * 0x8000000ull
;
206 static inline uint64_t CVMX_GMXX_RX_XAUI_CTL(unsigned long block_id
)
208 switch (cvmx_get_octeon_family()) {
209 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
210 return CVMX_ADD_IO_SEG(0x0001180008000530ull
) + (block_id
) * 0x1000000ull
;
212 return CVMX_ADD_IO_SEG(0x0001180008000530ull
) + (block_id
) * 0x8000000ull
;
215 static inline uint64_t CVMX_GMXX_SMACX(unsigned long offset
, unsigned long block_id
)
217 switch (cvmx_get_octeon_family()) {
218 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
219 return CVMX_ADD_IO_SEG(0x0001180008000230ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
220 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
221 return CVMX_ADD_IO_SEG(0x0001180008000230ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
223 return CVMX_ADD_IO_SEG(0x0001180008000230ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
226 static inline uint64_t CVMX_GMXX_TXX_BURST(unsigned long offset
, unsigned long block_id
)
228 switch (cvmx_get_octeon_family()) {
229 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
230 return CVMX_ADD_IO_SEG(0x0001180008000228ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
231 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
232 return CVMX_ADD_IO_SEG(0x0001180008000228ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
234 return CVMX_ADD_IO_SEG(0x0001180008000228ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
237 #define CVMX_GMXX_TXX_CLK(offset, block_id) (CVMX_ADD_IO_SEG(0x0001180008000208ull) + (((offset) & 3) + ((block_id) & 1) * 0x10000ull) * 2048)
238 static inline uint64_t CVMX_GMXX_TXX_CTL(unsigned long offset
, unsigned long block_id
)
240 switch (cvmx_get_octeon_family()) {
241 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
242 return CVMX_ADD_IO_SEG(0x0001180008000270ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
243 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
244 return CVMX_ADD_IO_SEG(0x0001180008000270ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
246 return CVMX_ADD_IO_SEG(0x0001180008000270ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
249 static inline uint64_t CVMX_GMXX_TXX_PAUSE_PKT_INTERVAL(unsigned long offset
, unsigned long block_id
)
251 switch (cvmx_get_octeon_family()) {
252 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
253 return CVMX_ADD_IO_SEG(0x0001180008000248ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
254 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
255 return CVMX_ADD_IO_SEG(0x0001180008000248ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
257 return CVMX_ADD_IO_SEG(0x0001180008000248ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
260 static inline uint64_t CVMX_GMXX_TXX_PAUSE_PKT_TIME(unsigned long offset
, unsigned long block_id
)
262 switch (cvmx_get_octeon_family()) {
263 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
264 return CVMX_ADD_IO_SEG(0x0001180008000238ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
265 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
266 return CVMX_ADD_IO_SEG(0x0001180008000238ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
268 return CVMX_ADD_IO_SEG(0x0001180008000238ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
271 static inline uint64_t CVMX_GMXX_TXX_SLOT(unsigned long offset
, unsigned long block_id
)
273 switch (cvmx_get_octeon_family()) {
274 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
275 return CVMX_ADD_IO_SEG(0x0001180008000220ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
276 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
277 return CVMX_ADD_IO_SEG(0x0001180008000220ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
279 return CVMX_ADD_IO_SEG(0x0001180008000220ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
282 static inline uint64_t CVMX_GMXX_TXX_THRESH(unsigned long offset
, unsigned long block_id
)
284 switch (cvmx_get_octeon_family()) {
285 case OCTEON_CN31XX
& OCTEON_FAMILY_MASK
:
286 return CVMX_ADD_IO_SEG(0x0001180008000210ull
) + ((offset
) + (block_id
) * 0x0ull
) * 2048;
287 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
288 return CVMX_ADD_IO_SEG(0x0001180008000210ull
) + ((offset
) + (block_id
) * 0x2000ull
) * 2048;
290 return CVMX_ADD_IO_SEG(0x0001180008000210ull
) + ((offset
) + (block_id
) * 0x10000ull
) * 2048;
293 static inline uint64_t CVMX_GMXX_TX_INT_EN(unsigned long block_id
)
295 switch (cvmx_get_octeon_family()) {
296 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
297 return CVMX_ADD_IO_SEG(0x0001180008000508ull
) + (block_id
) * 0x1000000ull
;
299 return CVMX_ADD_IO_SEG(0x0001180008000508ull
) + (block_id
) * 0x8000000ull
;
302 static inline uint64_t CVMX_GMXX_TX_INT_REG(unsigned long block_id
)
304 switch (cvmx_get_octeon_family()) {
305 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
306 return CVMX_ADD_IO_SEG(0x0001180008000500ull
) + (block_id
) * 0x1000000ull
;
308 return CVMX_ADD_IO_SEG(0x0001180008000500ull
) + (block_id
) * 0x8000000ull
;
311 static inline uint64_t CVMX_GMXX_TX_OVR_BP(unsigned long block_id
)
313 switch (cvmx_get_octeon_family()) {
314 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
315 return CVMX_ADD_IO_SEG(0x00011800080004C8ull
) + (block_id
) * 0x1000000ull
;
317 return CVMX_ADD_IO_SEG(0x00011800080004C8ull
) + (block_id
) * 0x8000000ull
;
320 static inline uint64_t CVMX_GMXX_TX_PRTS(unsigned long block_id
)
322 switch (cvmx_get_octeon_family()) {
323 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
324 return CVMX_ADD_IO_SEG(0x0001180008000480ull
) + (block_id
) * 0x1000000ull
;
326 return CVMX_ADD_IO_SEG(0x0001180008000480ull
) + (block_id
) * 0x8000000ull
;
329 #define CVMX_GMXX_TX_SPI_CTL(block_id) (CVMX_ADD_IO_SEG(0x00011800080004C0ull) + ((block_id) & 1) * 0x8000000ull)
330 #define CVMX_GMXX_TX_SPI_MAX(block_id) (CVMX_ADD_IO_SEG(0x00011800080004B0ull) + ((block_id) & 1) * 0x8000000ull)
331 #define CVMX_GMXX_TX_SPI_THRESH(block_id) (CVMX_ADD_IO_SEG(0x00011800080004B8ull) + ((block_id) & 1) * 0x8000000ull)
332 static inline uint64_t CVMX_GMXX_TX_XAUI_CTL(unsigned long block_id
)
334 switch (cvmx_get_octeon_family()) {
335 case OCTEON_CN68XX
& OCTEON_FAMILY_MASK
:
336 return CVMX_ADD_IO_SEG(0x0001180008000528ull
) + (block_id
) * 0x1000000ull
;
338 return CVMX_ADD_IO_SEG(0x0001180008000528ull
) + (block_id
) * 0x8000000ull
;
341 void __cvmx_interrupt_gmxx_enable(int interface
);
343 union cvmx_gmxx_hg2_control
{
345 struct cvmx_gmxx_hg2_control_s
{
346 #ifdef __BIG_ENDIAN_BITFIELD
347 uint64_t reserved_19_63
:45;
357 uint64_t reserved_19_63
:45;
362 union cvmx_gmxx_inf_mode
{
364 struct cvmx_gmxx_inf_mode_s
{
365 #ifdef __BIG_ENDIAN_BITFIELD
366 uint64_t reserved_20_63
:44;
368 uint64_t reserved_12_15
:4;
370 uint64_t reserved_7_7
:1;
372 uint64_t reserved_3_3
:1;
380 uint64_t reserved_3_3
:1;
382 uint64_t reserved_7_7
:1;
384 uint64_t reserved_12_15
:4;
386 uint64_t reserved_20_63
:44;
389 struct cvmx_gmxx_inf_mode_cn30xx
{
390 #ifdef __BIG_ENDIAN_BITFIELD
391 uint64_t reserved_3_63
:61;
399 uint64_t reserved_3_63
:61;
402 struct cvmx_gmxx_inf_mode_cn31xx
{
403 #ifdef __BIG_ENDIAN_BITFIELD
404 uint64_t reserved_2_63
:62;
410 uint64_t reserved_2_63
:62;
413 struct cvmx_gmxx_inf_mode_cn52xx
{
414 #ifdef __BIG_ENDIAN_BITFIELD
415 uint64_t reserved_10_63
:54;
417 uint64_t reserved_6_7
:2;
419 uint64_t reserved_2_3
:2;
425 uint64_t reserved_2_3
:2;
427 uint64_t reserved_6_7
:2;
429 uint64_t reserved_10_63
:54;
432 struct cvmx_gmxx_inf_mode_cn61xx
{
433 #ifdef __BIG_ENDIAN_BITFIELD
434 uint64_t reserved_12_63
:52;
436 uint64_t reserved_5_7
:3;
438 uint64_t reserved_2_3
:2;
444 uint64_t reserved_2_3
:2;
446 uint64_t reserved_5_7
:3;
448 uint64_t reserved_12_63
:52;
451 struct cvmx_gmxx_inf_mode_cn66xx
{
452 #ifdef __BIG_ENDIAN_BITFIELD
453 uint64_t reserved_20_63
:44;
455 uint64_t reserved_12_15
:4;
457 uint64_t reserved_5_7
:3;
459 uint64_t reserved_2_3
:2;
465 uint64_t reserved_2_3
:2;
467 uint64_t reserved_5_7
:3;
469 uint64_t reserved_12_15
:4;
471 uint64_t reserved_20_63
:44;
474 struct cvmx_gmxx_inf_mode_cn68xx
{
475 #ifdef __BIG_ENDIAN_BITFIELD
476 uint64_t reserved_12_63
:52;
478 uint64_t reserved_7_7
:1;
480 uint64_t reserved_2_3
:2;
486 uint64_t reserved_2_3
:2;
488 uint64_t reserved_7_7
:1;
490 uint64_t reserved_12_63
:52;
495 union cvmx_gmxx_prtx_cfg
{
497 struct cvmx_gmxx_prtx_cfg_s
{
498 #ifdef __BIG_ENDIAN_BITFIELD
499 uint64_t reserved_22_63
:42;
501 uint64_t reserved_14_15
:2;
504 uint64_t reserved_9_11
:3;
505 uint64_t speed_msb
:1;
506 uint64_t reserved_4_7
:4;
516 uint64_t reserved_4_7
:4;
517 uint64_t speed_msb
:1;
518 uint64_t reserved_9_11
:3;
521 uint64_t reserved_14_15
:2;
523 uint64_t reserved_22_63
:42;
526 struct cvmx_gmxx_prtx_cfg_cn30xx
{
527 #ifdef __BIG_ENDIAN_BITFIELD
528 uint64_t reserved_4_63
:60;
538 uint64_t reserved_4_63
:60;
541 struct cvmx_gmxx_prtx_cfg_cn52xx
{
542 #ifdef __BIG_ENDIAN_BITFIELD
543 uint64_t reserved_14_63
:50;
546 uint64_t reserved_9_11
:3;
547 uint64_t speed_msb
:1;
548 uint64_t reserved_4_7
:4;
558 uint64_t reserved_4_7
:4;
559 uint64_t speed_msb
:1;
560 uint64_t reserved_9_11
:3;
563 uint64_t reserved_14_63
:50;
568 union cvmx_gmxx_rxx_adr_ctl
{
570 struct cvmx_gmxx_rxx_adr_ctl_s
{
571 #ifdef __BIG_ENDIAN_BITFIELD
572 uint64_t reserved_4_63
:60;
580 uint64_t reserved_4_63
:60;
585 union cvmx_gmxx_rxx_frm_ctl
{
587 struct cvmx_gmxx_rxx_frm_ctl_s
{
588 #ifdef __BIG_ENDIAN_BITFIELD
589 uint64_t reserved_13_63
:51;
591 uint64_t reserved_11_11
:1;
593 uint64_t pre_align
:1;
613 uint64_t pre_align
:1;
615 uint64_t reserved_11_11
:1;
617 uint64_t reserved_13_63
:51;
620 struct cvmx_gmxx_rxx_frm_ctl_cn30xx
{
621 #ifdef __BIG_ENDIAN_BITFIELD
622 uint64_t reserved_9_63
:55;
642 uint64_t reserved_9_63
:55;
645 struct cvmx_gmxx_rxx_frm_ctl_cn31xx
{
646 #ifdef __BIG_ENDIAN_BITFIELD
647 uint64_t reserved_8_63
:56;
665 uint64_t reserved_8_63
:56;
668 struct cvmx_gmxx_rxx_frm_ctl_cn50xx
{
669 #ifdef __BIG_ENDIAN_BITFIELD
670 uint64_t reserved_11_63
:53;
672 uint64_t pre_align
:1;
673 uint64_t reserved_7_8
:2;
689 uint64_t reserved_7_8
:2;
690 uint64_t pre_align
:1;
692 uint64_t reserved_11_63
:53;
695 struct cvmx_gmxx_rxx_frm_ctl_cn56xxp1
{
696 #ifdef __BIG_ENDIAN_BITFIELD
697 uint64_t reserved_10_63
:54;
698 uint64_t pre_align
:1;
699 uint64_t reserved_7_8
:2;
715 uint64_t reserved_7_8
:2;
716 uint64_t pre_align
:1;
717 uint64_t reserved_10_63
:54;
720 struct cvmx_gmxx_rxx_frm_ctl_cn58xx
{
721 #ifdef __BIG_ENDIAN_BITFIELD
722 uint64_t reserved_11_63
:53;
724 uint64_t pre_align
:1;
744 uint64_t pre_align
:1;
746 uint64_t reserved_11_63
:53;
749 struct cvmx_gmxx_rxx_frm_ctl_cn61xx
{
750 #ifdef __BIG_ENDIAN_BITFIELD
751 uint64_t reserved_13_63
:51;
753 uint64_t reserved_11_11
:1;
755 uint64_t pre_align
:1;
756 uint64_t reserved_7_8
:2;
772 uint64_t reserved_7_8
:2;
773 uint64_t pre_align
:1;
775 uint64_t reserved_11_11
:1;
777 uint64_t reserved_13_63
:51;
782 union cvmx_gmxx_rxx_frm_max
{
784 struct cvmx_gmxx_rxx_frm_max_s
{
785 #ifdef __BIG_ENDIAN_BITFIELD
786 uint64_t reserved_16_63
:48;
790 uint64_t reserved_16_63
:48;
795 union cvmx_gmxx_rxx_frm_min
{
797 struct cvmx_gmxx_rxx_frm_min_s
{
798 #ifdef __BIG_ENDIAN_BITFIELD
799 uint64_t reserved_16_63
:48;
803 uint64_t reserved_16_63
:48;
808 union cvmx_gmxx_rxx_int_en
{
810 struct cvmx_gmxx_rxx_int_en_s
{
811 #ifdef __BIG_ENDIAN_BITFIELD
812 uint64_t reserved_29_63
:35;
820 uint64_t rem_fault
:1;
821 uint64_t loc_fault
:1;
822 uint64_t pause_drp
:1;
862 uint64_t pause_drp
:1;
863 uint64_t loc_fault
:1;
864 uint64_t rem_fault
:1;
872 uint64_t reserved_29_63
:35;
875 struct cvmx_gmxx_rxx_int_en_cn30xx
{
876 #ifdef __BIG_ENDIAN_BITFIELD
877 uint64_t reserved_19_63
:45;
917 uint64_t reserved_19_63
:45;
920 struct cvmx_gmxx_rxx_int_en_cn50xx
{
921 #ifdef __BIG_ENDIAN_BITFIELD
922 uint64_t reserved_20_63
:44;
923 uint64_t pause_drp
:1;
936 uint64_t reserved_6_6
:1;
940 uint64_t reserved_2_2
:1;
942 uint64_t reserved_0_0
:1;
944 uint64_t reserved_0_0
:1;
946 uint64_t reserved_2_2
:1;
950 uint64_t reserved_6_6
:1;
963 uint64_t pause_drp
:1;
964 uint64_t reserved_20_63
:44;
967 struct cvmx_gmxx_rxx_int_en_cn52xx
{
968 #ifdef __BIG_ENDIAN_BITFIELD
969 uint64_t reserved_29_63
:35;
977 uint64_t rem_fault
:1;
978 uint64_t loc_fault
:1;
979 uint64_t pause_drp
:1;
980 uint64_t reserved_16_18
:3;
987 uint64_t reserved_9_9
:1;
990 uint64_t reserved_5_6
:2;
993 uint64_t reserved_2_2
:1;
995 uint64_t reserved_0_0
:1;
997 uint64_t reserved_0_0
:1;
999 uint64_t reserved_2_2
:1;
1002 uint64_t reserved_5_6
:2;
1005 uint64_t reserved_9_9
:1;
1012 uint64_t reserved_16_18
:3;
1013 uint64_t pause_drp
:1;
1014 uint64_t loc_fault
:1;
1015 uint64_t rem_fault
:1;
1017 uint64_t bad_term
:1;
1023 uint64_t reserved_29_63
:35;
1026 struct cvmx_gmxx_rxx_int_en_cn56xxp1
{
1027 #ifdef __BIG_ENDIAN_BITFIELD
1028 uint64_t reserved_27_63
:37;
1032 uint64_t bad_term
:1;
1034 uint64_t rem_fault
:1;
1035 uint64_t loc_fault
:1;
1036 uint64_t pause_drp
:1;
1037 uint64_t reserved_16_18
:3;
1044 uint64_t reserved_9_9
:1;
1047 uint64_t reserved_5_6
:2;
1050 uint64_t reserved_2_2
:1;
1052 uint64_t reserved_0_0
:1;
1054 uint64_t reserved_0_0
:1;
1056 uint64_t reserved_2_2
:1;
1059 uint64_t reserved_5_6
:2;
1062 uint64_t reserved_9_9
:1;
1069 uint64_t reserved_16_18
:3;
1070 uint64_t pause_drp
:1;
1071 uint64_t loc_fault
:1;
1072 uint64_t rem_fault
:1;
1074 uint64_t bad_term
:1;
1078 uint64_t reserved_27_63
:37;
1081 struct cvmx_gmxx_rxx_int_en_cn58xx
{
1082 #ifdef __BIG_ENDIAN_BITFIELD
1083 uint64_t reserved_20_63
:44;
1084 uint64_t pause_drp
:1;
1085 uint64_t phy_dupx
:1;
1087 uint64_t phy_link
:1;
1121 uint64_t phy_link
:1;
1123 uint64_t phy_dupx
:1;
1124 uint64_t pause_drp
:1;
1125 uint64_t reserved_20_63
:44;
1128 struct cvmx_gmxx_rxx_int_en_cn61xx
{
1129 #ifdef __BIG_ENDIAN_BITFIELD
1130 uint64_t reserved_29_63
:35;
1136 uint64_t bad_term
:1;
1138 uint64_t rem_fault
:1;
1139 uint64_t loc_fault
:1;
1140 uint64_t pause_drp
:1;
1141 uint64_t reserved_16_18
:3;
1148 uint64_t reserved_9_9
:1;
1151 uint64_t reserved_5_6
:2;
1154 uint64_t reserved_2_2
:1;
1160 uint64_t reserved_2_2
:1;
1163 uint64_t reserved_5_6
:2;
1166 uint64_t reserved_9_9
:1;
1173 uint64_t reserved_16_18
:3;
1174 uint64_t pause_drp
:1;
1175 uint64_t loc_fault
:1;
1176 uint64_t rem_fault
:1;
1178 uint64_t bad_term
:1;
1184 uint64_t reserved_29_63
:35;
1189 union cvmx_gmxx_rxx_int_reg
{
1191 struct cvmx_gmxx_rxx_int_reg_s
{
1192 #ifdef __BIG_ENDIAN_BITFIELD
1193 uint64_t reserved_29_63
:35;
1199 uint64_t bad_term
:1;
1201 uint64_t rem_fault
:1;
1202 uint64_t loc_fault
:1;
1203 uint64_t pause_drp
:1;
1204 uint64_t phy_dupx
:1;
1206 uint64_t phy_link
:1;
1240 uint64_t phy_link
:1;
1242 uint64_t phy_dupx
:1;
1243 uint64_t pause_drp
:1;
1244 uint64_t loc_fault
:1;
1245 uint64_t rem_fault
:1;
1247 uint64_t bad_term
:1;
1253 uint64_t reserved_29_63
:35;
1256 struct cvmx_gmxx_rxx_int_reg_cn30xx
{
1257 #ifdef __BIG_ENDIAN_BITFIELD
1258 uint64_t reserved_19_63
:45;
1259 uint64_t phy_dupx
:1;
1261 uint64_t phy_link
:1;
1295 uint64_t phy_link
:1;
1297 uint64_t phy_dupx
:1;
1298 uint64_t reserved_19_63
:45;
1301 struct cvmx_gmxx_rxx_int_reg_cn50xx
{
1302 #ifdef __BIG_ENDIAN_BITFIELD
1303 uint64_t reserved_20_63
:44;
1304 uint64_t pause_drp
:1;
1305 uint64_t phy_dupx
:1;
1307 uint64_t phy_link
:1;
1317 uint64_t reserved_6_6
:1;
1321 uint64_t reserved_2_2
:1;
1323 uint64_t reserved_0_0
:1;
1325 uint64_t reserved_0_0
:1;
1327 uint64_t reserved_2_2
:1;
1331 uint64_t reserved_6_6
:1;
1341 uint64_t phy_link
:1;
1343 uint64_t phy_dupx
:1;
1344 uint64_t pause_drp
:1;
1345 uint64_t reserved_20_63
:44;
1348 struct cvmx_gmxx_rxx_int_reg_cn52xx
{
1349 #ifdef __BIG_ENDIAN_BITFIELD
1350 uint64_t reserved_29_63
:35;
1356 uint64_t bad_term
:1;
1358 uint64_t rem_fault
:1;
1359 uint64_t loc_fault
:1;
1360 uint64_t pause_drp
:1;
1361 uint64_t reserved_16_18
:3;
1368 uint64_t reserved_9_9
:1;
1371 uint64_t reserved_5_6
:2;
1374 uint64_t reserved_2_2
:1;
1376 uint64_t reserved_0_0
:1;
1378 uint64_t reserved_0_0
:1;
1380 uint64_t reserved_2_2
:1;
1383 uint64_t reserved_5_6
:2;
1386 uint64_t reserved_9_9
:1;
1393 uint64_t reserved_16_18
:3;
1394 uint64_t pause_drp
:1;
1395 uint64_t loc_fault
:1;
1396 uint64_t rem_fault
:1;
1398 uint64_t bad_term
:1;
1404 uint64_t reserved_29_63
:35;
1407 struct cvmx_gmxx_rxx_int_reg_cn56xxp1
{
1408 #ifdef __BIG_ENDIAN_BITFIELD
1409 uint64_t reserved_27_63
:37;
1413 uint64_t bad_term
:1;
1415 uint64_t rem_fault
:1;
1416 uint64_t loc_fault
:1;
1417 uint64_t pause_drp
:1;
1418 uint64_t reserved_16_18
:3;
1425 uint64_t reserved_9_9
:1;
1428 uint64_t reserved_5_6
:2;
1431 uint64_t reserved_2_2
:1;
1433 uint64_t reserved_0_0
:1;
1435 uint64_t reserved_0_0
:1;
1437 uint64_t reserved_2_2
:1;
1440 uint64_t reserved_5_6
:2;
1443 uint64_t reserved_9_9
:1;
1450 uint64_t reserved_16_18
:3;
1451 uint64_t pause_drp
:1;
1452 uint64_t loc_fault
:1;
1453 uint64_t rem_fault
:1;
1455 uint64_t bad_term
:1;
1459 uint64_t reserved_27_63
:37;
1462 struct cvmx_gmxx_rxx_int_reg_cn58xx
{
1463 #ifdef __BIG_ENDIAN_BITFIELD
1464 uint64_t reserved_20_63
:44;
1465 uint64_t pause_drp
:1;
1466 uint64_t phy_dupx
:1;
1468 uint64_t phy_link
:1;
1502 uint64_t phy_link
:1;
1504 uint64_t phy_dupx
:1;
1505 uint64_t pause_drp
:1;
1506 uint64_t reserved_20_63
:44;
1509 struct cvmx_gmxx_rxx_int_reg_cn61xx
{
1510 #ifdef __BIG_ENDIAN_BITFIELD
1511 uint64_t reserved_29_63
:35;
1517 uint64_t bad_term
:1;
1519 uint64_t rem_fault
:1;
1520 uint64_t loc_fault
:1;
1521 uint64_t pause_drp
:1;
1522 uint64_t reserved_16_18
:3;
1529 uint64_t reserved_9_9
:1;
1532 uint64_t reserved_5_6
:2;
1535 uint64_t reserved_2_2
:1;
1541 uint64_t reserved_2_2
:1;
1544 uint64_t reserved_5_6
:2;
1547 uint64_t reserved_9_9
:1;
1554 uint64_t reserved_16_18
:3;
1555 uint64_t pause_drp
:1;
1556 uint64_t loc_fault
:1;
1557 uint64_t rem_fault
:1;
1559 uint64_t bad_term
:1;
1565 uint64_t reserved_29_63
:35;
1570 union cvmx_gmxx_rxx_jabber
{
1572 struct cvmx_gmxx_rxx_jabber_s
{
1573 #ifdef __BIG_ENDIAN_BITFIELD
1574 uint64_t reserved_16_63
:48;
1578 uint64_t reserved_16_63
:48;
1583 union cvmx_gmxx_rxx_rx_inbnd
{
1585 struct cvmx_gmxx_rxx_rx_inbnd_s
{
1586 #ifdef __BIG_ENDIAN_BITFIELD
1587 uint64_t reserved_4_63
:60;
1595 uint64_t reserved_4_63
:60;
1600 union cvmx_gmxx_rx_prts
{
1602 struct cvmx_gmxx_rx_prts_s
{
1603 #ifdef __BIG_ENDIAN_BITFIELD
1604 uint64_t reserved_3_63
:61;
1608 uint64_t reserved_3_63
:61;
1613 union cvmx_gmxx_rx_xaui_ctl
{
1615 struct cvmx_gmxx_rx_xaui_ctl_s
{
1616 #ifdef __BIG_ENDIAN_BITFIELD
1617 uint64_t reserved_2_63
:62;
1621 uint64_t reserved_2_63
:62;
1626 union cvmx_gmxx_txx_thresh
{
1628 struct cvmx_gmxx_txx_thresh_s
{
1629 #ifdef __BIG_ENDIAN_BITFIELD
1630 uint64_t reserved_10_63
:54;
1634 uint64_t reserved_10_63
:54;
1637 struct cvmx_gmxx_txx_thresh_cn30xx
{
1638 #ifdef __BIG_ENDIAN_BITFIELD
1639 uint64_t reserved_7_63
:57;
1643 uint64_t reserved_7_63
:57;
1646 struct cvmx_gmxx_txx_thresh_cn38xx
{
1647 #ifdef __BIG_ENDIAN_BITFIELD
1648 uint64_t reserved_9_63
:55;
1652 uint64_t reserved_9_63
:55;
1657 union cvmx_gmxx_tx_int_en
{
1659 struct cvmx_gmxx_tx_int_en_s
{
1660 #ifdef __BIG_ENDIAN_BITFIELD
1661 uint64_t reserved_25_63
:39;
1663 uint64_t ptp_lost
:4;
1664 uint64_t late_col
:4;
1667 uint64_t reserved_6_7
:2;
1669 uint64_t reserved_1_1
:1;
1673 uint64_t reserved_1_1
:1;
1675 uint64_t reserved_6_7
:2;
1678 uint64_t late_col
:4;
1679 uint64_t ptp_lost
:4;
1681 uint64_t reserved_25_63
:39;
1684 struct cvmx_gmxx_tx_int_en_cn30xx
{
1685 #ifdef __BIG_ENDIAN_BITFIELD
1686 uint64_t reserved_19_63
:45;
1687 uint64_t late_col
:3;
1688 uint64_t reserved_15_15
:1;
1690 uint64_t reserved_11_11
:1;
1692 uint64_t reserved_5_7
:3;
1694 uint64_t reserved_1_1
:1;
1698 uint64_t reserved_1_1
:1;
1700 uint64_t reserved_5_7
:3;
1702 uint64_t reserved_11_11
:1;
1704 uint64_t reserved_15_15
:1;
1705 uint64_t late_col
:3;
1706 uint64_t reserved_19_63
:45;
1709 struct cvmx_gmxx_tx_int_en_cn31xx
{
1710 #ifdef __BIG_ENDIAN_BITFIELD
1711 uint64_t reserved_15_63
:49;
1713 uint64_t reserved_11_11
:1;
1715 uint64_t reserved_5_7
:3;
1717 uint64_t reserved_1_1
:1;
1721 uint64_t reserved_1_1
:1;
1723 uint64_t reserved_5_7
:3;
1725 uint64_t reserved_11_11
:1;
1727 uint64_t reserved_15_63
:49;
1730 struct cvmx_gmxx_tx_int_en_cn38xx
{
1731 #ifdef __BIG_ENDIAN_BITFIELD
1732 uint64_t reserved_20_63
:44;
1733 uint64_t late_col
:4;
1736 uint64_t reserved_6_7
:2;
1744 uint64_t reserved_6_7
:2;
1747 uint64_t late_col
:4;
1748 uint64_t reserved_20_63
:44;
1751 struct cvmx_gmxx_tx_int_en_cn38xxp2
{
1752 #ifdef __BIG_ENDIAN_BITFIELD
1753 uint64_t reserved_16_63
:48;
1756 uint64_t reserved_6_7
:2;
1764 uint64_t reserved_6_7
:2;
1767 uint64_t reserved_16_63
:48;
1770 struct cvmx_gmxx_tx_int_en_cn52xx
{
1771 #ifdef __BIG_ENDIAN_BITFIELD
1772 uint64_t reserved_20_63
:44;
1773 uint64_t late_col
:4;
1776 uint64_t reserved_6_7
:2;
1778 uint64_t reserved_1_1
:1;
1782 uint64_t reserved_1_1
:1;
1784 uint64_t reserved_6_7
:2;
1787 uint64_t late_col
:4;
1788 uint64_t reserved_20_63
:44;
1791 struct cvmx_gmxx_tx_int_en_cn63xx
{
1792 #ifdef __BIG_ENDIAN_BITFIELD
1793 uint64_t reserved_24_63
:40;
1794 uint64_t ptp_lost
:4;
1795 uint64_t late_col
:4;
1798 uint64_t reserved_6_7
:2;
1800 uint64_t reserved_1_1
:1;
1804 uint64_t reserved_1_1
:1;
1806 uint64_t reserved_6_7
:2;
1809 uint64_t late_col
:4;
1810 uint64_t ptp_lost
:4;
1811 uint64_t reserved_24_63
:40;
1814 struct cvmx_gmxx_tx_int_en_cn68xx
{
1815 #ifdef __BIG_ENDIAN_BITFIELD
1816 uint64_t reserved_25_63
:39;
1818 uint64_t ptp_lost
:4;
1819 uint64_t late_col
:4;
1822 uint64_t reserved_6_7
:2;
1830 uint64_t reserved_6_7
:2;
1833 uint64_t late_col
:4;
1834 uint64_t ptp_lost
:4;
1836 uint64_t reserved_25_63
:39;
1839 struct cvmx_gmxx_tx_int_en_cnf71xx
{
1840 #ifdef __BIG_ENDIAN_BITFIELD
1841 uint64_t reserved_25_63
:39;
1843 uint64_t reserved_22_23
:2;
1844 uint64_t ptp_lost
:2;
1845 uint64_t reserved_18_19
:2;
1846 uint64_t late_col
:2;
1847 uint64_t reserved_14_15
:2;
1849 uint64_t reserved_10_11
:2;
1851 uint64_t reserved_4_7
:4;
1853 uint64_t reserved_1_1
:1;
1857 uint64_t reserved_1_1
:1;
1859 uint64_t reserved_4_7
:4;
1861 uint64_t reserved_10_11
:2;
1863 uint64_t reserved_14_15
:2;
1864 uint64_t late_col
:2;
1865 uint64_t reserved_18_19
:2;
1866 uint64_t ptp_lost
:2;
1867 uint64_t reserved_22_23
:2;
1869 uint64_t reserved_25_63
:39;
1874 union cvmx_gmxx_tx_int_reg
{
1876 struct cvmx_gmxx_tx_int_reg_s
{
1877 #ifdef __BIG_ENDIAN_BITFIELD
1878 uint64_t reserved_25_63
:39;
1880 uint64_t ptp_lost
:4;
1881 uint64_t late_col
:4;
1884 uint64_t reserved_6_7
:2;
1886 uint64_t reserved_1_1
:1;
1890 uint64_t reserved_1_1
:1;
1892 uint64_t reserved_6_7
:2;
1895 uint64_t late_col
:4;
1896 uint64_t ptp_lost
:4;
1898 uint64_t reserved_25_63
:39;
1901 struct cvmx_gmxx_tx_int_reg_cn30xx
{
1902 #ifdef __BIG_ENDIAN_BITFIELD
1903 uint64_t reserved_19_63
:45;
1904 uint64_t late_col
:3;
1905 uint64_t reserved_15_15
:1;
1907 uint64_t reserved_11_11
:1;
1909 uint64_t reserved_5_7
:3;
1911 uint64_t reserved_1_1
:1;
1915 uint64_t reserved_1_1
:1;
1917 uint64_t reserved_5_7
:3;
1919 uint64_t reserved_11_11
:1;
1921 uint64_t reserved_15_15
:1;
1922 uint64_t late_col
:3;
1923 uint64_t reserved_19_63
:45;
1926 struct cvmx_gmxx_tx_int_reg_cn31xx
{
1927 #ifdef __BIG_ENDIAN_BITFIELD
1928 uint64_t reserved_15_63
:49;
1930 uint64_t reserved_11_11
:1;
1932 uint64_t reserved_5_7
:3;
1934 uint64_t reserved_1_1
:1;
1938 uint64_t reserved_1_1
:1;
1940 uint64_t reserved_5_7
:3;
1942 uint64_t reserved_11_11
:1;
1944 uint64_t reserved_15_63
:49;
1947 struct cvmx_gmxx_tx_int_reg_cn38xx
{
1948 #ifdef __BIG_ENDIAN_BITFIELD
1949 uint64_t reserved_20_63
:44;
1950 uint64_t late_col
:4;
1953 uint64_t reserved_6_7
:2;
1961 uint64_t reserved_6_7
:2;
1964 uint64_t late_col
:4;
1965 uint64_t reserved_20_63
:44;
1968 struct cvmx_gmxx_tx_int_reg_cn38xxp2
{
1969 #ifdef __BIG_ENDIAN_BITFIELD
1970 uint64_t reserved_16_63
:48;
1973 uint64_t reserved_6_7
:2;
1981 uint64_t reserved_6_7
:2;
1984 uint64_t reserved_16_63
:48;
1987 struct cvmx_gmxx_tx_int_reg_cn52xx
{
1988 #ifdef __BIG_ENDIAN_BITFIELD
1989 uint64_t reserved_20_63
:44;
1990 uint64_t late_col
:4;
1993 uint64_t reserved_6_7
:2;
1995 uint64_t reserved_1_1
:1;
1999 uint64_t reserved_1_1
:1;
2001 uint64_t reserved_6_7
:2;
2004 uint64_t late_col
:4;
2005 uint64_t reserved_20_63
:44;
2008 struct cvmx_gmxx_tx_int_reg_cn63xx
{
2009 #ifdef __BIG_ENDIAN_BITFIELD
2010 uint64_t reserved_24_63
:40;
2011 uint64_t ptp_lost
:4;
2012 uint64_t late_col
:4;
2015 uint64_t reserved_6_7
:2;
2017 uint64_t reserved_1_1
:1;
2021 uint64_t reserved_1_1
:1;
2023 uint64_t reserved_6_7
:2;
2026 uint64_t late_col
:4;
2027 uint64_t ptp_lost
:4;
2028 uint64_t reserved_24_63
:40;
2031 struct cvmx_gmxx_tx_int_reg_cn68xx
{
2032 #ifdef __BIG_ENDIAN_BITFIELD
2033 uint64_t reserved_25_63
:39;
2035 uint64_t ptp_lost
:4;
2036 uint64_t late_col
:4;
2039 uint64_t reserved_6_7
:2;
2047 uint64_t reserved_6_7
:2;
2050 uint64_t late_col
:4;
2051 uint64_t ptp_lost
:4;
2053 uint64_t reserved_25_63
:39;
2056 struct cvmx_gmxx_tx_int_reg_cnf71xx
{
2057 #ifdef __BIG_ENDIAN_BITFIELD
2058 uint64_t reserved_25_63
:39;
2060 uint64_t reserved_22_23
:2;
2061 uint64_t ptp_lost
:2;
2062 uint64_t reserved_18_19
:2;
2063 uint64_t late_col
:2;
2064 uint64_t reserved_14_15
:2;
2066 uint64_t reserved_10_11
:2;
2068 uint64_t reserved_4_7
:4;
2070 uint64_t reserved_1_1
:1;
2074 uint64_t reserved_1_1
:1;
2076 uint64_t reserved_4_7
:4;
2078 uint64_t reserved_10_11
:2;
2080 uint64_t reserved_14_15
:2;
2081 uint64_t late_col
:2;
2082 uint64_t reserved_18_19
:2;
2083 uint64_t ptp_lost
:2;
2084 uint64_t reserved_22_23
:2;
2086 uint64_t reserved_25_63
:39;
2091 union cvmx_gmxx_tx_ovr_bp
{
2093 struct cvmx_gmxx_tx_ovr_bp_s
{
2094 #ifdef __BIG_ENDIAN_BITFIELD
2095 uint64_t reserved_48_63
:16;
2096 uint64_t tx_prt_bp
:16;
2097 uint64_t reserved_12_31
:20;
2100 uint64_t ign_full
:4;
2102 uint64_t ign_full
:4;
2105 uint64_t reserved_12_31
:20;
2106 uint64_t tx_prt_bp
:16;
2107 uint64_t reserved_48_63
:16;
2110 struct cvmx_gmxx_tx_ovr_bp_cn30xx
{
2111 #ifdef __BIG_ENDIAN_BITFIELD
2112 uint64_t reserved_11_63
:53;
2114 uint64_t reserved_7_7
:1;
2116 uint64_t reserved_3_3
:1;
2117 uint64_t ign_full
:3;
2119 uint64_t ign_full
:3;
2120 uint64_t reserved_3_3
:1;
2122 uint64_t reserved_7_7
:1;
2124 uint64_t reserved_11_63
:53;
2127 struct cvmx_gmxx_tx_ovr_bp_cn38xx
{
2128 #ifdef __BIG_ENDIAN_BITFIELD
2129 uint64_t reserved_12_63
:52;
2132 uint64_t ign_full
:4;
2134 uint64_t ign_full
:4;
2137 uint64_t reserved_12_63
:52;
2140 struct cvmx_gmxx_tx_ovr_bp_cnf71xx
{
2141 #ifdef __BIG_ENDIAN_BITFIELD
2142 uint64_t reserved_48_63
:16;
2143 uint64_t tx_prt_bp
:16;
2144 uint64_t reserved_10_31
:22;
2146 uint64_t reserved_6_7
:2;
2148 uint64_t reserved_2_3
:2;
2149 uint64_t ign_full
:2;
2151 uint64_t ign_full
:2;
2152 uint64_t reserved_2_3
:2;
2154 uint64_t reserved_6_7
:2;
2156 uint64_t reserved_10_31
:22;
2157 uint64_t tx_prt_bp
:16;
2158 uint64_t reserved_48_63
:16;
2163 union cvmx_gmxx_tx_prts
{
2165 struct cvmx_gmxx_tx_prts_s
{
2166 #ifdef __BIG_ENDIAN_BITFIELD
2167 uint64_t reserved_5_63
:59;
2171 uint64_t reserved_5_63
:59;
2176 union cvmx_gmxx_tx_spi_ctl
{
2178 struct cvmx_gmxx_tx_spi_ctl_s
{
2179 #ifdef __BIG_ENDIAN_BITFIELD
2180 uint64_t reserved_2_63
:62;
2182 uint64_t cont_pkt
:1;
2184 uint64_t cont_pkt
:1;
2186 uint64_t reserved_2_63
:62;
2191 union cvmx_gmxx_tx_spi_max
{
2193 struct cvmx_gmxx_tx_spi_max_s
{
2194 #ifdef __BIG_ENDIAN_BITFIELD
2195 uint64_t reserved_23_63
:41;
2203 uint64_t reserved_23_63
:41;
2206 struct cvmx_gmxx_tx_spi_max_cn38xx
{
2207 #ifdef __BIG_ENDIAN_BITFIELD
2208 uint64_t reserved_16_63
:48;
2214 uint64_t reserved_16_63
:48;
2219 union cvmx_gmxx_tx_spi_thresh
{
2221 struct cvmx_gmxx_tx_spi_thresh_s
{
2222 #ifdef __BIG_ENDIAN_BITFIELD
2223 uint64_t reserved_6_63
:58;
2227 uint64_t reserved_6_63
:58;
2232 union cvmx_gmxx_tx_xaui_ctl
{
2234 struct cvmx_gmxx_tx_xaui_ctl_s
{
2235 #ifdef __BIG_ENDIAN_BITFIELD
2236 uint64_t reserved_11_63
:53;
2237 uint64_t hg_pause_hgi
:2;
2239 uint64_t reserved_7_7
:1;
2242 uint64_t reserved_2_3
:2;
2248 uint64_t reserved_2_3
:2;
2251 uint64_t reserved_7_7
:1;
2253 uint64_t hg_pause_hgi
:2;
2254 uint64_t reserved_11_63
:53;