Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cvmx-sli-defs.h
Go to the documentation of this file.
1 /***********************license start***************
2  * Author: Cavium Networks
3  *
4  * Contact: [email protected]
5  * This file is part of the OCTEON SDK
6  *
7  * Copyright (c) 2003-2012 Cavium Networks
8  *
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.
12  *
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
17  * details.
18  *
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/.
23  *
24  * This file may also be available under a different license from Cavium.
25  * Contact Cavium Networks for more information
26  ***********************license end**************************************/
27 
28 #ifndef __CVMX_SLI_DEFS_H__
29 #define __CVMX_SLI_DEFS_H__
30 
31 #define CVMX_SLI_BIST_STATUS (0x0000000000000580ull)
32 #define CVMX_SLI_CTL_PORTX(offset) (0x0000000000000050ull + ((offset) & 3) * 16)
33 #define CVMX_SLI_CTL_STATUS (0x0000000000000570ull)
34 #define CVMX_SLI_DATA_OUT_CNT (0x00000000000005F0ull)
35 #define CVMX_SLI_DBG_DATA (0x0000000000000310ull)
36 #define CVMX_SLI_DBG_SELECT (0x0000000000000300ull)
37 #define CVMX_SLI_DMAX_CNT(offset) (0x0000000000000400ull + ((offset) & 1) * 16)
38 #define CVMX_SLI_DMAX_INT_LEVEL(offset) (0x00000000000003E0ull + ((offset) & 1) * 16)
39 #define CVMX_SLI_DMAX_TIM(offset) (0x0000000000000420ull + ((offset) & 1) * 16)
40 #define CVMX_SLI_INT_ENB_CIU (0x0000000000003CD0ull)
41 #define CVMX_SLI_INT_ENB_PORTX(offset) (0x0000000000000340ull + ((offset) & 1) * 16)
42 #define CVMX_SLI_INT_SUM (0x0000000000000330ull)
43 #define CVMX_SLI_LAST_WIN_RDATA0 (0x0000000000000600ull)
44 #define CVMX_SLI_LAST_WIN_RDATA1 (0x0000000000000610ull)
45 #define CVMX_SLI_LAST_WIN_RDATA2 (0x00000000000006C0ull)
46 #define CVMX_SLI_LAST_WIN_RDATA3 (0x00000000000006D0ull)
47 #define CVMX_SLI_MAC_CREDIT_CNT (0x0000000000003D70ull)
48 #define CVMX_SLI_MAC_CREDIT_CNT2 (0x0000000000003E10ull)
49 #define CVMX_SLI_MAC_NUMBER (0x0000000000003E00ull)
50 #define CVMX_SLI_MEM_ACCESS_CTL (0x00000000000002F0ull)
51 #define CVMX_SLI_MEM_ACCESS_SUBIDX(offset) (0x00000000000000E0ull + ((offset) & 31) * 16 - 16*12)
52 #define CVMX_SLI_MSI_ENB0 (0x0000000000003C50ull)
53 #define CVMX_SLI_MSI_ENB1 (0x0000000000003C60ull)
54 #define CVMX_SLI_MSI_ENB2 (0x0000000000003C70ull)
55 #define CVMX_SLI_MSI_ENB3 (0x0000000000003C80ull)
56 #define CVMX_SLI_MSI_RCV0 (0x0000000000003C10ull)
57 #define CVMX_SLI_MSI_RCV1 (0x0000000000003C20ull)
58 #define CVMX_SLI_MSI_RCV2 (0x0000000000003C30ull)
59 #define CVMX_SLI_MSI_RCV3 (0x0000000000003C40ull)
60 #define CVMX_SLI_MSI_RD_MAP (0x0000000000003CA0ull)
61 #define CVMX_SLI_MSI_W1C_ENB0 (0x0000000000003CF0ull)
62 #define CVMX_SLI_MSI_W1C_ENB1 (0x0000000000003D00ull)
63 #define CVMX_SLI_MSI_W1C_ENB2 (0x0000000000003D10ull)
64 #define CVMX_SLI_MSI_W1C_ENB3 (0x0000000000003D20ull)
65 #define CVMX_SLI_MSI_W1S_ENB0 (0x0000000000003D30ull)
66 #define CVMX_SLI_MSI_W1S_ENB1 (0x0000000000003D40ull)
67 #define CVMX_SLI_MSI_W1S_ENB2 (0x0000000000003D50ull)
68 #define CVMX_SLI_MSI_W1S_ENB3 (0x0000000000003D60ull)
69 #define CVMX_SLI_MSI_WR_MAP (0x0000000000003C90ull)
70 #define CVMX_SLI_PCIE_MSI_RCV (0x0000000000003CB0ull)
71 #define CVMX_SLI_PCIE_MSI_RCV_B1 (0x0000000000000650ull)
72 #define CVMX_SLI_PCIE_MSI_RCV_B2 (0x0000000000000660ull)
73 #define CVMX_SLI_PCIE_MSI_RCV_B3 (0x0000000000000670ull)
74 #define CVMX_SLI_PKTX_CNTS(offset) (0x0000000000002400ull + ((offset) & 31) * 16)
75 #define CVMX_SLI_PKTX_INSTR_BADDR(offset) (0x0000000000002800ull + ((offset) & 31) * 16)
76 #define CVMX_SLI_PKTX_INSTR_BAOFF_DBELL(offset) (0x0000000000002C00ull + ((offset) & 31) * 16)
77 #define CVMX_SLI_PKTX_INSTR_FIFO_RSIZE(offset) (0x0000000000003000ull + ((offset) & 31) * 16)
78 #define CVMX_SLI_PKTX_INSTR_HEADER(offset) (0x0000000000003400ull + ((offset) & 31) * 16)
79 #define CVMX_SLI_PKTX_IN_BP(offset) (0x0000000000003800ull + ((offset) & 31) * 16)
80 #define CVMX_SLI_PKTX_OUT_SIZE(offset) (0x0000000000000C00ull + ((offset) & 31) * 16)
81 #define CVMX_SLI_PKTX_SLIST_BADDR(offset) (0x0000000000001400ull + ((offset) & 31) * 16)
82 #define CVMX_SLI_PKTX_SLIST_BAOFF_DBELL(offset) (0x0000000000001800ull + ((offset) & 31) * 16)
83 #define CVMX_SLI_PKTX_SLIST_FIFO_RSIZE(offset) (0x0000000000001C00ull + ((offset) & 31) * 16)
84 #define CVMX_SLI_PKT_CNT_INT (0x0000000000001130ull)
85 #define CVMX_SLI_PKT_CNT_INT_ENB (0x0000000000001150ull)
86 #define CVMX_SLI_PKT_CTL (0x0000000000001220ull)
87 #define CVMX_SLI_PKT_DATA_OUT_ES (0x00000000000010B0ull)
88 #define CVMX_SLI_PKT_DATA_OUT_NS (0x00000000000010A0ull)
89 #define CVMX_SLI_PKT_DATA_OUT_ROR (0x0000000000001090ull)
90 #define CVMX_SLI_PKT_DPADDR (0x0000000000001080ull)
91 #define CVMX_SLI_PKT_INPUT_CONTROL (0x0000000000001170ull)
92 #define CVMX_SLI_PKT_INSTR_ENB (0x0000000000001000ull)
93 #define CVMX_SLI_PKT_INSTR_RD_SIZE (0x00000000000011A0ull)
94 #define CVMX_SLI_PKT_INSTR_SIZE (0x0000000000001020ull)
95 #define CVMX_SLI_PKT_INT_LEVELS (0x0000000000001120ull)
96 #define CVMX_SLI_PKT_IN_BP (0x0000000000001210ull)
97 #define CVMX_SLI_PKT_IN_DONEX_CNTS(offset) (0x0000000000002000ull + ((offset) & 31) * 16)
98 #define CVMX_SLI_PKT_IN_INSTR_COUNTS (0x0000000000001200ull)
99 #define CVMX_SLI_PKT_IN_PCIE_PORT (0x00000000000011B0ull)
100 #define CVMX_SLI_PKT_IPTR (0x0000000000001070ull)
101 #define CVMX_SLI_PKT_OUTPUT_WMARK (0x0000000000001180ull)
102 #define CVMX_SLI_PKT_OUT_BMODE (0x00000000000010D0ull)
103 #define CVMX_SLI_PKT_OUT_BP_EN (0x0000000000001240ull)
104 #define CVMX_SLI_PKT_OUT_ENB (0x0000000000001010ull)
105 #define CVMX_SLI_PKT_PCIE_PORT (0x00000000000010E0ull)
106 #define CVMX_SLI_PKT_PORT_IN_RST (0x00000000000011F0ull)
107 #define CVMX_SLI_PKT_SLIST_ES (0x0000000000001050ull)
108 #define CVMX_SLI_PKT_SLIST_NS (0x0000000000001040ull)
109 #define CVMX_SLI_PKT_SLIST_ROR (0x0000000000001030ull)
110 #define CVMX_SLI_PKT_TIME_INT (0x0000000000001140ull)
111 #define CVMX_SLI_PKT_TIME_INT_ENB (0x0000000000001160ull)
112 #define CVMX_SLI_PORTX_PKIND(offset) (0x0000000000000800ull + ((offset) & 31) * 16)
113 #define CVMX_SLI_S2M_PORTX_CTL(offset) (0x0000000000003D80ull + ((offset) & 3) * 16)
114 #define CVMX_SLI_SCRATCH_1 (0x00000000000003C0ull)
115 #define CVMX_SLI_SCRATCH_2 (0x00000000000003D0ull)
116 #define CVMX_SLI_STATE1 (0x0000000000000620ull)
117 #define CVMX_SLI_STATE2 (0x0000000000000630ull)
118 #define CVMX_SLI_STATE3 (0x0000000000000640ull)
119 #define CVMX_SLI_TX_PIPE (0x0000000000001230ull)
120 #define CVMX_SLI_WINDOW_CTL (0x00000000000002E0ull)
121 #define CVMX_SLI_WIN_RD_ADDR (0x0000000000000010ull)
122 #define CVMX_SLI_WIN_RD_DATA (0x0000000000000040ull)
123 #define CVMX_SLI_WIN_WR_ADDR (0x0000000000000000ull)
124 #define CVMX_SLI_WIN_WR_DATA (0x0000000000000020ull)
125 #define CVMX_SLI_WIN_WR_MASK (0x0000000000000030ull)
126 
130 #ifdef __BIG_ENDIAN_BITFIELD
132  uint64_t ncb_req:1;
133  uint64_t n2p0_c:1;
134  uint64_t n2p0_o:1;
135  uint64_t n2p1_c:1;
136  uint64_t n2p1_o:1;
137  uint64_t cpl_p0:1;
138  uint64_t cpl_p1:1;
140  uint64_t p2n0_c0:1;
141  uint64_t p2n0_c1:1;
142  uint64_t p2n0_n:1;
143  uint64_t p2n0_p0:1;
144  uint64_t p2n0_p1:1;
145  uint64_t p2n1_c0:1;
146  uint64_t p2n1_c1:1;
147  uint64_t p2n1_n:1;
148  uint64_t p2n1_p0:1;
149  uint64_t p2n1_p1:1;
151  uint64_t dsi1_1:1;
152  uint64_t dsi1_0:1;
153  uint64_t dsi0_1:1;
154  uint64_t dsi0_0:1;
155  uint64_t msi:1;
156  uint64_t ncb_cmd:1;
157 #else
184 #endif
185  } s;
187 #ifdef __BIG_ENDIAN_BITFIELD
189  uint64_t n2p0_c:1;
190  uint64_t n2p0_o:1;
192  uint64_t cpl_p0:1;
193  uint64_t cpl_p1:1;
195  uint64_t p2n0_c0:1;
196  uint64_t p2n0_c1:1;
197  uint64_t p2n0_n:1;
198  uint64_t p2n0_p0:1;
199  uint64_t p2n0_p1:1;
200  uint64_t p2n1_c0:1;
201  uint64_t p2n1_c1:1;
202  uint64_t p2n1_n:1;
203  uint64_t p2n1_p0:1;
204  uint64_t p2n1_p1:1;
206  uint64_t dsi1_1:1;
207  uint64_t dsi1_0:1;
208  uint64_t dsi0_1:1;
209  uint64_t dsi0_0:1;
210  uint64_t msi:1;
211  uint64_t ncb_cmd:1;
212 #else
237 #endif
238  } cn61xx;
240 #ifdef __BIG_ENDIAN_BITFIELD
242  uint64_t n2p0_c:1;
243  uint64_t n2p0_o:1;
244  uint64_t n2p1_c:1;
245  uint64_t n2p1_o:1;
246  uint64_t cpl_p0:1;
247  uint64_t cpl_p1:1;
249  uint64_t p2n0_c0:1;
250  uint64_t p2n0_c1:1;
251  uint64_t p2n0_n:1;
252  uint64_t p2n0_p0:1;
253  uint64_t p2n0_p1:1;
254  uint64_t p2n1_c0:1;
255  uint64_t p2n1_c1:1;
256  uint64_t p2n1_n:1;
257  uint64_t p2n1_p0:1;
258  uint64_t p2n1_p1:1;
260  uint64_t dsi1_1:1;
261  uint64_t dsi1_0:1;
262  uint64_t dsi0_1:1;
263  uint64_t dsi0_0:1;
264  uint64_t msi:1;
265  uint64_t ncb_cmd:1;
266 #else
292 #endif
293  } cn63xx;
299 };
300 
304 #ifdef __BIG_ENDIAN_BITFIELD
306  uint64_t intd:1;
307  uint64_t intc:1;
308  uint64_t intb:1;
309  uint64_t inta:1;
310  uint64_t dis_port:1;
312  uint64_t intd_map:2;
313  uint64_t intc_map:2;
314  uint64_t intb_map:2;
315  uint64_t inta_map:2;
316  uint64_t ctlp_ro:1;
318  uint64_t ptlp_ro:1;
320  uint64_t wait_com:1;
321 #else
338 #endif
339  } s;
347 };
348 
352 #ifdef __BIG_ENDIAN_BITFIELD
354  uint64_t p1_ntags:6;
355  uint64_t p0_ntags:6;
356  uint64_t chip_rev:8;
357 #else
362 #endif
363  } s;
365 #ifdef __BIG_ENDIAN_BITFIELD
367  uint64_t p0_ntags:6;
368  uint64_t chip_rev:8;
369 #else
373 #endif
374  } cn61xx;
381 };
382 
386 #ifdef __BIG_ENDIAN_BITFIELD
388  uint64_t p1_ucnt:16;
389  uint64_t p1_fcnt:6;
390  uint64_t p0_ucnt:16;
391  uint64_t p0_fcnt:6;
392 #else
398 #endif
399  } s;
407 };
408 
412 #ifdef __BIG_ENDIAN_BITFIELD
414  uint64_t dsel_ext:1;
415  uint64_t data:17;
416 #else
420 #endif
421  } s;
429 };
430 
434 #ifdef __BIG_ENDIAN_BITFIELD
436  uint64_t adbg_sel:1;
437  uint64_t dbg_sel:32;
438 #else
442 #endif
443  } s;
451 };
452 
456 #ifdef __BIG_ENDIAN_BITFIELD
458  uint64_t cnt:32;
459 #else
462 #endif
463  } s;
471 };
472 
476 #ifdef __BIG_ENDIAN_BITFIELD
477  uint64_t time:32;
478  uint64_t cnt:32;
479 #else
482 #endif
483  } s;
491 };
492 
496 #ifdef __BIG_ENDIAN_BITFIELD
498  uint64_t tim:32;
499 #else
502 #endif
503  } s;
511 };
512 
516 #ifdef __BIG_ENDIAN_BITFIELD
518  uint64_t pipe_err:1;
519  uint64_t ill_pad:1;
524  uint64_t pins_err:1;
525  uint64_t pop_err:1;
526  uint64_t pdi_err:1;
527  uint64_t pgl_err:1;
528  uint64_t pin_bp:1;
529  uint64_t pout_err:1;
530  uint64_t psldbof:1;
531  uint64_t pidbof:1;
533  uint64_t dtime:2;
534  uint64_t dcnt:2;
535  uint64_t dmafi:2;
537  uint64_t m3_un_wi:1;
538  uint64_t m3_un_b0:1;
539  uint64_t m3_up_wi:1;
540  uint64_t m3_up_b0:1;
541  uint64_t m2_un_wi:1;
542  uint64_t m2_un_b0:1;
543  uint64_t m2_up_wi:1;
544  uint64_t m2_up_b0:1;
546  uint64_t mio_int1:1;
547  uint64_t mio_int0:1;
548  uint64_t m1_un_wi:1;
549  uint64_t m1_un_b0:1;
550  uint64_t m1_up_wi:1;
551  uint64_t m1_up_b0:1;
552  uint64_t m0_un_wi:1;
553  uint64_t m0_un_b0:1;
554  uint64_t m0_up_wi:1;
555  uint64_t m0_up_b0:1;
557  uint64_t ptime:1;
558  uint64_t pcnt:1;
559  uint64_t iob2big:1;
560  uint64_t bar0_to:1;
562  uint64_t rml_to:1;
563 #else
610 #endif
611  } s;
613 #ifdef __BIG_ENDIAN_BITFIELD
615  uint64_t ill_pad:1;
620  uint64_t pins_err:1;
621  uint64_t pop_err:1;
622  uint64_t pdi_err:1;
623  uint64_t pgl_err:1;
624  uint64_t pin_bp:1;
625  uint64_t pout_err:1;
626  uint64_t psldbof:1;
627  uint64_t pidbof:1;
629  uint64_t dtime:2;
630  uint64_t dcnt:2;
631  uint64_t dmafi:2;
633  uint64_t m3_un_wi:1;
634  uint64_t m3_un_b0:1;
635  uint64_t m3_up_wi:1;
636  uint64_t m3_up_b0:1;
637  uint64_t m2_un_wi:1;
638  uint64_t m2_un_b0:1;
639  uint64_t m2_up_wi:1;
640  uint64_t m2_up_b0:1;
642  uint64_t mio_int1:1;
643  uint64_t mio_int0:1;
644  uint64_t m1_un_wi:1;
645  uint64_t m1_un_b0:1;
646  uint64_t m1_up_wi:1;
647  uint64_t m1_up_b0:1;
648  uint64_t m0_un_wi:1;
649  uint64_t m0_un_b0:1;
650  uint64_t m0_up_wi:1;
651  uint64_t m0_up_b0:1;
653  uint64_t ptime:1;
654  uint64_t pcnt:1;
655  uint64_t iob2big:1;
656  uint64_t bar0_to:1;
658  uint64_t rml_to:1;
659 #else
705 #endif
706  } cn61xx;
708 #ifdef __BIG_ENDIAN_BITFIELD
710  uint64_t ill_pad:1;
714  uint64_t pins_err:1;
715  uint64_t pop_err:1;
716  uint64_t pdi_err:1;
717  uint64_t pgl_err:1;
718  uint64_t pin_bp:1;
719  uint64_t pout_err:1;
720  uint64_t psldbof:1;
721  uint64_t pidbof:1;
723  uint64_t dtime:2;
724  uint64_t dcnt:2;
725  uint64_t dmafi:2;
727  uint64_t mio_int1:1;
728  uint64_t mio_int0:1;
729  uint64_t m1_un_wi:1;
730  uint64_t m1_un_b0:1;
731  uint64_t m1_up_wi:1;
732  uint64_t m1_up_b0:1;
733  uint64_t m0_un_wi:1;
734  uint64_t m0_un_b0:1;
735  uint64_t m0_up_wi:1;
736  uint64_t m0_up_b0:1;
738  uint64_t ptime:1;
739  uint64_t pcnt:1;
740  uint64_t iob2big:1;
741  uint64_t bar0_to:1;
743  uint64_t rml_to:1;
744 #else
780 #endif
781  } cn63xx;
785 #ifdef __BIG_ENDIAN_BITFIELD
787  uint64_t pipe_err:1;
788  uint64_t ill_pad:1;
792  uint64_t pins_err:1;
793  uint64_t pop_err:1;
794  uint64_t pdi_err:1;
795  uint64_t pgl_err:1;
797  uint64_t pout_err:1;
798  uint64_t psldbof:1;
799  uint64_t pidbof:1;
801  uint64_t dtime:2;
802  uint64_t dcnt:2;
803  uint64_t dmafi:2;
805  uint64_t mio_int1:1;
806  uint64_t mio_int0:1;
807  uint64_t m1_un_wi:1;
808  uint64_t m1_un_b0:1;
809  uint64_t m1_up_wi:1;
810  uint64_t m1_up_b0:1;
811  uint64_t m0_un_wi:1;
812  uint64_t m0_un_b0:1;
813  uint64_t m0_up_wi:1;
814  uint64_t m0_up_b0:1;
816  uint64_t ptime:1;
817  uint64_t pcnt:1;
818  uint64_t iob2big:1;
819  uint64_t bar0_to:1;
821  uint64_t rml_to:1;
822 #else
859 #endif
860  } cn68xx;
863 };
864 
868 #ifdef __BIG_ENDIAN_BITFIELD
870  uint64_t pipe_err:1;
871  uint64_t ill_pad:1;
876  uint64_t pins_err:1;
877  uint64_t pop_err:1;
878  uint64_t pdi_err:1;
879  uint64_t pgl_err:1;
880  uint64_t pin_bp:1;
881  uint64_t pout_err:1;
882  uint64_t psldbof:1;
883  uint64_t pidbof:1;
885  uint64_t dtime:2;
886  uint64_t dcnt:2;
887  uint64_t dmafi:2;
889  uint64_t m3_un_wi:1;
890  uint64_t m3_un_b0:1;
891  uint64_t m3_up_wi:1;
892  uint64_t m3_up_b0:1;
893  uint64_t m2_un_wi:1;
894  uint64_t m2_un_b0:1;
895  uint64_t m2_up_wi:1;
896  uint64_t m2_up_b0:1;
897  uint64_t mac1_int:1;
898  uint64_t mac0_int:1;
899  uint64_t mio_int1:1;
900  uint64_t mio_int0:1;
901  uint64_t m1_un_wi:1;
902  uint64_t m1_un_b0:1;
903  uint64_t m1_up_wi:1;
904  uint64_t m1_up_b0:1;
905  uint64_t m0_un_wi:1;
906  uint64_t m0_un_b0:1;
907  uint64_t m0_up_wi:1;
908  uint64_t m0_up_b0:1;
910  uint64_t ptime:1;
911  uint64_t pcnt:1;
912  uint64_t iob2big:1;
913  uint64_t bar0_to:1;
915  uint64_t rml_to:1;
916 #else
964 #endif
965  } s;
967 #ifdef __BIG_ENDIAN_BITFIELD
969  uint64_t ill_pad:1;
974  uint64_t pins_err:1;
975  uint64_t pop_err:1;
976  uint64_t pdi_err:1;
977  uint64_t pgl_err:1;
978  uint64_t pin_bp:1;
979  uint64_t pout_err:1;
980  uint64_t psldbof:1;
981  uint64_t pidbof:1;
983  uint64_t dtime:2;
984  uint64_t dcnt:2;
985  uint64_t dmafi:2;
987  uint64_t m3_un_wi:1;
988  uint64_t m3_un_b0:1;
989  uint64_t m3_up_wi:1;
990  uint64_t m3_up_b0:1;
991  uint64_t m2_un_wi:1;
992  uint64_t m2_un_b0:1;
993  uint64_t m2_up_wi:1;
994  uint64_t m2_up_b0:1;
995  uint64_t mac1_int:1;
996  uint64_t mac0_int:1;
997  uint64_t mio_int1:1;
998  uint64_t mio_int0:1;
999  uint64_t m1_un_wi:1;
1000  uint64_t m1_un_b0:1;
1001  uint64_t m1_up_wi:1;
1002  uint64_t m1_up_b0:1;
1003  uint64_t m0_un_wi:1;
1004  uint64_t m0_un_b0:1;
1005  uint64_t m0_up_wi:1;
1006  uint64_t m0_up_b0:1;
1008  uint64_t ptime:1;
1009  uint64_t pcnt:1;
1010  uint64_t iob2big:1;
1011  uint64_t bar0_to:1;
1013  uint64_t rml_to:1;
1014 #else
1061 #endif
1062  } cn61xx;
1064 #ifdef __BIG_ENDIAN_BITFIELD
1066  uint64_t ill_pad:1;
1068  uint64_t sprt1_err:1;
1069  uint64_t sprt0_err:1;
1070  uint64_t pins_err:1;
1071  uint64_t pop_err:1;
1072  uint64_t pdi_err:1;
1073  uint64_t pgl_err:1;
1074  uint64_t pin_bp:1;
1075  uint64_t pout_err:1;
1076  uint64_t psldbof:1;
1077  uint64_t pidbof:1;
1079  uint64_t dtime:2;
1080  uint64_t dcnt:2;
1081  uint64_t dmafi:2;
1083  uint64_t mac1_int:1;
1084  uint64_t mac0_int:1;
1085  uint64_t mio_int1:1;
1086  uint64_t mio_int0:1;
1087  uint64_t m1_un_wi:1;
1088  uint64_t m1_un_b0:1;
1089  uint64_t m1_up_wi:1;
1090  uint64_t m1_up_b0:1;
1091  uint64_t m0_un_wi:1;
1092  uint64_t m0_un_b0:1;
1093  uint64_t m0_up_wi:1;
1094  uint64_t m0_up_b0:1;
1096  uint64_t ptime:1;
1097  uint64_t pcnt:1;
1098  uint64_t iob2big:1;
1099  uint64_t bar0_to:1;
1101  uint64_t rml_to:1;
1102 #else
1140 #endif
1141  } cn63xx;
1145 #ifdef __BIG_ENDIAN_BITFIELD
1147  uint64_t pipe_err:1;
1148  uint64_t ill_pad:1;
1150  uint64_t sprt1_err:1;
1151  uint64_t sprt0_err:1;
1152  uint64_t pins_err:1;
1153  uint64_t pop_err:1;
1154  uint64_t pdi_err:1;
1155  uint64_t pgl_err:1;
1157  uint64_t pout_err:1;
1158  uint64_t psldbof:1;
1159  uint64_t pidbof:1;
1161  uint64_t dtime:2;
1162  uint64_t dcnt:2;
1163  uint64_t dmafi:2;
1165  uint64_t mac1_int:1;
1166  uint64_t mac0_int:1;
1167  uint64_t mio_int1:1;
1168  uint64_t mio_int0:1;
1169  uint64_t m1_un_wi:1;
1170  uint64_t m1_un_b0:1;
1171  uint64_t m1_up_wi:1;
1172  uint64_t m1_up_b0:1;
1173  uint64_t m0_un_wi:1;
1174  uint64_t m0_un_b0:1;
1175  uint64_t m0_up_wi:1;
1176  uint64_t m0_up_b0:1;
1178  uint64_t ptime:1;
1179  uint64_t pcnt:1;
1180  uint64_t iob2big:1;
1181  uint64_t bar0_to:1;
1183  uint64_t rml_to:1;
1184 #else
1223 #endif
1224  } cn68xx;
1227 };
1228 
1232 #ifdef __BIG_ENDIAN_BITFIELD
1234  uint64_t pipe_err:1;
1235  uint64_t ill_pad:1;
1236  uint64_t sprt3_err:1;
1237  uint64_t sprt2_err:1;
1238  uint64_t sprt1_err:1;
1239  uint64_t sprt0_err:1;
1240  uint64_t pins_err:1;
1241  uint64_t pop_err:1;
1242  uint64_t pdi_err:1;
1243  uint64_t pgl_err:1;
1244  uint64_t pin_bp:1;
1245  uint64_t pout_err:1;
1246  uint64_t psldbof:1;
1247  uint64_t pidbof:1;
1249  uint64_t dtime:2;
1250  uint64_t dcnt:2;
1251  uint64_t dmafi:2;
1253  uint64_t m3_un_wi:1;
1254  uint64_t m3_un_b0:1;
1255  uint64_t m3_up_wi:1;
1256  uint64_t m3_up_b0:1;
1257  uint64_t m2_un_wi:1;
1258  uint64_t m2_un_b0:1;
1259  uint64_t m2_up_wi:1;
1260  uint64_t m2_up_b0:1;
1261  uint64_t mac1_int:1;
1262  uint64_t mac0_int:1;
1263  uint64_t mio_int1:1;
1264  uint64_t mio_int0:1;
1265  uint64_t m1_un_wi:1;
1266  uint64_t m1_un_b0:1;
1267  uint64_t m1_up_wi:1;
1268  uint64_t m1_up_b0:1;
1269  uint64_t m0_un_wi:1;
1270  uint64_t m0_un_b0:1;
1271  uint64_t m0_up_wi:1;
1272  uint64_t m0_up_b0:1;
1274  uint64_t ptime:1;
1275  uint64_t pcnt:1;
1276  uint64_t iob2big:1;
1277  uint64_t bar0_to:1;
1279  uint64_t rml_to:1;
1280 #else
1328 #endif
1329  } s;
1331 #ifdef __BIG_ENDIAN_BITFIELD
1333  uint64_t ill_pad:1;
1334  uint64_t sprt3_err:1;
1335  uint64_t sprt2_err:1;
1336  uint64_t sprt1_err:1;
1337  uint64_t sprt0_err:1;
1338  uint64_t pins_err:1;
1339  uint64_t pop_err:1;
1340  uint64_t pdi_err:1;
1341  uint64_t pgl_err:1;
1342  uint64_t pin_bp:1;
1343  uint64_t pout_err:1;
1344  uint64_t psldbof:1;
1345  uint64_t pidbof:1;
1347  uint64_t dtime:2;
1348  uint64_t dcnt:2;
1349  uint64_t dmafi:2;
1351  uint64_t m3_un_wi:1;
1352  uint64_t m3_un_b0:1;
1353  uint64_t m3_up_wi:1;
1354  uint64_t m3_up_b0:1;
1355  uint64_t m2_un_wi:1;
1356  uint64_t m2_un_b0:1;
1357  uint64_t m2_up_wi:1;
1358  uint64_t m2_up_b0:1;
1359  uint64_t mac1_int:1;
1360  uint64_t mac0_int:1;
1361  uint64_t mio_int1:1;
1362  uint64_t mio_int0:1;
1363  uint64_t m1_un_wi:1;
1364  uint64_t m1_un_b0:1;
1365  uint64_t m1_up_wi:1;
1366  uint64_t m1_up_b0:1;
1367  uint64_t m0_un_wi:1;
1368  uint64_t m0_un_b0:1;
1369  uint64_t m0_up_wi:1;
1370  uint64_t m0_up_b0:1;
1372  uint64_t ptime:1;
1373  uint64_t pcnt:1;
1374  uint64_t iob2big:1;
1375  uint64_t bar0_to:1;
1377  uint64_t rml_to:1;
1378 #else
1425 #endif
1426  } cn61xx;
1428 #ifdef __BIG_ENDIAN_BITFIELD
1430  uint64_t ill_pad:1;
1432  uint64_t sprt1_err:1;
1433  uint64_t sprt0_err:1;
1434  uint64_t pins_err:1;
1435  uint64_t pop_err:1;
1436  uint64_t pdi_err:1;
1437  uint64_t pgl_err:1;
1438  uint64_t pin_bp:1;
1439  uint64_t pout_err:1;
1440  uint64_t psldbof:1;
1441  uint64_t pidbof:1;
1443  uint64_t dtime:2;
1444  uint64_t dcnt:2;
1445  uint64_t dmafi:2;
1447  uint64_t mac1_int:1;
1448  uint64_t mac0_int:1;
1449  uint64_t mio_int1:1;
1450  uint64_t mio_int0:1;
1451  uint64_t m1_un_wi:1;
1452  uint64_t m1_un_b0:1;
1453  uint64_t m1_up_wi:1;
1454  uint64_t m1_up_b0:1;
1455  uint64_t m0_un_wi:1;
1456  uint64_t m0_un_b0:1;
1457  uint64_t m0_up_wi:1;
1458  uint64_t m0_up_b0:1;
1460  uint64_t ptime:1;
1461  uint64_t pcnt:1;
1462  uint64_t iob2big:1;
1463  uint64_t bar0_to:1;
1465  uint64_t rml_to:1;
1466 #else
1504 #endif
1505  } cn63xx;
1509 #ifdef __BIG_ENDIAN_BITFIELD
1511  uint64_t pipe_err:1;
1512  uint64_t ill_pad:1;
1514  uint64_t sprt1_err:1;
1515  uint64_t sprt0_err:1;
1516  uint64_t pins_err:1;
1517  uint64_t pop_err:1;
1518  uint64_t pdi_err:1;
1519  uint64_t pgl_err:1;
1521  uint64_t pout_err:1;
1522  uint64_t psldbof:1;
1523  uint64_t pidbof:1;
1525  uint64_t dtime:2;
1526  uint64_t dcnt:2;
1527  uint64_t dmafi:2;
1529  uint64_t mac1_int:1;
1530  uint64_t mac0_int:1;
1531  uint64_t mio_int1:1;
1532  uint64_t mio_int0:1;
1533  uint64_t m1_un_wi:1;
1534  uint64_t m1_un_b0:1;
1535  uint64_t m1_up_wi:1;
1536  uint64_t m1_up_b0:1;
1537  uint64_t m0_un_wi:1;
1538  uint64_t m0_un_b0:1;
1539  uint64_t m0_up_wi:1;
1540  uint64_t m0_up_b0:1;
1542  uint64_t ptime:1;
1543  uint64_t pcnt:1;
1544  uint64_t iob2big:1;
1545  uint64_t bar0_to:1;
1547  uint64_t rml_to:1;
1548 #else
1587 #endif
1588  } cn68xx;
1591 };
1592 
1596 #ifdef __BIG_ENDIAN_BITFIELD
1597  uint64_t data:64;
1598 #else
1600 #endif
1601  } s;
1609 };
1610 
1614 #ifdef __BIG_ENDIAN_BITFIELD
1615  uint64_t data:64;
1616 #else
1618 #endif
1619  } s;
1627 };
1628 
1632 #ifdef __BIG_ENDIAN_BITFIELD
1633  uint64_t data:64;
1634 #else
1636 #endif
1637  } s;
1641 };
1642 
1646 #ifdef __BIG_ENDIAN_BITFIELD
1647  uint64_t data:64;
1648 #else
1650 #endif
1651  } s;
1655 };
1656 
1660 #ifdef __BIG_ENDIAN_BITFIELD
1662  uint64_t p1_c_d:1;
1663  uint64_t p1_n_d:1;
1664  uint64_t p1_p_d:1;
1665  uint64_t p0_c_d:1;
1666  uint64_t p0_n_d:1;
1667  uint64_t p0_p_d:1;
1668  uint64_t p1_ccnt:8;
1669  uint64_t p1_ncnt:8;
1670  uint64_t p1_pcnt:8;
1671  uint64_t p0_ccnt:8;
1672  uint64_t p0_ncnt:8;
1673  uint64_t p0_pcnt:8;
1674 #else
1688 #endif
1689  } s;
1693 #ifdef __BIG_ENDIAN_BITFIELD
1695  uint64_t p1_ccnt:8;
1696  uint64_t p1_ncnt:8;
1697  uint64_t p1_pcnt:8;
1698  uint64_t p0_ccnt:8;
1699  uint64_t p0_ncnt:8;
1700  uint64_t p0_pcnt:8;
1701 #else
1709 #endif
1710  } cn63xxp1;
1715 };
1716 
1720 #ifdef __BIG_ENDIAN_BITFIELD
1722  uint64_t p3_c_d:1;
1723  uint64_t p3_n_d:1;
1724  uint64_t p3_p_d:1;
1725  uint64_t p2_c_d:1;
1726  uint64_t p2_n_d:1;
1727  uint64_t p2_p_d:1;
1728  uint64_t p3_ccnt:8;
1729  uint64_t p3_ncnt:8;
1730  uint64_t p3_pcnt:8;
1731  uint64_t p2_ccnt:8;
1732  uint64_t p2_ncnt:8;
1733  uint64_t p2_pcnt:8;
1734 #else
1748 #endif
1749  } s;
1753 };
1754 
1758 #ifdef __BIG_ENDIAN_BITFIELD
1760  uint64_t a_mode:1;
1761  uint64_t num:8;
1762 #else
1766 #endif
1767  } s;
1770 #ifdef __BIG_ENDIAN_BITFIELD
1772  uint64_t num:8;
1773 #else
1776 #endif
1777  } cn63xx;
1782 };
1783 
1787 #ifdef __BIG_ENDIAN_BITFIELD
1789  uint64_t max_word:4;
1790  uint64_t timer:10;
1791 #else
1795 #endif
1796  } s;
1804 };
1805 
1809 #ifdef __BIG_ENDIAN_BITFIELD
1811  uint64_t zero:1;
1812  uint64_t port:3;
1813  uint64_t nmerge:1;
1814  uint64_t esr:2;
1815  uint64_t esw:2;
1816  uint64_t wtype:2;
1817  uint64_t rtype:2;
1819 #else
1829 #endif
1830  } s;
1832 #ifdef __BIG_ENDIAN_BITFIELD
1834  uint64_t zero:1;
1835  uint64_t port:3;
1836  uint64_t nmerge:1;
1837  uint64_t esr:2;
1838  uint64_t esw:2;
1839  uint64_t wtype:2;
1840  uint64_t rtype:2;
1841  uint64_t ba:30;
1842 #else
1852 #endif
1853  } cn61xx;
1858 #ifdef __BIG_ENDIAN_BITFIELD
1860  uint64_t zero:1;
1861  uint64_t port:3;
1862  uint64_t nmerge:1;
1863  uint64_t esr:2;
1864  uint64_t esw:2;
1865  uint64_t wtype:2;
1866  uint64_t rtype:2;
1867  uint64_t ba:28;
1869 #else
1880 #endif
1881  } cn68xx;
1884 };
1885 
1889 #ifdef __BIG_ENDIAN_BITFIELD
1890  uint64_t enb:64;
1891 #else
1893 #endif
1894  } s;
1902 };
1903 
1907 #ifdef __BIG_ENDIAN_BITFIELD
1908  uint64_t enb:64;
1909 #else
1911 #endif
1912  } s;
1920 };
1921 
1925 #ifdef __BIG_ENDIAN_BITFIELD
1926  uint64_t enb:64;
1927 #else
1929 #endif
1930  } s;
1938 };
1939 
1943 #ifdef __BIG_ENDIAN_BITFIELD
1944  uint64_t enb:64;
1945 #else
1947 #endif
1948  } s;
1956 };
1957 
1961 #ifdef __BIG_ENDIAN_BITFIELD
1962  uint64_t intr:64;
1963 #else
1965 #endif
1966  } s;
1974 };
1975 
1979 #ifdef __BIG_ENDIAN_BITFIELD
1980  uint64_t intr:64;
1981 #else
1983 #endif
1984  } s;
1992 };
1993 
1997 #ifdef __BIG_ENDIAN_BITFIELD
1998  uint64_t intr:64;
1999 #else
2001 #endif
2002  } s;
2010 };
2011 
2015 #ifdef __BIG_ENDIAN_BITFIELD
2016  uint64_t intr:64;
2017 #else
2019 #endif
2020  } s;
2028 };
2029 
2033 #ifdef __BIG_ENDIAN_BITFIELD
2035  uint64_t rd_int:8;
2036  uint64_t msi_int:8;
2037 #else
2041 #endif
2042  } s;
2050 };
2051 
2055 #ifdef __BIG_ENDIAN_BITFIELD
2056  uint64_t clr:64;
2057 #else
2059 #endif
2060  } s;
2068 };
2069 
2073 #ifdef __BIG_ENDIAN_BITFIELD
2074  uint64_t clr:64;
2075 #else
2077 #endif
2078  } s;
2086 };
2087 
2091 #ifdef __BIG_ENDIAN_BITFIELD
2092  uint64_t clr:64;
2093 #else
2095 #endif
2096  } s;
2104 };
2105 
2109 #ifdef __BIG_ENDIAN_BITFIELD
2110  uint64_t clr:64;
2111 #else
2113 #endif
2114  } s;
2122 };
2123 
2127 #ifdef __BIG_ENDIAN_BITFIELD
2128  uint64_t set:64;
2129 #else
2130  uint64_t set:64;
2131 #endif
2132  } s;
2140 };
2141 
2145 #ifdef __BIG_ENDIAN_BITFIELD
2146  uint64_t set:64;
2147 #else
2148  uint64_t set:64;
2149 #endif
2150  } s;
2158 };
2159 
2163 #ifdef __BIG_ENDIAN_BITFIELD
2164  uint64_t set:64;
2165 #else
2166  uint64_t set:64;
2167 #endif
2168  } s;
2176 };
2177 
2181 #ifdef __BIG_ENDIAN_BITFIELD
2182  uint64_t set:64;
2183 #else
2184  uint64_t set:64;
2185 #endif
2186  } s;
2194 };
2195 
2199 #ifdef __BIG_ENDIAN_BITFIELD
2201  uint64_t ciu_int:8;
2202  uint64_t msi_int:8;
2203 #else
2207 #endif
2208  } s;
2216 };
2217 
2221 #ifdef __BIG_ENDIAN_BITFIELD
2223  uint64_t intr:8;
2224 #else
2227 #endif
2228  } s;
2236 };
2237 
2241 #ifdef __BIG_ENDIAN_BITFIELD
2243  uint64_t intr:8;
2245 #else
2249 #endif
2250  } s;
2258 };
2259 
2263 #ifdef __BIG_ENDIAN_BITFIELD
2265  uint64_t intr:8;
2267 #else
2271 #endif
2272  } s;
2280 };
2281 
2285 #ifdef __BIG_ENDIAN_BITFIELD
2287  uint64_t intr:8;
2289 #else
2293 #endif
2294  } s;
2302 };
2303 
2307 #ifdef __BIG_ENDIAN_BITFIELD
2309  uint64_t timer:22;
2310  uint64_t cnt:32;
2311 #else
2315 #endif
2316  } s;
2324 };
2325 
2329 #ifdef __BIG_ENDIAN_BITFIELD
2330  uint64_t wmark:32;
2331  uint64_t cnt:32;
2332 #else
2335 #endif
2336  } s;
2342 };
2343 
2347 #ifdef __BIG_ENDIAN_BITFIELD
2348  uint64_t addr:61;
2350 #else
2353 #endif
2354  } s;
2362 };
2363 
2367 #ifdef __BIG_ENDIAN_BITFIELD
2368  uint64_t aoff:32;
2369  uint64_t dbell:32;
2370 #else
2373 #endif
2374  } s;
2382 };
2383 
2387 #ifdef __BIG_ENDIAN_BITFIELD
2388  uint64_t max:9;
2389  uint64_t rrp:9;
2390  uint64_t wrp:9;
2391  uint64_t fcnt:5;
2392  uint64_t rsize:32;
2393 #else
2399 #endif
2400  } s;
2408 };
2409 
2413 #ifdef __BIG_ENDIAN_BITFIELD
2415  uint64_t pbp:1;
2417  uint64_t rparmode:2;
2419  uint64_t rskp_len:7;
2420  uint64_t rngrpext:2;
2421  uint64_t rnqos:1;
2422  uint64_t rngrp:1;
2423  uint64_t rntt:1;
2424  uint64_t rntag:1;
2425  uint64_t use_ihdr:1;
2427  uint64_t par_mode:2;
2429  uint64_t skp_len:7;
2430  uint64_t ngrpext:2;
2431  uint64_t nqos:1;
2432  uint64_t ngrp:1;
2433  uint64_t ntt:1;
2434  uint64_t ntag:1;
2435 #else
2457 #endif
2458  } s;
2460 #ifdef __BIG_ENDIAN_BITFIELD
2462  uint64_t pbp:1;
2464  uint64_t rparmode:2;
2466  uint64_t rskp_len:7;
2468  uint64_t rnqos:1;
2469  uint64_t rngrp:1;
2470  uint64_t rntt:1;
2471  uint64_t rntag:1;
2472  uint64_t use_ihdr:1;
2474  uint64_t par_mode:2;
2476  uint64_t skp_len:7;
2478  uint64_t nqos:1;
2479  uint64_t ngrp:1;
2480  uint64_t ntt:1;
2481  uint64_t ntag:1;
2482 #else
2504 #endif
2505  } cn61xx;
2512 };
2513 
2517 #ifdef __BIG_ENDIAN_BITFIELD
2519  uint64_t isize:7;
2520  uint64_t bsize:16;
2521 #else
2525 #endif
2526  } s;
2534 };
2535 
2539 #ifdef __BIG_ENDIAN_BITFIELD
2540  uint64_t addr:60;
2542 #else
2545 #endif
2546  } s;
2554 };
2555 
2559 #ifdef __BIG_ENDIAN_BITFIELD
2560  uint64_t aoff:32;
2561  uint64_t dbell:32;
2562 #else
2565 #endif
2566  } s;
2574 };
2575 
2579 #ifdef __BIG_ENDIAN_BITFIELD
2581  uint64_t rsize:32;
2582 #else
2585 #endif
2586  } s;
2594 };
2595 
2599 #ifdef __BIG_ENDIAN_BITFIELD
2601  uint64_t port:32;
2602 #else
2605 #endif
2606  } s;
2614 };
2615 
2619 #ifdef __BIG_ENDIAN_BITFIELD
2621  uint64_t port:32;
2622 #else
2625 #endif
2626  } s;
2634 };
2635 
2639 #ifdef __BIG_ENDIAN_BITFIELD
2641  uint64_t ring_en:1;
2642  uint64_t pkt_bp:4;
2643 #else
2647 #endif
2648  } s;
2656 };
2657 
2661 #ifdef __BIG_ENDIAN_BITFIELD
2662  uint64_t es:64;
2663 #else
2665 #endif
2666  } s;
2674 };
2675 
2679 #ifdef __BIG_ENDIAN_BITFIELD
2681  uint64_t nsr:32;
2682 #else
2685 #endif
2686  } s;
2694 };
2695 
2699 #ifdef __BIG_ENDIAN_BITFIELD
2701  uint64_t ror:32;
2702 #else
2705 #endif
2706  } s;
2714 };
2715 
2719 #ifdef __BIG_ENDIAN_BITFIELD
2721  uint64_t dptr:32;
2722 #else
2725 #endif
2726  } s;
2734 };
2735 
2739 #ifdef __BIG_ENDIAN_BITFIELD
2741  uint64_t bp:32;
2742 #else
2745 #endif
2746  } s;
2752 };
2753 
2757 #ifdef __BIG_ENDIAN_BITFIELD
2759  uint64_t cnt:32;
2760 #else
2763 #endif
2764  } s;
2772 };
2773 
2777 #ifdef __BIG_ENDIAN_BITFIELD
2778  uint64_t wr_cnt:32;
2779  uint64_t rd_cnt:32;
2780 #else
2783 #endif
2784  } s;
2792 };
2793 
2797 #ifdef __BIG_ENDIAN_BITFIELD
2798  uint64_t pp:64;
2799 #else
2801 #endif
2802  } s;
2810 };
2811 
2815 #ifdef __BIG_ENDIAN_BITFIELD
2816  uint64_t prd_erst:1;
2817  uint64_t prd_rds:7;
2818  uint64_t gii_erst:1;
2819  uint64_t gii_rds:7;
2821  uint64_t prc_idle:1;
2823  uint64_t pin_rst:1;
2824  uint64_t pkt_rr:1;
2825  uint64_t pbp_dhi:13;
2826  uint64_t d_nsr:1;
2827  uint64_t d_esr:2;
2828  uint64_t d_ror:1;
2829  uint64_t use_csr:1;
2830  uint64_t nsr:1;
2831  uint64_t esr:2;
2832  uint64_t ror:1;
2833 #else
2851 #endif
2852  } s;
2855 #ifdef __BIG_ENDIAN_BITFIELD
2857  uint64_t pkt_rr:1;
2858  uint64_t pbp_dhi:13;
2859  uint64_t d_nsr:1;
2860  uint64_t d_esr:2;
2861  uint64_t d_ror:1;
2862  uint64_t use_csr:1;
2863  uint64_t nsr:1;
2864  uint64_t esr:2;
2865  uint64_t ror:1;
2866 #else
2877 #endif
2878  } cn63xx;
2884 };
2885 
2889 #ifdef __BIG_ENDIAN_BITFIELD
2891  uint64_t enb:32;
2892 #else
2895 #endif
2896  } s;
2904 };
2905 
2909 #ifdef __BIG_ENDIAN_BITFIELD
2910  uint64_t rdsize:64;
2911 #else
2913 #endif
2914  } s;
2922 };
2923 
2927 #ifdef __BIG_ENDIAN_BITFIELD
2929  uint64_t is_64b:32;
2930 #else
2933 #endif
2934  } s;
2942 };
2943 
2947 #ifdef __BIG_ENDIAN_BITFIELD
2949  uint64_t time:22;
2950  uint64_t cnt:32;
2951 #else
2955 #endif
2956  } s;
2964 };
2965 
2969 #ifdef __BIG_ENDIAN_BITFIELD
2971  uint64_t iptr:32;
2972 #else
2975 #endif
2976  } s;
2984 };
2985 
2989 #ifdef __BIG_ENDIAN_BITFIELD
2991  uint64_t bmode:32;
2992 #else
2995 #endif
2996  } s;
3004 };
3005 
3009 #ifdef __BIG_ENDIAN_BITFIELD
3011  uint64_t bp_en:32;
3012 #else
3015 #endif
3016  } s;
3019 };
3020 
3024 #ifdef __BIG_ENDIAN_BITFIELD
3026  uint64_t enb:32;
3027 #else
3030 #endif
3031  } s;
3039 };
3040 
3044 #ifdef __BIG_ENDIAN_BITFIELD
3046  uint64_t wmark:32;
3047 #else
3050 #endif
3051  } s;
3059 };
3060 
3064 #ifdef __BIG_ENDIAN_BITFIELD
3065  uint64_t pp:64;
3066 #else
3068 #endif
3069  } s;
3077 };
3078 
3082 #ifdef __BIG_ENDIAN_BITFIELD
3083  uint64_t in_rst:32;
3084  uint64_t out_rst:32;
3085 #else
3088 #endif
3089  } s;
3097 };
3098 
3102 #ifdef __BIG_ENDIAN_BITFIELD
3103  uint64_t es:64;
3104 #else
3106 #endif
3107  } s;
3115 };
3116 
3120 #ifdef __BIG_ENDIAN_BITFIELD
3122  uint64_t nsr:32;
3123 #else
3126 #endif
3127  } s;
3135 };
3136 
3140 #ifdef __BIG_ENDIAN_BITFIELD
3142  uint64_t ror:32;
3143 #else
3146 #endif
3147  } s;
3155 };
3156 
3160 #ifdef __BIG_ENDIAN_BITFIELD
3162  uint64_t port:32;
3163 #else
3166 #endif
3167  } s;
3175 };
3176 
3180 #ifdef __BIG_ENDIAN_BITFIELD
3182  uint64_t port:32;
3183 #else
3186 #endif
3187  } s;
3195 };
3196 
3200 #ifdef __BIG_ENDIAN_BITFIELD
3202  uint64_t rpk_enb:1;
3204  uint64_t pkindr:6;
3206  uint64_t bpkind:6;
3208  uint64_t pkind:6;
3209 #else
3218 #endif
3219  } s;
3222 #ifdef __BIG_ENDIAN_BITFIELD
3224  uint64_t bpkind:6;
3226  uint64_t pkind:6;
3227 #else
3232 #endif
3233  } cn68xxp1;
3234 };
3235 
3239 #ifdef __BIG_ENDIAN_BITFIELD
3241  uint64_t wind_d:1;
3242  uint64_t bar0_d:1;
3243  uint64_t mrrs:3;
3244 #else
3249 #endif
3250  } s;
3258 };
3259 
3263 #ifdef __BIG_ENDIAN_BITFIELD
3264  uint64_t data:64;
3265 #else
3267 #endif
3268  } s;
3276 };
3277 
3281 #ifdef __BIG_ENDIAN_BITFIELD
3282  uint64_t data:64;
3283 #else
3285 #endif
3286  } s;
3294 };
3295 
3299 #ifdef __BIG_ENDIAN_BITFIELD
3300  uint64_t cpl1:12;
3301  uint64_t cpl0:12;
3302  uint64_t arb:1;
3303  uint64_t csr:39;
3304 #else
3309 #endif
3310  } s;
3318 };
3319 
3323 #ifdef __BIG_ENDIAN_BITFIELD
3325  uint64_t nnp1:8;
3327  uint64_t rac:1;
3328  uint64_t csm1:15;
3329  uint64_t csm0:15;
3330  uint64_t nnp0:8;
3331  uint64_t nnd:8;
3332 #else
3341 #endif
3342  } s;
3350 };
3351 
3355 #ifdef __BIG_ENDIAN_BITFIELD
3357  uint64_t psm1:15;
3358  uint64_t psm0:15;
3359  uint64_t nsm1:13;
3360  uint64_t nsm0:13;
3361 #else
3367 #endif
3368  } s;
3376 };
3377 
3381 #ifdef __BIG_ENDIAN_BITFIELD
3383  uint64_t nump:8;
3385  uint64_t base:7;
3386 #else
3391 #endif
3392  } s;
3395 };
3396 
3400 #ifdef __BIG_ENDIAN_BITFIELD
3402  uint64_t ld_cmd:2;
3403  uint64_t iobit:1;
3404  uint64_t rd_addr:48;
3405 #else
3410 #endif
3411  } s;
3419 };
3420 
3424 #ifdef __BIG_ENDIAN_BITFIELD
3425  uint64_t rd_data:64;
3426 #else
3428 #endif
3429  } s;
3437 };
3438 
3442 #ifdef __BIG_ENDIAN_BITFIELD
3444  uint64_t iobit:1;
3445  uint64_t wr_addr:45;
3447 #else
3452 #endif
3453  } s;
3461 };
3462 
3466 #ifdef __BIG_ENDIAN_BITFIELD
3467  uint64_t wr_data:64;
3468 #else
3470 #endif
3471  } s;
3479 };
3480 
3484 #ifdef __BIG_ENDIAN_BITFIELD
3486  uint64_t wr_mask:8;
3487 #else
3490 #endif
3491  } s;
3499 };
3500 
3504 #ifdef __BIG_ENDIAN_BITFIELD
3506  uint64_t time:32;
3507 #else
3510 #endif
3511  } s;
3519 };
3520 
3521 #endif