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-2008 Cavium Networks
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_PCIEEP_DEFS_H__
29 #define __CVMX_PCIEEP_DEFS_H__
31 #define CVMX_PCIEEP_CFG000 \
32 (0x0000000000000000ull)
33 #define CVMX_PCIEEP_CFG001 \
34 (0x0000000000000004ull)
35 #define CVMX_PCIEEP_CFG002 \
36 (0x0000000000000008ull)
37 #define CVMX_PCIEEP_CFG003 \
38 (0x000000000000000Cull)
39 #define CVMX_PCIEEP_CFG004 \
40 (0x0000000000000010ull)
41 #define CVMX_PCIEEP_CFG004_MASK \
42 (0x0000000080000010ull)
43 #define CVMX_PCIEEP_CFG005 \
44 (0x0000000000000014ull)
45 #define CVMX_PCIEEP_CFG005_MASK \
46 (0x0000000080000014ull)
47 #define CVMX_PCIEEP_CFG006 \
48 (0x0000000000000018ull)
49 #define CVMX_PCIEEP_CFG006_MASK \
50 (0x0000000080000018ull)
51 #define CVMX_PCIEEP_CFG007 \
52 (0x000000000000001Cull)
53 #define CVMX_PCIEEP_CFG007_MASK \
54 (0x000000008000001Cull)
55 #define CVMX_PCIEEP_CFG008 \
56 (0x0000000000000020ull)
57 #define CVMX_PCIEEP_CFG008_MASK \
58 (0x0000000080000020ull)
59 #define CVMX_PCIEEP_CFG009 \
60 (0x0000000000000024ull)
61 #define CVMX_PCIEEP_CFG009_MASK \
62 (0x0000000080000024ull)
63 #define CVMX_PCIEEP_CFG010 \
64 (0x0000000000000028ull)
65 #define CVMX_PCIEEP_CFG011 \
66 (0x000000000000002Cull)
67 #define CVMX_PCIEEP_CFG012 \
68 (0x0000000000000030ull)
69 #define CVMX_PCIEEP_CFG012_MASK \
70 (0x0000000080000030ull)
71 #define CVMX_PCIEEP_CFG013 \
72 (0x0000000000000034ull)
73 #define CVMX_PCIEEP_CFG015 \
74 (0x000000000000003Cull)
75 #define CVMX_PCIEEP_CFG016 \
76 (0x0000000000000040ull)
77 #define CVMX_PCIEEP_CFG017 \
78 (0x0000000000000044ull)
79 #define CVMX_PCIEEP_CFG020 \
80 (0x0000000000000050ull)
81 #define CVMX_PCIEEP_CFG021 \
82 (0x0000000000000054ull)
83 #define CVMX_PCIEEP_CFG022 \
84 (0x0000000000000058ull)
85 #define CVMX_PCIEEP_CFG023 \
86 (0x000000000000005Cull)
87 #define CVMX_PCIEEP_CFG028 \
88 (0x0000000000000070ull)
89 #define CVMX_PCIEEP_CFG029 \
90 (0x0000000000000074ull)
91 #define CVMX_PCIEEP_CFG030 \
92 (0x0000000000000078ull)
93 #define CVMX_PCIEEP_CFG031 \
94 (0x000000000000007Cull)
95 #define CVMX_PCIEEP_CFG032 \
96 (0x0000000000000080ull)
97 #define CVMX_PCIEEP_CFG033 \
98 (0x0000000000000084ull)
99 #define CVMX_PCIEEP_CFG034 \
100 (0x0000000000000088ull)
101 #define CVMX_PCIEEP_CFG037 \
102 (0x0000000000000094ull)
103 #define CVMX_PCIEEP_CFG038 \
104 (0x0000000000000098ull)
105 #define CVMX_PCIEEP_CFG039 \
106 (0x000000000000009Cull)
107 #define CVMX_PCIEEP_CFG040 \
108 (0x00000000000000A0ull)
109 #define CVMX_PCIEEP_CFG041 \
110 (0x00000000000000A4ull)
111 #define CVMX_PCIEEP_CFG042 \
112 (0x00000000000000A8ull)
113 #define CVMX_PCIEEP_CFG064 \
114 (0x0000000000000100ull)
115 #define CVMX_PCIEEP_CFG065 \
116 (0x0000000000000104ull)
117 #define CVMX_PCIEEP_CFG066 \
118 (0x0000000000000108ull)
119 #define CVMX_PCIEEP_CFG067 \
120 (0x000000000000010Cull)
121 #define CVMX_PCIEEP_CFG068 \
122 (0x0000000000000110ull)
123 #define CVMX_PCIEEP_CFG069 \
124 (0x0000000000000114ull)
125 #define CVMX_PCIEEP_CFG070 \
126 (0x0000000000000118ull)
127 #define CVMX_PCIEEP_CFG071 \
128 (0x000000000000011Cull)
129 #define CVMX_PCIEEP_CFG072 \
130 (0x0000000000000120ull)
131 #define CVMX_PCIEEP_CFG073 \
132 (0x0000000000000124ull)
133 #define CVMX_PCIEEP_CFG074 \
134 (0x0000000000000128ull)
135 #define CVMX_PCIEEP_CFG448 \
136 (0x0000000000000700ull)
137 #define CVMX_PCIEEP_CFG449 \
138 (0x0000000000000704ull)
139 #define CVMX_PCIEEP_CFG450 \
140 (0x0000000000000708ull)
141 #define CVMX_PCIEEP_CFG451 \
142 (0x000000000000070Cull)
143 #define CVMX_PCIEEP_CFG452 \
144 (0x0000000000000710ull)
145 #define CVMX_PCIEEP_CFG453 \
146 (0x0000000000000714ull)
147 #define CVMX_PCIEEP_CFG454 \
148 (0x0000000000000718ull)
149 #define CVMX_PCIEEP_CFG455 \
150 (0x000000000000071Cull)
151 #define CVMX_PCIEEP_CFG456 \
152 (0x0000000000000720ull)
153 #define CVMX_PCIEEP_CFG458 \
154 (0x0000000000000728ull)
155 #define CVMX_PCIEEP_CFG459 \
156 (0x000000000000072Cull)
157 #define CVMX_PCIEEP_CFG460 \
158 (0x0000000000000730ull)
159 #define CVMX_PCIEEP_CFG461 \
160 (0x0000000000000734ull)
161 #define CVMX_PCIEEP_CFG462 \
162 (0x0000000000000738ull)
163 #define CVMX_PCIEEP_CFG463 \
164 (0x000000000000073Cull)
165 #define CVMX_PCIEEP_CFG464 \
166 (0x0000000000000740ull)
167 #define CVMX_PCIEEP_CFG465 \
168 (0x0000000000000744ull)
169 #define CVMX_PCIEEP_CFG466 \
170 (0x0000000000000748ull)
171 #define CVMX_PCIEEP_CFG467 \
172 (0x000000000000074Cull)
173 #define CVMX_PCIEEP_CFG468 \
174 (0x0000000000000750ull)
175 #define CVMX_PCIEEP_CFG490 \
176 (0x00000000000007A8ull)
177 #define CVMX_PCIEEP_CFG491 \
178 (0x00000000000007ACull)
179 #define CVMX_PCIEEP_CFG492 \
180 (0x00000000000007B0ull)
181 #define CVMX_PCIEEP_CFG516 \
182 (0x0000000000000810ull)
183 #define CVMX_PCIEEP_CFG517 \
184 (0x0000000000000814ull)
186 union cvmx_pcieep_cfg000
{
188 struct cvmx_pcieep_cfg000_s
{
192 struct cvmx_pcieep_cfg000_s cn52xx
;
193 struct cvmx_pcieep_cfg000_s cn52xxp1
;
194 struct cvmx_pcieep_cfg000_s cn56xx
;
195 struct cvmx_pcieep_cfg000_s cn56xxp1
;
198 union cvmx_pcieep_cfg001
{
200 struct cvmx_pcieep_cfg001_s
{
209 uint32_t reserved_22_22
:1;
213 uint32_t reserved_11_18
:8;
226 struct cvmx_pcieep_cfg001_s cn52xx
;
227 struct cvmx_pcieep_cfg001_s cn52xxp1
;
228 struct cvmx_pcieep_cfg001_s cn56xx
;
229 struct cvmx_pcieep_cfg001_s cn56xxp1
;
232 union cvmx_pcieep_cfg002
{
234 struct cvmx_pcieep_cfg002_s
{
240 struct cvmx_pcieep_cfg002_s cn52xx
;
241 struct cvmx_pcieep_cfg002_s cn52xxp1
;
242 struct cvmx_pcieep_cfg002_s cn56xx
;
243 struct cvmx_pcieep_cfg002_s cn56xxp1
;
246 union cvmx_pcieep_cfg003
{
248 struct cvmx_pcieep_cfg003_s
{
255 struct cvmx_pcieep_cfg003_s cn52xx
;
256 struct cvmx_pcieep_cfg003_s cn52xxp1
;
257 struct cvmx_pcieep_cfg003_s cn56xx
;
258 struct cvmx_pcieep_cfg003_s cn56xxp1
;
261 union cvmx_pcieep_cfg004
{
263 struct cvmx_pcieep_cfg004_s
{
265 uint32_t reserved_4_13
:10;
270 struct cvmx_pcieep_cfg004_s cn52xx
;
271 struct cvmx_pcieep_cfg004_s cn52xxp1
;
272 struct cvmx_pcieep_cfg004_s cn56xx
;
273 struct cvmx_pcieep_cfg004_s cn56xxp1
;
276 union cvmx_pcieep_cfg004_mask
{
278 struct cvmx_pcieep_cfg004_mask_s
{
282 struct cvmx_pcieep_cfg004_mask_s cn52xx
;
283 struct cvmx_pcieep_cfg004_mask_s cn52xxp1
;
284 struct cvmx_pcieep_cfg004_mask_s cn56xx
;
285 struct cvmx_pcieep_cfg004_mask_s cn56xxp1
;
288 union cvmx_pcieep_cfg005
{
290 struct cvmx_pcieep_cfg005_s
{
293 struct cvmx_pcieep_cfg005_s cn52xx
;
294 struct cvmx_pcieep_cfg005_s cn52xxp1
;
295 struct cvmx_pcieep_cfg005_s cn56xx
;
296 struct cvmx_pcieep_cfg005_s cn56xxp1
;
299 union cvmx_pcieep_cfg005_mask
{
301 struct cvmx_pcieep_cfg005_mask_s
{
304 struct cvmx_pcieep_cfg005_mask_s cn52xx
;
305 struct cvmx_pcieep_cfg005_mask_s cn52xxp1
;
306 struct cvmx_pcieep_cfg005_mask_s cn56xx
;
307 struct cvmx_pcieep_cfg005_mask_s cn56xxp1
;
310 union cvmx_pcieep_cfg006
{
312 struct cvmx_pcieep_cfg006_s
{
314 uint32_t reserved_4_25
:22;
319 struct cvmx_pcieep_cfg006_s cn52xx
;
320 struct cvmx_pcieep_cfg006_s cn52xxp1
;
321 struct cvmx_pcieep_cfg006_s cn56xx
;
322 struct cvmx_pcieep_cfg006_s cn56xxp1
;
325 union cvmx_pcieep_cfg006_mask
{
327 struct cvmx_pcieep_cfg006_mask_s
{
331 struct cvmx_pcieep_cfg006_mask_s cn52xx
;
332 struct cvmx_pcieep_cfg006_mask_s cn52xxp1
;
333 struct cvmx_pcieep_cfg006_mask_s cn56xx
;
334 struct cvmx_pcieep_cfg006_mask_s cn56xxp1
;
337 union cvmx_pcieep_cfg007
{
339 struct cvmx_pcieep_cfg007_s
{
342 struct cvmx_pcieep_cfg007_s cn52xx
;
343 struct cvmx_pcieep_cfg007_s cn52xxp1
;
344 struct cvmx_pcieep_cfg007_s cn56xx
;
345 struct cvmx_pcieep_cfg007_s cn56xxp1
;
348 union cvmx_pcieep_cfg007_mask
{
350 struct cvmx_pcieep_cfg007_mask_s
{
353 struct cvmx_pcieep_cfg007_mask_s cn52xx
;
354 struct cvmx_pcieep_cfg007_mask_s cn52xxp1
;
355 struct cvmx_pcieep_cfg007_mask_s cn56xx
;
356 struct cvmx_pcieep_cfg007_mask_s cn56xxp1
;
359 union cvmx_pcieep_cfg008
{
361 struct cvmx_pcieep_cfg008_s
{
362 uint32_t reserved_4_31
:28;
367 struct cvmx_pcieep_cfg008_s cn52xx
;
368 struct cvmx_pcieep_cfg008_s cn52xxp1
;
369 struct cvmx_pcieep_cfg008_s cn56xx
;
370 struct cvmx_pcieep_cfg008_s cn56xxp1
;
373 union cvmx_pcieep_cfg008_mask
{
375 struct cvmx_pcieep_cfg008_mask_s
{
379 struct cvmx_pcieep_cfg008_mask_s cn52xx
;
380 struct cvmx_pcieep_cfg008_mask_s cn52xxp1
;
381 struct cvmx_pcieep_cfg008_mask_s cn56xx
;
382 struct cvmx_pcieep_cfg008_mask_s cn56xxp1
;
385 union cvmx_pcieep_cfg009
{
387 struct cvmx_pcieep_cfg009_s
{
389 uint32_t reserved_0_6
:7;
391 struct cvmx_pcieep_cfg009_s cn52xx
;
392 struct cvmx_pcieep_cfg009_s cn52xxp1
;
393 struct cvmx_pcieep_cfg009_s cn56xx
;
394 struct cvmx_pcieep_cfg009_s cn56xxp1
;
397 union cvmx_pcieep_cfg009_mask
{
399 struct cvmx_pcieep_cfg009_mask_s
{
402 struct cvmx_pcieep_cfg009_mask_s cn52xx
;
403 struct cvmx_pcieep_cfg009_mask_s cn52xxp1
;
404 struct cvmx_pcieep_cfg009_mask_s cn56xx
;
405 struct cvmx_pcieep_cfg009_mask_s cn56xxp1
;
408 union cvmx_pcieep_cfg010
{
410 struct cvmx_pcieep_cfg010_s
{
413 struct cvmx_pcieep_cfg010_s cn52xx
;
414 struct cvmx_pcieep_cfg010_s cn52xxp1
;
415 struct cvmx_pcieep_cfg010_s cn56xx
;
416 struct cvmx_pcieep_cfg010_s cn56xxp1
;
419 union cvmx_pcieep_cfg011
{
421 struct cvmx_pcieep_cfg011_s
{
425 struct cvmx_pcieep_cfg011_s cn52xx
;
426 struct cvmx_pcieep_cfg011_s cn52xxp1
;
427 struct cvmx_pcieep_cfg011_s cn56xx
;
428 struct cvmx_pcieep_cfg011_s cn56xxp1
;
431 union cvmx_pcieep_cfg012
{
433 struct cvmx_pcieep_cfg012_s
{
435 uint32_t reserved_1_15
:15;
438 struct cvmx_pcieep_cfg012_s cn52xx
;
439 struct cvmx_pcieep_cfg012_s cn52xxp1
;
440 struct cvmx_pcieep_cfg012_s cn56xx
;
441 struct cvmx_pcieep_cfg012_s cn56xxp1
;
444 union cvmx_pcieep_cfg012_mask
{
446 struct cvmx_pcieep_cfg012_mask_s
{
450 struct cvmx_pcieep_cfg012_mask_s cn52xx
;
451 struct cvmx_pcieep_cfg012_mask_s cn52xxp1
;
452 struct cvmx_pcieep_cfg012_mask_s cn56xx
;
453 struct cvmx_pcieep_cfg012_mask_s cn56xxp1
;
456 union cvmx_pcieep_cfg013
{
458 struct cvmx_pcieep_cfg013_s
{
459 uint32_t reserved_8_31
:24;
462 struct cvmx_pcieep_cfg013_s cn52xx
;
463 struct cvmx_pcieep_cfg013_s cn52xxp1
;
464 struct cvmx_pcieep_cfg013_s cn56xx
;
465 struct cvmx_pcieep_cfg013_s cn56xxp1
;
468 union cvmx_pcieep_cfg015
{
470 struct cvmx_pcieep_cfg015_s
{
476 struct cvmx_pcieep_cfg015_s cn52xx
;
477 struct cvmx_pcieep_cfg015_s cn52xxp1
;
478 struct cvmx_pcieep_cfg015_s cn56xx
;
479 struct cvmx_pcieep_cfg015_s cn56xxp1
;
482 union cvmx_pcieep_cfg016
{
484 struct cvmx_pcieep_cfg016_s
{
490 uint32_t reserved_20_20
:1;
491 uint32_t pme_clock
:1;
496 struct cvmx_pcieep_cfg016_s cn52xx
;
497 struct cvmx_pcieep_cfg016_s cn52xxp1
;
498 struct cvmx_pcieep_cfg016_s cn56xx
;
499 struct cvmx_pcieep_cfg016_s cn56xxp1
;
502 union cvmx_pcieep_cfg017
{
504 struct cvmx_pcieep_cfg017_s
{
508 uint32_t reserved_16_21
:6;
513 uint32_t reserved_4_7
:4;
515 uint32_t reserved_2_2
:1;
518 struct cvmx_pcieep_cfg017_s cn52xx
;
519 struct cvmx_pcieep_cfg017_s cn52xxp1
;
520 struct cvmx_pcieep_cfg017_s cn56xx
;
521 struct cvmx_pcieep_cfg017_s cn56xxp1
;
524 union cvmx_pcieep_cfg020
{
526 struct cvmx_pcieep_cfg020_s
{
527 uint32_t reserved_24_31
:8;
535 struct cvmx_pcieep_cfg020_s cn52xx
;
536 struct cvmx_pcieep_cfg020_s cn52xxp1
;
537 struct cvmx_pcieep_cfg020_s cn56xx
;
538 struct cvmx_pcieep_cfg020_s cn56xxp1
;
541 union cvmx_pcieep_cfg021
{
543 struct cvmx_pcieep_cfg021_s
{
545 uint32_t reserved_0_1
:2;
547 struct cvmx_pcieep_cfg021_s cn52xx
;
548 struct cvmx_pcieep_cfg021_s cn52xxp1
;
549 struct cvmx_pcieep_cfg021_s cn56xx
;
550 struct cvmx_pcieep_cfg021_s cn56xxp1
;
553 union cvmx_pcieep_cfg022
{
555 struct cvmx_pcieep_cfg022_s
{
558 struct cvmx_pcieep_cfg022_s cn52xx
;
559 struct cvmx_pcieep_cfg022_s cn52xxp1
;
560 struct cvmx_pcieep_cfg022_s cn56xx
;
561 struct cvmx_pcieep_cfg022_s cn56xxp1
;
564 union cvmx_pcieep_cfg023
{
566 struct cvmx_pcieep_cfg023_s
{
567 uint32_t reserved_16_31
:16;
570 struct cvmx_pcieep_cfg023_s cn52xx
;
571 struct cvmx_pcieep_cfg023_s cn52xxp1
;
572 struct cvmx_pcieep_cfg023_s cn56xx
;
573 struct cvmx_pcieep_cfg023_s cn56xxp1
;
576 union cvmx_pcieep_cfg028
{
578 struct cvmx_pcieep_cfg028_s
{
579 uint32_t reserved_30_31
:2;
587 struct cvmx_pcieep_cfg028_s cn52xx
;
588 struct cvmx_pcieep_cfg028_s cn52xxp1
;
589 struct cvmx_pcieep_cfg028_s cn56xx
;
590 struct cvmx_pcieep_cfg028_s cn56xxp1
;
593 union cvmx_pcieep_cfg029
{
595 struct cvmx_pcieep_cfg029_s
{
596 uint32_t reserved_28_31
:4;
599 uint32_t reserved_16_17
:2;
601 uint32_t reserved_12_14
:3;
608 struct cvmx_pcieep_cfg029_s cn52xx
;
609 struct cvmx_pcieep_cfg029_s cn52xxp1
;
610 struct cvmx_pcieep_cfg029_s cn56xx
;
611 struct cvmx_pcieep_cfg029_s cn56xxp1
;
614 union cvmx_pcieep_cfg030
{
616 struct cvmx_pcieep_cfg030_s
{
617 uint32_t reserved_22_31
:10;
624 uint32_t reserved_15_15
:1;
637 struct cvmx_pcieep_cfg030_s cn52xx
;
638 struct cvmx_pcieep_cfg030_s cn52xxp1
;
639 struct cvmx_pcieep_cfg030_s cn56xx
;
640 struct cvmx_pcieep_cfg030_s cn56xxp1
;
643 union cvmx_pcieep_cfg031
{
645 struct cvmx_pcieep_cfg031_s
{
647 uint32_t reserved_22_23
:2;
658 struct cvmx_pcieep_cfg031_s cn52xx
;
659 struct cvmx_pcieep_cfg031_s cn52xxp1
;
660 struct cvmx_pcieep_cfg031_s cn56xx
;
661 struct cvmx_pcieep_cfg031_s cn56xxp1
;
664 union cvmx_pcieep_cfg032
{
666 struct cvmx_pcieep_cfg032_s
{
667 uint32_t reserved_30_31
:2;
671 uint32_t reserved_26_26
:1;
674 uint32_t reserved_10_15
:6;
682 uint32_t reserved_2_2
:1;
685 struct cvmx_pcieep_cfg032_s cn52xx
;
686 struct cvmx_pcieep_cfg032_s cn52xxp1
;
687 struct cvmx_pcieep_cfg032_s cn56xx
;
688 struct cvmx_pcieep_cfg032_s cn56xxp1
;
691 union cvmx_pcieep_cfg033
{
693 struct cvmx_pcieep_cfg033_s
{
707 struct cvmx_pcieep_cfg033_s cn52xx
;
708 struct cvmx_pcieep_cfg033_s cn52xxp1
;
709 struct cvmx_pcieep_cfg033_s cn56xx
;
710 struct cvmx_pcieep_cfg033_s cn56xxp1
;
713 union cvmx_pcieep_cfg034
{
715 struct cvmx_pcieep_cfg034_s
{
716 uint32_t reserved_25_31
:7;
726 uint32_t reserved_13_15
:3;
739 struct cvmx_pcieep_cfg034_s cn52xx
;
740 struct cvmx_pcieep_cfg034_s cn52xxp1
;
741 struct cvmx_pcieep_cfg034_s cn56xx
;
742 struct cvmx_pcieep_cfg034_s cn56xxp1
;
745 union cvmx_pcieep_cfg037
{
747 struct cvmx_pcieep_cfg037_s
{
748 uint32_t reserved_5_31
:27;
752 struct cvmx_pcieep_cfg037_s cn52xx
;
753 struct cvmx_pcieep_cfg037_s cn52xxp1
;
754 struct cvmx_pcieep_cfg037_s cn56xx
;
755 struct cvmx_pcieep_cfg037_s cn56xxp1
;
758 union cvmx_pcieep_cfg038
{
760 struct cvmx_pcieep_cfg038_s
{
761 uint32_t reserved_5_31
:27;
765 struct cvmx_pcieep_cfg038_s cn52xx
;
766 struct cvmx_pcieep_cfg038_s cn52xxp1
;
767 struct cvmx_pcieep_cfg038_s cn56xx
;
768 struct cvmx_pcieep_cfg038_s cn56xxp1
;
771 union cvmx_pcieep_cfg039
{
773 struct cvmx_pcieep_cfg039_s
{
774 uint32_t reserved_0_31
:32;
776 struct cvmx_pcieep_cfg039_s cn52xx
;
777 struct cvmx_pcieep_cfg039_s cn52xxp1
;
778 struct cvmx_pcieep_cfg039_s cn56xx
;
779 struct cvmx_pcieep_cfg039_s cn56xxp1
;
782 union cvmx_pcieep_cfg040
{
784 struct cvmx_pcieep_cfg040_s
{
785 uint32_t reserved_0_31
:32;
787 struct cvmx_pcieep_cfg040_s cn52xx
;
788 struct cvmx_pcieep_cfg040_s cn52xxp1
;
789 struct cvmx_pcieep_cfg040_s cn56xx
;
790 struct cvmx_pcieep_cfg040_s cn56xxp1
;
793 union cvmx_pcieep_cfg041
{
795 struct cvmx_pcieep_cfg041_s
{
796 uint32_t reserved_0_31
:32;
798 struct cvmx_pcieep_cfg041_s cn52xx
;
799 struct cvmx_pcieep_cfg041_s cn52xxp1
;
800 struct cvmx_pcieep_cfg041_s cn56xx
;
801 struct cvmx_pcieep_cfg041_s cn56xxp1
;
804 union cvmx_pcieep_cfg042
{
806 struct cvmx_pcieep_cfg042_s
{
807 uint32_t reserved_0_31
:32;
809 struct cvmx_pcieep_cfg042_s cn52xx
;
810 struct cvmx_pcieep_cfg042_s cn52xxp1
;
811 struct cvmx_pcieep_cfg042_s cn56xx
;
812 struct cvmx_pcieep_cfg042_s cn56xxp1
;
815 union cvmx_pcieep_cfg064
{
817 struct cvmx_pcieep_cfg064_s
{
822 struct cvmx_pcieep_cfg064_s cn52xx
;
823 struct cvmx_pcieep_cfg064_s cn52xxp1
;
824 struct cvmx_pcieep_cfg064_s cn56xx
;
825 struct cvmx_pcieep_cfg064_s cn56xxp1
;
828 union cvmx_pcieep_cfg065
{
830 struct cvmx_pcieep_cfg065_s
{
831 uint32_t reserved_21_31
:11;
841 uint32_t reserved_6_11
:6;
844 uint32_t reserved_0_3
:4;
846 struct cvmx_pcieep_cfg065_s cn52xx
;
847 struct cvmx_pcieep_cfg065_s cn52xxp1
;
848 struct cvmx_pcieep_cfg065_s cn56xx
;
849 struct cvmx_pcieep_cfg065_s cn56xxp1
;
852 union cvmx_pcieep_cfg066
{
854 struct cvmx_pcieep_cfg066_s
{
855 uint32_t reserved_21_31
:11;
865 uint32_t reserved_6_11
:6;
868 uint32_t reserved_0_3
:4;
870 struct cvmx_pcieep_cfg066_s cn52xx
;
871 struct cvmx_pcieep_cfg066_s cn52xxp1
;
872 struct cvmx_pcieep_cfg066_s cn56xx
;
873 struct cvmx_pcieep_cfg066_s cn56xxp1
;
876 union cvmx_pcieep_cfg067
{
878 struct cvmx_pcieep_cfg067_s
{
879 uint32_t reserved_21_31
:11;
889 uint32_t reserved_6_11
:6;
892 uint32_t reserved_0_3
:4;
894 struct cvmx_pcieep_cfg067_s cn52xx
;
895 struct cvmx_pcieep_cfg067_s cn52xxp1
;
896 struct cvmx_pcieep_cfg067_s cn56xx
;
897 struct cvmx_pcieep_cfg067_s cn56xxp1
;
900 union cvmx_pcieep_cfg068
{
902 struct cvmx_pcieep_cfg068_s
{
903 uint32_t reserved_14_31
:18;
906 uint32_t reserved_9_11
:3;
910 uint32_t reserved_1_5
:5;
913 struct cvmx_pcieep_cfg068_s cn52xx
;
914 struct cvmx_pcieep_cfg068_s cn52xxp1
;
915 struct cvmx_pcieep_cfg068_s cn56xx
;
916 struct cvmx_pcieep_cfg068_s cn56xxp1
;
919 union cvmx_pcieep_cfg069
{
921 struct cvmx_pcieep_cfg069_s
{
922 uint32_t reserved_14_31
:18;
925 uint32_t reserved_9_11
:3;
929 uint32_t reserved_1_5
:5;
932 struct cvmx_pcieep_cfg069_s cn52xx
;
933 struct cvmx_pcieep_cfg069_s cn52xxp1
;
934 struct cvmx_pcieep_cfg069_s cn56xx
;
935 struct cvmx_pcieep_cfg069_s cn56xxp1
;
938 union cvmx_pcieep_cfg070
{
940 struct cvmx_pcieep_cfg070_s
{
941 uint32_t reserved_9_31
:23;
948 struct cvmx_pcieep_cfg070_s cn52xx
;
949 struct cvmx_pcieep_cfg070_s cn52xxp1
;
950 struct cvmx_pcieep_cfg070_s cn56xx
;
951 struct cvmx_pcieep_cfg070_s cn56xxp1
;
954 union cvmx_pcieep_cfg071
{
956 struct cvmx_pcieep_cfg071_s
{
959 struct cvmx_pcieep_cfg071_s cn52xx
;
960 struct cvmx_pcieep_cfg071_s cn52xxp1
;
961 struct cvmx_pcieep_cfg071_s cn56xx
;
962 struct cvmx_pcieep_cfg071_s cn56xxp1
;
965 union cvmx_pcieep_cfg072
{
967 struct cvmx_pcieep_cfg072_s
{
970 struct cvmx_pcieep_cfg072_s cn52xx
;
971 struct cvmx_pcieep_cfg072_s cn52xxp1
;
972 struct cvmx_pcieep_cfg072_s cn56xx
;
973 struct cvmx_pcieep_cfg072_s cn56xxp1
;
976 union cvmx_pcieep_cfg073
{
978 struct cvmx_pcieep_cfg073_s
{
981 struct cvmx_pcieep_cfg073_s cn52xx
;
982 struct cvmx_pcieep_cfg073_s cn52xxp1
;
983 struct cvmx_pcieep_cfg073_s cn56xx
;
984 struct cvmx_pcieep_cfg073_s cn56xxp1
;
987 union cvmx_pcieep_cfg074
{
989 struct cvmx_pcieep_cfg074_s
{
992 struct cvmx_pcieep_cfg074_s cn52xx
;
993 struct cvmx_pcieep_cfg074_s cn52xxp1
;
994 struct cvmx_pcieep_cfg074_s cn56xx
;
995 struct cvmx_pcieep_cfg074_s cn56xxp1
;
998 union cvmx_pcieep_cfg448
{
1000 struct cvmx_pcieep_cfg448_s
{
1004 struct cvmx_pcieep_cfg448_s cn52xx
;
1005 struct cvmx_pcieep_cfg448_s cn52xxp1
;
1006 struct cvmx_pcieep_cfg448_s cn56xx
;
1007 struct cvmx_pcieep_cfg448_s cn56xxp1
;
1010 union cvmx_pcieep_cfg449
{
1012 struct cvmx_pcieep_cfg449_s
{
1015 struct cvmx_pcieep_cfg449_s cn52xx
;
1016 struct cvmx_pcieep_cfg449_s cn52xxp1
;
1017 struct cvmx_pcieep_cfg449_s cn56xx
;
1018 struct cvmx_pcieep_cfg449_s cn56xxp1
;
1021 union cvmx_pcieep_cfg450
{
1023 struct cvmx_pcieep_cfg450_s
{
1025 uint32_t reserved_22_23
:2;
1026 uint32_t link_state
:6;
1027 uint32_t force_link
:1;
1028 uint32_t reserved_8_14
:7;
1029 uint32_t link_num
:8;
1031 struct cvmx_pcieep_cfg450_s cn52xx
;
1032 struct cvmx_pcieep_cfg450_s cn52xxp1
;
1033 struct cvmx_pcieep_cfg450_s cn56xx
;
1034 struct cvmx_pcieep_cfg450_s cn56xxp1
;
1037 union cvmx_pcieep_cfg451
{
1039 struct cvmx_pcieep_cfg451_s
{
1040 uint32_t reserved_30_31
:2;
1043 uint32_t n_fts_cc
:8;
1045 uint32_t ack_freq
:8;
1047 struct cvmx_pcieep_cfg451_s cn52xx
;
1048 struct cvmx_pcieep_cfg451_s cn52xxp1
;
1049 struct cvmx_pcieep_cfg451_s cn56xx
;
1050 struct cvmx_pcieep_cfg451_s cn56xxp1
;
1053 union cvmx_pcieep_cfg452
{
1055 struct cvmx_pcieep_cfg452_s
{
1056 uint32_t reserved_26_31
:6;
1058 uint32_t reserved_22_24
:3;
1060 uint32_t reserved_8_15
:8;
1062 uint32_t reserved_6_6
:1;
1064 uint32_t reserved_4_4
:1;
1070 struct cvmx_pcieep_cfg452_s cn52xx
;
1071 struct cvmx_pcieep_cfg452_s cn52xxp1
;
1072 struct cvmx_pcieep_cfg452_s cn56xx
;
1073 struct cvmx_pcieep_cfg452_s cn56xxp1
;
1076 union cvmx_pcieep_cfg453
{
1078 struct cvmx_pcieep_cfg453_s
{
1080 uint32_t reserved_26_30
:5;
1085 struct cvmx_pcieep_cfg453_s cn52xx
;
1086 struct cvmx_pcieep_cfg453_s cn52xxp1
;
1087 struct cvmx_pcieep_cfg453_s cn56xx
;
1088 struct cvmx_pcieep_cfg453_s cn56xxp1
;
1091 union cvmx_pcieep_cfg454
{
1093 struct cvmx_pcieep_cfg454_s
{
1094 uint32_t reserved_29_31
:3;
1098 uint32_t reserved_11_13
:3;
1100 uint32_t reserved_4_7
:4;
1103 struct cvmx_pcieep_cfg454_s cn52xx
;
1104 struct cvmx_pcieep_cfg454_s cn52xxp1
;
1105 struct cvmx_pcieep_cfg454_s cn56xx
;
1106 struct cvmx_pcieep_cfg454_s cn56xxp1
;
1109 union cvmx_pcieep_cfg455
{
1111 struct cvmx_pcieep_cfg455_s
{
1112 uint32_t m_cfg0_filt
:1;
1113 uint32_t m_io_filt
:1;
1114 uint32_t msg_ctrl
:1;
1115 uint32_t m_cpl_ecrc_filt
:1;
1116 uint32_t m_ecrc_filt
:1;
1117 uint32_t m_cpl_len_err
:1;
1118 uint32_t m_cpl_attr_err
:1;
1119 uint32_t m_cpl_tc_err
:1;
1120 uint32_t m_cpl_fun_err
:1;
1121 uint32_t m_cpl_rid_err
:1;
1122 uint32_t m_cpl_tag_err
:1;
1123 uint32_t m_lk_filt
:1;
1124 uint32_t m_cfg1_filt
:1;
1125 uint32_t m_bar_match
:1;
1126 uint32_t m_pois_filt
:1;
1129 uint32_t reserved_11_14
:4;
1132 struct cvmx_pcieep_cfg455_s cn52xx
;
1133 struct cvmx_pcieep_cfg455_s cn52xxp1
;
1134 struct cvmx_pcieep_cfg455_s cn56xx
;
1135 struct cvmx_pcieep_cfg455_s cn56xxp1
;
1138 union cvmx_pcieep_cfg456
{
1140 struct cvmx_pcieep_cfg456_s
{
1141 uint32_t reserved_2_31
:30;
1142 uint32_t m_vend1_drp
:1;
1143 uint32_t m_vend0_drp
:1;
1145 struct cvmx_pcieep_cfg456_s cn52xx
;
1146 struct cvmx_pcieep_cfg456_s cn52xxp1
;
1147 struct cvmx_pcieep_cfg456_s cn56xx
;
1148 struct cvmx_pcieep_cfg456_s cn56xxp1
;
1151 union cvmx_pcieep_cfg458
{
1153 struct cvmx_pcieep_cfg458_s
{
1154 uint32_t dbg_info_l32
:32;
1156 struct cvmx_pcieep_cfg458_s cn52xx
;
1157 struct cvmx_pcieep_cfg458_s cn52xxp1
;
1158 struct cvmx_pcieep_cfg458_s cn56xx
;
1159 struct cvmx_pcieep_cfg458_s cn56xxp1
;
1162 union cvmx_pcieep_cfg459
{
1164 struct cvmx_pcieep_cfg459_s
{
1165 uint32_t dbg_info_u32
:32;
1167 struct cvmx_pcieep_cfg459_s cn52xx
;
1168 struct cvmx_pcieep_cfg459_s cn52xxp1
;
1169 struct cvmx_pcieep_cfg459_s cn56xx
;
1170 struct cvmx_pcieep_cfg459_s cn56xxp1
;
1173 union cvmx_pcieep_cfg460
{
1175 struct cvmx_pcieep_cfg460_s
{
1176 uint32_t reserved_20_31
:12;
1180 struct cvmx_pcieep_cfg460_s cn52xx
;
1181 struct cvmx_pcieep_cfg460_s cn52xxp1
;
1182 struct cvmx_pcieep_cfg460_s cn56xx
;
1183 struct cvmx_pcieep_cfg460_s cn56xxp1
;
1186 union cvmx_pcieep_cfg461
{
1188 struct cvmx_pcieep_cfg461_s
{
1189 uint32_t reserved_20_31
:12;
1193 struct cvmx_pcieep_cfg461_s cn52xx
;
1194 struct cvmx_pcieep_cfg461_s cn52xxp1
;
1195 struct cvmx_pcieep_cfg461_s cn56xx
;
1196 struct cvmx_pcieep_cfg461_s cn56xxp1
;
1199 union cvmx_pcieep_cfg462
{
1201 struct cvmx_pcieep_cfg462_s
{
1202 uint32_t reserved_20_31
:12;
1206 struct cvmx_pcieep_cfg462_s cn52xx
;
1207 struct cvmx_pcieep_cfg462_s cn52xxp1
;
1208 struct cvmx_pcieep_cfg462_s cn56xx
;
1209 struct cvmx_pcieep_cfg462_s cn56xxp1
;
1212 union cvmx_pcieep_cfg463
{
1214 struct cvmx_pcieep_cfg463_s
{
1215 uint32_t reserved_3_31
:29;
1218 uint32_t rtlpfccnr
:1;
1220 struct cvmx_pcieep_cfg463_s cn52xx
;
1221 struct cvmx_pcieep_cfg463_s cn52xxp1
;
1222 struct cvmx_pcieep_cfg463_s cn56xx
;
1223 struct cvmx_pcieep_cfg463_s cn56xxp1
;
1226 union cvmx_pcieep_cfg464
{
1228 struct cvmx_pcieep_cfg464_s
{
1234 struct cvmx_pcieep_cfg464_s cn52xx
;
1235 struct cvmx_pcieep_cfg464_s cn52xxp1
;
1236 struct cvmx_pcieep_cfg464_s cn56xx
;
1237 struct cvmx_pcieep_cfg464_s cn56xxp1
;
1240 union cvmx_pcieep_cfg465
{
1242 struct cvmx_pcieep_cfg465_s
{
1248 struct cvmx_pcieep_cfg465_s cn52xx
;
1249 struct cvmx_pcieep_cfg465_s cn52xxp1
;
1250 struct cvmx_pcieep_cfg465_s cn56xx
;
1251 struct cvmx_pcieep_cfg465_s cn56xxp1
;
1254 union cvmx_pcieep_cfg466
{
1256 struct cvmx_pcieep_cfg466_s
{
1257 uint32_t rx_queue_order
:1;
1258 uint32_t type_ordering
:1;
1259 uint32_t reserved_24_29
:6;
1260 uint32_t queue_mode
:3;
1261 uint32_t reserved_20_20
:1;
1262 uint32_t header_credits
:8;
1263 uint32_t data_credits
:12;
1265 struct cvmx_pcieep_cfg466_s cn52xx
;
1266 struct cvmx_pcieep_cfg466_s cn52xxp1
;
1267 struct cvmx_pcieep_cfg466_s cn56xx
;
1268 struct cvmx_pcieep_cfg466_s cn56xxp1
;
1271 union cvmx_pcieep_cfg467
{
1273 struct cvmx_pcieep_cfg467_s
{
1274 uint32_t reserved_24_31
:8;
1275 uint32_t queue_mode
:3;
1276 uint32_t reserved_20_20
:1;
1277 uint32_t header_credits
:8;
1278 uint32_t data_credits
:12;
1280 struct cvmx_pcieep_cfg467_s cn52xx
;
1281 struct cvmx_pcieep_cfg467_s cn52xxp1
;
1282 struct cvmx_pcieep_cfg467_s cn56xx
;
1283 struct cvmx_pcieep_cfg467_s cn56xxp1
;
1286 union cvmx_pcieep_cfg468
{
1288 struct cvmx_pcieep_cfg468_s
{
1289 uint32_t reserved_24_31
:8;
1290 uint32_t queue_mode
:3;
1291 uint32_t reserved_20_20
:1;
1292 uint32_t header_credits
:8;
1293 uint32_t data_credits
:12;
1295 struct cvmx_pcieep_cfg468_s cn52xx
;
1296 struct cvmx_pcieep_cfg468_s cn52xxp1
;
1297 struct cvmx_pcieep_cfg468_s cn56xx
;
1298 struct cvmx_pcieep_cfg468_s cn56xxp1
;
1301 union cvmx_pcieep_cfg490
{
1303 struct cvmx_pcieep_cfg490_s
{
1304 uint32_t reserved_26_31
:6;
1305 uint32_t header_depth
:10;
1306 uint32_t reserved_14_15
:2;
1307 uint32_t data_depth
:14;
1309 struct cvmx_pcieep_cfg490_s cn52xx
;
1310 struct cvmx_pcieep_cfg490_s cn52xxp1
;
1311 struct cvmx_pcieep_cfg490_s cn56xx
;
1312 struct cvmx_pcieep_cfg490_s cn56xxp1
;
1315 union cvmx_pcieep_cfg491
{
1317 struct cvmx_pcieep_cfg491_s
{
1318 uint32_t reserved_26_31
:6;
1319 uint32_t header_depth
:10;
1320 uint32_t reserved_14_15
:2;
1321 uint32_t data_depth
:14;
1323 struct cvmx_pcieep_cfg491_s cn52xx
;
1324 struct cvmx_pcieep_cfg491_s cn52xxp1
;
1325 struct cvmx_pcieep_cfg491_s cn56xx
;
1326 struct cvmx_pcieep_cfg491_s cn56xxp1
;
1329 union cvmx_pcieep_cfg492
{
1331 struct cvmx_pcieep_cfg492_s
{
1332 uint32_t reserved_26_31
:6;
1333 uint32_t header_depth
:10;
1334 uint32_t reserved_14_15
:2;
1335 uint32_t data_depth
:14;
1337 struct cvmx_pcieep_cfg492_s cn52xx
;
1338 struct cvmx_pcieep_cfg492_s cn52xxp1
;
1339 struct cvmx_pcieep_cfg492_s cn56xx
;
1340 struct cvmx_pcieep_cfg492_s cn56xxp1
;
1343 union cvmx_pcieep_cfg516
{
1345 struct cvmx_pcieep_cfg516_s
{
1346 uint32_t phy_stat
:32;
1348 struct cvmx_pcieep_cfg516_s cn52xx
;
1349 struct cvmx_pcieep_cfg516_s cn52xxp1
;
1350 struct cvmx_pcieep_cfg516_s cn56xx
;
1351 struct cvmx_pcieep_cfg516_s cn56xxp1
;
1354 union cvmx_pcieep_cfg517
{
1356 struct cvmx_pcieep_cfg517_s
{
1357 uint32_t phy_ctrl
:32;
1359 struct cvmx_pcieep_cfg517_s cn52xx
;
1360 struct cvmx_pcieep_cfg517_s cn52xxp1
;
1361 struct cvmx_pcieep_cfg517_s cn56xx
;
1362 struct cvmx_pcieep_cfg517_s cn56xxp1
;