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-2012 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_PCI_DEFS_H__
29 #define __CVMX_PCI_DEFS_H__
31 #define CVMX_PCI_BAR1_INDEXX(offset) (0x0000000000000100ull + ((offset) & 31) * 4)
32 #define CVMX_PCI_BIST_REG (0x00000000000001C0ull)
33 #define CVMX_PCI_CFG00 (0x0000000000000000ull)
34 #define CVMX_PCI_CFG01 (0x0000000000000004ull)
35 #define CVMX_PCI_CFG02 (0x0000000000000008ull)
36 #define CVMX_PCI_CFG03 (0x000000000000000Cull)
37 #define CVMX_PCI_CFG04 (0x0000000000000010ull)
38 #define CVMX_PCI_CFG05 (0x0000000000000014ull)
39 #define CVMX_PCI_CFG06 (0x0000000000000018ull)
40 #define CVMX_PCI_CFG07 (0x000000000000001Cull)
41 #define CVMX_PCI_CFG08 (0x0000000000000020ull)
42 #define CVMX_PCI_CFG09 (0x0000000000000024ull)
43 #define CVMX_PCI_CFG10 (0x0000000000000028ull)
44 #define CVMX_PCI_CFG11 (0x000000000000002Cull)
45 #define CVMX_PCI_CFG12 (0x0000000000000030ull)
46 #define CVMX_PCI_CFG13 (0x0000000000000034ull)
47 #define CVMX_PCI_CFG15 (0x000000000000003Cull)
48 #define CVMX_PCI_CFG16 (0x0000000000000040ull)
49 #define CVMX_PCI_CFG17 (0x0000000000000044ull)
50 #define CVMX_PCI_CFG18 (0x0000000000000048ull)
51 #define CVMX_PCI_CFG19 (0x000000000000004Cull)
52 #define CVMX_PCI_CFG20 (0x0000000000000050ull)
53 #define CVMX_PCI_CFG21 (0x0000000000000054ull)
54 #define CVMX_PCI_CFG22 (0x0000000000000058ull)
55 #define CVMX_PCI_CFG56 (0x00000000000000E0ull)
56 #define CVMX_PCI_CFG57 (0x00000000000000E4ull)
57 #define CVMX_PCI_CFG58 (0x00000000000000E8ull)
58 #define CVMX_PCI_CFG59 (0x00000000000000ECull)
59 #define CVMX_PCI_CFG60 (0x00000000000000F0ull)
60 #define CVMX_PCI_CFG61 (0x00000000000000F4ull)
61 #define CVMX_PCI_CFG62 (0x00000000000000F8ull)
62 #define CVMX_PCI_CFG63 (0x00000000000000FCull)
63 #define CVMX_PCI_CNT_REG (0x00000000000001B8ull)
64 #define CVMX_PCI_CTL_STATUS_2 (0x000000000000018Cull)
65 #define CVMX_PCI_DBELL_X(offset) (0x0000000000000080ull + ((offset) & 3) * 8)
66 #define CVMX_PCI_DMA_CNT0 CVMX_PCI_DMA_CNTX(0)
67 #define CVMX_PCI_DMA_CNT1 CVMX_PCI_DMA_CNTX(1)
68 #define CVMX_PCI_DMA_CNTX(offset) (0x00000000000000A0ull + ((offset) & 1) * 8)
69 #define CVMX_PCI_DMA_INT_LEV0 CVMX_PCI_DMA_INT_LEVX(0)
70 #define CVMX_PCI_DMA_INT_LEV1 CVMX_PCI_DMA_INT_LEVX(1)
71 #define CVMX_PCI_DMA_INT_LEVX(offset) (0x00000000000000A4ull + ((offset) & 1) * 8)
72 #define CVMX_PCI_DMA_TIME0 CVMX_PCI_DMA_TIMEX(0)
73 #define CVMX_PCI_DMA_TIME1 CVMX_PCI_DMA_TIMEX(1)
74 #define CVMX_PCI_DMA_TIMEX(offset) (0x00000000000000B0ull + ((offset) & 1) * 4)
75 #define CVMX_PCI_INSTR_COUNT0 CVMX_PCI_INSTR_COUNTX(0)
76 #define CVMX_PCI_INSTR_COUNT1 CVMX_PCI_INSTR_COUNTX(1)
77 #define CVMX_PCI_INSTR_COUNT2 CVMX_PCI_INSTR_COUNTX(2)
78 #define CVMX_PCI_INSTR_COUNT3 CVMX_PCI_INSTR_COUNTX(3)
79 #define CVMX_PCI_INSTR_COUNTX(offset) (0x0000000000000084ull + ((offset) & 3) * 8)
80 #define CVMX_PCI_INT_ENB (0x0000000000000038ull)
81 #define CVMX_PCI_INT_ENB2 (0x00000000000001A0ull)
82 #define CVMX_PCI_INT_SUM (0x0000000000000030ull)
83 #define CVMX_PCI_INT_SUM2 (0x0000000000000198ull)
84 #define CVMX_PCI_MSI_RCV (0x00000000000000F0ull)
85 #define CVMX_PCI_PKTS_SENT0 CVMX_PCI_PKTS_SENTX(0)
86 #define CVMX_PCI_PKTS_SENT1 CVMX_PCI_PKTS_SENTX(1)
87 #define CVMX_PCI_PKTS_SENT2 CVMX_PCI_PKTS_SENTX(2)
88 #define CVMX_PCI_PKTS_SENT3 CVMX_PCI_PKTS_SENTX(3)
89 #define CVMX_PCI_PKTS_SENTX(offset) (0x0000000000000040ull + ((offset) & 3) * 16)
90 #define CVMX_PCI_PKTS_SENT_INT_LEV0 CVMX_PCI_PKTS_SENT_INT_LEVX(0)
91 #define CVMX_PCI_PKTS_SENT_INT_LEV1 CVMX_PCI_PKTS_SENT_INT_LEVX(1)
92 #define CVMX_PCI_PKTS_SENT_INT_LEV2 CVMX_PCI_PKTS_SENT_INT_LEVX(2)
93 #define CVMX_PCI_PKTS_SENT_INT_LEV3 CVMX_PCI_PKTS_SENT_INT_LEVX(3)
94 #define CVMX_PCI_PKTS_SENT_INT_LEVX(offset) (0x0000000000000048ull + ((offset) & 3) * 16)
95 #define CVMX_PCI_PKTS_SENT_TIME0 CVMX_PCI_PKTS_SENT_TIMEX(0)
96 #define CVMX_PCI_PKTS_SENT_TIME1 CVMX_PCI_PKTS_SENT_TIMEX(1)
97 #define CVMX_PCI_PKTS_SENT_TIME2 CVMX_PCI_PKTS_SENT_TIMEX(2)
98 #define CVMX_PCI_PKTS_SENT_TIME3 CVMX_PCI_PKTS_SENT_TIMEX(3)
99 #define CVMX_PCI_PKTS_SENT_TIMEX(offset) (0x000000000000004Cull + ((offset) & 3) * 16)
100 #define CVMX_PCI_PKT_CREDITS0 CVMX_PCI_PKT_CREDITSX(0)
101 #define CVMX_PCI_PKT_CREDITS1 CVMX_PCI_PKT_CREDITSX(1)
102 #define CVMX_PCI_PKT_CREDITS2 CVMX_PCI_PKT_CREDITSX(2)
103 #define CVMX_PCI_PKT_CREDITS3 CVMX_PCI_PKT_CREDITSX(3)
104 #define CVMX_PCI_PKT_CREDITSX(offset) (0x0000000000000044ull + ((offset) & 3) * 16)
105 #define CVMX_PCI_READ_CMD_6 (0x0000000000000180ull)
106 #define CVMX_PCI_READ_CMD_C (0x0000000000000184ull)
107 #define CVMX_PCI_READ_CMD_E (0x0000000000000188ull)
108 #define CVMX_PCI_READ_TIMEOUT (CVMX_ADD_IO_SEG(0x00011F00000000B0ull))
109 #define CVMX_PCI_SCM_REG (0x00000000000001A8ull)
110 #define CVMX_PCI_TSR_REG (0x00000000000001B0ull)
111 #define CVMX_PCI_WIN_RD_ADDR (0x0000000000000008ull)
112 #define CVMX_PCI_WIN_RD_DATA (0x0000000000000020ull)
113 #define CVMX_PCI_WIN_WR_ADDR (0x0000000000000000ull)
114 #define CVMX_PCI_WIN_WR_DATA (0x0000000000000010ull)
115 #define CVMX_PCI_WIN_WR_MASK (0x0000000000000018ull)
117 union cvmx_pci_bar1_indexx
{
119 struct cvmx_pci_bar1_indexx_s
{
120 #ifdef __BIG_ENDIAN_BITFIELD
121 uint32_t reserved_18_31
:14;
122 uint32_t addr_idx
:14;
130 uint32_t addr_idx
:14;
131 uint32_t reserved_18_31
:14;
134 struct cvmx_pci_bar1_indexx_s cn30xx
;
135 struct cvmx_pci_bar1_indexx_s cn31xx
;
136 struct cvmx_pci_bar1_indexx_s cn38xx
;
137 struct cvmx_pci_bar1_indexx_s cn38xxp2
;
138 struct cvmx_pci_bar1_indexx_s cn50xx
;
139 struct cvmx_pci_bar1_indexx_s cn58xx
;
140 struct cvmx_pci_bar1_indexx_s cn58xxp1
;
143 union cvmx_pci_bist_reg
{
145 struct cvmx_pci_bist_reg_s
{
146 #ifdef __BIG_ENDIAN_BITFIELD
147 uint64_t reserved_10_63
:54;
169 uint64_t reserved_10_63
:54;
172 struct cvmx_pci_bist_reg_s cn50xx
;
175 union cvmx_pci_cfg00
{
177 struct cvmx_pci_cfg00_s
{
178 #ifdef __BIG_ENDIAN_BITFIELD
186 struct cvmx_pci_cfg00_s cn30xx
;
187 struct cvmx_pci_cfg00_s cn31xx
;
188 struct cvmx_pci_cfg00_s cn38xx
;
189 struct cvmx_pci_cfg00_s cn38xxp2
;
190 struct cvmx_pci_cfg00_s cn50xx
;
191 struct cvmx_pci_cfg00_s cn58xx
;
192 struct cvmx_pci_cfg00_s cn58xxp1
;
195 union cvmx_pci_cfg01
{
197 struct cvmx_pci_cfg01_s
{
198 #ifdef __BIG_ENDIAN_BITFIELD
207 uint32_t reserved_22_22
:1;
211 uint32_t reserved_11_18
:8;
235 uint32_t reserved_11_18
:8;
239 uint32_t reserved_22_22
:1;
250 struct cvmx_pci_cfg01_s cn30xx
;
251 struct cvmx_pci_cfg01_s cn31xx
;
252 struct cvmx_pci_cfg01_s cn38xx
;
253 struct cvmx_pci_cfg01_s cn38xxp2
;
254 struct cvmx_pci_cfg01_s cn50xx
;
255 struct cvmx_pci_cfg01_s cn58xx
;
256 struct cvmx_pci_cfg01_s cn58xxp1
;
259 union cvmx_pci_cfg02
{
261 struct cvmx_pci_cfg02_s
{
262 #ifdef __BIG_ENDIAN_BITFIELD
270 struct cvmx_pci_cfg02_s cn30xx
;
271 struct cvmx_pci_cfg02_s cn31xx
;
272 struct cvmx_pci_cfg02_s cn38xx
;
273 struct cvmx_pci_cfg02_s cn38xxp2
;
274 struct cvmx_pci_cfg02_s cn50xx
;
275 struct cvmx_pci_cfg02_s cn58xx
;
276 struct cvmx_pci_cfg02_s cn58xxp1
;
279 union cvmx_pci_cfg03
{
281 struct cvmx_pci_cfg03_s
{
282 #ifdef __BIG_ENDIAN_BITFIELD
285 uint32_t reserved_28_29
:2;
295 uint32_t reserved_28_29
:2;
300 struct cvmx_pci_cfg03_s cn30xx
;
301 struct cvmx_pci_cfg03_s cn31xx
;
302 struct cvmx_pci_cfg03_s cn38xx
;
303 struct cvmx_pci_cfg03_s cn38xxp2
;
304 struct cvmx_pci_cfg03_s cn50xx
;
305 struct cvmx_pci_cfg03_s cn58xx
;
306 struct cvmx_pci_cfg03_s cn58xxp1
;
309 union cvmx_pci_cfg04
{
311 struct cvmx_pci_cfg04_s
{
312 #ifdef __BIG_ENDIAN_BITFIELD
326 struct cvmx_pci_cfg04_s cn30xx
;
327 struct cvmx_pci_cfg04_s cn31xx
;
328 struct cvmx_pci_cfg04_s cn38xx
;
329 struct cvmx_pci_cfg04_s cn38xxp2
;
330 struct cvmx_pci_cfg04_s cn50xx
;
331 struct cvmx_pci_cfg04_s cn58xx
;
332 struct cvmx_pci_cfg04_s cn58xxp1
;
335 union cvmx_pci_cfg05
{
337 struct cvmx_pci_cfg05_s
{
338 #ifdef __BIG_ENDIAN_BITFIELD
344 struct cvmx_pci_cfg05_s cn30xx
;
345 struct cvmx_pci_cfg05_s cn31xx
;
346 struct cvmx_pci_cfg05_s cn38xx
;
347 struct cvmx_pci_cfg05_s cn38xxp2
;
348 struct cvmx_pci_cfg05_s cn50xx
;
349 struct cvmx_pci_cfg05_s cn58xx
;
350 struct cvmx_pci_cfg05_s cn58xxp1
;
353 union cvmx_pci_cfg06
{
355 struct cvmx_pci_cfg06_s
{
356 #ifdef __BIG_ENDIAN_BITFIELD
370 struct cvmx_pci_cfg06_s cn30xx
;
371 struct cvmx_pci_cfg06_s cn31xx
;
372 struct cvmx_pci_cfg06_s cn38xx
;
373 struct cvmx_pci_cfg06_s cn38xxp2
;
374 struct cvmx_pci_cfg06_s cn50xx
;
375 struct cvmx_pci_cfg06_s cn58xx
;
376 struct cvmx_pci_cfg06_s cn58xxp1
;
379 union cvmx_pci_cfg07
{
381 struct cvmx_pci_cfg07_s
{
382 #ifdef __BIG_ENDIAN_BITFIELD
388 struct cvmx_pci_cfg07_s cn30xx
;
389 struct cvmx_pci_cfg07_s cn31xx
;
390 struct cvmx_pci_cfg07_s cn38xx
;
391 struct cvmx_pci_cfg07_s cn38xxp2
;
392 struct cvmx_pci_cfg07_s cn50xx
;
393 struct cvmx_pci_cfg07_s cn58xx
;
394 struct cvmx_pci_cfg07_s cn58xxp1
;
397 union cvmx_pci_cfg08
{
399 struct cvmx_pci_cfg08_s
{
400 #ifdef __BIG_ENDIAN_BITFIELD
412 struct cvmx_pci_cfg08_s cn30xx
;
413 struct cvmx_pci_cfg08_s cn31xx
;
414 struct cvmx_pci_cfg08_s cn38xx
;
415 struct cvmx_pci_cfg08_s cn38xxp2
;
416 struct cvmx_pci_cfg08_s cn50xx
;
417 struct cvmx_pci_cfg08_s cn58xx
;
418 struct cvmx_pci_cfg08_s cn58xxp1
;
421 union cvmx_pci_cfg09
{
423 struct cvmx_pci_cfg09_s
{
424 #ifdef __BIG_ENDIAN_BITFIELD
432 struct cvmx_pci_cfg09_s cn30xx
;
433 struct cvmx_pci_cfg09_s cn31xx
;
434 struct cvmx_pci_cfg09_s cn38xx
;
435 struct cvmx_pci_cfg09_s cn38xxp2
;
436 struct cvmx_pci_cfg09_s cn50xx
;
437 struct cvmx_pci_cfg09_s cn58xx
;
438 struct cvmx_pci_cfg09_s cn58xxp1
;
441 union cvmx_pci_cfg10
{
443 struct cvmx_pci_cfg10_s
{
444 #ifdef __BIG_ENDIAN_BITFIELD
450 struct cvmx_pci_cfg10_s cn30xx
;
451 struct cvmx_pci_cfg10_s cn31xx
;
452 struct cvmx_pci_cfg10_s cn38xx
;
453 struct cvmx_pci_cfg10_s cn38xxp2
;
454 struct cvmx_pci_cfg10_s cn50xx
;
455 struct cvmx_pci_cfg10_s cn58xx
;
456 struct cvmx_pci_cfg10_s cn58xxp1
;
459 union cvmx_pci_cfg11
{
461 struct cvmx_pci_cfg11_s
{
462 #ifdef __BIG_ENDIAN_BITFIELD
470 struct cvmx_pci_cfg11_s cn30xx
;
471 struct cvmx_pci_cfg11_s cn31xx
;
472 struct cvmx_pci_cfg11_s cn38xx
;
473 struct cvmx_pci_cfg11_s cn38xxp2
;
474 struct cvmx_pci_cfg11_s cn50xx
;
475 struct cvmx_pci_cfg11_s cn58xx
;
476 struct cvmx_pci_cfg11_s cn58xxp1
;
479 union cvmx_pci_cfg12
{
481 struct cvmx_pci_cfg12_s
{
482 #ifdef __BIG_ENDIAN_BITFIELD
485 uint32_t reserved_1_10
:10;
489 uint32_t reserved_1_10
:10;
494 struct cvmx_pci_cfg12_s cn30xx
;
495 struct cvmx_pci_cfg12_s cn31xx
;
496 struct cvmx_pci_cfg12_s cn38xx
;
497 struct cvmx_pci_cfg12_s cn38xxp2
;
498 struct cvmx_pci_cfg12_s cn50xx
;
499 struct cvmx_pci_cfg12_s cn58xx
;
500 struct cvmx_pci_cfg12_s cn58xxp1
;
503 union cvmx_pci_cfg13
{
505 struct cvmx_pci_cfg13_s
{
506 #ifdef __BIG_ENDIAN_BITFIELD
507 uint32_t reserved_8_31
:24;
511 uint32_t reserved_8_31
:24;
514 struct cvmx_pci_cfg13_s cn30xx
;
515 struct cvmx_pci_cfg13_s cn31xx
;
516 struct cvmx_pci_cfg13_s cn38xx
;
517 struct cvmx_pci_cfg13_s cn38xxp2
;
518 struct cvmx_pci_cfg13_s cn50xx
;
519 struct cvmx_pci_cfg13_s cn58xx
;
520 struct cvmx_pci_cfg13_s cn58xxp1
;
523 union cvmx_pci_cfg15
{
525 struct cvmx_pci_cfg15_s
{
526 #ifdef __BIG_ENDIAN_BITFIELD
538 struct cvmx_pci_cfg15_s cn30xx
;
539 struct cvmx_pci_cfg15_s cn31xx
;
540 struct cvmx_pci_cfg15_s cn38xx
;
541 struct cvmx_pci_cfg15_s cn38xxp2
;
542 struct cvmx_pci_cfg15_s cn50xx
;
543 struct cvmx_pci_cfg15_s cn58xx
;
544 struct cvmx_pci_cfg15_s cn58xxp1
;
547 union cvmx_pci_cfg16
{
549 struct cvmx_pci_cfg16_s
{
550 #ifdef __BIG_ENDIAN_BITFIELD
564 uint32_t reserved_2_2
:1;
570 uint32_t reserved_2_2
:1;
586 struct cvmx_pci_cfg16_s cn30xx
;
587 struct cvmx_pci_cfg16_s cn31xx
;
588 struct cvmx_pci_cfg16_s cn38xx
;
589 struct cvmx_pci_cfg16_s cn38xxp2
;
590 struct cvmx_pci_cfg16_s cn50xx
;
591 struct cvmx_pci_cfg16_s cn58xx
;
592 struct cvmx_pci_cfg16_s cn58xxp1
;
595 union cvmx_pci_cfg17
{
597 struct cvmx_pci_cfg17_s
{
598 #ifdef __BIG_ENDIAN_BITFIELD
604 struct cvmx_pci_cfg17_s cn30xx
;
605 struct cvmx_pci_cfg17_s cn31xx
;
606 struct cvmx_pci_cfg17_s cn38xx
;
607 struct cvmx_pci_cfg17_s cn38xxp2
;
608 struct cvmx_pci_cfg17_s cn50xx
;
609 struct cvmx_pci_cfg17_s cn58xx
;
610 struct cvmx_pci_cfg17_s cn58xxp1
;
613 union cvmx_pci_cfg18
{
615 struct cvmx_pci_cfg18_s
{
616 #ifdef __BIG_ENDIAN_BITFIELD
622 struct cvmx_pci_cfg18_s cn30xx
;
623 struct cvmx_pci_cfg18_s cn31xx
;
624 struct cvmx_pci_cfg18_s cn38xx
;
625 struct cvmx_pci_cfg18_s cn38xxp2
;
626 struct cvmx_pci_cfg18_s cn50xx
;
627 struct cvmx_pci_cfg18_s cn58xx
;
628 struct cvmx_pci_cfg18_s cn58xxp1
;
631 union cvmx_pci_cfg19
{
633 struct cvmx_pci_cfg19_s
{
634 #ifdef __BIG_ENDIAN_BITFIELD
647 uint32_t reserved_9_10
:2;
650 uint32_t reserved_6_6
:1;
656 uint32_t reserved_6_6
:1;
659 uint32_t reserved_9_10
:2;
674 struct cvmx_pci_cfg19_s cn30xx
;
675 struct cvmx_pci_cfg19_s cn31xx
;
676 struct cvmx_pci_cfg19_s cn38xx
;
677 struct cvmx_pci_cfg19_s cn38xxp2
;
678 struct cvmx_pci_cfg19_s cn50xx
;
679 struct cvmx_pci_cfg19_s cn58xx
;
680 struct cvmx_pci_cfg19_s cn58xxp1
;
683 union cvmx_pci_cfg20
{
685 struct cvmx_pci_cfg20_s
{
686 #ifdef __BIG_ENDIAN_BITFIELD
692 struct cvmx_pci_cfg20_s cn30xx
;
693 struct cvmx_pci_cfg20_s cn31xx
;
694 struct cvmx_pci_cfg20_s cn38xx
;
695 struct cvmx_pci_cfg20_s cn38xxp2
;
696 struct cvmx_pci_cfg20_s cn50xx
;
697 struct cvmx_pci_cfg20_s cn58xx
;
698 struct cvmx_pci_cfg20_s cn58xxp1
;
701 union cvmx_pci_cfg21
{
703 struct cvmx_pci_cfg21_s
{
704 #ifdef __BIG_ENDIAN_BITFIELD
710 struct cvmx_pci_cfg21_s cn30xx
;
711 struct cvmx_pci_cfg21_s cn31xx
;
712 struct cvmx_pci_cfg21_s cn38xx
;
713 struct cvmx_pci_cfg21_s cn38xxp2
;
714 struct cvmx_pci_cfg21_s cn50xx
;
715 struct cvmx_pci_cfg21_s cn58xx
;
716 struct cvmx_pci_cfg21_s cn58xxp1
;
719 union cvmx_pci_cfg22
{
721 struct cvmx_pci_cfg22_s
{
722 #ifdef __BIG_ENDIAN_BITFIELD
724 uint32_t reserved_19_24
:6;
736 uint32_t reserved_19_24
:6;
740 struct cvmx_pci_cfg22_s cn30xx
;
741 struct cvmx_pci_cfg22_s cn31xx
;
742 struct cvmx_pci_cfg22_s cn38xx
;
743 struct cvmx_pci_cfg22_s cn38xxp2
;
744 struct cvmx_pci_cfg22_s cn50xx
;
745 struct cvmx_pci_cfg22_s cn58xx
;
746 struct cvmx_pci_cfg22_s cn58xxp1
;
749 union cvmx_pci_cfg56
{
751 struct cvmx_pci_cfg56_s
{
752 #ifdef __BIG_ENDIAN_BITFIELD
753 uint32_t reserved_23_31
:9;
767 uint32_t reserved_23_31
:9;
770 struct cvmx_pci_cfg56_s cn30xx
;
771 struct cvmx_pci_cfg56_s cn31xx
;
772 struct cvmx_pci_cfg56_s cn38xx
;
773 struct cvmx_pci_cfg56_s cn38xxp2
;
774 struct cvmx_pci_cfg56_s cn50xx
;
775 struct cvmx_pci_cfg56_s cn58xx
;
776 struct cvmx_pci_cfg56_s cn58xxp1
;
779 union cvmx_pci_cfg57
{
781 struct cvmx_pci_cfg57_s
{
782 #ifdef __BIG_ENDIAN_BITFIELD
783 uint32_t reserved_30_31
:2;
809 uint32_t reserved_30_31
:2;
812 struct cvmx_pci_cfg57_s cn30xx
;
813 struct cvmx_pci_cfg57_s cn31xx
;
814 struct cvmx_pci_cfg57_s cn38xx
;
815 struct cvmx_pci_cfg57_s cn38xxp2
;
816 struct cvmx_pci_cfg57_s cn50xx
;
817 struct cvmx_pci_cfg57_s cn58xx
;
818 struct cvmx_pci_cfg57_s cn58xxp1
;
821 union cvmx_pci_cfg58
{
823 struct cvmx_pci_cfg58_s
{
824 #ifdef __BIG_ENDIAN_BITFIELD
830 uint32_t reserved_20_20
:1;
840 uint32_t reserved_20_20
:1;
848 struct cvmx_pci_cfg58_s cn30xx
;
849 struct cvmx_pci_cfg58_s cn31xx
;
850 struct cvmx_pci_cfg58_s cn38xx
;
851 struct cvmx_pci_cfg58_s cn38xxp2
;
852 struct cvmx_pci_cfg58_s cn50xx
;
853 struct cvmx_pci_cfg58_s cn58xx
;
854 struct cvmx_pci_cfg58_s cn58xxp1
;
857 union cvmx_pci_cfg59
{
859 struct cvmx_pci_cfg59_s
{
860 #ifdef __BIG_ENDIAN_BITFIELD
864 uint32_t reserved_16_21
:6;
869 uint32_t reserved_2_7
:6;
873 uint32_t reserved_2_7
:6;
878 uint32_t reserved_16_21
:6;
884 struct cvmx_pci_cfg59_s cn30xx
;
885 struct cvmx_pci_cfg59_s cn31xx
;
886 struct cvmx_pci_cfg59_s cn38xx
;
887 struct cvmx_pci_cfg59_s cn38xxp2
;
888 struct cvmx_pci_cfg59_s cn50xx
;
889 struct cvmx_pci_cfg59_s cn58xx
;
890 struct cvmx_pci_cfg59_s cn58xxp1
;
893 union cvmx_pci_cfg60
{
895 struct cvmx_pci_cfg60_s
{
896 #ifdef __BIG_ENDIAN_BITFIELD
897 uint32_t reserved_24_31
:8;
911 uint32_t reserved_24_31
:8;
914 struct cvmx_pci_cfg60_s cn30xx
;
915 struct cvmx_pci_cfg60_s cn31xx
;
916 struct cvmx_pci_cfg60_s cn38xx
;
917 struct cvmx_pci_cfg60_s cn38xxp2
;
918 struct cvmx_pci_cfg60_s cn50xx
;
919 struct cvmx_pci_cfg60_s cn58xx
;
920 struct cvmx_pci_cfg60_s cn58xxp1
;
923 union cvmx_pci_cfg61
{
925 struct cvmx_pci_cfg61_s
{
926 #ifdef __BIG_ENDIAN_BITFIELD
928 uint32_t reserved_0_1
:2;
930 uint32_t reserved_0_1
:2;
934 struct cvmx_pci_cfg61_s cn30xx
;
935 struct cvmx_pci_cfg61_s cn31xx
;
936 struct cvmx_pci_cfg61_s cn38xx
;
937 struct cvmx_pci_cfg61_s cn38xxp2
;
938 struct cvmx_pci_cfg61_s cn50xx
;
939 struct cvmx_pci_cfg61_s cn58xx
;
940 struct cvmx_pci_cfg61_s cn58xxp1
;
943 union cvmx_pci_cfg62
{
945 struct cvmx_pci_cfg62_s
{
946 #ifdef __BIG_ENDIAN_BITFIELD
952 struct cvmx_pci_cfg62_s cn30xx
;
953 struct cvmx_pci_cfg62_s cn31xx
;
954 struct cvmx_pci_cfg62_s cn38xx
;
955 struct cvmx_pci_cfg62_s cn38xxp2
;
956 struct cvmx_pci_cfg62_s cn50xx
;
957 struct cvmx_pci_cfg62_s cn58xx
;
958 struct cvmx_pci_cfg62_s cn58xxp1
;
961 union cvmx_pci_cfg63
{
963 struct cvmx_pci_cfg63_s
{
964 #ifdef __BIG_ENDIAN_BITFIELD
965 uint32_t reserved_16_31
:16;
969 uint32_t reserved_16_31
:16;
972 struct cvmx_pci_cfg63_s cn30xx
;
973 struct cvmx_pci_cfg63_s cn31xx
;
974 struct cvmx_pci_cfg63_s cn38xx
;
975 struct cvmx_pci_cfg63_s cn38xxp2
;
976 struct cvmx_pci_cfg63_s cn50xx
;
977 struct cvmx_pci_cfg63_s cn58xx
;
978 struct cvmx_pci_cfg63_s cn58xxp1
;
981 union cvmx_pci_cnt_reg
{
983 struct cvmx_pci_cnt_reg_s
{
984 #ifdef __BIG_ENDIAN_BITFIELD
985 uint64_t reserved_38_63
:26;
997 uint64_t reserved_38_63
:26;
1000 struct cvmx_pci_cnt_reg_s cn50xx
;
1001 struct cvmx_pci_cnt_reg_s cn58xx
;
1002 struct cvmx_pci_cnt_reg_s cn58xxp1
;
1005 union cvmx_pci_ctl_status_2
{
1007 struct cvmx_pci_ctl_status_2_s
{
1008 #ifdef __BIG_ENDIAN_BITFIELD
1009 uint32_t reserved_29_31
:3;
1010 uint32_t bb1_hole
:3;
1017 uint32_t bar2pres
:1;
1020 uint32_t en_wfilt
:1;
1021 uint32_t reserved_14_14
:1;
1024 uint32_t b12_bist
:1;
1025 uint32_t pmo_amod
:1;
1028 uint32_t bar2_enb
:1;
1029 uint32_t bar2_esx
:2;
1030 uint32_t bar2_cax
:1;
1032 uint32_t bar2_cax
:1;
1033 uint32_t bar2_esx
:2;
1034 uint32_t bar2_enb
:1;
1037 uint32_t pmo_amod
:1;
1038 uint32_t b12_bist
:1;
1041 uint32_t reserved_14_14
:1;
1042 uint32_t en_wfilt
:1;
1045 uint32_t bar2pres
:1;
1052 uint32_t bb1_hole
:3;
1053 uint32_t reserved_29_31
:3;
1056 struct cvmx_pci_ctl_status_2_s cn30xx
;
1057 struct cvmx_pci_ctl_status_2_cn31xx
{
1058 #ifdef __BIG_ENDIAN_BITFIELD
1059 uint32_t reserved_20_31
:12;
1061 uint32_t bar2pres
:1;
1064 uint32_t en_wfilt
:1;
1065 uint32_t reserved_14_14
:1;
1068 uint32_t b12_bist
:1;
1069 uint32_t pmo_amod
:1;
1072 uint32_t bar2_enb
:1;
1073 uint32_t bar2_esx
:2;
1074 uint32_t bar2_cax
:1;
1076 uint32_t bar2_cax
:1;
1077 uint32_t bar2_esx
:2;
1078 uint32_t bar2_enb
:1;
1081 uint32_t pmo_amod
:1;
1082 uint32_t b12_bist
:1;
1085 uint32_t reserved_14_14
:1;
1086 uint32_t en_wfilt
:1;
1089 uint32_t bar2pres
:1;
1091 uint32_t reserved_20_31
:12;
1094 struct cvmx_pci_ctl_status_2_s cn38xx
;
1095 struct cvmx_pci_ctl_status_2_cn31xx cn38xxp2
;
1096 struct cvmx_pci_ctl_status_2_s cn50xx
;
1097 struct cvmx_pci_ctl_status_2_s cn58xx
;
1098 struct cvmx_pci_ctl_status_2_s cn58xxp1
;
1101 union cvmx_pci_dbellx
{
1103 struct cvmx_pci_dbellx_s
{
1104 #ifdef __BIG_ENDIAN_BITFIELD
1105 uint32_t reserved_16_31
:16;
1106 uint32_t inc_val
:16;
1108 uint32_t inc_val
:16;
1109 uint32_t reserved_16_31
:16;
1112 struct cvmx_pci_dbellx_s cn30xx
;
1113 struct cvmx_pci_dbellx_s cn31xx
;
1114 struct cvmx_pci_dbellx_s cn38xx
;
1115 struct cvmx_pci_dbellx_s cn38xxp2
;
1116 struct cvmx_pci_dbellx_s cn50xx
;
1117 struct cvmx_pci_dbellx_s cn58xx
;
1118 struct cvmx_pci_dbellx_s cn58xxp1
;
1121 union cvmx_pci_dma_cntx
{
1123 struct cvmx_pci_dma_cntx_s
{
1124 #ifdef __BIG_ENDIAN_BITFIELD
1125 uint32_t dma_cnt
:32;
1127 uint32_t dma_cnt
:32;
1130 struct cvmx_pci_dma_cntx_s cn30xx
;
1131 struct cvmx_pci_dma_cntx_s cn31xx
;
1132 struct cvmx_pci_dma_cntx_s cn38xx
;
1133 struct cvmx_pci_dma_cntx_s cn38xxp2
;
1134 struct cvmx_pci_dma_cntx_s cn50xx
;
1135 struct cvmx_pci_dma_cntx_s cn58xx
;
1136 struct cvmx_pci_dma_cntx_s cn58xxp1
;
1139 union cvmx_pci_dma_int_levx
{
1141 struct cvmx_pci_dma_int_levx_s
{
1142 #ifdef __BIG_ENDIAN_BITFIELD
1143 uint32_t pkt_cnt
:32;
1145 uint32_t pkt_cnt
:32;
1148 struct cvmx_pci_dma_int_levx_s cn30xx
;
1149 struct cvmx_pci_dma_int_levx_s cn31xx
;
1150 struct cvmx_pci_dma_int_levx_s cn38xx
;
1151 struct cvmx_pci_dma_int_levx_s cn38xxp2
;
1152 struct cvmx_pci_dma_int_levx_s cn50xx
;
1153 struct cvmx_pci_dma_int_levx_s cn58xx
;
1154 struct cvmx_pci_dma_int_levx_s cn58xxp1
;
1157 union cvmx_pci_dma_timex
{
1159 struct cvmx_pci_dma_timex_s
{
1160 #ifdef __BIG_ENDIAN_BITFIELD
1161 uint32_t dma_time
:32;
1163 uint32_t dma_time
:32;
1166 struct cvmx_pci_dma_timex_s cn30xx
;
1167 struct cvmx_pci_dma_timex_s cn31xx
;
1168 struct cvmx_pci_dma_timex_s cn38xx
;
1169 struct cvmx_pci_dma_timex_s cn38xxp2
;
1170 struct cvmx_pci_dma_timex_s cn50xx
;
1171 struct cvmx_pci_dma_timex_s cn58xx
;
1172 struct cvmx_pci_dma_timex_s cn58xxp1
;
1175 union cvmx_pci_instr_countx
{
1177 struct cvmx_pci_instr_countx_s
{
1178 #ifdef __BIG_ENDIAN_BITFIELD
1184 struct cvmx_pci_instr_countx_s cn30xx
;
1185 struct cvmx_pci_instr_countx_s cn31xx
;
1186 struct cvmx_pci_instr_countx_s cn38xx
;
1187 struct cvmx_pci_instr_countx_s cn38xxp2
;
1188 struct cvmx_pci_instr_countx_s cn50xx
;
1189 struct cvmx_pci_instr_countx_s cn58xx
;
1190 struct cvmx_pci_instr_countx_s cn58xxp1
;
1193 union cvmx_pci_int_enb
{
1195 struct cvmx_pci_int_enb_s
{
1196 #ifdef __BIG_ENDIAN_BITFIELD
1197 uint64_t reserved_34_63
:30;
1215 uint64_t irsl_int
:1;
1221 uint64_t itsr_abt
:1;
1222 uint64_t imsc_msg
:1;
1223 uint64_t imsi_mabt
:1;
1224 uint64_t imsi_tabt
:1;
1225 uint64_t imsi_per
:1;
1229 uint64_t imr_wtto
:1;
1230 uint64_t imr_wabt
:1;
1231 uint64_t itr_wabt
:1;
1233 uint64_t itr_wabt
:1;
1234 uint64_t imr_wabt
:1;
1235 uint64_t imr_wtto
:1;
1239 uint64_t imsi_per
:1;
1240 uint64_t imsi_tabt
:1;
1241 uint64_t imsi_mabt
:1;
1242 uint64_t imsc_msg
:1;
1243 uint64_t itsr_abt
:1;
1249 uint64_t irsl_int
:1;
1267 uint64_t reserved_34_63
:30;
1270 struct cvmx_pci_int_enb_cn30xx
{
1271 #ifdef __BIG_ENDIAN_BITFIELD
1272 uint64_t reserved_34_63
:30;
1282 uint64_t reserved_22_24
:3;
1284 uint64_t reserved_18_20
:3;
1286 uint64_t irsl_int
:1;
1292 uint64_t itsr_abt
:1;
1293 uint64_t imsc_msg
:1;
1294 uint64_t imsi_mabt
:1;
1295 uint64_t imsi_tabt
:1;
1296 uint64_t imsi_per
:1;
1300 uint64_t imr_wtto
:1;
1301 uint64_t imr_wabt
:1;
1302 uint64_t itr_wabt
:1;
1304 uint64_t itr_wabt
:1;
1305 uint64_t imr_wabt
:1;
1306 uint64_t imr_wtto
:1;
1310 uint64_t imsi_per
:1;
1311 uint64_t imsi_tabt
:1;
1312 uint64_t imsi_mabt
:1;
1313 uint64_t imsc_msg
:1;
1314 uint64_t itsr_abt
:1;
1320 uint64_t irsl_int
:1;
1322 uint64_t reserved_18_20
:3;
1324 uint64_t reserved_22_24
:3;
1334 uint64_t reserved_34_63
:30;
1337 struct cvmx_pci_int_enb_cn31xx
{
1338 #ifdef __BIG_ENDIAN_BITFIELD
1339 uint64_t reserved_34_63
:30;
1349 uint64_t reserved_23_24
:2;
1352 uint64_t reserved_19_20
:2;
1355 uint64_t irsl_int
:1;
1361 uint64_t itsr_abt
:1;
1362 uint64_t imsc_msg
:1;
1363 uint64_t imsi_mabt
:1;
1364 uint64_t imsi_tabt
:1;
1365 uint64_t imsi_per
:1;
1369 uint64_t imr_wtto
:1;
1370 uint64_t imr_wabt
:1;
1371 uint64_t itr_wabt
:1;
1373 uint64_t itr_wabt
:1;
1374 uint64_t imr_wabt
:1;
1375 uint64_t imr_wtto
:1;
1379 uint64_t imsi_per
:1;
1380 uint64_t imsi_tabt
:1;
1381 uint64_t imsi_mabt
:1;
1382 uint64_t imsc_msg
:1;
1383 uint64_t itsr_abt
:1;
1389 uint64_t irsl_int
:1;
1392 uint64_t reserved_19_20
:2;
1395 uint64_t reserved_23_24
:2;
1405 uint64_t reserved_34_63
:30;
1408 struct cvmx_pci_int_enb_s cn38xx
;
1409 struct cvmx_pci_int_enb_s cn38xxp2
;
1410 struct cvmx_pci_int_enb_cn31xx cn50xx
;
1411 struct cvmx_pci_int_enb_s cn58xx
;
1412 struct cvmx_pci_int_enb_s cn58xxp1
;
1415 union cvmx_pci_int_enb2
{
1417 struct cvmx_pci_int_enb2_s
{
1418 #ifdef __BIG_ENDIAN_BITFIELD
1419 uint64_t reserved_34_63
:30;
1437 uint64_t rrsl_int
:1;
1443 uint64_t rtsr_abt
:1;
1444 uint64_t rmsc_msg
:1;
1445 uint64_t rmsi_mabt
:1;
1446 uint64_t rmsi_tabt
:1;
1447 uint64_t rmsi_per
:1;
1451 uint64_t rmr_wtto
:1;
1452 uint64_t rmr_wabt
:1;
1453 uint64_t rtr_wabt
:1;
1455 uint64_t rtr_wabt
:1;
1456 uint64_t rmr_wabt
:1;
1457 uint64_t rmr_wtto
:1;
1461 uint64_t rmsi_per
:1;
1462 uint64_t rmsi_tabt
:1;
1463 uint64_t rmsi_mabt
:1;
1464 uint64_t rmsc_msg
:1;
1465 uint64_t rtsr_abt
:1;
1471 uint64_t rrsl_int
:1;
1489 uint64_t reserved_34_63
:30;
1492 struct cvmx_pci_int_enb2_cn30xx
{
1493 #ifdef __BIG_ENDIAN_BITFIELD
1494 uint64_t reserved_34_63
:30;
1504 uint64_t reserved_22_24
:3;
1506 uint64_t reserved_18_20
:3;
1508 uint64_t rrsl_int
:1;
1514 uint64_t rtsr_abt
:1;
1515 uint64_t rmsc_msg
:1;
1516 uint64_t rmsi_mabt
:1;
1517 uint64_t rmsi_tabt
:1;
1518 uint64_t rmsi_per
:1;
1522 uint64_t rmr_wtto
:1;
1523 uint64_t rmr_wabt
:1;
1524 uint64_t rtr_wabt
:1;
1526 uint64_t rtr_wabt
:1;
1527 uint64_t rmr_wabt
:1;
1528 uint64_t rmr_wtto
:1;
1532 uint64_t rmsi_per
:1;
1533 uint64_t rmsi_tabt
:1;
1534 uint64_t rmsi_mabt
:1;
1535 uint64_t rmsc_msg
:1;
1536 uint64_t rtsr_abt
:1;
1542 uint64_t rrsl_int
:1;
1544 uint64_t reserved_18_20
:3;
1546 uint64_t reserved_22_24
:3;
1556 uint64_t reserved_34_63
:30;
1559 struct cvmx_pci_int_enb2_cn31xx
{
1560 #ifdef __BIG_ENDIAN_BITFIELD
1561 uint64_t reserved_34_63
:30;
1571 uint64_t reserved_23_24
:2;
1574 uint64_t reserved_19_20
:2;
1577 uint64_t rrsl_int
:1;
1583 uint64_t rtsr_abt
:1;
1584 uint64_t rmsc_msg
:1;
1585 uint64_t rmsi_mabt
:1;
1586 uint64_t rmsi_tabt
:1;
1587 uint64_t rmsi_per
:1;
1591 uint64_t rmr_wtto
:1;
1592 uint64_t rmr_wabt
:1;
1593 uint64_t rtr_wabt
:1;
1595 uint64_t rtr_wabt
:1;
1596 uint64_t rmr_wabt
:1;
1597 uint64_t rmr_wtto
:1;
1601 uint64_t rmsi_per
:1;
1602 uint64_t rmsi_tabt
:1;
1603 uint64_t rmsi_mabt
:1;
1604 uint64_t rmsc_msg
:1;
1605 uint64_t rtsr_abt
:1;
1611 uint64_t rrsl_int
:1;
1614 uint64_t reserved_19_20
:2;
1617 uint64_t reserved_23_24
:2;
1627 uint64_t reserved_34_63
:30;
1630 struct cvmx_pci_int_enb2_s cn38xx
;
1631 struct cvmx_pci_int_enb2_s cn38xxp2
;
1632 struct cvmx_pci_int_enb2_cn31xx cn50xx
;
1633 struct cvmx_pci_int_enb2_s cn58xx
;
1634 struct cvmx_pci_int_enb2_s cn58xxp1
;
1637 union cvmx_pci_int_sum
{
1639 struct cvmx_pci_int_sum_s
{
1640 #ifdef __BIG_ENDIAN_BITFIELD
1641 uint64_t reserved_34_63
:30;
1667 uint64_t msi_mabt
:1;
1668 uint64_t msi_tabt
:1;
1684 uint64_t msi_tabt
:1;
1685 uint64_t msi_mabt
:1;
1711 uint64_t reserved_34_63
:30;
1714 struct cvmx_pci_int_sum_cn30xx
{
1715 #ifdef __BIG_ENDIAN_BITFIELD
1716 uint64_t reserved_34_63
:30;
1726 uint64_t reserved_22_24
:3;
1728 uint64_t reserved_18_20
:3;
1738 uint64_t msi_mabt
:1;
1739 uint64_t msi_tabt
:1;
1755 uint64_t msi_tabt
:1;
1756 uint64_t msi_mabt
:1;
1766 uint64_t reserved_18_20
:3;
1768 uint64_t reserved_22_24
:3;
1778 uint64_t reserved_34_63
:30;
1781 struct cvmx_pci_int_sum_cn31xx
{
1782 #ifdef __BIG_ENDIAN_BITFIELD
1783 uint64_t reserved_34_63
:30;
1793 uint64_t reserved_23_24
:2;
1796 uint64_t reserved_19_20
:2;
1807 uint64_t msi_mabt
:1;
1808 uint64_t msi_tabt
:1;
1824 uint64_t msi_tabt
:1;
1825 uint64_t msi_mabt
:1;
1836 uint64_t reserved_19_20
:2;
1839 uint64_t reserved_23_24
:2;
1849 uint64_t reserved_34_63
:30;
1852 struct cvmx_pci_int_sum_s cn38xx
;
1853 struct cvmx_pci_int_sum_s cn38xxp2
;
1854 struct cvmx_pci_int_sum_cn31xx cn50xx
;
1855 struct cvmx_pci_int_sum_s cn58xx
;
1856 struct cvmx_pci_int_sum_s cn58xxp1
;
1859 union cvmx_pci_int_sum2
{
1861 struct cvmx_pci_int_sum2_s
{
1862 #ifdef __BIG_ENDIAN_BITFIELD
1863 uint64_t reserved_34_63
:30;
1889 uint64_t msi_mabt
:1;
1890 uint64_t msi_tabt
:1;
1906 uint64_t msi_tabt
:1;
1907 uint64_t msi_mabt
:1;
1933 uint64_t reserved_34_63
:30;
1936 struct cvmx_pci_int_sum2_cn30xx
{
1937 #ifdef __BIG_ENDIAN_BITFIELD
1938 uint64_t reserved_34_63
:30;
1948 uint64_t reserved_22_24
:3;
1950 uint64_t reserved_18_20
:3;
1960 uint64_t msi_mabt
:1;
1961 uint64_t msi_tabt
:1;
1977 uint64_t msi_tabt
:1;
1978 uint64_t msi_mabt
:1;
1988 uint64_t reserved_18_20
:3;
1990 uint64_t reserved_22_24
:3;
2000 uint64_t reserved_34_63
:30;
2003 struct cvmx_pci_int_sum2_cn31xx
{
2004 #ifdef __BIG_ENDIAN_BITFIELD
2005 uint64_t reserved_34_63
:30;
2015 uint64_t reserved_23_24
:2;
2018 uint64_t reserved_19_20
:2;
2029 uint64_t msi_mabt
:1;
2030 uint64_t msi_tabt
:1;
2046 uint64_t msi_tabt
:1;
2047 uint64_t msi_mabt
:1;
2058 uint64_t reserved_19_20
:2;
2061 uint64_t reserved_23_24
:2;
2071 uint64_t reserved_34_63
:30;
2074 struct cvmx_pci_int_sum2_s cn38xx
;
2075 struct cvmx_pci_int_sum2_s cn38xxp2
;
2076 struct cvmx_pci_int_sum2_cn31xx cn50xx
;
2077 struct cvmx_pci_int_sum2_s cn58xx
;
2078 struct cvmx_pci_int_sum2_s cn58xxp1
;
2081 union cvmx_pci_msi_rcv
{
2083 struct cvmx_pci_msi_rcv_s
{
2084 #ifdef __BIG_ENDIAN_BITFIELD
2085 uint32_t reserved_6_31
:26;
2089 uint32_t reserved_6_31
:26;
2092 struct cvmx_pci_msi_rcv_s cn30xx
;
2093 struct cvmx_pci_msi_rcv_s cn31xx
;
2094 struct cvmx_pci_msi_rcv_s cn38xx
;
2095 struct cvmx_pci_msi_rcv_s cn38xxp2
;
2096 struct cvmx_pci_msi_rcv_s cn50xx
;
2097 struct cvmx_pci_msi_rcv_s cn58xx
;
2098 struct cvmx_pci_msi_rcv_s cn58xxp1
;
2101 union cvmx_pci_pkt_creditsx
{
2103 struct cvmx_pci_pkt_creditsx_s
{
2104 #ifdef __BIG_ENDIAN_BITFIELD
2105 uint32_t pkt_cnt
:16;
2106 uint32_t ptr_cnt
:16;
2108 uint32_t ptr_cnt
:16;
2109 uint32_t pkt_cnt
:16;
2112 struct cvmx_pci_pkt_creditsx_s cn30xx
;
2113 struct cvmx_pci_pkt_creditsx_s cn31xx
;
2114 struct cvmx_pci_pkt_creditsx_s cn38xx
;
2115 struct cvmx_pci_pkt_creditsx_s cn38xxp2
;
2116 struct cvmx_pci_pkt_creditsx_s cn50xx
;
2117 struct cvmx_pci_pkt_creditsx_s cn58xx
;
2118 struct cvmx_pci_pkt_creditsx_s cn58xxp1
;
2121 union cvmx_pci_pkts_sentx
{
2123 struct cvmx_pci_pkts_sentx_s
{
2124 #ifdef __BIG_ENDIAN_BITFIELD
2125 uint32_t pkt_cnt
:32;
2127 uint32_t pkt_cnt
:32;
2130 struct cvmx_pci_pkts_sentx_s cn30xx
;
2131 struct cvmx_pci_pkts_sentx_s cn31xx
;
2132 struct cvmx_pci_pkts_sentx_s cn38xx
;
2133 struct cvmx_pci_pkts_sentx_s cn38xxp2
;
2134 struct cvmx_pci_pkts_sentx_s cn50xx
;
2135 struct cvmx_pci_pkts_sentx_s cn58xx
;
2136 struct cvmx_pci_pkts_sentx_s cn58xxp1
;
2139 union cvmx_pci_pkts_sent_int_levx
{
2141 struct cvmx_pci_pkts_sent_int_levx_s
{
2142 #ifdef __BIG_ENDIAN_BITFIELD
2143 uint32_t pkt_cnt
:32;
2145 uint32_t pkt_cnt
:32;
2148 struct cvmx_pci_pkts_sent_int_levx_s cn30xx
;
2149 struct cvmx_pci_pkts_sent_int_levx_s cn31xx
;
2150 struct cvmx_pci_pkts_sent_int_levx_s cn38xx
;
2151 struct cvmx_pci_pkts_sent_int_levx_s cn38xxp2
;
2152 struct cvmx_pci_pkts_sent_int_levx_s cn50xx
;
2153 struct cvmx_pci_pkts_sent_int_levx_s cn58xx
;
2154 struct cvmx_pci_pkts_sent_int_levx_s cn58xxp1
;
2157 union cvmx_pci_pkts_sent_timex
{
2159 struct cvmx_pci_pkts_sent_timex_s
{
2160 #ifdef __BIG_ENDIAN_BITFIELD
2161 uint32_t pkt_time
:32;
2163 uint32_t pkt_time
:32;
2166 struct cvmx_pci_pkts_sent_timex_s cn30xx
;
2167 struct cvmx_pci_pkts_sent_timex_s cn31xx
;
2168 struct cvmx_pci_pkts_sent_timex_s cn38xx
;
2169 struct cvmx_pci_pkts_sent_timex_s cn38xxp2
;
2170 struct cvmx_pci_pkts_sent_timex_s cn50xx
;
2171 struct cvmx_pci_pkts_sent_timex_s cn58xx
;
2172 struct cvmx_pci_pkts_sent_timex_s cn58xxp1
;
2175 union cvmx_pci_read_cmd_6
{
2177 struct cvmx_pci_read_cmd_6_s
{
2178 #ifdef __BIG_ENDIAN_BITFIELD
2179 uint32_t reserved_9_31
:23;
2180 uint32_t min_data
:6;
2181 uint32_t prefetch
:3;
2183 uint32_t prefetch
:3;
2184 uint32_t min_data
:6;
2185 uint32_t reserved_9_31
:23;
2188 struct cvmx_pci_read_cmd_6_s cn30xx
;
2189 struct cvmx_pci_read_cmd_6_s cn31xx
;
2190 struct cvmx_pci_read_cmd_6_s cn38xx
;
2191 struct cvmx_pci_read_cmd_6_s cn38xxp2
;
2192 struct cvmx_pci_read_cmd_6_s cn50xx
;
2193 struct cvmx_pci_read_cmd_6_s cn58xx
;
2194 struct cvmx_pci_read_cmd_6_s cn58xxp1
;
2197 union cvmx_pci_read_cmd_c
{
2199 struct cvmx_pci_read_cmd_c_s
{
2200 #ifdef __BIG_ENDIAN_BITFIELD
2201 uint32_t reserved_9_31
:23;
2202 uint32_t min_data
:6;
2203 uint32_t prefetch
:3;
2205 uint32_t prefetch
:3;
2206 uint32_t min_data
:6;
2207 uint32_t reserved_9_31
:23;
2210 struct cvmx_pci_read_cmd_c_s cn30xx
;
2211 struct cvmx_pci_read_cmd_c_s cn31xx
;
2212 struct cvmx_pci_read_cmd_c_s cn38xx
;
2213 struct cvmx_pci_read_cmd_c_s cn38xxp2
;
2214 struct cvmx_pci_read_cmd_c_s cn50xx
;
2215 struct cvmx_pci_read_cmd_c_s cn58xx
;
2216 struct cvmx_pci_read_cmd_c_s cn58xxp1
;
2219 union cvmx_pci_read_cmd_e
{
2221 struct cvmx_pci_read_cmd_e_s
{
2222 #ifdef __BIG_ENDIAN_BITFIELD
2223 uint32_t reserved_9_31
:23;
2224 uint32_t min_data
:6;
2225 uint32_t prefetch
:3;
2227 uint32_t prefetch
:3;
2228 uint32_t min_data
:6;
2229 uint32_t reserved_9_31
:23;
2232 struct cvmx_pci_read_cmd_e_s cn30xx
;
2233 struct cvmx_pci_read_cmd_e_s cn31xx
;
2234 struct cvmx_pci_read_cmd_e_s cn38xx
;
2235 struct cvmx_pci_read_cmd_e_s cn38xxp2
;
2236 struct cvmx_pci_read_cmd_e_s cn50xx
;
2237 struct cvmx_pci_read_cmd_e_s cn58xx
;
2238 struct cvmx_pci_read_cmd_e_s cn58xxp1
;
2241 union cvmx_pci_read_timeout
{
2243 struct cvmx_pci_read_timeout_s
{
2244 #ifdef __BIG_ENDIAN_BITFIELD
2245 uint64_t reserved_32_63
:32;
2251 uint64_t reserved_32_63
:32;
2254 struct cvmx_pci_read_timeout_s cn30xx
;
2255 struct cvmx_pci_read_timeout_s cn31xx
;
2256 struct cvmx_pci_read_timeout_s cn38xx
;
2257 struct cvmx_pci_read_timeout_s cn38xxp2
;
2258 struct cvmx_pci_read_timeout_s cn50xx
;
2259 struct cvmx_pci_read_timeout_s cn58xx
;
2260 struct cvmx_pci_read_timeout_s cn58xxp1
;
2263 union cvmx_pci_scm_reg
{
2265 struct cvmx_pci_scm_reg_s
{
2266 #ifdef __BIG_ENDIAN_BITFIELD
2267 uint64_t reserved_32_63
:32;
2271 uint64_t reserved_32_63
:32;
2274 struct cvmx_pci_scm_reg_s cn30xx
;
2275 struct cvmx_pci_scm_reg_s cn31xx
;
2276 struct cvmx_pci_scm_reg_s cn38xx
;
2277 struct cvmx_pci_scm_reg_s cn38xxp2
;
2278 struct cvmx_pci_scm_reg_s cn50xx
;
2279 struct cvmx_pci_scm_reg_s cn58xx
;
2280 struct cvmx_pci_scm_reg_s cn58xxp1
;
2283 union cvmx_pci_tsr_reg
{
2285 struct cvmx_pci_tsr_reg_s
{
2286 #ifdef __BIG_ENDIAN_BITFIELD
2287 uint64_t reserved_36_63
:28;
2291 uint64_t reserved_36_63
:28;
2294 struct cvmx_pci_tsr_reg_s cn30xx
;
2295 struct cvmx_pci_tsr_reg_s cn31xx
;
2296 struct cvmx_pci_tsr_reg_s cn38xx
;
2297 struct cvmx_pci_tsr_reg_s cn38xxp2
;
2298 struct cvmx_pci_tsr_reg_s cn50xx
;
2299 struct cvmx_pci_tsr_reg_s cn58xx
;
2300 struct cvmx_pci_tsr_reg_s cn58xxp1
;
2303 union cvmx_pci_win_rd_addr
{
2305 struct cvmx_pci_win_rd_addr_s
{
2306 #ifdef __BIG_ENDIAN_BITFIELD
2307 uint64_t reserved_49_63
:15;
2309 uint64_t reserved_0_47
:48;
2311 uint64_t reserved_0_47
:48;
2313 uint64_t reserved_49_63
:15;
2316 struct cvmx_pci_win_rd_addr_cn30xx
{
2317 #ifdef __BIG_ENDIAN_BITFIELD
2318 uint64_t reserved_49_63
:15;
2320 uint64_t rd_addr
:46;
2321 uint64_t reserved_0_1
:2;
2323 uint64_t reserved_0_1
:2;
2324 uint64_t rd_addr
:46;
2326 uint64_t reserved_49_63
:15;
2329 struct cvmx_pci_win_rd_addr_cn30xx cn31xx
;
2330 struct cvmx_pci_win_rd_addr_cn38xx
{
2331 #ifdef __BIG_ENDIAN_BITFIELD
2332 uint64_t reserved_49_63
:15;
2334 uint64_t rd_addr
:45;
2335 uint64_t reserved_0_2
:3;
2337 uint64_t reserved_0_2
:3;
2338 uint64_t rd_addr
:45;
2340 uint64_t reserved_49_63
:15;
2343 struct cvmx_pci_win_rd_addr_cn38xx cn38xxp2
;
2344 struct cvmx_pci_win_rd_addr_cn30xx cn50xx
;
2345 struct cvmx_pci_win_rd_addr_cn38xx cn58xx
;
2346 struct cvmx_pci_win_rd_addr_cn38xx cn58xxp1
;
2349 union cvmx_pci_win_rd_data
{
2351 struct cvmx_pci_win_rd_data_s
{
2352 #ifdef __BIG_ENDIAN_BITFIELD
2353 uint64_t rd_data
:64;
2355 uint64_t rd_data
:64;
2358 struct cvmx_pci_win_rd_data_s cn30xx
;
2359 struct cvmx_pci_win_rd_data_s cn31xx
;
2360 struct cvmx_pci_win_rd_data_s cn38xx
;
2361 struct cvmx_pci_win_rd_data_s cn38xxp2
;
2362 struct cvmx_pci_win_rd_data_s cn50xx
;
2363 struct cvmx_pci_win_rd_data_s cn58xx
;
2364 struct cvmx_pci_win_rd_data_s cn58xxp1
;
2367 union cvmx_pci_win_wr_addr
{
2369 struct cvmx_pci_win_wr_addr_s
{
2370 #ifdef __BIG_ENDIAN_BITFIELD
2371 uint64_t reserved_49_63
:15;
2373 uint64_t wr_addr
:45;
2374 uint64_t reserved_0_2
:3;
2376 uint64_t reserved_0_2
:3;
2377 uint64_t wr_addr
:45;
2379 uint64_t reserved_49_63
:15;
2382 struct cvmx_pci_win_wr_addr_s cn30xx
;
2383 struct cvmx_pci_win_wr_addr_s cn31xx
;
2384 struct cvmx_pci_win_wr_addr_s cn38xx
;
2385 struct cvmx_pci_win_wr_addr_s cn38xxp2
;
2386 struct cvmx_pci_win_wr_addr_s cn50xx
;
2387 struct cvmx_pci_win_wr_addr_s cn58xx
;
2388 struct cvmx_pci_win_wr_addr_s cn58xxp1
;
2391 union cvmx_pci_win_wr_data
{
2393 struct cvmx_pci_win_wr_data_s
{
2394 #ifdef __BIG_ENDIAN_BITFIELD
2395 uint64_t wr_data
:64;
2397 uint64_t wr_data
:64;
2400 struct cvmx_pci_win_wr_data_s cn30xx
;
2401 struct cvmx_pci_win_wr_data_s cn31xx
;
2402 struct cvmx_pci_win_wr_data_s cn38xx
;
2403 struct cvmx_pci_win_wr_data_s cn38xxp2
;
2404 struct cvmx_pci_win_wr_data_s cn50xx
;
2405 struct cvmx_pci_win_wr_data_s cn58xx
;
2406 struct cvmx_pci_win_wr_data_s cn58xxp1
;
2409 union cvmx_pci_win_wr_mask
{
2411 struct cvmx_pci_win_wr_mask_s
{
2412 #ifdef __BIG_ENDIAN_BITFIELD
2413 uint64_t reserved_8_63
:56;
2417 uint64_t reserved_8_63
:56;
2420 struct cvmx_pci_win_wr_mask_s cn30xx
;
2421 struct cvmx_pci_win_wr_mask_s cn31xx
;
2422 struct cvmx_pci_win_wr_mask_s cn38xx
;
2423 struct cvmx_pci_win_wr_mask_s cn38xxp2
;
2424 struct cvmx_pci_win_wr_mask_s cn50xx
;
2425 struct cvmx_pci_win_wr_mask_s cn58xx
;
2426 struct cvmx_pci_win_wr_mask_s cn58xxp1
;