Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cvmx-ciu-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_CIU_DEFS_H__
29 #define __CVMX_CIU_DEFS_H__
30 
31 #define CVMX_CIU_BIST (CVMX_ADD_IO_SEG(0x0001070000000730ull))
32 #define CVMX_CIU_BLOCK_INT (CVMX_ADD_IO_SEG(0x00010700000007C0ull))
33 #define CVMX_CIU_DINT (CVMX_ADD_IO_SEG(0x0001070000000720ull))
34 #define CVMX_CIU_EN2_IOX_INT(offset) (CVMX_ADD_IO_SEG(0x000107000000A600ull) + ((offset) & 1) * 8)
35 #define CVMX_CIU_EN2_IOX_INT_W1C(offset) (CVMX_ADD_IO_SEG(0x000107000000CE00ull) + ((offset) & 1) * 8)
36 #define CVMX_CIU_EN2_IOX_INT_W1S(offset) (CVMX_ADD_IO_SEG(0x000107000000AE00ull) + ((offset) & 1) * 8)
37 #define CVMX_CIU_EN2_PPX_IP2(offset) (CVMX_ADD_IO_SEG(0x000107000000A000ull) + ((offset) & 15) * 8)
38 #define CVMX_CIU_EN2_PPX_IP2_W1C(offset) (CVMX_ADD_IO_SEG(0x000107000000C800ull) + ((offset) & 15) * 8)
39 #define CVMX_CIU_EN2_PPX_IP2_W1S(offset) (CVMX_ADD_IO_SEG(0x000107000000A800ull) + ((offset) & 15) * 8)
40 #define CVMX_CIU_EN2_PPX_IP3(offset) (CVMX_ADD_IO_SEG(0x000107000000A200ull) + ((offset) & 15) * 8)
41 #define CVMX_CIU_EN2_PPX_IP3_W1C(offset) (CVMX_ADD_IO_SEG(0x000107000000CA00ull) + ((offset) & 15) * 8)
42 #define CVMX_CIU_EN2_PPX_IP3_W1S(offset) (CVMX_ADD_IO_SEG(0x000107000000AA00ull) + ((offset) & 15) * 8)
43 #define CVMX_CIU_EN2_PPX_IP4(offset) (CVMX_ADD_IO_SEG(0x000107000000A400ull) + ((offset) & 15) * 8)
44 #define CVMX_CIU_EN2_PPX_IP4_W1C(offset) (CVMX_ADD_IO_SEG(0x000107000000CC00ull) + ((offset) & 15) * 8)
45 #define CVMX_CIU_EN2_PPX_IP4_W1S(offset) (CVMX_ADD_IO_SEG(0x000107000000AC00ull) + ((offset) & 15) * 8)
46 #define CVMX_CIU_FUSE (CVMX_ADD_IO_SEG(0x0001070000000728ull))
47 #define CVMX_CIU_GSTOP (CVMX_ADD_IO_SEG(0x0001070000000710ull))
48 #define CVMX_CIU_INT33_SUM0 (CVMX_ADD_IO_SEG(0x0001070000000110ull))
49 #define CVMX_CIU_INTX_EN0(offset) (CVMX_ADD_IO_SEG(0x0001070000000200ull) + ((offset) & 63) * 16)
50 #define CVMX_CIU_INTX_EN0_W1C(offset) (CVMX_ADD_IO_SEG(0x0001070000002200ull) + ((offset) & 63) * 16)
51 #define CVMX_CIU_INTX_EN0_W1S(offset) (CVMX_ADD_IO_SEG(0x0001070000006200ull) + ((offset) & 63) * 16)
52 #define CVMX_CIU_INTX_EN1(offset) (CVMX_ADD_IO_SEG(0x0001070000000208ull) + ((offset) & 63) * 16)
53 #define CVMX_CIU_INTX_EN1_W1C(offset) (CVMX_ADD_IO_SEG(0x0001070000002208ull) + ((offset) & 63) * 16)
54 #define CVMX_CIU_INTX_EN1_W1S(offset) (CVMX_ADD_IO_SEG(0x0001070000006208ull) + ((offset) & 63) * 16)
55 #define CVMX_CIU_INTX_EN4_0(offset) (CVMX_ADD_IO_SEG(0x0001070000000C80ull) + ((offset) & 15) * 16)
56 #define CVMX_CIU_INTX_EN4_0_W1C(offset) (CVMX_ADD_IO_SEG(0x0001070000002C80ull) + ((offset) & 15) * 16)
57 #define CVMX_CIU_INTX_EN4_0_W1S(offset) (CVMX_ADD_IO_SEG(0x0001070000006C80ull) + ((offset) & 15) * 16)
58 #define CVMX_CIU_INTX_EN4_1(offset) (CVMX_ADD_IO_SEG(0x0001070000000C88ull) + ((offset) & 15) * 16)
59 #define CVMX_CIU_INTX_EN4_1_W1C(offset) (CVMX_ADD_IO_SEG(0x0001070000002C88ull) + ((offset) & 15) * 16)
60 #define CVMX_CIU_INTX_EN4_1_W1S(offset) (CVMX_ADD_IO_SEG(0x0001070000006C88ull) + ((offset) & 15) * 16)
61 #define CVMX_CIU_INTX_SUM0(offset) (CVMX_ADD_IO_SEG(0x0001070000000000ull) + ((offset) & 63) * 8)
62 #define CVMX_CIU_INTX_SUM4(offset) (CVMX_ADD_IO_SEG(0x0001070000000C00ull) + ((offset) & 15) * 8)
63 #define CVMX_CIU_INT_DBG_SEL (CVMX_ADD_IO_SEG(0x00010700000007D0ull))
64 #define CVMX_CIU_INT_SUM1 (CVMX_ADD_IO_SEG(0x0001070000000108ull))
65 static inline uint64_t CVMX_CIU_MBOX_CLRX(unsigned long offset)
66 {
67  switch (cvmx_get_octeon_family()) {
69  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
73  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
76  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
79  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
81  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
83  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
85  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
87  return CVMX_ADD_IO_SEG(0x0001070100100600ull) + (offset) * 8;
88  }
89  return CVMX_ADD_IO_SEG(0x0001070000000680ull) + (offset) * 8;
90 }
91 
92 static inline uint64_t CVMX_CIU_MBOX_SETX(unsigned long offset)
93 {
94  switch (cvmx_get_octeon_family()) {
96  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
100  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
103  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
106  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
108  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
110  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
112  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
114  return CVMX_ADD_IO_SEG(0x0001070100100400ull) + (offset) * 8;
115  }
116  return CVMX_ADD_IO_SEG(0x0001070000000600ull) + (offset) * 8;
117 }
118 
119 #define CVMX_CIU_NMI (CVMX_ADD_IO_SEG(0x0001070000000718ull))
120 #define CVMX_CIU_PCI_INTA (CVMX_ADD_IO_SEG(0x0001070000000750ull))
121 #define CVMX_CIU_PP_BIST_STAT (CVMX_ADD_IO_SEG(0x00010700000007E0ull))
122 #define CVMX_CIU_PP_DBG (CVMX_ADD_IO_SEG(0x0001070000000708ull))
123 static inline uint64_t CVMX_CIU_PP_POKEX(unsigned long offset)
124 {
125  switch (cvmx_get_octeon_family()) {
127  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
131  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
134  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
137  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
139  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
141  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
143  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
145  return CVMX_ADD_IO_SEG(0x0001070100100200ull) + (offset) * 8;
146  }
147  return CVMX_ADD_IO_SEG(0x0001070000000580ull) + (offset) * 8;
148 }
149 
150 #define CVMX_CIU_PP_RST (CVMX_ADD_IO_SEG(0x0001070000000700ull))
151 #define CVMX_CIU_QLM0 (CVMX_ADD_IO_SEG(0x0001070000000780ull))
152 #define CVMX_CIU_QLM1 (CVMX_ADD_IO_SEG(0x0001070000000788ull))
153 #define CVMX_CIU_QLM2 (CVMX_ADD_IO_SEG(0x0001070000000790ull))
154 #define CVMX_CIU_QLM3 (CVMX_ADD_IO_SEG(0x0001070000000798ull))
155 #define CVMX_CIU_QLM4 (CVMX_ADD_IO_SEG(0x00010700000007A0ull))
156 #define CVMX_CIU_QLM_DCOK (CVMX_ADD_IO_SEG(0x0001070000000760ull))
157 #define CVMX_CIU_QLM_JTGC (CVMX_ADD_IO_SEG(0x0001070000000768ull))
158 #define CVMX_CIU_QLM_JTGD (CVMX_ADD_IO_SEG(0x0001070000000770ull))
159 #define CVMX_CIU_SOFT_BIST (CVMX_ADD_IO_SEG(0x0001070000000738ull))
160 #define CVMX_CIU_SOFT_PRST (CVMX_ADD_IO_SEG(0x0001070000000748ull))
161 #define CVMX_CIU_SOFT_PRST1 (CVMX_ADD_IO_SEG(0x0001070000000758ull))
162 #define CVMX_CIU_SOFT_PRST2 (CVMX_ADD_IO_SEG(0x00010700000007D8ull))
163 #define CVMX_CIU_SOFT_PRST3 (CVMX_ADD_IO_SEG(0x00010700000007E0ull))
164 #define CVMX_CIU_SOFT_RST (CVMX_ADD_IO_SEG(0x0001070000000740ull))
165 #define CVMX_CIU_SUM1_IOX_INT(offset) (CVMX_ADD_IO_SEG(0x0001070000008600ull) + ((offset) & 1) * 8)
166 #define CVMX_CIU_SUM1_PPX_IP2(offset) (CVMX_ADD_IO_SEG(0x0001070000008000ull) + ((offset) & 15) * 8)
167 #define CVMX_CIU_SUM1_PPX_IP3(offset) (CVMX_ADD_IO_SEG(0x0001070000008200ull) + ((offset) & 15) * 8)
168 #define CVMX_CIU_SUM1_PPX_IP4(offset) (CVMX_ADD_IO_SEG(0x0001070000008400ull) + ((offset) & 15) * 8)
169 #define CVMX_CIU_SUM2_IOX_INT(offset) (CVMX_ADD_IO_SEG(0x0001070000008E00ull) + ((offset) & 1) * 8)
170 #define CVMX_CIU_SUM2_PPX_IP2(offset) (CVMX_ADD_IO_SEG(0x0001070000008800ull) + ((offset) & 15) * 8)
171 #define CVMX_CIU_SUM2_PPX_IP3(offset) (CVMX_ADD_IO_SEG(0x0001070000008A00ull) + ((offset) & 15) * 8)
172 #define CVMX_CIU_SUM2_PPX_IP4(offset) (CVMX_ADD_IO_SEG(0x0001070000008C00ull) + ((offset) & 15) * 8)
173 #define CVMX_CIU_TIMX(offset) (CVMX_ADD_IO_SEG(0x0001070000000480ull) + ((offset) & 15) * 8)
174 #define CVMX_CIU_TIM_MULTI_CAST (CVMX_ADD_IO_SEG(0x000107000000C200ull))
175 static inline uint64_t CVMX_CIU_WDOGX(unsigned long offset)
176 {
177  switch (cvmx_get_octeon_family()) {
179  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
183  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
186  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
189  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
191  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
193  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
195  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
197  return CVMX_ADD_IO_SEG(0x0001070100100000ull) + (offset) * 8;
198  }
199  return CVMX_ADD_IO_SEG(0x0001070000000500ull) + (offset) * 8;
200 }
201 
205 #ifdef __BIG_ENDIAN_BITFIELD
207  uint64_t bist:7;
208 #else
211 #endif
212  } s;
214 #ifdef __BIG_ENDIAN_BITFIELD
216  uint64_t bist:4;
217 #else
220 #endif
221  } cn30xx;
226 #ifdef __BIG_ENDIAN_BITFIELD
228  uint64_t bist:2;
229 #else
232 #endif
233  } cn50xx;
235 #ifdef __BIG_ENDIAN_BITFIELD
237  uint64_t bist:3;
238 #else
241 #endif
242  } cn52xx;
249 #ifdef __BIG_ENDIAN_BITFIELD
251  uint64_t bist:6;
252 #else
255 #endif
256  } cn61xx;
258 #ifdef __BIG_ENDIAN_BITFIELD
260  uint64_t bist:5;
261 #else
264 #endif
265  } cn63xx;
271 };
272 
276 #ifdef __BIG_ENDIAN_BITFIELD
278  uint64_t srio3:1;
279  uint64_t srio2:1;
281  uint64_t ptp:1;
282  uint64_t dpi:1;
283  uint64_t dfm:1;
285  uint64_t srio1:1;
286  uint64_t srio0:1;
288  uint64_t iob:1;
290  uint64_t agl:1;
292  uint64_t pem1:1;
293  uint64_t pem0:1;
295  uint64_t asxpcs1:1;
296  uint64_t asxpcs0:1;
298  uint64_t pip:1;
300  uint64_t lmc0:1;
301  uint64_t l2c:1;
303  uint64_t rad:1;
304  uint64_t usb:1;
305  uint64_t pow:1;
306  uint64_t tim:1;
307  uint64_t pko:1;
308  uint64_t ipd:1;
310  uint64_t zip:1;
311  uint64_t dfa:1;
312  uint64_t fpa:1;
313  uint64_t key:1;
314  uint64_t sli:1;
315  uint64_t gmx1:1;
316  uint64_t gmx0:1;
317  uint64_t mio:1;
318 #else
360 #endif
361  } s;
363 #ifdef __BIG_ENDIAN_BITFIELD
365  uint64_t ptp:1;
366  uint64_t dpi:1;
368  uint64_t iob:1;
370  uint64_t agl:1;
372  uint64_t pem1:1;
373  uint64_t pem0:1;
375  uint64_t asxpcs1:1;
376  uint64_t asxpcs0:1;
378  uint64_t pip:1;
380  uint64_t lmc0:1;
381  uint64_t l2c:1;
383  uint64_t rad:1;
384  uint64_t usb:1;
385  uint64_t pow:1;
386  uint64_t tim:1;
387  uint64_t pko:1;
388  uint64_t ipd:1;
390  uint64_t zip:1;
391  uint64_t dfa:1;
392  uint64_t fpa:1;
393  uint64_t key:1;
394  uint64_t sli:1;
395  uint64_t gmx1:1;
396  uint64_t gmx0:1;
397  uint64_t mio:1;
398 #else
433 #endif
434  } cn61xx;
436 #ifdef __BIG_ENDIAN_BITFIELD
438  uint64_t ptp:1;
439  uint64_t dpi:1;
440  uint64_t dfm:1;
442  uint64_t srio1:1;
443  uint64_t srio0:1;
445  uint64_t iob:1;
447  uint64_t agl:1;
449  uint64_t pem1:1;
450  uint64_t pem0:1;
452  uint64_t asxpcs0:1;
454  uint64_t pip:1;
456  uint64_t lmc0:1;
457  uint64_t l2c:1;
459  uint64_t rad:1;
460  uint64_t usb:1;
461  uint64_t pow:1;
462  uint64_t tim:1;
463  uint64_t pko:1;
464  uint64_t ipd:1;
466  uint64_t zip:1;
467  uint64_t dfa:1;
468  uint64_t fpa:1;
469  uint64_t key:1;
470  uint64_t sli:1;
472  uint64_t gmx0:1;
473  uint64_t mio:1;
474 #else
512 #endif
513  } cn63xx;
516 #ifdef __BIG_ENDIAN_BITFIELD
518  uint64_t srio3:1;
519  uint64_t srio2:1;
521  uint64_t ptp:1;
522  uint64_t dpi:1;
523  uint64_t dfm:1;
525  uint64_t srio0:1;
527  uint64_t iob:1;
529  uint64_t agl:1;
531  uint64_t pem1:1;
532  uint64_t pem0:1;
534  uint64_t asxpcs1:1;
535  uint64_t asxpcs0:1;
537  uint64_t pip:1;
539  uint64_t lmc0:1;
540  uint64_t l2c:1;
542  uint64_t rad:1;
543  uint64_t usb:1;
544  uint64_t pow:1;
545  uint64_t tim:1;
546  uint64_t pko:1;
547  uint64_t ipd:1;
549  uint64_t zip:1;
550  uint64_t dfa:1;
551  uint64_t fpa:1;
552  uint64_t key:1;
553  uint64_t sli:1;
554  uint64_t gmx1:1;
555  uint64_t gmx0:1;
556  uint64_t mio:1;
557 #else
598 #endif
599  } cn66xx;
601 #ifdef __BIG_ENDIAN_BITFIELD
603  uint64_t ptp:1;
604  uint64_t dpi:1;
606  uint64_t iob:1;
608  uint64_t pem1:1;
609  uint64_t pem0:1;
611  uint64_t asxpcs0:1;
613  uint64_t pip:1;
615  uint64_t lmc0:1;
616  uint64_t l2c:1;
618  uint64_t rad:1;
619  uint64_t usb:1;
620  uint64_t pow:1;
621  uint64_t tim:1;
622  uint64_t pko:1;
623  uint64_t ipd:1;
625  uint64_t fpa:1;
626  uint64_t key:1;
627  uint64_t sli:1;
629  uint64_t gmx0:1;
630  uint64_t mio:1;
631 #else
661 #endif
662  } cnf71xx;
663 };
664 
668 #ifdef __BIG_ENDIAN_BITFIELD
670  uint64_t dint:32;
671 #else
674 #endif
675  } s;
677 #ifdef __BIG_ENDIAN_BITFIELD
679  uint64_t dint:1;
680 #else
683 #endif
684  } cn30xx;
686 #ifdef __BIG_ENDIAN_BITFIELD
688  uint64_t dint:2;
689 #else
692 #endif
693  } cn31xx;
695 #ifdef __BIG_ENDIAN_BITFIELD
697  uint64_t dint:16;
698 #else
701 #endif
702  } cn38xx;
706 #ifdef __BIG_ENDIAN_BITFIELD
708  uint64_t dint:4;
709 #else
712 #endif
713  } cn52xx;
716 #ifdef __BIG_ENDIAN_BITFIELD
718  uint64_t dint:12;
719 #else
722 #endif
723  } cn56xx;
729 #ifdef __BIG_ENDIAN_BITFIELD
731  uint64_t dint:6;
732 #else
735 #endif
736  } cn63xx;
739 #ifdef __BIG_ENDIAN_BITFIELD
741  uint64_t dint:10;
742 #else
745 #endif
746  } cn66xx;
750 };
751 
755 #ifdef __BIG_ENDIAN_BITFIELD
757  uint64_t endor:2;
758  uint64_t eoi:1;
760  uint64_t timer:6;
762 #else
769 #endif
770  } s;
772 #ifdef __BIG_ENDIAN_BITFIELD
774  uint64_t timer:6;
776 #else
780 #endif
781  } cn61xx;
784 };
785 
789 #ifdef __BIG_ENDIAN_BITFIELD
791  uint64_t endor:2;
792  uint64_t eoi:1;
794  uint64_t timer:6;
796 #else
803 #endif
804  } s;
806 #ifdef __BIG_ENDIAN_BITFIELD
808  uint64_t timer:6;
810 #else
814 #endif
815  } cn61xx;
818 };
819 
823 #ifdef __BIG_ENDIAN_BITFIELD
825  uint64_t endor:2;
826  uint64_t eoi:1;
828  uint64_t timer:6;
830 #else
837 #endif
838  } s;
840 #ifdef __BIG_ENDIAN_BITFIELD
842  uint64_t timer:6;
844 #else
848 #endif
849  } cn61xx;
852 };
853 
857 #ifdef __BIG_ENDIAN_BITFIELD
859  uint64_t endor:2;
860  uint64_t eoi:1;
862  uint64_t timer:6;
864 #else
871 #endif
872  } s;
874 #ifdef __BIG_ENDIAN_BITFIELD
876  uint64_t timer:6;
878 #else
882 #endif
883  } cn61xx;
886 };
887 
891 #ifdef __BIG_ENDIAN_BITFIELD
893  uint64_t endor:2;
894  uint64_t eoi:1;
896  uint64_t timer:6;
898 #else
905 #endif
906  } s;
908 #ifdef __BIG_ENDIAN_BITFIELD
910  uint64_t timer:6;
912 #else
916 #endif
917  } cn61xx;
920 };
921 
925 #ifdef __BIG_ENDIAN_BITFIELD
927  uint64_t endor:2;
928  uint64_t eoi:1;
930  uint64_t timer:6;
932 #else
939 #endif
940  } s;
942 #ifdef __BIG_ENDIAN_BITFIELD
944  uint64_t timer:6;
946 #else
950 #endif
951  } cn61xx;
954 };
955 
959 #ifdef __BIG_ENDIAN_BITFIELD
961  uint64_t endor:2;
962  uint64_t eoi:1;
964  uint64_t timer:6;
966 #else
973 #endif
974  } s;
976 #ifdef __BIG_ENDIAN_BITFIELD
978  uint64_t timer:6;
980 #else
984 #endif
985  } cn61xx;
988 };
989 
993 #ifdef __BIG_ENDIAN_BITFIELD
995  uint64_t endor:2;
996  uint64_t eoi:1;
998  uint64_t timer:6;
1000 #else
1007 #endif
1008  } s;
1010 #ifdef __BIG_ENDIAN_BITFIELD
1012  uint64_t timer:6;
1014 #else
1018 #endif
1019  } cn61xx;
1022 };
1023 
1027 #ifdef __BIG_ENDIAN_BITFIELD
1029  uint64_t endor:2;
1030  uint64_t eoi:1;
1032  uint64_t timer:6;
1034 #else
1041 #endif
1042  } s;
1044 #ifdef __BIG_ENDIAN_BITFIELD
1046  uint64_t timer:6;
1048 #else
1052 #endif
1053  } cn61xx;
1056 };
1057 
1061 #ifdef __BIG_ENDIAN_BITFIELD
1063  uint64_t endor:2;
1064  uint64_t eoi:1;
1066  uint64_t timer:6;
1068 #else
1075 #endif
1076  } s;
1078 #ifdef __BIG_ENDIAN_BITFIELD
1080  uint64_t timer:6;
1082 #else
1086 #endif
1087  } cn61xx;
1090 };
1091 
1095 #ifdef __BIG_ENDIAN_BITFIELD
1097  uint64_t endor:2;
1098  uint64_t eoi:1;
1100  uint64_t timer:6;
1102 #else
1109 #endif
1110  } s;
1112 #ifdef __BIG_ENDIAN_BITFIELD
1114  uint64_t timer:6;
1116 #else
1120 #endif
1121  } cn61xx;
1124 };
1125 
1129 #ifdef __BIG_ENDIAN_BITFIELD
1131  uint64_t endor:2;
1132  uint64_t eoi:1;
1134  uint64_t timer:6;
1136 #else
1143 #endif
1144  } s;
1146 #ifdef __BIG_ENDIAN_BITFIELD
1148  uint64_t timer:6;
1150 #else
1154 #endif
1155  } cn61xx;
1158 };
1159 
1163 #ifdef __BIG_ENDIAN_BITFIELD
1165  uint64_t fuse:32;
1166 #else
1169 #endif
1170  } s;
1172 #ifdef __BIG_ENDIAN_BITFIELD
1174  uint64_t fuse:1;
1175 #else
1178 #endif
1179  } cn30xx;
1181 #ifdef __BIG_ENDIAN_BITFIELD
1183  uint64_t fuse:2;
1184 #else
1187 #endif
1188  } cn31xx;
1190 #ifdef __BIG_ENDIAN_BITFIELD
1192  uint64_t fuse:16;
1193 #else
1196 #endif
1197  } cn38xx;
1201 #ifdef __BIG_ENDIAN_BITFIELD
1203  uint64_t fuse:4;
1204 #else
1207 #endif
1208  } cn52xx;
1211 #ifdef __BIG_ENDIAN_BITFIELD
1213  uint64_t fuse:12;
1214 #else
1217 #endif
1218  } cn56xx;
1224 #ifdef __BIG_ENDIAN_BITFIELD
1226  uint64_t fuse:6;
1227 #else
1230 #endif
1231  } cn63xx;
1234 #ifdef __BIG_ENDIAN_BITFIELD
1236  uint64_t fuse:10;
1237 #else
1240 #endif
1241  } cn66xx;
1245 };
1246 
1250 #ifdef __BIG_ENDIAN_BITFIELD
1252  uint64_t gstop:1;
1253 #else
1256 #endif
1257  } s;
1276 };
1277 
1281 #ifdef __BIG_ENDIAN_BITFIELD
1282  uint64_t bootdma:1;
1283  uint64_t mii:1;
1284  uint64_t ipdppthr:1;
1285  uint64_t powiq:1;
1286  uint64_t twsi2:1;
1287  uint64_t mpi:1;
1288  uint64_t pcm:1;
1289  uint64_t usb:1;
1290  uint64_t timer:4;
1291  uint64_t key_zero:1;
1292  uint64_t ipd_drp:1;
1293  uint64_t gmx_drp:2;
1294  uint64_t trace:1;
1295  uint64_t rml:1;
1296  uint64_t twsi:1;
1298  uint64_t pci_msi:4;
1299  uint64_t pci_int:4;
1300  uint64_t uart:2;
1301  uint64_t mbox:2;
1302  uint64_t gpio:16;
1303  uint64_t workq:16;
1304 #else
1327 #endif
1328  } s;
1330 #ifdef __BIG_ENDIAN_BITFIELD
1332  uint64_t mpi:1;
1333  uint64_t pcm:1;
1334  uint64_t usb:1;
1335  uint64_t timer:4;
1337  uint64_t ipd_drp:1;
1339  uint64_t gmx_drp:1;
1341  uint64_t rml:1;
1342  uint64_t twsi:1;
1344  uint64_t pci_msi:4;
1345  uint64_t pci_int:4;
1346  uint64_t uart:2;
1347  uint64_t mbox:2;
1348  uint64_t gpio:16;
1349  uint64_t workq:16;
1350 #else
1370 #endif
1371  } cn30xx;
1373 #ifdef __BIG_ENDIAN_BITFIELD
1375  uint64_t mpi:1;
1376  uint64_t pcm:1;
1377  uint64_t usb:1;
1378  uint64_t timer:4;
1380  uint64_t ipd_drp:1;
1382  uint64_t gmx_drp:1;
1383  uint64_t trace:1;
1384  uint64_t rml:1;
1385  uint64_t twsi:1;
1387  uint64_t pci_msi:4;
1388  uint64_t pci_int:4;
1389  uint64_t uart:2;
1390  uint64_t mbox:2;
1391  uint64_t gpio:16;
1392  uint64_t workq:16;
1393 #else
1413 #endif
1414  } cn31xx;
1416 #ifdef __BIG_ENDIAN_BITFIELD
1418  uint64_t timer:4;
1419  uint64_t key_zero:1;
1420  uint64_t ipd_drp:1;
1421  uint64_t gmx_drp:2;
1422  uint64_t trace:1;
1423  uint64_t rml:1;
1424  uint64_t twsi:1;
1426  uint64_t pci_msi:4;
1427  uint64_t pci_int:4;
1428  uint64_t uart:2;
1429  uint64_t mbox:2;
1430  uint64_t gpio:16;
1431  uint64_t workq:16;
1432 #else
1448 #endif
1449  } cn38xx;
1453 #ifdef __BIG_ENDIAN_BITFIELD
1454  uint64_t bootdma:1;
1455  uint64_t mii:1;
1456  uint64_t ipdppthr:1;
1457  uint64_t powiq:1;
1458  uint64_t twsi2:1;
1460  uint64_t usb:1;
1461  uint64_t timer:4;
1463  uint64_t ipd_drp:1;
1465  uint64_t gmx_drp:1;
1466  uint64_t trace:1;
1467  uint64_t rml:1;
1468  uint64_t twsi:1;
1470  uint64_t pci_msi:4;
1471  uint64_t pci_int:4;
1472  uint64_t uart:2;
1473  uint64_t mbox:2;
1474  uint64_t gpio:16;
1475  uint64_t workq:16;
1476 #else
1499 #endif
1500  } cn52xx;
1503 #ifdef __BIG_ENDIAN_BITFIELD
1504  uint64_t bootdma:1;
1505  uint64_t mii:1;
1506  uint64_t ipdppthr:1;
1507  uint64_t powiq:1;
1508  uint64_t twsi2:1;
1510  uint64_t usb:1;
1511  uint64_t timer:4;
1512  uint64_t key_zero:1;
1513  uint64_t ipd_drp:1;
1514  uint64_t gmx_drp:2;
1515  uint64_t trace:1;
1516  uint64_t rml:1;
1517  uint64_t twsi:1;
1519  uint64_t pci_msi:4;
1520  uint64_t pci_int:4;
1521  uint64_t uart:2;
1522  uint64_t mbox:2;
1523  uint64_t gpio:16;
1524  uint64_t workq:16;
1525 #else
1547 #endif
1548  } cn56xx;
1553 #ifdef __BIG_ENDIAN_BITFIELD
1554  uint64_t bootdma:1;
1555  uint64_t mii:1;
1556  uint64_t ipdppthr:1;
1557  uint64_t powiq:1;
1558  uint64_t twsi2:1;
1559  uint64_t mpi:1;
1560  uint64_t pcm:1;
1561  uint64_t usb:1;
1562  uint64_t timer:4;
1564  uint64_t ipd_drp:1;
1565  uint64_t gmx_drp:2;
1566  uint64_t trace:1;
1567  uint64_t rml:1;
1568  uint64_t twsi:1;
1570  uint64_t pci_msi:4;
1571  uint64_t pci_int:4;
1572  uint64_t uart:2;
1573  uint64_t mbox:2;
1574  uint64_t gpio:16;
1575  uint64_t workq:16;
1576 #else
1599 #endif
1600  } cn61xx;
1604 #ifdef __BIG_ENDIAN_BITFIELD
1605  uint64_t bootdma:1;
1606  uint64_t mii:1;
1607  uint64_t ipdppthr:1;
1608  uint64_t powiq:1;
1609  uint64_t twsi2:1;
1610  uint64_t mpi:1;
1612  uint64_t usb:1;
1613  uint64_t timer:4;
1615  uint64_t ipd_drp:1;
1616  uint64_t gmx_drp:2;
1617  uint64_t trace:1;
1618  uint64_t rml:1;
1619  uint64_t twsi:1;
1621  uint64_t pci_msi:4;
1622  uint64_t pci_int:4;
1623  uint64_t uart:2;
1624  uint64_t mbox:2;
1625  uint64_t gpio:16;
1626  uint64_t workq:16;
1627 #else
1650 #endif
1651  } cn66xx;
1653 #ifdef __BIG_ENDIAN_BITFIELD
1654  uint64_t bootdma:1;
1656  uint64_t ipdppthr:1;
1657  uint64_t powiq:1;
1658  uint64_t twsi2:1;
1659  uint64_t mpi:1;
1660  uint64_t pcm:1;
1661  uint64_t usb:1;
1662  uint64_t timer:4;
1664  uint64_t ipd_drp:1;
1666  uint64_t gmx_drp:1;
1667  uint64_t trace:1;
1668  uint64_t rml:1;
1669  uint64_t twsi:1;
1671  uint64_t pci_msi:4;
1672  uint64_t pci_int:4;
1673  uint64_t uart:2;
1674  uint64_t mbox:2;
1675  uint64_t gpio:16;
1676  uint64_t workq:16;
1677 #else
1701 #endif
1702  } cnf71xx;
1703 };
1704 
1708 #ifdef __BIG_ENDIAN_BITFIELD
1709  uint64_t bootdma:1;
1710  uint64_t mii:1;
1711  uint64_t ipdppthr:1;
1712  uint64_t powiq:1;
1713  uint64_t twsi2:1;
1714  uint64_t mpi:1;
1715  uint64_t pcm:1;
1716  uint64_t usb:1;
1717  uint64_t timer:4;
1718  uint64_t key_zero:1;
1719  uint64_t ipd_drp:1;
1720  uint64_t gmx_drp:2;
1721  uint64_t trace:1;
1722  uint64_t rml:1;
1723  uint64_t twsi:1;
1725  uint64_t pci_msi:4;
1726  uint64_t pci_int:4;
1727  uint64_t uart:2;
1728  uint64_t mbox:2;
1729  uint64_t gpio:16;
1730  uint64_t workq:16;
1731 #else
1754 #endif
1755  } s;
1757 #ifdef __BIG_ENDIAN_BITFIELD
1758  uint64_t bootdma:1;
1759  uint64_t mii:1;
1760  uint64_t ipdppthr:1;
1761  uint64_t powiq:1;
1762  uint64_t twsi2:1;
1764  uint64_t usb:1;
1765  uint64_t timer:4;
1767  uint64_t ipd_drp:1;
1769  uint64_t gmx_drp:1;
1770  uint64_t trace:1;
1771  uint64_t rml:1;
1772  uint64_t twsi:1;
1774  uint64_t pci_msi:4;
1775  uint64_t pci_int:4;
1776  uint64_t uart:2;
1777  uint64_t mbox:2;
1778  uint64_t gpio:16;
1779  uint64_t workq:16;
1780 #else
1803 #endif
1804  } cn52xx;
1806 #ifdef __BIG_ENDIAN_BITFIELD
1807  uint64_t bootdma:1;
1808  uint64_t mii:1;
1809  uint64_t ipdppthr:1;
1810  uint64_t powiq:1;
1811  uint64_t twsi2:1;
1813  uint64_t usb:1;
1814  uint64_t timer:4;
1815  uint64_t key_zero:1;
1816  uint64_t ipd_drp:1;
1817  uint64_t gmx_drp:2;
1818  uint64_t trace:1;
1819  uint64_t rml:1;
1820  uint64_t twsi:1;
1822  uint64_t pci_msi:4;
1823  uint64_t pci_int:4;
1824  uint64_t uart:2;
1825  uint64_t mbox:2;
1826  uint64_t gpio:16;
1827  uint64_t workq:16;
1828 #else
1850 #endif
1851  } cn56xx;
1853 #ifdef __BIG_ENDIAN_BITFIELD
1855  uint64_t timer:4;
1856  uint64_t key_zero:1;
1857  uint64_t ipd_drp:1;
1858  uint64_t gmx_drp:2;
1859  uint64_t trace:1;
1860  uint64_t rml:1;
1861  uint64_t twsi:1;
1863  uint64_t pci_msi:4;
1864  uint64_t pci_int:4;
1865  uint64_t uart:2;
1866  uint64_t mbox:2;
1867  uint64_t gpio:16;
1868  uint64_t workq:16;
1869 #else
1885 #endif
1886  } cn58xx;
1888 #ifdef __BIG_ENDIAN_BITFIELD
1889  uint64_t bootdma:1;
1890  uint64_t mii:1;
1891  uint64_t ipdppthr:1;
1892  uint64_t powiq:1;
1893  uint64_t twsi2:1;
1894  uint64_t mpi:1;
1895  uint64_t pcm:1;
1896  uint64_t usb:1;
1897  uint64_t timer:4;
1899  uint64_t ipd_drp:1;
1900  uint64_t gmx_drp:2;
1901  uint64_t trace:1;
1902  uint64_t rml:1;
1903  uint64_t twsi:1;
1905  uint64_t pci_msi:4;
1906  uint64_t pci_int:4;
1907  uint64_t uart:2;
1908  uint64_t mbox:2;
1909  uint64_t gpio:16;
1910  uint64_t workq:16;
1911 #else
1934 #endif
1935  } cn61xx;
1939 #ifdef __BIG_ENDIAN_BITFIELD
1940  uint64_t bootdma:1;
1941  uint64_t mii:1;
1942  uint64_t ipdppthr:1;
1943  uint64_t powiq:1;
1944  uint64_t twsi2:1;
1945  uint64_t mpi:1;
1947  uint64_t usb:1;
1948  uint64_t timer:4;
1950  uint64_t ipd_drp:1;
1951  uint64_t gmx_drp:2;
1952  uint64_t trace:1;
1953  uint64_t rml:1;
1954  uint64_t twsi:1;
1956  uint64_t pci_msi:4;
1957  uint64_t pci_int:4;
1958  uint64_t uart:2;
1959  uint64_t mbox:2;
1960  uint64_t gpio:16;
1961  uint64_t workq:16;
1962 #else
1985 #endif
1986  } cn66xx;
1988 #ifdef __BIG_ENDIAN_BITFIELD
1989  uint64_t bootdma:1;
1991  uint64_t ipdppthr:1;
1992  uint64_t powiq:1;
1993  uint64_t twsi2:1;
1994  uint64_t mpi:1;
1995  uint64_t pcm:1;
1996  uint64_t usb:1;
1997  uint64_t timer:4;
1999  uint64_t ipd_drp:1;
2001  uint64_t gmx_drp:1;
2002  uint64_t trace:1;
2003  uint64_t rml:1;
2004  uint64_t twsi:1;
2006  uint64_t pci_msi:4;
2007  uint64_t pci_int:4;
2008  uint64_t uart:2;
2009  uint64_t mbox:2;
2010  uint64_t gpio:16;
2011  uint64_t workq:16;
2012 #else
2036 #endif
2037  } cnf71xx;
2038 };
2039 
2043 #ifdef __BIG_ENDIAN_BITFIELD
2044  uint64_t bootdma:1;
2045  uint64_t mii:1;
2046  uint64_t ipdppthr:1;
2047  uint64_t powiq:1;
2048  uint64_t twsi2:1;
2049  uint64_t mpi:1;
2050  uint64_t pcm:1;
2051  uint64_t usb:1;
2052  uint64_t timer:4;
2053  uint64_t key_zero:1;
2054  uint64_t ipd_drp:1;
2055  uint64_t gmx_drp:2;
2056  uint64_t trace:1;
2057  uint64_t rml:1;
2058  uint64_t twsi:1;
2060  uint64_t pci_msi:4;
2061  uint64_t pci_int:4;
2062  uint64_t uart:2;
2063  uint64_t mbox:2;
2064  uint64_t gpio:16;
2065  uint64_t workq:16;
2066 #else
2089 #endif
2090  } s;
2092 #ifdef __BIG_ENDIAN_BITFIELD
2093  uint64_t bootdma:1;
2094  uint64_t mii:1;
2095  uint64_t ipdppthr:1;
2096  uint64_t powiq:1;
2097  uint64_t twsi2:1;
2099  uint64_t usb:1;
2100  uint64_t timer:4;
2102  uint64_t ipd_drp:1;
2104  uint64_t gmx_drp:1;
2105  uint64_t trace:1;
2106  uint64_t rml:1;
2107  uint64_t twsi:1;
2109  uint64_t pci_msi:4;
2110  uint64_t pci_int:4;
2111  uint64_t uart:2;
2112  uint64_t mbox:2;
2113  uint64_t gpio:16;
2114  uint64_t workq:16;
2115 #else
2138 #endif
2139  } cn52xx;
2141 #ifdef __BIG_ENDIAN_BITFIELD
2142  uint64_t bootdma:1;
2143  uint64_t mii:1;
2144  uint64_t ipdppthr:1;
2145  uint64_t powiq:1;
2146  uint64_t twsi2:1;
2148  uint64_t usb:1;
2149  uint64_t timer:4;
2150  uint64_t key_zero:1;
2151  uint64_t ipd_drp:1;
2152  uint64_t gmx_drp:2;
2153  uint64_t trace:1;
2154  uint64_t rml:1;
2155  uint64_t twsi:1;
2157  uint64_t pci_msi:4;
2158  uint64_t pci_int:4;
2159  uint64_t uart:2;
2160  uint64_t mbox:2;
2161  uint64_t gpio:16;
2162  uint64_t workq:16;
2163 #else
2185 #endif
2186  } cn56xx;
2188 #ifdef __BIG_ENDIAN_BITFIELD
2190  uint64_t timer:4;
2191  uint64_t key_zero:1;
2192  uint64_t ipd_drp:1;
2193  uint64_t gmx_drp:2;
2194  uint64_t trace:1;
2195  uint64_t rml:1;
2196  uint64_t twsi:1;
2198  uint64_t pci_msi:4;
2199  uint64_t pci_int:4;
2200  uint64_t uart:2;
2201  uint64_t mbox:2;
2202  uint64_t gpio:16;
2203  uint64_t workq:16;
2204 #else
2220 #endif
2221  } cn58xx;
2223 #ifdef __BIG_ENDIAN_BITFIELD
2224  uint64_t bootdma:1;
2225  uint64_t mii:1;
2226  uint64_t ipdppthr:1;
2227  uint64_t powiq:1;
2228  uint64_t twsi2:1;
2229  uint64_t mpi:1;
2230  uint64_t pcm:1;
2231  uint64_t usb:1;
2232  uint64_t timer:4;
2234  uint64_t ipd_drp:1;
2235  uint64_t gmx_drp:2;
2236  uint64_t trace:1;
2237  uint64_t rml:1;
2238  uint64_t twsi:1;
2240  uint64_t pci_msi:4;
2241  uint64_t pci_int:4;
2242  uint64_t uart:2;
2243  uint64_t mbox:2;
2244  uint64_t gpio:16;
2245  uint64_t workq:16;
2246 #else
2269 #endif
2270  } cn61xx;
2274 #ifdef __BIG_ENDIAN_BITFIELD
2275  uint64_t bootdma:1;
2276  uint64_t mii:1;
2277  uint64_t ipdppthr:1;
2278  uint64_t powiq:1;
2279  uint64_t twsi2:1;
2280  uint64_t mpi:1;
2282  uint64_t usb:1;
2283  uint64_t timer:4;
2285  uint64_t ipd_drp:1;
2286  uint64_t gmx_drp:2;
2287  uint64_t trace:1;
2288  uint64_t rml:1;
2289  uint64_t twsi:1;
2291  uint64_t pci_msi:4;
2292  uint64_t pci_int:4;
2293  uint64_t uart:2;
2294  uint64_t mbox:2;
2295  uint64_t gpio:16;
2296  uint64_t workq:16;
2297 #else
2320 #endif
2321  } cn66xx;
2323 #ifdef __BIG_ENDIAN_BITFIELD
2324  uint64_t bootdma:1;
2326  uint64_t ipdppthr:1;
2327  uint64_t powiq:1;
2328  uint64_t twsi2:1;
2329  uint64_t mpi:1;
2330  uint64_t pcm:1;
2331  uint64_t usb:1;
2332  uint64_t timer:4;
2334  uint64_t ipd_drp:1;
2336  uint64_t gmx_drp:1;
2337  uint64_t trace:1;
2338  uint64_t rml:1;
2339  uint64_t twsi:1;
2341  uint64_t pci_msi:4;
2342  uint64_t pci_int:4;
2343  uint64_t uart:2;
2344  uint64_t mbox:2;
2345  uint64_t gpio:16;
2346  uint64_t workq:16;
2347 #else
2371 #endif
2372  } cnf71xx;
2373 };
2374 
2378 #ifdef __BIG_ENDIAN_BITFIELD
2379  uint64_t rst:1;
2381  uint64_t srio3:1;
2382  uint64_t srio2:1;
2384  uint64_t dfm:1;
2386  uint64_t lmc0:1;
2387  uint64_t srio1:1;
2388  uint64_t srio0:1;
2389  uint64_t pem1:1;
2390  uint64_t pem0:1;
2391  uint64_t ptp:1;
2392  uint64_t agl:1;
2394  uint64_t dpi_dma:1;
2396  uint64_t agx1:1;
2397  uint64_t agx0:1;
2398  uint64_t dpi:1;
2399  uint64_t sli:1;
2400  uint64_t usb:1;
2401  uint64_t dfa:1;
2402  uint64_t key:1;
2403  uint64_t rad:1;
2404  uint64_t tim:1;
2405  uint64_t zip:1;
2406  uint64_t pko:1;
2407  uint64_t pip:1;
2408  uint64_t ipd:1;
2409  uint64_t l2c:1;
2410  uint64_t pow:1;
2411  uint64_t fpa:1;
2412  uint64_t iob:1;
2413  uint64_t mio:1;
2414  uint64_t nand:1;
2415  uint64_t mii1:1;
2416  uint64_t usb1:1;
2417  uint64_t uart2:1;
2418  uint64_t wdog:16;
2419 #else
2460 #endif
2461  } s;
2463 #ifdef __BIG_ENDIAN_BITFIELD
2465  uint64_t wdog:1;
2466 #else
2469 #endif
2470  } cn30xx;
2472 #ifdef __BIG_ENDIAN_BITFIELD
2474  uint64_t wdog:2;
2475 #else
2478 #endif
2479  } cn31xx;
2481 #ifdef __BIG_ENDIAN_BITFIELD
2483  uint64_t wdog:16;
2484 #else
2487 #endif
2488  } cn38xx;
2492 #ifdef __BIG_ENDIAN_BITFIELD
2494  uint64_t nand:1;
2495  uint64_t mii1:1;
2496  uint64_t usb1:1;
2497  uint64_t uart2:1;
2499  uint64_t wdog:4;
2500 #else
2508 #endif
2509  } cn52xx;
2511 #ifdef __BIG_ENDIAN_BITFIELD
2513  uint64_t mii1:1;
2514  uint64_t usb1:1;
2515  uint64_t uart2:1;
2517  uint64_t wdog:4;
2518 #else
2525 #endif
2526  } cn52xxp1;
2528 #ifdef __BIG_ENDIAN_BITFIELD
2530  uint64_t wdog:12;
2531 #else
2534 #endif
2535  } cn56xx;
2540 #ifdef __BIG_ENDIAN_BITFIELD
2541  uint64_t rst:1;
2543  uint64_t lmc0:1;
2545  uint64_t pem1:1;
2546  uint64_t pem0:1;
2547  uint64_t ptp:1;
2548  uint64_t agl:1;
2550  uint64_t dpi_dma:1;
2552  uint64_t agx1:1;
2553  uint64_t agx0:1;
2554  uint64_t dpi:1;
2555  uint64_t sli:1;
2556  uint64_t usb:1;
2557  uint64_t dfa:1;
2558  uint64_t key:1;
2559  uint64_t rad:1;
2560  uint64_t tim:1;
2561  uint64_t zip:1;
2562  uint64_t pko:1;
2563  uint64_t pip:1;
2564  uint64_t ipd:1;
2565  uint64_t l2c:1;
2566  uint64_t pow:1;
2567  uint64_t fpa:1;
2568  uint64_t iob:1;
2569  uint64_t mio:1;
2570  uint64_t nand:1;
2571  uint64_t mii1:1;
2573  uint64_t wdog:4;
2574 #else
2608 #endif
2609  } cn61xx;
2611 #ifdef __BIG_ENDIAN_BITFIELD
2612  uint64_t rst:1;
2614  uint64_t dfm:1;
2616  uint64_t lmc0:1;
2617  uint64_t srio1:1;
2618  uint64_t srio0:1;
2619  uint64_t pem1:1;
2620  uint64_t pem0:1;
2621  uint64_t ptp:1;
2622  uint64_t agl:1;
2624  uint64_t agx0:1;
2625  uint64_t dpi:1;
2626  uint64_t sli:1;
2627  uint64_t usb:1;
2628  uint64_t dfa:1;
2629  uint64_t key:1;
2630  uint64_t rad:1;
2631  uint64_t tim:1;
2632  uint64_t zip:1;
2633  uint64_t pko:1;
2634  uint64_t pip:1;
2635  uint64_t ipd:1;
2636  uint64_t l2c:1;
2637  uint64_t pow:1;
2638  uint64_t fpa:1;
2639  uint64_t iob:1;
2640  uint64_t mio:1;
2641  uint64_t nand:1;
2642  uint64_t mii1:1;
2644  uint64_t wdog:6;
2645 #else
2679 #endif
2680  } cn63xx;
2683 #ifdef __BIG_ENDIAN_BITFIELD
2684  uint64_t rst:1;
2686  uint64_t srio3:1;
2687  uint64_t srio2:1;
2689  uint64_t dfm:1;
2691  uint64_t lmc0:1;
2693  uint64_t srio0:1;
2694  uint64_t pem1:1;
2695  uint64_t pem0:1;
2696  uint64_t ptp:1;
2697  uint64_t agl:1;
2699  uint64_t agx1:1;
2700  uint64_t agx0:1;
2701  uint64_t dpi:1;
2702  uint64_t sli:1;
2703  uint64_t usb:1;
2704  uint64_t dfa:1;
2705  uint64_t key:1;
2706  uint64_t rad:1;
2707  uint64_t tim:1;
2708  uint64_t zip:1;
2709  uint64_t pko:1;
2710  uint64_t pip:1;
2711  uint64_t ipd:1;
2712  uint64_t l2c:1;
2713  uint64_t pow:1;
2714  uint64_t fpa:1;
2715  uint64_t iob:1;
2716  uint64_t mio:1;
2717  uint64_t nand:1;
2718  uint64_t mii1:1;
2720  uint64_t wdog:10;
2721 #else
2759 #endif
2760  } cn66xx;
2762 #ifdef __BIG_ENDIAN_BITFIELD
2763  uint64_t rst:1;
2765  uint64_t lmc0:1;
2767  uint64_t pem1:1;
2768  uint64_t pem0:1;
2769  uint64_t ptp:1;
2771  uint64_t dpi_dma:1;
2773  uint64_t agx0:1;
2774  uint64_t dpi:1;
2775  uint64_t sli:1;
2776  uint64_t usb:1;
2778  uint64_t key:1;
2779  uint64_t rad:1;
2780  uint64_t tim:1;
2782  uint64_t pko:1;
2783  uint64_t pip:1;
2784  uint64_t ipd:1;
2785  uint64_t l2c:1;
2786  uint64_t pow:1;
2787  uint64_t fpa:1;
2788  uint64_t iob:1;
2789  uint64_t mio:1;
2790  uint64_t nand:1;
2792  uint64_t wdog:4;
2793 #else
2824 #endif
2825  } cnf71xx;
2826 };
2827 
2831 #ifdef __BIG_ENDIAN_BITFIELD
2832  uint64_t rst:1;
2834  uint64_t srio3:1;
2835  uint64_t srio2:1;
2837  uint64_t dfm:1;
2839  uint64_t lmc0:1;
2840  uint64_t srio1:1;
2841  uint64_t srio0:1;
2842  uint64_t pem1:1;
2843  uint64_t pem0:1;
2844  uint64_t ptp:1;
2845  uint64_t agl:1;
2847  uint64_t dpi_dma:1;
2849  uint64_t agx1:1;
2850  uint64_t agx0:1;
2851  uint64_t dpi:1;
2852  uint64_t sli:1;
2853  uint64_t usb:1;
2854  uint64_t dfa:1;
2855  uint64_t key:1;
2856  uint64_t rad:1;
2857  uint64_t tim:1;
2858  uint64_t zip:1;
2859  uint64_t pko:1;
2860  uint64_t pip:1;
2861  uint64_t ipd:1;
2862  uint64_t l2c:1;
2863  uint64_t pow:1;
2864  uint64_t fpa:1;
2865  uint64_t iob:1;
2866  uint64_t mio:1;
2867  uint64_t nand:1;
2868  uint64_t mii1:1;
2869  uint64_t usb1:1;
2870  uint64_t uart2:1;
2871  uint64_t wdog:16;
2872 #else
2913 #endif
2914  } s;
2916 #ifdef __BIG_ENDIAN_BITFIELD
2918  uint64_t nand:1;
2919  uint64_t mii1:1;
2920  uint64_t usb1:1;
2921  uint64_t uart2:1;
2923  uint64_t wdog:4;
2924 #else
2932 #endif
2933  } cn52xx;
2935 #ifdef __BIG_ENDIAN_BITFIELD
2937  uint64_t wdog:12;
2938 #else
2941 #endif
2942  } cn56xx;
2944 #ifdef __BIG_ENDIAN_BITFIELD
2946  uint64_t wdog:16;
2947 #else
2950 #endif
2951  } cn58xx;
2953 #ifdef __BIG_ENDIAN_BITFIELD
2954  uint64_t rst:1;
2956  uint64_t lmc0:1;
2958  uint64_t pem1:1;
2959  uint64_t pem0:1;
2960  uint64_t ptp:1;
2961  uint64_t agl:1;
2963  uint64_t dpi_dma:1;
2965  uint64_t agx1:1;
2966  uint64_t agx0:1;
2967  uint64_t dpi:1;
2968  uint64_t sli:1;
2969  uint64_t usb:1;
2970  uint64_t dfa:1;
2971  uint64_t key:1;
2972  uint64_t rad:1;
2973  uint64_t tim:1;
2974  uint64_t zip:1;
2975  uint64_t pko:1;
2976  uint64_t pip:1;
2977  uint64_t ipd:1;
2978  uint64_t l2c:1;
2979  uint64_t pow:1;
2980  uint64_t fpa:1;
2981  uint64_t iob:1;
2982  uint64_t mio:1;
2983  uint64_t nand:1;
2984  uint64_t mii1:1;
2986  uint64_t wdog:4;
2987 #else
3021 #endif
3022  } cn61xx;
3024 #ifdef __BIG_ENDIAN_BITFIELD
3025  uint64_t rst:1;
3027  uint64_t dfm:1;
3029  uint64_t lmc0:1;
3030  uint64_t srio1:1;
3031  uint64_t srio0:1;
3032  uint64_t pem1:1;
3033  uint64_t pem0:1;
3034  uint64_t ptp:1;
3035  uint64_t agl:1;
3037  uint64_t agx0:1;
3038  uint64_t dpi:1;
3039  uint64_t sli:1;
3040  uint64_t usb:1;
3041  uint64_t dfa:1;
3042  uint64_t key:1;
3043  uint64_t rad:1;
3044  uint64_t tim:1;
3045  uint64_t zip:1;
3046  uint64_t pko:1;
3047  uint64_t pip:1;
3048  uint64_t ipd:1;
3049  uint64_t l2c:1;
3050  uint64_t pow:1;
3051  uint64_t fpa:1;
3052  uint64_t iob:1;
3053  uint64_t mio:1;
3054  uint64_t nand:1;
3055  uint64_t mii1:1;
3057  uint64_t wdog:6;
3058 #else
3092 #endif
3093  } cn63xx;
3096 #ifdef __BIG_ENDIAN_BITFIELD
3097  uint64_t rst:1;
3099  uint64_t srio3:1;
3100  uint64_t srio2:1;
3102  uint64_t dfm:1;
3104  uint64_t lmc0:1;
3106  uint64_t srio0:1;
3107  uint64_t pem1:1;
3108  uint64_t pem0:1;
3109  uint64_t ptp:1;
3110  uint64_t agl:1;
3112  uint64_t agx1:1;
3113  uint64_t agx0:1;
3114  uint64_t dpi:1;
3115  uint64_t sli:1;
3116  uint64_t usb:1;
3117  uint64_t dfa:1;
3118  uint64_t key:1;
3119  uint64_t rad:1;
3120  uint64_t tim:1;
3121  uint64_t zip:1;
3122  uint64_t pko:1;
3123  uint64_t pip:1;
3124  uint64_t ipd:1;
3125  uint64_t l2c:1;
3126  uint64_t pow:1;
3127  uint64_t fpa:1;
3128  uint64_t iob:1;
3129  uint64_t mio:1;
3130  uint64_t nand:1;
3131  uint64_t mii1:1;
3133  uint64_t wdog:10;
3134 #else
3172 #endif
3173  } cn66xx;
3175 #ifdef __BIG_ENDIAN_BITFIELD
3176  uint64_t rst:1;
3178  uint64_t lmc0:1;
3180  uint64_t pem1:1;
3181  uint64_t pem0:1;
3182  uint64_t ptp:1;
3184  uint64_t dpi_dma:1;
3186  uint64_t agx0:1;
3187  uint64_t dpi:1;
3188  uint64_t sli:1;
3189  uint64_t usb:1;
3191  uint64_t key:1;
3192  uint64_t rad:1;
3193  uint64_t tim:1;
3195  uint64_t pko:1;
3196  uint64_t pip:1;
3197  uint64_t ipd:1;
3198  uint64_t l2c:1;
3199  uint64_t pow:1;
3200  uint64_t fpa:1;
3201  uint64_t iob:1;
3202  uint64_t mio:1;
3203  uint64_t nand:1;
3205  uint64_t wdog:4;
3206 #else
3237 #endif
3238  } cnf71xx;
3239 };
3240 
3244 #ifdef __BIG_ENDIAN_BITFIELD
3245  uint64_t rst:1;
3247  uint64_t srio3:1;
3248  uint64_t srio2:1;
3250  uint64_t dfm:1;
3252  uint64_t lmc0:1;
3253  uint64_t srio1:1;
3254  uint64_t srio0:1;
3255  uint64_t pem1:1;
3256  uint64_t pem0:1;
3257  uint64_t ptp:1;
3258  uint64_t agl:1;
3260  uint64_t dpi_dma:1;
3262  uint64_t agx1:1;
3263  uint64_t agx0:1;
3264  uint64_t dpi:1;
3265  uint64_t sli:1;
3266  uint64_t usb:1;
3267  uint64_t dfa:1;
3268  uint64_t key:1;
3269  uint64_t rad:1;
3270  uint64_t tim:1;
3271  uint64_t zip:1;
3272  uint64_t pko:1;
3273  uint64_t pip:1;
3274  uint64_t ipd:1;
3275  uint64_t l2c:1;
3276  uint64_t pow:1;
3277  uint64_t fpa:1;
3278  uint64_t iob:1;
3279  uint64_t mio:1;
3280  uint64_t nand:1;
3281  uint64_t mii1:1;
3282  uint64_t usb1:1;
3283  uint64_t uart2:1;
3284  uint64_t wdog:16;
3285 #else
3326 #endif
3327  } s;
3329 #ifdef __BIG_ENDIAN_BITFIELD
3331  uint64_t nand:1;
3332  uint64_t mii1:1;
3333  uint64_t usb1:1;
3334  uint64_t uart2:1;
3336  uint64_t wdog:4;
3337 #else
3345 #endif
3346  } cn52xx;
3348 #ifdef __BIG_ENDIAN_BITFIELD
3350  uint64_t wdog:12;
3351 #else
3354 #endif
3355  } cn56xx;
3357 #ifdef __BIG_ENDIAN_BITFIELD
3359  uint64_t wdog:16;
3360 #else
3363 #endif
3364  } cn58xx;
3366 #ifdef __BIG_ENDIAN_BITFIELD
3367  uint64_t rst:1;
3369  uint64_t lmc0:1;
3371  uint64_t pem1:1;
3372  uint64_t pem0:1;
3373  uint64_t ptp:1;
3374  uint64_t agl:1;
3376  uint64_t dpi_dma:1;
3378  uint64_t agx1:1;
3379  uint64_t agx0:1;
3380  uint64_t dpi:1;
3381  uint64_t sli:1;
3382  uint64_t usb:1;
3383  uint64_t dfa:1;
3384  uint64_t key:1;
3385  uint64_t rad:1;
3386  uint64_t tim:1;
3387  uint64_t zip:1;
3388  uint64_t pko:1;
3389  uint64_t pip:1;
3390  uint64_t ipd:1;
3391  uint64_t l2c:1;
3392  uint64_t pow:1;
3393  uint64_t fpa:1;
3394  uint64_t iob:1;
3395  uint64_t mio:1;
3396  uint64_t nand:1;
3397  uint64_t mii1:1;
3399  uint64_t wdog:4;
3400 #else
3434 #endif
3435  } cn61xx;
3437 #ifdef __BIG_ENDIAN_BITFIELD
3438  uint64_t rst:1;
3440  uint64_t dfm:1;
3442  uint64_t lmc0:1;
3443  uint64_t srio1:1;
3444  uint64_t srio0:1;
3445  uint64_t pem1:1;
3446  uint64_t pem0:1;
3447  uint64_t ptp:1;
3448  uint64_t agl:1;
3450  uint64_t agx0:1;
3451  uint64_t dpi:1;
3452  uint64_t sli:1;
3453  uint64_t usb:1;
3454  uint64_t dfa:1;
3455  uint64_t key:1;
3456  uint64_t rad:1;
3457  uint64_t tim:1;
3458  uint64_t zip:1;
3459  uint64_t pko:1;
3460  uint64_t pip:1;
3461  uint64_t ipd:1;
3462  uint64_t l2c:1;
3463  uint64_t pow:1;
3464  uint64_t fpa:1;
3465  uint64_t iob:1;
3466  uint64_t mio:1;
3467  uint64_t nand:1;
3468  uint64_t mii1:1;
3470  uint64_t wdog:6;
3471 #else
3505 #endif
3506  } cn63xx;
3509 #ifdef __BIG_ENDIAN_BITFIELD
3510  uint64_t rst:1;
3512  uint64_t srio3:1;
3513  uint64_t srio2:1;
3515  uint64_t dfm:1;
3517  uint64_t lmc0:1;
3519  uint64_t srio0:1;
3520  uint64_t pem1:1;
3521  uint64_t pem0:1;
3522  uint64_t ptp:1;
3523  uint64_t agl:1;
3525  uint64_t agx1:1;
3526  uint64_t agx0:1;
3527  uint64_t dpi:1;
3528  uint64_t sli:1;
3529  uint64_t usb:1;
3530  uint64_t dfa:1;
3531  uint64_t key:1;
3532  uint64_t rad:1;
3533  uint64_t tim:1;
3534  uint64_t zip:1;
3535  uint64_t pko:1;
3536  uint64_t pip:1;
3537  uint64_t ipd:1;
3538  uint64_t l2c:1;
3539  uint64_t pow:1;
3540  uint64_t fpa:1;
3541  uint64_t iob:1;
3542  uint64_t mio:1;
3543  uint64_t nand:1;
3544  uint64_t mii1:1;
3546  uint64_t wdog:10;
3547 #else
3585 #endif
3586  } cn66xx;
3588 #ifdef __BIG_ENDIAN_BITFIELD
3589  uint64_t rst:1;
3591  uint64_t lmc0:1;
3593  uint64_t pem1:1;
3594  uint64_t pem0:1;
3595  uint64_t ptp:1;
3597  uint64_t dpi_dma:1;
3599  uint64_t agx0:1;
3600  uint64_t dpi:1;
3601  uint64_t sli:1;
3602  uint64_t usb:1;
3604  uint64_t key:1;
3605  uint64_t rad:1;
3606  uint64_t tim:1;
3608  uint64_t pko:1;
3609  uint64_t pip:1;
3610  uint64_t ipd:1;
3611  uint64_t l2c:1;
3612  uint64_t pow:1;
3613  uint64_t fpa:1;
3614  uint64_t iob:1;
3615  uint64_t mio:1;
3616  uint64_t nand:1;
3618  uint64_t wdog:4;
3619 #else
3650 #endif
3651  } cnf71xx;
3652 };
3653 
3657 #ifdef __BIG_ENDIAN_BITFIELD
3658  uint64_t bootdma:1;
3659  uint64_t mii:1;
3660  uint64_t ipdppthr:1;
3661  uint64_t powiq:1;
3662  uint64_t twsi2:1;
3663  uint64_t mpi:1;
3664  uint64_t pcm:1;
3665  uint64_t usb:1;
3666  uint64_t timer:4;
3667  uint64_t key_zero:1;
3668  uint64_t ipd_drp:1;
3669  uint64_t gmx_drp:2;
3670  uint64_t trace:1;
3671  uint64_t rml:1;
3672  uint64_t twsi:1;
3674  uint64_t pci_msi:4;
3675  uint64_t pci_int:4;
3676  uint64_t uart:2;
3677  uint64_t mbox:2;
3678  uint64_t gpio:16;
3679  uint64_t workq:16;
3680 #else
3703 #endif
3704  } s;
3706 #ifdef __BIG_ENDIAN_BITFIELD
3708  uint64_t mpi:1;
3709  uint64_t pcm:1;
3710  uint64_t usb:1;
3711  uint64_t timer:4;
3713  uint64_t ipd_drp:1;
3715  uint64_t gmx_drp:1;
3717  uint64_t rml:1;
3718  uint64_t twsi:1;
3720  uint64_t pci_msi:4;
3721  uint64_t pci_int:4;
3722  uint64_t uart:2;
3723  uint64_t mbox:2;
3724  uint64_t gpio:16;
3725  uint64_t workq:16;
3726 #else
3746 #endif
3747  } cn50xx;
3749 #ifdef __BIG_ENDIAN_BITFIELD
3750  uint64_t bootdma:1;
3751  uint64_t mii:1;
3752  uint64_t ipdppthr:1;
3753  uint64_t powiq:1;
3754  uint64_t twsi2:1;
3756  uint64_t usb:1;
3757  uint64_t timer:4;
3759  uint64_t ipd_drp:1;
3761  uint64_t gmx_drp:1;
3762  uint64_t trace:1;
3763  uint64_t rml:1;
3764  uint64_t twsi:1;
3766  uint64_t pci_msi:4;
3767  uint64_t pci_int:4;
3768  uint64_t uart:2;
3769  uint64_t mbox:2;
3770  uint64_t gpio:16;
3771  uint64_t workq:16;
3772 #else
3795 #endif
3796  } cn52xx;
3799 #ifdef __BIG_ENDIAN_BITFIELD
3800  uint64_t bootdma:1;
3801  uint64_t mii:1;
3802  uint64_t ipdppthr:1;
3803  uint64_t powiq:1;
3804  uint64_t twsi2:1;
3806  uint64_t usb:1;
3807  uint64_t timer:4;
3808  uint64_t key_zero:1;
3809  uint64_t ipd_drp:1;
3810  uint64_t gmx_drp:2;
3811  uint64_t trace:1;
3812  uint64_t rml:1;
3813  uint64_t twsi:1;
3815  uint64_t pci_msi:4;
3816  uint64_t pci_int:4;
3817  uint64_t uart:2;
3818  uint64_t mbox:2;
3819  uint64_t gpio:16;
3820  uint64_t workq:16;
3821 #else
3843 #endif
3844  } cn56xx;
3847 #ifdef __BIG_ENDIAN_BITFIELD
3849  uint64_t timer:4;
3850  uint64_t key_zero:1;
3851  uint64_t ipd_drp:1;
3852  uint64_t gmx_drp:2;
3853  uint64_t trace:1;
3854  uint64_t rml:1;
3855  uint64_t twsi:1;
3857  uint64_t pci_msi:4;
3858  uint64_t pci_int:4;
3859  uint64_t uart:2;
3860  uint64_t mbox:2;
3861  uint64_t gpio:16;
3862  uint64_t workq:16;
3863 #else
3879 #endif
3880  } cn58xx;
3883 #ifdef __BIG_ENDIAN_BITFIELD
3884  uint64_t bootdma:1;
3885  uint64_t mii:1;
3886  uint64_t ipdppthr:1;
3887  uint64_t powiq:1;
3888  uint64_t twsi2:1;
3889  uint64_t mpi:1;
3890  uint64_t pcm:1;
3891  uint64_t usb:1;
3892  uint64_t timer:4;
3894  uint64_t ipd_drp:1;
3895  uint64_t gmx_drp:2;
3896  uint64_t trace:1;
3897  uint64_t rml:1;
3898  uint64_t twsi:1;
3900  uint64_t pci_msi:4;
3901  uint64_t pci_int:4;
3902  uint64_t uart:2;
3903  uint64_t mbox:2;
3904  uint64_t gpio:16;
3905  uint64_t workq:16;
3906 #else
3929 #endif
3930  } cn61xx;
3934 #ifdef __BIG_ENDIAN_BITFIELD
3935  uint64_t bootdma:1;
3936  uint64_t mii:1;
3937  uint64_t ipdppthr:1;
3938  uint64_t powiq:1;
3939  uint64_t twsi2:1;
3940  uint64_t mpi:1;
3942  uint64_t usb:1;
3943  uint64_t timer:4;
3945  uint64_t ipd_drp:1;
3946  uint64_t gmx_drp:2;
3947  uint64_t trace:1;
3948  uint64_t rml:1;
3949  uint64_t twsi:1;
3951  uint64_t pci_msi:4;
3952  uint64_t pci_int:4;
3953  uint64_t uart:2;
3954  uint64_t mbox:2;
3955  uint64_t gpio:16;
3956  uint64_t workq:16;
3957 #else
3980 #endif
3981  } cn66xx;
3983 #ifdef __BIG_ENDIAN_BITFIELD
3984  uint64_t bootdma:1;
3986  uint64_t ipdppthr:1;
3987  uint64_t powiq:1;
3988  uint64_t twsi2:1;
3989  uint64_t mpi:1;
3990  uint64_t pcm:1;
3991  uint64_t usb:1;
3992  uint64_t timer:4;
3994  uint64_t ipd_drp:1;
3996  uint64_t gmx_drp:1;
3997  uint64_t trace:1;
3998  uint64_t rml:1;
3999  uint64_t twsi:1;
4001  uint64_t pci_msi:4;
4002  uint64_t pci_int:4;
4003  uint64_t uart:2;
4004  uint64_t mbox:2;
4005  uint64_t gpio:16;
4006  uint64_t workq:16;
4007 #else
4031 #endif
4032  } cnf71xx;
4033 };
4034 
4038 #ifdef __BIG_ENDIAN_BITFIELD
4039  uint64_t bootdma:1;
4040  uint64_t mii:1;
4041  uint64_t ipdppthr:1;
4042  uint64_t powiq:1;
4043  uint64_t twsi2:1;
4044  uint64_t mpi:1;
4045  uint64_t pcm:1;
4046  uint64_t usb:1;
4047  uint64_t timer:4;
4048  uint64_t key_zero:1;
4049  uint64_t ipd_drp:1;
4050  uint64_t gmx_drp:2;
4051  uint64_t trace:1;
4052  uint64_t rml:1;
4053  uint64_t twsi:1;
4055  uint64_t pci_msi:4;
4056  uint64_t pci_int:4;
4057  uint64_t uart:2;
4058  uint64_t mbox:2;
4059  uint64_t gpio:16;
4060  uint64_t workq:16;
4061 #else
4084 #endif
4085  } s;
4087 #ifdef __BIG_ENDIAN_BITFIELD
4088  uint64_t bootdma:1;
4089  uint64_t mii:1;
4090  uint64_t ipdppthr:1;
4091  uint64_t powiq:1;
4092  uint64_t twsi2:1;
4094  uint64_t usb:1;
4095  uint64_t timer:4;
4097  uint64_t ipd_drp:1;
4099  uint64_t gmx_drp:1;
4100  uint64_t trace:1;
4101  uint64_t rml:1;
4102  uint64_t twsi:1;
4104  uint64_t pci_msi:4;
4105  uint64_t pci_int:4;
4106  uint64_t uart:2;
4107  uint64_t mbox:2;
4108  uint64_t gpio:16;
4109  uint64_t workq:16;
4110 #else
4133 #endif
4134  } cn52xx;
4136 #ifdef __BIG_ENDIAN_BITFIELD
4137  uint64_t bootdma:1;
4138  uint64_t mii:1;
4139  uint64_t ipdppthr:1;
4140  uint64_t powiq:1;
4141  uint64_t twsi2:1;
4143  uint64_t usb:1;
4144  uint64_t timer:4;
4145  uint64_t key_zero:1;
4146  uint64_t ipd_drp:1;
4147  uint64_t gmx_drp:2;
4148  uint64_t trace:1;
4149  uint64_t rml:1;
4150  uint64_t twsi:1;
4152  uint64_t pci_msi:4;
4153  uint64_t pci_int:4;
4154  uint64_t uart:2;
4155  uint64_t mbox:2;
4156  uint64_t gpio:16;
4157  uint64_t workq:16;
4158 #else
4180 #endif
4181  } cn56xx;
4183 #ifdef __BIG_ENDIAN_BITFIELD
4185  uint64_t timer:4;
4186  uint64_t key_zero:1;
4187  uint64_t ipd_drp:1;
4188  uint64_t gmx_drp:2;
4189  uint64_t trace:1;
4190  uint64_t rml:1;
4191  uint64_t twsi:1;
4193  uint64_t pci_msi:4;
4194  uint64_t pci_int:4;
4195  uint64_t uart:2;
4196  uint64_t mbox:2;
4197  uint64_t gpio:16;
4198  uint64_t workq:16;
4199 #else
4215 #endif
4216  } cn58xx;
4218 #ifdef __BIG_ENDIAN_BITFIELD
4219  uint64_t bootdma:1;
4220  uint64_t mii:1;
4221  uint64_t ipdppthr:1;
4222  uint64_t powiq:1;
4223  uint64_t twsi2:1;
4224  uint64_t mpi:1;
4225  uint64_t pcm:1;
4226  uint64_t usb:1;
4227  uint64_t timer:4;
4229  uint64_t ipd_drp:1;
4230  uint64_t gmx_drp:2;
4231  uint64_t trace:1;
4232  uint64_t rml:1;
4233  uint64_t twsi:1;
4235  uint64_t pci_msi:4;
4236  uint64_t pci_int:4;
4237  uint64_t uart:2;
4238  uint64_t mbox:2;
4239  uint64_t gpio:16;
4240  uint64_t workq:16;
4241 #else
4264 #endif
4265  } cn61xx;
4269 #ifdef __BIG_ENDIAN_BITFIELD
4270  uint64_t bootdma:1;
4271  uint64_t mii:1;
4272  uint64_t ipdppthr:1;
4273  uint64_t powiq:1;
4274  uint64_t twsi2:1;
4275  uint64_t mpi:1;
4277  uint64_t usb:1;
4278  uint64_t timer:4;
4280  uint64_t ipd_drp:1;
4281  uint64_t gmx_drp:2;
4282  uint64_t trace:1;
4283  uint64_t rml:1;
4284  uint64_t twsi:1;
4286  uint64_t pci_msi:4;
4287  uint64_t pci_int:4;
4288  uint64_t uart:2;
4289  uint64_t mbox:2;
4290  uint64_t gpio:16;
4291  uint64_t workq:16;
4292 #else
4315 #endif
4316  } cn66xx;
4318 #ifdef __BIG_ENDIAN_BITFIELD
4319  uint64_t bootdma:1;
4321  uint64_t ipdppthr:1;
4322  uint64_t powiq:1;
4323  uint64_t twsi2:1;
4324  uint64_t mpi:1;
4325  uint64_t pcm:1;
4326  uint64_t usb:1;
4327  uint64_t timer:4;
4329  uint64_t ipd_drp:1;
4331  uint64_t gmx_drp:1;
4332  uint64_t trace:1;
4333  uint64_t rml:1;
4334  uint64_t twsi:1;
4336  uint64_t pci_msi:4;
4337  uint64_t pci_int:4;
4338  uint64_t uart:2;
4339  uint64_t mbox:2;
4340  uint64_t gpio:16;
4341  uint64_t workq:16;
4342 #else
4366 #endif
4367  } cnf71xx;
4368 };
4369 
4373 #ifdef __BIG_ENDIAN_BITFIELD
4374  uint64_t bootdma:1;
4375  uint64_t mii:1;
4376  uint64_t ipdppthr:1;
4377  uint64_t powiq:1;
4378  uint64_t twsi2:1;
4379  uint64_t mpi:1;
4380  uint64_t pcm:1;
4381  uint64_t usb:1;
4382  uint64_t timer:4;
4383  uint64_t key_zero:1;
4384  uint64_t ipd_drp:1;
4385  uint64_t gmx_drp:2;
4386  uint64_t trace:1;
4387  uint64_t rml:1;
4388  uint64_t twsi:1;
4390  uint64_t pci_msi:4;
4391  uint64_t pci_int:4;
4392  uint64_t uart:2;
4393  uint64_t mbox:2;
4394  uint64_t gpio:16;
4395  uint64_t workq:16;
4396 #else
4419 #endif
4420  } s;
4422 #ifdef __BIG_ENDIAN_BITFIELD
4423  uint64_t bootdma:1;
4424  uint64_t mii:1;
4425  uint64_t ipdppthr:1;
4426  uint64_t powiq:1;
4427  uint64_t twsi2:1;
4429  uint64_t usb:1;
4430  uint64_t timer:4;
4432  uint64_t ipd_drp:1;
4434  uint64_t gmx_drp:1;
4435  uint64_t trace:1;
4436  uint64_t rml:1;
4437  uint64_t twsi:1;
4439  uint64_t pci_msi:4;
4440  uint64_t pci_int:4;
4441  uint64_t uart:2;
4442  uint64_t mbox:2;
4443  uint64_t gpio:16;
4444  uint64_t workq:16;
4445 #else
4468 #endif
4469  } cn52xx;
4471 #ifdef __BIG_ENDIAN_BITFIELD
4472  uint64_t bootdma:1;
4473  uint64_t mii:1;
4474  uint64_t ipdppthr:1;
4475  uint64_t powiq:1;
4476  uint64_t twsi2:1;
4478  uint64_t usb:1;
4479  uint64_t timer:4;
4480  uint64_t key_zero:1;
4481  uint64_t ipd_drp:1;
4482  uint64_t gmx_drp:2;
4483  uint64_t trace:1;
4484  uint64_t rml:1;
4485  uint64_t twsi:1;
4487  uint64_t pci_msi:4;
4488  uint64_t pci_int:4;
4489  uint64_t uart:2;
4490  uint64_t mbox:2;
4491  uint64_t gpio:16;
4492  uint64_t workq:16;
4493 #else
4515 #endif
4516  } cn56xx;
4518 #ifdef __BIG_ENDIAN_BITFIELD
4520  uint64_t timer:4;
4521  uint64_t key_zero:1;
4522  uint64_t ipd_drp:1;
4523  uint64_t gmx_drp:2;
4524  uint64_t trace:1;
4525  uint64_t rml:1;
4526  uint64_t twsi:1;
4528  uint64_t pci_msi:4;
4529  uint64_t pci_int:4;
4530  uint64_t uart:2;
4531  uint64_t mbox:2;
4532  uint64_t gpio:16;
4533  uint64_t workq:16;
4534 #else
4550 #endif
4551  } cn58xx;
4553 #ifdef __BIG_ENDIAN_BITFIELD
4554  uint64_t bootdma:1;
4555  uint64_t mii:1;
4556  uint64_t ipdppthr:1;
4557  uint64_t powiq:1;
4558  uint64_t twsi2:1;
4559  uint64_t mpi:1;
4560  uint64_t pcm:1;
4561  uint64_t usb:1;
4562  uint64_t timer:4;
4564  uint64_t ipd_drp:1;
4565  uint64_t gmx_drp:2;
4566  uint64_t trace:1;
4567  uint64_t rml:1;
4568  uint64_t twsi:1;
4570  uint64_t pci_msi:4;
4571  uint64_t pci_int:4;
4572  uint64_t uart:2;
4573  uint64_t mbox:2;
4574  uint64_t gpio:16;
4575  uint64_t workq:16;
4576 #else
4599 #endif
4600  } cn61xx;
4604 #ifdef __BIG_ENDIAN_BITFIELD
4605  uint64_t bootdma:1;
4606  uint64_t mii:1;
4607  uint64_t ipdppthr:1;
4608  uint64_t powiq:1;
4609  uint64_t twsi2:1;
4610  uint64_t mpi:1;
4612  uint64_t usb:1;
4613  uint64_t timer:4;
4615  uint64_t ipd_drp:1;
4616  uint64_t gmx_drp:2;
4617  uint64_t trace:1;
4618  uint64_t rml:1;
4619  uint64_t twsi:1;
4621  uint64_t pci_msi:4;
4622  uint64_t pci_int:4;
4623  uint64_t uart:2;
4624  uint64_t mbox:2;
4625  uint64_t gpio:16;
4626  uint64_t workq:16;
4627 #else
4650 #endif
4651  } cn66xx;
4653 #ifdef __BIG_ENDIAN_BITFIELD
4654  uint64_t bootdma:1;
4656  uint64_t ipdppthr:1;
4657  uint64_t powiq:1;
4658  uint64_t twsi2:1;
4659  uint64_t mpi:1;
4660  uint64_t pcm:1;
4661  uint64_t usb:1;
4662  uint64_t timer:4;
4664  uint64_t ipd_drp:1;
4666  uint64_t gmx_drp:1;
4667  uint64_t trace:1;
4668  uint64_t rml:1;
4669  uint64_t twsi:1;
4671  uint64_t pci_msi:4;
4672  uint64_t pci_int:4;
4673  uint64_t uart:2;
4674  uint64_t mbox:2;
4675  uint64_t gpio:16;
4676  uint64_t workq:16;
4677 #else
4701 #endif
4702  } cnf71xx;
4703 };
4704 
4708 #ifdef __BIG_ENDIAN_BITFIELD
4709  uint64_t rst:1;
4711  uint64_t srio3:1;
4712  uint64_t srio2:1;
4714  uint64_t dfm:1;
4716  uint64_t lmc0:1;
4717  uint64_t srio1:1;
4718  uint64_t srio0:1;
4719  uint64_t pem1:1;
4720  uint64_t pem0:1;
4721  uint64_t ptp:1;
4722  uint64_t agl:1;
4724  uint64_t dpi_dma:1;
4726  uint64_t agx1:1;
4727  uint64_t agx0:1;
4728  uint64_t dpi:1;
4729  uint64_t sli:1;
4730  uint64_t usb:1;
4731  uint64_t dfa:1;
4732  uint64_t key:1;
4733  uint64_t rad:1;
4734  uint64_t tim:1;
4735  uint64_t zip:1;
4736  uint64_t pko:1;
4737  uint64_t pip:1;
4738  uint64_t ipd:1;
4739  uint64_t l2c:1;
4740  uint64_t pow:1;
4741  uint64_t fpa:1;
4742  uint64_t iob:1;
4743  uint64_t mio:1;
4744  uint64_t nand:1;
4745  uint64_t mii1:1;
4746  uint64_t usb1:1;
4747  uint64_t uart2:1;
4748  uint64_t wdog:16;
4749 #else
4790 #endif
4791  } s;
4793 #ifdef __BIG_ENDIAN_BITFIELD
4795  uint64_t wdog:2;
4796 #else
4799 #endif
4800  } cn50xx;
4802 #ifdef __BIG_ENDIAN_BITFIELD
4804  uint64_t nand:1;
4805  uint64_t mii1:1;
4806  uint64_t usb1:1;
4807  uint64_t uart2:1;
4809  uint64_t wdog:4;
4810 #else
4818 #endif
4819  } cn52xx;
4821 #ifdef __BIG_ENDIAN_BITFIELD
4823  uint64_t mii1:1;
4824  uint64_t usb1:1;
4825  uint64_t uart2:1;
4827  uint64_t wdog:4;
4828 #else
4835 #endif
4836  } cn52xxp1;
4838 #ifdef __BIG_ENDIAN_BITFIELD
4840  uint64_t wdog:12;
4841 #else
4844 #endif
4845  } cn56xx;
4848 #ifdef __BIG_ENDIAN_BITFIELD
4850  uint64_t wdog:16;
4851 #else
4854 #endif
4855  } cn58xx;
4858 #ifdef __BIG_ENDIAN_BITFIELD
4859  uint64_t rst:1;
4861  uint64_t lmc0:1;
4863  uint64_t pem1:1;
4864  uint64_t pem0:1;
4865  uint64_t ptp:1;
4866  uint64_t agl:1;
4868  uint64_t dpi_dma:1;
4870  uint64_t agx1:1;
4871  uint64_t agx0:1;
4872  uint64_t dpi:1;
4873  uint64_t sli:1;
4874  uint64_t usb:1;
4875  uint64_t dfa:1;
4876  uint64_t key:1;
4877  uint64_t rad:1;
4878  uint64_t tim:1;
4879  uint64_t zip:1;
4880  uint64_t pko:1;
4881  uint64_t pip:1;
4882  uint64_t ipd:1;
4883  uint64_t l2c:1;
4884  uint64_t pow:1;
4885  uint64_t fpa:1;
4886  uint64_t iob:1;
4887  uint64_t mio:1;
4888  uint64_t nand:1;
4889  uint64_t mii1:1;
4891  uint64_t wdog:4;
4892 #else
4926 #endif
4927  } cn61xx;
4929 #ifdef __BIG_ENDIAN_BITFIELD
4930  uint64_t rst:1;
4932  uint64_t dfm:1;
4934  uint64_t lmc0:1;
4935  uint64_t srio1:1;
4936  uint64_t srio0:1;
4937  uint64_t pem1:1;
4938  uint64_t pem0:1;
4939  uint64_t ptp:1;
4940  uint64_t agl:1;
4942  uint64_t agx0:1;
4943  uint64_t dpi:1;
4944  uint64_t sli:1;
4945  uint64_t usb:1;
4946  uint64_t dfa:1;
4947  uint64_t key:1;
4948  uint64_t rad:1;
4949  uint64_t tim:1;
4950  uint64_t zip:1;
4951  uint64_t pko:1;
4952  uint64_t pip:1;
4953  uint64_t ipd:1;
4954  uint64_t l2c:1;
4955  uint64_t pow:1;
4956  uint64_t fpa:1;
4957  uint64_t iob:1;
4958  uint64_t mio:1;
4959  uint64_t nand:1;
4960  uint64_t mii1:1;
4962  uint64_t wdog:6;
4963 #else
4997 #endif
4998  } cn63xx;
5001 #ifdef __BIG_ENDIAN_BITFIELD
5002  uint64_t rst:1;
5004  uint64_t srio3:1;
5005  uint64_t srio2:1;
5007  uint64_t dfm:1;
5009  uint64_t lmc0:1;
5011  uint64_t srio0:1;
5012  uint64_t pem1:1;
5013  uint64_t pem0:1;
5014  uint64_t ptp:1;
5015  uint64_t agl:1;
5017  uint64_t agx1:1;
5018  uint64_t agx0:1;
5019  uint64_t dpi:1;
5020  uint64_t sli:1;
5021  uint64_t usb:1;
5022  uint64_t dfa:1;
5023  uint64_t key:1;
5024  uint64_t rad:1;
5025  uint64_t tim:1;
5026  uint64_t zip:1;
5027  uint64_t pko:1;
5028  uint64_t pip:1;
5029  uint64_t ipd:1;
5030  uint64_t l2c:1;
5031  uint64_t pow:1;
5032  uint64_t fpa:1;
5033  uint64_t iob:1;
5034  uint64_t mio:1;
5035  uint64_t nand:1;
5036  uint64_t mii1:1;
5038  uint64_t wdog:10;
5039 #else
5077 #endif
5078  } cn66xx;
5080 #ifdef __BIG_ENDIAN_BITFIELD
5081  uint64_t rst:1;
5083  uint64_t lmc0:1;
5085  uint64_t pem1:1;
5086  uint64_t pem0:1;
5087  uint64_t ptp:1;
5089  uint64_t dpi_dma:1;
5091  uint64_t agx0:1;
5092  uint64_t dpi:1;
5093  uint64_t sli:1;
5094  uint64_t usb:1;
5096  uint64_t key:1;
5097  uint64_t rad:1;
5098  uint64_t tim:1;
5100  uint64_t pko:1;
5101  uint64_t pip:1;
5102  uint64_t ipd:1;
5103  uint64_t l2c:1;
5104  uint64_t pow:1;
5105  uint64_t fpa:1;
5106  uint64_t iob:1;
5107  uint64_t mio:1;
5108  uint64_t nand:1;
5110  uint64_t wdog:4;
5111 #else
5142 #endif
5143  } cnf71xx;
5144 };
5145 
5149 #ifdef __BIG_ENDIAN_BITFIELD
5150  uint64_t rst:1;
5152  uint64_t srio3:1;
5153  uint64_t srio2:1;
5155  uint64_t dfm:1;
5157  uint64_t lmc0:1;
5158  uint64_t srio1:1;
5159  uint64_t srio0:1;
5160  uint64_t pem1:1;
5161  uint64_t pem0:1;
5162  uint64_t ptp:1;
5163  uint64_t agl:1;
5165  uint64_t dpi_dma:1;
5167  uint64_t agx1:1;
5168  uint64_t agx0:1;
5169  uint64_t dpi:1;
5170  uint64_t sli:1;
5171  uint64_t usb:1;
5172  uint64_t dfa:1;
5173  uint64_t key:1;
5174  uint64_t rad:1;
5175  uint64_t tim:1;
5176  uint64_t zip:1;
5177  uint64_t pko:1;
5178  uint64_t pip:1;
5179  uint64_t ipd:1;
5180  uint64_t l2c:1;
5181  uint64_t pow:1;
5182  uint64_t fpa:1;
5183  uint64_t iob:1;
5184  uint64_t mio:1;
5185  uint64_t nand:1;
5186  uint64_t mii1:1;
5187  uint64_t usb1:1;
5188  uint64_t uart2:1;
5189  uint64_t wdog:16;
5190 #else
5231 #endif
5232  } s;
5234 #ifdef __BIG_ENDIAN_BITFIELD
5236  uint64_t nand:1;
5237  uint64_t mii1:1;
5238  uint64_t usb1:1;
5239  uint64_t uart2:1;
5241  uint64_t wdog:4;
5242 #else
5250 #endif
5251  } cn52xx;
5253 #ifdef __BIG_ENDIAN_BITFIELD
5255  uint64_t wdog:12;
5256 #else
5259 #endif
5260  } cn56xx;
5262 #ifdef __BIG_ENDIAN_BITFIELD
5264  uint64_t wdog:16;
5265 #else
5268 #endif
5269  } cn58xx;
5271 #ifdef __BIG_ENDIAN_BITFIELD
5272  uint64_t rst:1;
5274  uint64_t lmc0:1;
5276  uint64_t pem1:1;
5277  uint64_t pem0:1;
5278  uint64_t ptp:1;
5279  uint64_t agl:1;
5281  uint64_t dpi_dma:1;
5283  uint64_t agx1:1;
5284  uint64_t agx0:1;
5285  uint64_t dpi:1;
5286  uint64_t sli:1;
5287  uint64_t usb:1;
5288  uint64_t dfa:1;
5289  uint64_t key:1;
5290  uint64_t rad:1;
5291  uint64_t tim:1;
5292  uint64_t zip:1;
5293  uint64_t pko:1;
5294  uint64_t pip:1;
5295  uint64_t ipd:1;
5296  uint64_t l2c:1;
5297  uint64_t pow:1;
5298  uint64_t fpa:1;
5299  uint64_t iob:1;
5300  uint64_t mio:1;
5301  uint64_t nand:1;
5302  uint64_t mii1:1;
5304  uint64_t wdog:4;
5305 #else
5339 #endif
5340  } cn61xx;
5342 #ifdef __BIG_ENDIAN_BITFIELD
5343  uint64_t rst:1;
5345  uint64_t dfm:1;
5347  uint64_t lmc0:1;
5348  uint64_t srio1:1;
5349  uint64_t srio0:1;
5350  uint64_t pem1:1;
5351  uint64_t pem0:1;
5352  uint64_t ptp:1;
5353  uint64_t agl:1;
5355  uint64_t agx0:1;
5356  uint64_t dpi:1;
5357  uint64_t sli:1;
5358  uint64_t usb:1;
5359  uint64_t dfa:1;
5360  uint64_t key:1;
5361  uint64_t rad:1;
5362  uint64_t tim:1;
5363  uint64_t zip:1;
5364  uint64_t pko:1;
5365  uint64_t pip:1;
5366  uint64_t ipd:1;
5367  uint64_t l2c:1;
5368  uint64_t pow:1;
5369  uint64_t fpa:1;
5370  uint64_t iob:1;
5371  uint64_t mio:1;
5372  uint64_t nand:1;
5373  uint64_t mii1:1;
5375  uint64_t wdog:6;
5376 #else
5410 #endif
5411  } cn63xx;
5414 #ifdef __BIG_ENDIAN_BITFIELD
5415  uint64_t rst:1;
5417  uint64_t srio3:1;
5418  uint64_t srio2:1;
5420  uint64_t dfm:1;
5422  uint64_t lmc0:1;
5424  uint64_t srio0:1;
5425  uint64_t pem1:1;
5426  uint64_t pem0:1;
5427  uint64_t ptp:1;
5428  uint64_t agl:1;
5430  uint64_t agx1:1;
5431  uint64_t agx0:1;
5432  uint64_t dpi:1;
5433  uint64_t sli:1;
5434  uint64_t usb:1;
5435  uint64_t dfa:1;
5436  uint64_t key:1;
5437  uint64_t rad:1;
5438  uint64_t tim:1;
5439  uint64_t zip:1;
5440  uint64_t pko:1;
5441  uint64_t pip:1;
5442  uint64_t ipd:1;
5443  uint64_t l2c:1;
5444  uint64_t pow:1;
5445  uint64_t fpa:1;
5446  uint64_t iob:1;
5447  uint64_t mio:1;
5448  uint64_t nand:1;
5449  uint64_t mii1:1;
5451  uint64_t wdog:10;
5452 #else
5490 #endif
5491  } cn66xx;
5493 #ifdef __BIG_ENDIAN_BITFIELD
5494  uint64_t rst:1;
5496  uint64_t lmc0:1;
5498  uint64_t pem1:1;
5499  uint64_t pem0:1;
5500  uint64_t ptp:1;
5502  uint64_t dpi_dma:1;
5504  uint64_t agx0:1;
5505  uint64_t dpi:1;
5506  uint64_t sli:1;
5507  uint64_t usb:1;
5509  uint64_t key:1;
5510  uint64_t rad:1;
5511  uint64_t tim:1;
5513  uint64_t pko:1;
5514  uint64_t pip:1;
5515  uint64_t ipd:1;
5516  uint64_t l2c:1;
5517  uint64_t pow:1;
5518  uint64_t fpa:1;
5519  uint64_t iob:1;
5520  uint64_t mio:1;
5521  uint64_t nand:1;
5523  uint64_t wdog:4;
5524 #else
5555 #endif
5556  } cnf71xx;
5557 };
5558 
5562 #ifdef __BIG_ENDIAN_BITFIELD
5563  uint64_t rst:1;
5565  uint64_t srio3:1;
5566  uint64_t srio2:1;
5568  uint64_t dfm:1;
5570  uint64_t lmc0:1;
5571  uint64_t srio1:1;
5572  uint64_t srio0:1;
5573  uint64_t pem1:1;
5574  uint64_t pem0:1;
5575  uint64_t ptp:1;
5576  uint64_t agl:1;
5578  uint64_t dpi_dma:1;
5580  uint64_t agx1:1;
5581  uint64_t agx0:1;
5582  uint64_t dpi:1;
5583  uint64_t sli:1;
5584  uint64_t usb:1;
5585  uint64_t dfa:1;
5586  uint64_t key:1;
5587  uint64_t rad:1;
5588  uint64_t tim:1;
5589  uint64_t zip:1;
5590  uint64_t pko:1;
5591  uint64_t pip:1;
5592  uint64_t ipd:1;
5593  uint64_t l2c:1;
5594  uint64_t pow:1;
5595  uint64_t fpa:1;
5596  uint64_t iob:1;
5597  uint64_t mio:1;
5598  uint64_t nand:1;
5599  uint64_t mii1:1;
5600  uint64_t usb1:1;
5601  uint64_t uart2:1;
5602  uint64_t wdog:16;
5603 #else
5644 #endif
5645  } s;
5647 #ifdef __BIG_ENDIAN_BITFIELD
5649  uint64_t nand:1;
5650  uint64_t mii1:1;
5651  uint64_t usb1:1;
5652  uint64_t uart2:1;
5654  uint64_t wdog:4;
5655 #else
5663 #endif
5664  } cn52xx;
5666 #ifdef __BIG_ENDIAN_BITFIELD
5668  uint64_t wdog:12;
5669 #else
5672 #endif
5673  } cn56xx;
5675 #ifdef __BIG_ENDIAN_BITFIELD
5677  uint64_t wdog:16;
5678 #else
5681 #endif
5682  } cn58xx;
5684 #ifdef __BIG_ENDIAN_BITFIELD
5685  uint64_t rst:1;
5687  uint64_t lmc0:1;
5689  uint64_t pem1:1;
5690  uint64_t pem0:1;
5691  uint64_t ptp:1;
5692  uint64_t agl:1;
5694  uint64_t dpi_dma:1;
5696  uint64_t agx1:1;
5697  uint64_t agx0:1;
5698  uint64_t dpi:1;
5699  uint64_t sli:1;
5700  uint64_t usb:1;
5701  uint64_t dfa:1;
5702  uint64_t key:1;
5703  uint64_t rad:1;
5704  uint64_t tim:1;
5705  uint64_t zip:1;
5706  uint64_t pko:1;
5707  uint64_t pip:1;
5708  uint64_t ipd:1;
5709  uint64_t l2c:1;
5710  uint64_t pow:1;
5711  uint64_t fpa:1;
5712  uint64_t iob:1;
5713  uint64_t mio:1;
5714  uint64_t nand:1;
5715  uint64_t mii1:1;
5717  uint64_t wdog:4;
5718 #else
5752 #endif
5753  } cn61xx;
5755 #ifdef __BIG_ENDIAN_BITFIELD
5756  uint64_t rst:1;
5758  uint64_t dfm:1;
5760  uint64_t lmc0:1;
5761  uint64_t srio1:1;
5762  uint64_t srio0:1;
5763  uint64_t pem1:1;
5764  uint64_t pem0:1;
5765  uint64_t ptp:1;
5766  uint64_t agl:1;
5768  uint64_t agx0:1;
5769  uint64_t dpi:1;
5770  uint64_t sli:1;
5771  uint64_t usb:1;
5772  uint64_t dfa:1;
5773  uint64_t key:1;
5774  uint64_t rad:1;
5775  uint64_t tim:1;
5776  uint64_t zip:1;
5777  uint64_t pko:1;
5778  uint64_t pip:1;
5779  uint64_t ipd:1;
5780  uint64_t l2c:1;
5781  uint64_t pow:1;
5782  uint64_t fpa:1;
5783  uint64_t iob:1;
5784  uint64_t mio:1;
5785  uint64_t nand:1;
5786  uint64_t mii1:1;
5788  uint64_t wdog:6;
5789 #else
5823 #endif
5824  } cn63xx;
5827 #ifdef __BIG_ENDIAN_BITFIELD
5828  uint64_t rst:1;
5830  uint64_t srio3:1;
5831  uint64_t srio2:1;
5833  uint64_t dfm:1;
5835  uint64_t lmc0:1;
5837  uint64_t srio0:1;
5838  uint64_t pem1:1;
5839  uint64_t pem0:1;
5840  uint64_t ptp:1;
5841  uint64_t agl:1;
5843  uint64_t agx1:1;
5844  uint64_t agx0:1;
5845  uint64_t dpi:1;
5846  uint64_t sli:1;
5847  uint64_t usb:1;
5848  uint64_t dfa:1;
5849  uint64_t key:1;
5850  uint64_t rad:1;
5851  uint64_t tim:1;
5852  uint64_t zip:1;
5853  uint64_t pko:1;
5854  uint64_t pip:1;
5855  uint64_t ipd:1;
5856  uint64_t l2c:1;
5857  uint64_t pow:1;
5858  uint64_t fpa:1;
5859  uint64_t iob:1;
5860  uint64_t mio:1;
5861  uint64_t nand:1;
5862  uint64_t mii1:1;
5864  uint64_t wdog:10;
5865 #else
5903 #endif
5904  } cn66xx;
5906 #ifdef __BIG_ENDIAN_BITFIELD
5907  uint64_t rst:1;
5909  uint64_t lmc0:1;
5911  uint64_t pem1:1;
5912  uint64_t pem0:1;
5913  uint64_t ptp:1;
5915  uint64_t dpi_dma:1;
5917  uint64_t agx0:1;
5918  uint64_t dpi:1;
5919  uint64_t sli:1;
5920  uint64_t usb:1;
5922  uint64_t key:1;
5923  uint64_t rad:1;
5924  uint64_t tim:1;
5926  uint64_t pko:1;
5927  uint64_t pip:1;
5928  uint64_t ipd:1;
5929  uint64_t l2c:1;
5930  uint64_t pow:1;
5931  uint64_t fpa:1;
5932  uint64_t iob:1;
5933  uint64_t mio:1;
5934  uint64_t nand:1;
5936  uint64_t wdog:4;
5937 #else
5968 #endif
5969  } cnf71xx;
5970 };
5971 
5975 #ifdef __BIG_ENDIAN_BITFIELD
5976  uint64_t bootdma:1;
5977  uint64_t mii:1;
5978  uint64_t ipdppthr:1;
5979  uint64_t powiq:1;
5980  uint64_t twsi2:1;
5981  uint64_t mpi:1;
5982  uint64_t pcm:1;
5983  uint64_t usb:1;
5984  uint64_t timer:4;
5986  uint64_t ipd_drp:1;
5987  uint64_t gmx_drp:2;
5988  uint64_t trace:1;
5989  uint64_t rml:1;
5990  uint64_t twsi:1;
5991  uint64_t wdog_sum:1;
5992  uint64_t pci_msi:4;
5993  uint64_t pci_int:4;
5994  uint64_t uart:2;
5995  uint64_t mbox:2;
5996  uint64_t gpio:16;
5997  uint64_t workq:16;
5998 #else
6021 #endif
6022  } s;
6024 #ifdef __BIG_ENDIAN_BITFIELD
6026  uint64_t mpi:1;
6027  uint64_t pcm:1;
6028  uint64_t usb:1;
6029  uint64_t timer:4;
6031  uint64_t ipd_drp:1;
6033  uint64_t gmx_drp:1;
6035  uint64_t rml:1;
6036  uint64_t twsi:1;
6037  uint64_t wdog_sum:1;
6038  uint64_t pci_msi:4;
6039  uint64_t pci_int:4;
6040  uint64_t uart:2;
6041  uint64_t mbox:2;
6042  uint64_t gpio:16;
6043  uint64_t workq:16;
6044 #else
6064 #endif
6065  } cn30xx;
6067 #ifdef __BIG_ENDIAN_BITFIELD
6069  uint64_t mpi:1;
6070  uint64_t pcm:1;
6071  uint64_t usb:1;
6072  uint64_t timer:4;
6074  uint64_t ipd_drp:1;
6076  uint64_t gmx_drp:1;
6077  uint64_t trace:1;
6078  uint64_t rml:1;
6079  uint64_t twsi:1;
6080  uint64_t wdog_sum:1;
6081  uint64_t pci_msi:4;
6082  uint64_t pci_int:4;
6083  uint64_t uart:2;
6084  uint64_t mbox:2;
6085  uint64_t gpio:16;
6086  uint64_t workq:16;
6087 #else
6107 #endif
6108  } cn31xx;
6110 #ifdef __BIG_ENDIAN_BITFIELD
6112  uint64_t timer:4;
6113  uint64_t key_zero:1;
6114  uint64_t ipd_drp:1;
6115  uint64_t gmx_drp:2;
6116  uint64_t trace:1;
6117  uint64_t rml:1;
6118  uint64_t twsi:1;
6119  uint64_t wdog_sum:1;
6120  uint64_t pci_msi:4;
6121  uint64_t pci_int:4;
6122  uint64_t uart:2;
6123  uint64_t mbox:2;
6124  uint64_t gpio:16;
6125  uint64_t workq:16;
6126 #else
6142 #endif
6143  } cn38xx;
6147 #ifdef __BIG_ENDIAN_BITFIELD
6148  uint64_t bootdma:1;
6149  uint64_t mii:1;
6150  uint64_t ipdppthr:1;
6151  uint64_t powiq:1;
6152  uint64_t twsi2:1;
6154  uint64_t usb:1;
6155  uint64_t timer:4;
6157  uint64_t ipd_drp:1;
6159  uint64_t gmx_drp:1;
6160  uint64_t trace:1;
6161  uint64_t rml:1;
6162  uint64_t twsi:1;
6163  uint64_t wdog_sum:1;
6164  uint64_t pci_msi:4;
6165  uint64_t pci_int:4;
6166  uint64_t uart:2;
6167  uint64_t mbox:2;
6168  uint64_t gpio:16;
6169  uint64_t workq:16;
6170 #else
6193 #endif
6194  } cn52xx;
6197 #ifdef __BIG_ENDIAN_BITFIELD
6198  uint64_t bootdma:1;
6199  uint64_t mii:1;
6200  uint64_t ipdppthr:1;
6201  uint64_t powiq:1;
6202  uint64_t twsi2:1;
6204  uint64_t usb:1;
6205  uint64_t timer:4;
6206  uint64_t key_zero:1;
6207  uint64_t ipd_drp:1;
6208  uint64_t gmx_drp:2;
6209  uint64_t trace:1;
6210  uint64_t rml:1;
6211  uint64_t twsi:1;
6212  uint64_t wdog_sum:1;
6213  uint64_t pci_msi:4;
6214  uint64_t pci_int:4;
6215  uint64_t uart:2;
6216  uint64_t mbox:2;
6217  uint64_t gpio:16;
6218  uint64_t workq:16;
6219 #else
6241 #endif
6242  } cn56xx;
6247 #ifdef __BIG_ENDIAN_BITFIELD
6248  uint64_t bootdma:1;
6249  uint64_t mii:1;
6250  uint64_t ipdppthr:1;
6251  uint64_t powiq:1;
6252  uint64_t twsi2:1;
6253  uint64_t mpi:1;
6254  uint64_t pcm:1;
6255  uint64_t usb:1;
6256  uint64_t timer:4;
6257  uint64_t sum2:1;
6258  uint64_t ipd_drp:1;
6259  uint64_t gmx_drp:2;
6260  uint64_t trace:1;
6261  uint64_t rml:1;
6262  uint64_t twsi:1;
6263  uint64_t wdog_sum:1;
6264  uint64_t pci_msi:4;
6265  uint64_t pci_int:4;
6266  uint64_t uart:2;
6267  uint64_t mbox:2;
6268  uint64_t gpio:16;
6269  uint64_t workq:16;
6270 #else
6293 #endif
6294  } cn61xx;
6298 #ifdef __BIG_ENDIAN_BITFIELD
6299  uint64_t bootdma:1;
6300  uint64_t mii:1;
6301  uint64_t ipdppthr:1;
6302  uint64_t powiq:1;
6303  uint64_t twsi2:1;
6304  uint64_t mpi:1;
6306  uint64_t usb:1;
6307  uint64_t timer:4;
6308  uint64_t sum2:1;
6309  uint64_t ipd_drp:1;
6310  uint64_t gmx_drp:2;
6311  uint64_t trace:1;
6312  uint64_t rml:1;
6313  uint64_t twsi:1;
6314  uint64_t wdog_sum:1;
6315  uint64_t pci_msi:4;
6316  uint64_t pci_int:4;
6317  uint64_t uart:2;
6318  uint64_t mbox:2;
6319  uint64_t gpio:16;
6320  uint64_t workq:16;
6321 #else
6344 #endif
6345  } cn66xx;
6347 #ifdef __BIG_ENDIAN_BITFIELD
6348  uint64_t bootdma:1;
6350  uint64_t ipdppthr:1;
6351  uint64_t powiq:1;
6352  uint64_t twsi2:1;
6353  uint64_t mpi:1;
6354  uint64_t pcm:1;
6355  uint64_t usb:1;
6356  uint64_t timer:4;
6357  uint64_t sum2:1;
6358  uint64_t ipd_drp:1;
6360  uint64_t gmx_drp:1;
6361  uint64_t trace:1;
6362  uint64_t rml:1;
6363  uint64_t twsi:1;
6364  uint64_t wdog_sum:1;
6365  uint64_t pci_msi:4;
6366  uint64_t pci_int:4;
6367  uint64_t uart:2;
6368  uint64_t mbox:2;
6369  uint64_t gpio:16;
6370  uint64_t workq:16;
6371 #else
6395 #endif
6396  } cnf71xx;
6397 };
6398 
6402 #ifdef __BIG_ENDIAN_BITFIELD
6403  uint64_t bootdma:1;
6404  uint64_t mii:1;
6405  uint64_t ipdppthr:1;
6406  uint64_t powiq:1;
6407  uint64_t twsi2:1;
6408  uint64_t mpi:1;
6409  uint64_t pcm:1;
6410  uint64_t usb:1;
6411  uint64_t timer:4;
6413  uint64_t ipd_drp:1;
6414  uint64_t gmx_drp:2;
6415  uint64_t trace:1;
6416  uint64_t rml:1;
6417  uint64_t twsi:1;
6418  uint64_t wdog_sum:1;
6419  uint64_t pci_msi:4;
6420  uint64_t pci_int:4;
6421  uint64_t uart:2;
6422  uint64_t mbox:2;
6423  uint64_t gpio:16;
6424  uint64_t workq:16;
6425 #else
6448 #endif
6449  } s;
6451 #ifdef __BIG_ENDIAN_BITFIELD
6453  uint64_t mpi:1;
6454  uint64_t pcm:1;
6455  uint64_t usb:1;
6456  uint64_t timer:4;
6458  uint64_t ipd_drp:1;
6460  uint64_t gmx_drp:1;
6462  uint64_t rml:1;
6463  uint64_t twsi:1;
6464  uint64_t wdog_sum:1;
6465  uint64_t pci_msi:4;
6466  uint64_t pci_int:4;
6467  uint64_t uart:2;
6468  uint64_t mbox:2;
6469  uint64_t gpio:16;
6470  uint64_t workq:16;
6471 #else
6491 #endif
6492  } cn50xx;
6494 #ifdef __BIG_ENDIAN_BITFIELD
6495  uint64_t bootdma:1;
6496  uint64_t mii:1;
6497  uint64_t ipdppthr:1;
6498  uint64_t powiq:1;
6499  uint64_t twsi2:1;
6501  uint64_t usb:1;
6502  uint64_t timer:4;
6504  uint64_t ipd_drp:1;
6506  uint64_t gmx_drp:1;
6507  uint64_t trace:1;
6508  uint64_t rml:1;
6509  uint64_t twsi:1;
6510  uint64_t wdog_sum:1;
6511  uint64_t pci_msi:4;
6512  uint64_t pci_int:4;
6513  uint64_t uart:2;
6514  uint64_t mbox:2;
6515  uint64_t gpio:16;
6516  uint64_t workq:16;
6517 #else
6540 #endif
6541  } cn52xx;
6544 #ifdef __BIG_ENDIAN_BITFIELD
6545  uint64_t bootdma:1;
6546  uint64_t mii:1;
6547  uint64_t ipdppthr:1;
6548  uint64_t powiq:1;
6549  uint64_t twsi2:1;
6551  uint64_t usb:1;
6552  uint64_t timer:4;
6553  uint64_t key_zero:1;
6554  uint64_t ipd_drp:1;
6555  uint64_t gmx_drp:2;
6556  uint64_t trace:1;
6557  uint64_t rml:1;
6558  uint64_t twsi:1;
6559  uint64_t wdog_sum:1;
6560  uint64_t pci_msi:4;
6561  uint64_t pci_int:4;
6562  uint64_t uart:2;
6563  uint64_t mbox:2;
6564  uint64_t gpio:16;
6565  uint64_t workq:16;
6566 #else
6588 #endif
6589  } cn56xx;
6592 #ifdef __BIG_ENDIAN_BITFIELD
6594  uint64_t timer:4;
6595  uint64_t key_zero:1;
6596  uint64_t ipd_drp:1;
6597  uint64_t gmx_drp:2;
6598  uint64_t trace:1;
6599  uint64_t rml:1;
6600  uint64_t twsi:1;
6601  uint64_t wdog_sum:1;
6602  uint64_t pci_msi:4;
6603  uint64_t pci_int:4;
6604  uint64_t uart:2;
6605  uint64_t mbox:2;
6606  uint64_t gpio:16;
6607  uint64_t workq:16;
6608 #else
6624 #endif
6625  } cn58xx;
6628 #ifdef __BIG_ENDIAN_BITFIELD
6629  uint64_t bootdma:1;
6630  uint64_t mii:1;
6631  uint64_t ipdppthr:1;
6632  uint64_t powiq:1;
6633  uint64_t twsi2:1;
6634  uint64_t mpi:1;
6635  uint64_t pcm:1;
6636  uint64_t usb:1;
6637  uint64_t timer:4;
6638  uint64_t sum2:1;
6639  uint64_t ipd_drp:1;
6640  uint64_t gmx_drp:2;
6641  uint64_t trace:1;
6642  uint64_t rml:1;
6643  uint64_t twsi:1;
6644  uint64_t wdog_sum:1;
6645  uint64_t pci_msi:4;
6646  uint64_t pci_int:4;
6647  uint64_t uart:2;
6648  uint64_t mbox:2;
6649  uint64_t gpio:16;
6650  uint64_t workq:16;
6651 #else
6674 #endif
6675  } cn61xx;
6679 #ifdef __BIG_ENDIAN_BITFIELD
6680  uint64_t bootdma:1;
6681  uint64_t mii:1;
6682  uint64_t ipdppthr:1;
6683  uint64_t powiq:1;
6684  uint64_t twsi2:1;
6685  uint64_t mpi:1;
6687  uint64_t usb:1;
6688  uint64_t timer:4;
6689  uint64_t sum2:1;
6690  uint64_t ipd_drp:1;
6691  uint64_t gmx_drp:2;
6692  uint64_t trace:1;
6693  uint64_t rml:1;
6694  uint64_t twsi:1;
6695  uint64_t wdog_sum:1;
6696  uint64_t pci_msi:4;
6697  uint64_t pci_int:4;
6698  uint64_t uart:2;
6699  uint64_t mbox:2;
6700  uint64_t gpio:16;
6701  uint64_t workq:16;
6702 #else
6725 #endif
6726  } cn66xx;
6728 #ifdef __BIG_ENDIAN_BITFIELD
6729  uint64_t bootdma:1;
6731  uint64_t ipdppthr:1;
6732  uint64_t powiq:1;
6733  uint64_t twsi2:1;
6734  uint64_t mpi:1;
6735  uint64_t pcm:1;
6736  uint64_t usb:1;
6737  uint64_t timer:4;
6738  uint64_t sum2:1;
6739  uint64_t ipd_drp:1;
6741  uint64_t gmx_drp:1;
6742  uint64_t trace:1;
6743  uint64_t rml:1;
6744  uint64_t twsi:1;
6745  uint64_t wdog_sum:1;
6746  uint64_t pci_msi:4;
6747  uint64_t pci_int:4;
6748  uint64_t uart:2;
6749  uint64_t mbox:2;
6750  uint64_t gpio:16;
6751  uint64_t workq:16;
6752 #else
6776 #endif
6777  } cnf71xx;
6778 };
6779 
6783 #ifdef __BIG_ENDIAN_BITFIELD
6784  uint64_t bootdma:1;
6785  uint64_t mii:1;
6786  uint64_t ipdppthr:1;
6787  uint64_t powiq:1;
6788  uint64_t twsi2:1;
6789  uint64_t mpi:1;
6790  uint64_t pcm:1;
6791  uint64_t usb:1;
6792  uint64_t timer:4;
6793  uint64_t sum2:1;
6794  uint64_t ipd_drp:1;
6795  uint64_t gmx_drp:2;
6796  uint64_t trace:1;
6797  uint64_t rml:1;
6798  uint64_t twsi:1;
6799  uint64_t wdog_sum:1;
6800  uint64_t pci_msi:4;
6801  uint64_t pci_int:4;
6802  uint64_t uart:2;
6803  uint64_t mbox:2;
6804  uint64_t gpio:16;
6805  uint64_t workq:16;
6806 #else
6829 #endif
6830  } s;
6833 #ifdef __BIG_ENDIAN_BITFIELD
6834  uint64_t bootdma:1;
6835  uint64_t mii:1;
6836  uint64_t ipdppthr:1;
6837  uint64_t powiq:1;
6838  uint64_t twsi2:1;
6840  uint64_t usb:1;
6841  uint64_t timer:4;
6843  uint64_t ipd_drp:1;
6845  uint64_t gmx_drp:1;
6846  uint64_t trace:1;
6847  uint64_t rml:1;
6848  uint64_t twsi:1;
6849  uint64_t wdog_sum:1;
6850  uint64_t pci_msi:4;
6851  uint64_t pci_int:4;
6852  uint64_t uart:2;
6853  uint64_t mbox:2;
6854  uint64_t gpio:16;
6855  uint64_t workq:16;
6856 #else
6879 #endif
6880  } cn63xx;
6883 #ifdef __BIG_ENDIAN_BITFIELD
6884  uint64_t bootdma:1;
6885  uint64_t mii:1;
6886  uint64_t ipdppthr:1;
6887  uint64_t powiq:1;
6888  uint64_t twsi2:1;
6889  uint64_t mpi:1;
6891  uint64_t usb:1;
6892  uint64_t timer:4;
6893  uint64_t sum2:1;
6894  uint64_t ipd_drp:1;
6895  uint64_t gmx_drp:2;
6896  uint64_t trace:1;
6897  uint64_t rml:1;
6898  uint64_t twsi:1;
6899  uint64_t wdog_sum:1;
6900  uint64_t pci_msi:4;
6901  uint64_t pci_int:4;
6902  uint64_t uart:2;
6903  uint64_t mbox:2;
6904  uint64_t gpio:16;
6905  uint64_t workq:16;
6906 #else
6929 #endif
6930  } cn66xx;
6932 #ifdef __BIG_ENDIAN_BITFIELD
6933  uint64_t bootdma:1;
6935  uint64_t ipdppthr:1;
6936  uint64_t powiq:1;
6937  uint64_t twsi2:1;
6938  uint64_t mpi:1;
6939  uint64_t pcm:1;
6940  uint64_t usb:1;
6941  uint64_t timer:4;
6942  uint64_t sum2:1;
6943  uint64_t ipd_drp:1;
6945  uint64_t gmx_drp:1;
6946  uint64_t trace:1;
6947  uint64_t rml:1;
6948  uint64_t twsi:1;
6949  uint64_t wdog_sum:1;
6950  uint64_t pci_msi:4;
6951  uint64_t pci_int:4;
6952  uint64_t uart:2;
6953  uint64_t mbox:2;
6954  uint64_t gpio:16;
6955  uint64_t workq:16;
6956 #else
6980 #endif
6981  } cnf71xx;
6982 };
6983 
6987 #ifdef __BIG_ENDIAN_BITFIELD
6989  uint64_t sel:3;
6991  uint64_t irq:2;
6993  uint64_t pp:5;
6994 #else
7001 #endif
7002  } s;
7004 #ifdef __BIG_ENDIAN_BITFIELD
7006  uint64_t sel:3;
7008  uint64_t irq:2;
7010  uint64_t pp:4;
7011 #else
7018 #endif
7019  } cn61xx;
7021 #ifdef __BIG_ENDIAN_BITFIELD
7023  uint64_t sel:3;
7025  uint64_t irq:2;
7027  uint64_t pp:3;
7028 #else
7035 #endif
7036  } cn63xx;
7041 };
7042 
7046 #ifdef __BIG_ENDIAN_BITFIELD
7047  uint64_t rst:1;
7049  uint64_t srio3:1;
7050  uint64_t srio2:1;
7052  uint64_t dfm:1;
7054  uint64_t lmc0:1;
7055  uint64_t srio1:1;
7056  uint64_t srio0:1;
7057  uint64_t pem1:1;
7058  uint64_t pem0:1;
7059  uint64_t ptp:1;
7060  uint64_t agl:1;
7062  uint64_t agx1:1;
7063  uint64_t agx0:1;
7064  uint64_t dpi:1;
7065  uint64_t sli:1;
7066  uint64_t usb:1;
7067  uint64_t dfa:1;
7068  uint64_t key:1;
7069  uint64_t rad:1;
7070  uint64_t tim:1;
7071  uint64_t zip:1;
7072  uint64_t pko:1;
7073  uint64_t pip:1;
7074  uint64_t ipd:1;
7075  uint64_t l2c:1;
7076  uint64_t pow:1;
7077  uint64_t fpa:1;
7078  uint64_t iob:1;
7079  uint64_t mio:1;
7080  uint64_t nand:1;
7081  uint64_t mii1:1;
7082  uint64_t usb1:1;
7083  uint64_t uart2:1;
7084  uint64_t wdog:16;
7085 #else
7124 #endif
7125  } s;
7127 #ifdef __BIG_ENDIAN_BITFIELD
7129  uint64_t wdog:1;
7130 #else
7133 #endif
7134  } cn30xx;
7136 #ifdef __BIG_ENDIAN_BITFIELD
7138  uint64_t wdog:2;
7139 #else
7142 #endif
7143  } cn31xx;
7145 #ifdef __BIG_ENDIAN_BITFIELD
7147  uint64_t wdog:16;
7148 #else
7151 #endif
7152  } cn38xx;
7156 #ifdef __BIG_ENDIAN_BITFIELD
7158  uint64_t nand:1;
7159  uint64_t mii1:1;
7160  uint64_t usb1:1;
7161  uint64_t uart2:1;
7163  uint64_t wdog:4;
7164 #else
7172 #endif
7173  } cn52xx;
7175 #ifdef __BIG_ENDIAN_BITFIELD
7177  uint64_t mii1:1;
7178  uint64_t usb1:1;
7179  uint64_t uart2:1;
7181  uint64_t wdog:4;
7182 #else
7189 #endif
7190  } cn52xxp1;
7192 #ifdef __BIG_ENDIAN_BITFIELD
7194  uint64_t wdog:12;
7195 #else
7198 #endif
7199  } cn56xx;
7204 #ifdef __BIG_ENDIAN_BITFIELD
7205  uint64_t rst:1;
7207  uint64_t lmc0:1;
7209  uint64_t pem1:1;
7210  uint64_t pem0:1;
7211  uint64_t ptp:1;
7212  uint64_t agl:1;
7214  uint64_t agx1:1;
7215  uint64_t agx0:1;
7216  uint64_t dpi:1;
7217  uint64_t sli:1;
7218  uint64_t usb:1;
7219  uint64_t dfa:1;
7220  uint64_t key:1;
7221  uint64_t rad:1;
7222  uint64_t tim:1;
7223  uint64_t zip:1;
7224  uint64_t pko:1;
7225  uint64_t pip:1;
7226  uint64_t ipd:1;
7227  uint64_t l2c:1;
7228  uint64_t pow:1;
7229  uint64_t fpa:1;
7230  uint64_t iob:1;
7231  uint64_t mio:1;
7232  uint64_t nand:1;
7233  uint64_t mii1:1;
7235  uint64_t wdog:4;
7236 #else
7268 #endif
7269  } cn61xx;
7271 #ifdef __BIG_ENDIAN_BITFIELD
7272  uint64_t rst:1;
7274  uint64_t dfm:1;
7276  uint64_t lmc0:1;
7277  uint64_t srio1:1;
7278  uint64_t srio0:1;
7279  uint64_t pem1:1;
7280  uint64_t pem0:1;
7281  uint64_t ptp:1;
7282  uint64_t agl:1;
7284  uint64_t agx0:1;
7285  uint64_t dpi:1;
7286  uint64_t sli:1;
7287  uint64_t usb:1;
7288  uint64_t dfa:1;
7289  uint64_t key:1;
7290  uint64_t rad:1;
7291  uint64_t tim:1;
7292  uint64_t zip:1;
7293  uint64_t pko:1;
7294  uint64_t pip:1;
7295  uint64_t ipd:1;
7296  uint64_t l2c:1;
7297  uint64_t pow:1;
7298  uint64_t fpa:1;
7299  uint64_t iob:1;
7300  uint64_t mio:1;
7301  uint64_t nand:1;
7302  uint64_t mii1:1;
7304  uint64_t wdog:6;
7305 #else
7339 #endif
7340  } cn63xx;
7343 #ifdef __BIG_ENDIAN_BITFIELD
7344  uint64_t rst:1;
7346  uint64_t srio3:1;
7347  uint64_t srio2:1;
7349  uint64_t dfm:1;
7351  uint64_t lmc0:1;
7353  uint64_t srio0:1;
7354  uint64_t pem1:1;
7355  uint64_t pem0:1;
7356  uint64_t ptp:1;
7357  uint64_t agl:1;
7359  uint64_t agx1:1;
7360  uint64_t agx0:1;
7361  uint64_t dpi:1;
7362  uint64_t sli:1;
7363  uint64_t usb:1;
7364  uint64_t dfa:1;
7365  uint64_t key:1;
7366  uint64_t rad:1;
7367  uint64_t tim:1;
7368  uint64_t zip:1;
7369  uint64_t pko:1;
7370  uint64_t pip:1;
7371  uint64_t ipd:1;
7372  uint64_t l2c:1;
7373  uint64_t pow:1;
7374  uint64_t fpa:1;
7375  uint64_t iob:1;
7376  uint64_t mio:1;
7377  uint64_t nand:1;
7378  uint64_t mii1:1;
7380  uint64_t wdog:10;
7381 #else
7419 #endif
7420  } cn66xx;
7422 #ifdef __BIG_ENDIAN_BITFIELD
7423  uint64_t rst:1;
7425  uint64_t lmc0:1;
7427  uint64_t pem1:1;
7428  uint64_t pem0:1;
7429  uint64_t ptp:1;
7431  uint64_t agx0:1;
7432  uint64_t dpi:1;
7433  uint64_t sli:1;
7434  uint64_t usb:1;
7436  uint64_t key:1;
7437  uint64_t rad:1;
7438  uint64_t tim:1;
7440  uint64_t pko:1;
7441  uint64_t pip:1;
7442  uint64_t ipd:1;
7443  uint64_t l2c:1;
7444  uint64_t pow:1;
7445  uint64_t fpa:1;
7446  uint64_t iob:1;
7447  uint64_t mio:1;
7448  uint64_t nand:1;
7450  uint64_t wdog:4;
7451 #else
7480 #endif
7481  } cnf71xx;
7482 };
7483 
7487 #ifdef __BIG_ENDIAN_BITFIELD
7489  uint64_t bits:32;
7490 #else
7493 #endif
7494  } s;
7513 };
7514 
7518 #ifdef __BIG_ENDIAN_BITFIELD
7520  uint64_t bits:32;
7521 #else
7524 #endif
7525  } s;
7544 };
7545 
7549 #ifdef __BIG_ENDIAN_BITFIELD
7551  uint64_t nmi:32;
7552 #else
7555 #endif
7556  } s;
7558 #ifdef __BIG_ENDIAN_BITFIELD
7560  uint64_t nmi:1;
7561 #else
7564 #endif
7565  } cn30xx;
7567 #ifdef __BIG_ENDIAN_BITFIELD
7569  uint64_t nmi:2;
7570 #else
7573 #endif
7574  } cn31xx;
7576 #ifdef __BIG_ENDIAN_BITFIELD
7578  uint64_t nmi:16;
7579 #else
7582 #endif
7583  } cn38xx;
7587 #ifdef __BIG_ENDIAN_BITFIELD
7589  uint64_t nmi:4;
7590 #else
7593 #endif
7594  } cn52xx;
7597 #ifdef __BIG_ENDIAN_BITFIELD
7599  uint64_t nmi:12;
7600 #else
7603 #endif
7604  } cn56xx;
7610 #ifdef __BIG_ENDIAN_BITFIELD
7612  uint64_t nmi:6;
7613 #else
7616 #endif
7617  } cn63xx;
7620 #ifdef __BIG_ENDIAN_BITFIELD
7622  uint64_t nmi:10;
7623 #else
7626 #endif
7627  } cn66xx;
7631 };
7632 
7636 #ifdef __BIG_ENDIAN_BITFIELD
7638  uint64_t intr:2;
7639 #else
7642 #endif
7643  } s;
7662 };
7663 
7667 #ifdef __BIG_ENDIAN_BITFIELD
7669  uint64_t pp_bist:32;
7670 #else
7673 #endif
7674  } s;
7677 };
7678 
7682 #ifdef __BIG_ENDIAN_BITFIELD
7684  uint64_t ppdbg:32;
7685 #else
7688 #endif
7689  } s;
7691 #ifdef __BIG_ENDIAN_BITFIELD
7693  uint64_t ppdbg:1;
7694 #else
7697 #endif
7698  } cn30xx;
7700 #ifdef __BIG_ENDIAN_BITFIELD
7702  uint64_t ppdbg:2;
7703 #else
7706 #endif
7707  } cn31xx;
7709 #ifdef __BIG_ENDIAN_BITFIELD
7711  uint64_t ppdbg:16;
7712 #else
7715 #endif
7716  } cn38xx;
7720 #ifdef __BIG_ENDIAN_BITFIELD
7722  uint64_t ppdbg:4;
7723 #else
7726 #endif
7727  } cn52xx;
7730 #ifdef __BIG_ENDIAN_BITFIELD
7732  uint64_t ppdbg:12;
7733 #else
7736 #endif
7737  } cn56xx;
7743 #ifdef __BIG_ENDIAN_BITFIELD
7745  uint64_t ppdbg:6;
7746 #else
7749 #endif
7750  } cn63xx;
7753 #ifdef __BIG_ENDIAN_BITFIELD
7755  uint64_t ppdbg:10;
7756 #else
7759 #endif
7760  } cn66xx;
7764 };
7765 
7769 #ifdef __BIG_ENDIAN_BITFIELD
7770  uint64_t poke:64;
7771 #else
7773 #endif
7774  } s;
7793 };
7794 
7798 #ifdef __BIG_ENDIAN_BITFIELD
7800  uint64_t rst:31;
7801  uint64_t rst0:1;
7802 #else
7806 #endif
7807  } s;
7809 #ifdef __BIG_ENDIAN_BITFIELD
7811  uint64_t rst0:1;
7812 #else
7815 #endif
7816  } cn30xx;
7818 #ifdef __BIG_ENDIAN_BITFIELD
7820  uint64_t rst:1;
7821  uint64_t rst0:1;
7822 #else
7826 #endif
7827  } cn31xx;
7829 #ifdef __BIG_ENDIAN_BITFIELD
7831  uint64_t rst:15;
7832  uint64_t rst0:1;
7833 #else
7837 #endif
7838  } cn38xx;
7842 #ifdef __BIG_ENDIAN_BITFIELD
7844  uint64_t rst:3;
7845  uint64_t rst0:1;
7846 #else
7850 #endif
7851  } cn52xx;
7854 #ifdef __BIG_ENDIAN_BITFIELD
7856  uint64_t rst:11;
7857  uint64_t rst0:1;
7858 #else
7862 #endif
7863  } cn56xx;
7869 #ifdef __BIG_ENDIAN_BITFIELD
7871  uint64_t rst:5;
7872  uint64_t rst0:1;
7873 #else
7877 #endif
7878  } cn63xx;
7881 #ifdef __BIG_ENDIAN_BITFIELD
7883  uint64_t rst:9;
7884  uint64_t rst0:1;
7885 #else
7889 #endif
7890  } cn66xx;
7894 };
7895 
7899 #ifdef __BIG_ENDIAN_BITFIELD
7900  uint64_t g2bypass:1;
7902  uint64_t g2deemph:5;
7904  uint64_t g2margin:5;
7906  uint64_t txbypass:1;
7908  uint64_t txdeemph:5;
7910  uint64_t txmargin:5;
7912  uint64_t lane_en:4;
7913 #else
7927 #endif
7928  } s;
7932 #ifdef __BIG_ENDIAN_BITFIELD
7934  uint64_t txbypass:1;
7936  uint64_t txdeemph:4;
7938  uint64_t txmargin:5;
7940  uint64_t lane_en:4;
7941 #else
7950 #endif
7951  } cn63xxp1;
7954 #ifdef __BIG_ENDIAN_BITFIELD
7956  uint64_t txbypass:1;
7958  uint64_t txdeemph:5;
7960  uint64_t txmargin:5;
7962  uint64_t lane_en:4;
7963 #else
7972 #endif
7973  } cn68xx;
7976 };
7977 
7981 #ifdef __BIG_ENDIAN_BITFIELD
7982  uint64_t g2bypass:1;
7984  uint64_t g2deemph:5;
7986  uint64_t g2margin:5;
7988  uint64_t txbypass:1;
7990  uint64_t txdeemph:5;
7992  uint64_t txmargin:5;
7994  uint64_t lane_en:4;
7995 #else
8009 #endif
8010  } s;
8014 #ifdef __BIG_ENDIAN_BITFIELD
8016  uint64_t txbypass:1;
8018  uint64_t txdeemph:4;
8020  uint64_t txmargin:5;
8022  uint64_t lane_en:4;
8023 #else
8032 #endif
8033  } cn63xxp1;
8038 };
8039 
8043 #ifdef __BIG_ENDIAN_BITFIELD
8044  uint64_t g2bypass:1;
8046  uint64_t g2deemph:5;
8048  uint64_t g2margin:5;
8050  uint64_t txbypass:1;
8052  uint64_t txdeemph:5;
8054  uint64_t txmargin:5;
8056  uint64_t lane_en:4;
8057 #else
8071 #endif
8072  } s;
8074 #ifdef __BIG_ENDIAN_BITFIELD
8076  uint64_t txbypass:1;
8078  uint64_t txdeemph:5;
8080  uint64_t txmargin:5;
8082  uint64_t lane_en:4;
8083 #else
8092 #endif
8093  } cn61xx;
8096 #ifdef __BIG_ENDIAN_BITFIELD
8098  uint64_t txbypass:1;
8100  uint64_t txdeemph:4;
8102  uint64_t txmargin:5;
8104  uint64_t lane_en:4;
8105 #else
8114 #endif
8115  } cn63xxp1;
8120 };
8121 
8125 #ifdef __BIG_ENDIAN_BITFIELD
8126  uint64_t g2bypass:1;
8128  uint64_t g2deemph:5;
8130  uint64_t g2margin:5;
8132  uint64_t txbypass:1;
8134  uint64_t txdeemph:5;
8136  uint64_t txmargin:5;
8138  uint64_t lane_en:4;
8139 #else
8153 #endif
8154  } s;
8157 };
8158 
8162 #ifdef __BIG_ENDIAN_BITFIELD
8163  uint64_t g2bypass:1;
8165  uint64_t g2deemph:5;
8167  uint64_t g2margin:5;
8169  uint64_t txbypass:1;
8171  uint64_t txdeemph:5;
8173  uint64_t txmargin:5;
8175  uint64_t lane_en:4;
8176 #else
8190 #endif
8191  } s;
8194 };
8195 
8199 #ifdef __BIG_ENDIAN_BITFIELD
8201  uint64_t qlm_dcok:4;
8202 #else
8205 #endif
8206  } s;
8208 #ifdef __BIG_ENDIAN_BITFIELD
8210  uint64_t qlm_dcok:2;
8211 #else
8214 #endif
8215  } cn52xx;
8219 };
8220 
8224 #ifdef __BIG_ENDIAN_BITFIELD
8226  uint64_t bypass_ext:1;
8228  uint64_t clk_div:3;
8230  uint64_t mux_sel:3;
8231  uint64_t bypass:4;
8232 #else
8240 #endif
8241  } s;
8243 #ifdef __BIG_ENDIAN_BITFIELD
8245  uint64_t clk_div:3;
8247  uint64_t mux_sel:1;
8249  uint64_t bypass:2;
8250 #else
8257 #endif
8258  } cn52xx;
8261 #ifdef __BIG_ENDIAN_BITFIELD
8263  uint64_t clk_div:3;
8265  uint64_t mux_sel:2;
8266  uint64_t bypass:4;
8267 #else
8273 #endif
8274  } cn56xx;
8277 #ifdef __BIG_ENDIAN_BITFIELD
8279  uint64_t clk_div:3;
8281  uint64_t mux_sel:2;
8283  uint64_t bypass:3;
8284 #else
8291 #endif
8292  } cn61xx;
8299 };
8300 
8304 #ifdef __BIG_ENDIAN_BITFIELD
8305  uint64_t capture:1;
8306  uint64_t shift:1;
8307  uint64_t update:1;
8309  uint64_t select:5;
8311  uint64_t shft_cnt:5;
8312  uint64_t shft_reg:32;
8313 #else
8322 #endif
8323  } s;
8325 #ifdef __BIG_ENDIAN_BITFIELD
8326  uint64_t capture:1;
8327  uint64_t shift:1;
8328  uint64_t update:1;
8330  uint64_t select:2;
8332  uint64_t shft_cnt:5;
8333  uint64_t shft_reg:32;
8334 #else
8343 #endif
8344  } cn52xx;
8347 #ifdef __BIG_ENDIAN_BITFIELD
8348  uint64_t capture:1;
8349  uint64_t shift:1;
8350  uint64_t update:1;
8352  uint64_t select:4;
8354  uint64_t shft_cnt:5;
8355  uint64_t shft_reg:32;
8356 #else
8365 #endif
8366  } cn56xx;
8368 #ifdef __BIG_ENDIAN_BITFIELD
8369  uint64_t capture:1;
8370  uint64_t shift:1;
8371  uint64_t update:1;
8373  uint64_t shft_cnt:5;
8374  uint64_t shft_reg:32;
8375 #else
8382 #endif
8383  } cn56xxp1;
8385 #ifdef __BIG_ENDIAN_BITFIELD
8386  uint64_t capture:1;
8387  uint64_t shift:1;
8388  uint64_t update:1;
8390  uint64_t select:3;
8392  uint64_t shft_cnt:5;
8393  uint64_t shft_reg:32;
8394 #else
8403 #endif
8404  } cn61xx;
8411 };
8412 
8416 #ifdef __BIG_ENDIAN_BITFIELD
8418  uint64_t soft_bist:1;
8419 #else
8422 #endif
8423  } s;
8442 };
8443 
8447 #ifdef __BIG_ENDIAN_BITFIELD
8449  uint64_t host64:1;
8450  uint64_t npi:1;
8451  uint64_t soft_prst:1;
8452 #else
8457 #endif
8458  } s;
8465 #ifdef __BIG_ENDIAN_BITFIELD
8467  uint64_t soft_prst:1;
8468 #else
8471 #endif
8472  } cn52xx;
8485 };
8486 
8490 #ifdef __BIG_ENDIAN_BITFIELD
8492  uint64_t soft_prst:1;
8493 #else
8496 #endif
8497  } s;
8509 };
8510 
8514 #ifdef __BIG_ENDIAN_BITFIELD
8516  uint64_t soft_prst:1;
8517 #else
8520 #endif
8521  } s;
8523 };
8524 
8528 #ifdef __BIG_ENDIAN_BITFIELD
8530  uint64_t soft_prst:1;
8531 #else
8534 #endif
8535  } s;
8537 };
8538 
8542 #ifdef __BIG_ENDIAN_BITFIELD
8544  uint64_t soft_rst:1;
8545 #else
8548 #endif
8549  } s;
8568 };
8569 
8573 #ifdef __BIG_ENDIAN_BITFIELD
8574  uint64_t rst:1;
8576  uint64_t srio3:1;
8577  uint64_t srio2:1;
8579  uint64_t dfm:1;
8581  uint64_t lmc0:1;
8583  uint64_t srio0:1;
8584  uint64_t pem1:1;
8585  uint64_t pem0:1;
8586  uint64_t ptp:1;
8587  uint64_t agl:1;
8589  uint64_t dpi_dma:1;
8591  uint64_t agx1:1;
8592  uint64_t agx0:1;
8593  uint64_t dpi:1;
8594  uint64_t sli:1;
8595  uint64_t usb:1;
8596  uint64_t dfa:1;
8597  uint64_t key:1;
8598  uint64_t rad:1;
8599  uint64_t tim:1;
8600  uint64_t zip:1;
8601  uint64_t pko:1;
8602  uint64_t pip:1;
8603  uint64_t ipd:1;
8604  uint64_t l2c:1;
8605  uint64_t pow:1;
8606  uint64_t fpa:1;
8607  uint64_t iob:1;
8608  uint64_t mio:1;
8609  uint64_t nand:1;
8610  uint64_t mii1:1;
8612  uint64_t wdog:10;
8613 #else
8653 #endif
8654  } s;
8656 #ifdef __BIG_ENDIAN_BITFIELD
8657  uint64_t rst:1;
8659  uint64_t lmc0:1;
8661  uint64_t pem1:1;
8662  uint64_t pem0:1;
8663  uint64_t ptp:1;
8664  uint64_t agl:1;
8666  uint64_t dpi_dma:1;
8668  uint64_t agx1:1;
8669  uint64_t agx0:1;
8670  uint64_t dpi:1;
8671  uint64_t sli:1;
8672  uint64_t usb:1;
8673  uint64_t dfa:1;
8674  uint64_t key:1;
8675  uint64_t rad:1;
8676  uint64_t tim:1;
8677  uint64_t zip:1;
8678  uint64_t pko:1;
8679  uint64_t pip:1;
8680  uint64_t ipd:1;
8681  uint64_t l2c:1;
8682  uint64_t pow:1;
8683  uint64_t fpa:1;
8684  uint64_t iob:1;
8685  uint64_t mio:1;
8686  uint64_t nand:1;
8687  uint64_t mii1:1;
8689  uint64_t wdog:4;
8690 #else
8724 #endif
8725  } cn61xx;
8727 #ifdef __BIG_ENDIAN_BITFIELD
8728  uint64_t rst:1;
8730  uint64_t srio3:1;
8731  uint64_t srio2:1;
8733  uint64_t dfm:1;
8735  uint64_t lmc0:1;
8737  uint64_t srio0:1;
8738  uint64_t pem1:1;
8739  uint64_t pem0:1;
8740  uint64_t ptp:1;
8741  uint64_t agl:1;
8743  uint64_t agx1:1;
8744  uint64_t agx0:1;
8745  uint64_t dpi:1;
8746  uint64_t sli:1;
8747  uint64_t usb:1;
8748  uint64_t dfa:1;
8749  uint64_t key:1;
8750  uint64_t rad:1;
8751  uint64_t tim:1;
8752  uint64_t zip:1;
8753  uint64_t pko:1;
8754  uint64_t pip:1;
8755  uint64_t ipd:1;
8756  uint64_t l2c:1;
8757  uint64_t pow:1;
8758  uint64_t fpa:1;
8759  uint64_t iob:1;
8760  uint64_t mio:1;
8761  uint64_t nand:1;
8762  uint64_t mii1:1;
8764  uint64_t wdog:10;
8765 #else
8803 #endif
8804  } cn66xx;
8806 #ifdef __BIG_ENDIAN_BITFIELD
8807  uint64_t rst:1;
8809  uint64_t lmc0:1;
8811  uint64_t pem1:1;
8812  uint64_t pem0:1;
8813  uint64_t ptp:1;
8815  uint64_t dpi_dma:1;
8817  uint64_t agx0:1;
8818  uint64_t dpi:1;
8819  uint64_t sli:1;
8820  uint64_t usb:1;
8822  uint64_t key:1;
8823  uint64_t rad:1;
8824  uint64_t tim:1;
8826  uint64_t pko:1;
8827  uint64_t pip:1;
8828  uint64_t ipd:1;
8829  uint64_t l2c:1;
8830  uint64_t pow:1;
8831  uint64_t fpa:1;
8832  uint64_t iob:1;
8833  uint64_t mio:1;
8834  uint64_t nand:1;
8836  uint64_t wdog:4;
8837 #else
8868 #endif
8869  } cnf71xx;
8870 };
8871 
8875 #ifdef __BIG_ENDIAN_BITFIELD
8876  uint64_t rst:1;
8878  uint64_t srio3:1;
8879  uint64_t srio2:1;
8881  uint64_t dfm:1;
8883  uint64_t lmc0:1;
8885  uint64_t srio0:1;
8886  uint64_t pem1:1;
8887  uint64_t pem0:1;
8888  uint64_t ptp:1;
8889  uint64_t agl:1;
8891  uint64_t dpi_dma:1;
8893  uint64_t agx1:1;
8894  uint64_t agx0:1;
8895  uint64_t dpi:1;
8896  uint64_t sli:1;
8897  uint64_t usb:1;
8898  uint64_t dfa:1;
8899  uint64_t key:1;
8900  uint64_t rad:1;
8901  uint64_t tim:1;
8902  uint64_t zip:1;
8903  uint64_t pko:1;
8904  uint64_t pip:1;
8905  uint64_t ipd:1;
8906  uint64_t l2c:1;
8907  uint64_t pow:1;
8908  uint64_t fpa:1;
8909  uint64_t iob:1;
8910  uint64_t mio:1;
8911  uint64_t nand:1;
8912  uint64_t mii1:1;
8914  uint64_t wdog:10;
8915 #else
8955 #endif
8956  } s;
8958 #ifdef __BIG_ENDIAN_BITFIELD
8959  uint64_t rst:1;
8961  uint64_t lmc0:1;
8963  uint64_t pem1:1;
8964  uint64_t pem0:1;
8965  uint64_t ptp:1;
8966  uint64_t agl:1;
8968  uint64_t dpi_dma:1;
8970  uint64_t agx1:1;
8971  uint64_t agx0:1;
8972  uint64_t dpi:1;
8973  uint64_t sli:1;
8974  uint64_t usb:1;
8975  uint64_t dfa:1;
8976  uint64_t key:1;
8977  uint64_t rad:1;
8978  uint64_t tim:1;
8979  uint64_t zip:1;
8980  uint64_t pko:1;
8981  uint64_t pip:1;
8982  uint64_t ipd:1;
8983  uint64_t l2c:1;
8984  uint64_t pow:1;
8985  uint64_t fpa:1;
8986  uint64_t iob:1;
8987  uint64_t mio:1;
8988  uint64_t nand:1;
8989  uint64_t mii1:1;
8991  uint64_t wdog:4;
8992 #else
9026 #endif
9027  } cn61xx;
9029 #ifdef __BIG_ENDIAN_BITFIELD
9030  uint64_t rst:1;
9032  uint64_t srio3:1;
9033  uint64_t srio2:1;
9035  uint64_t dfm:1;
9037  uint64_t lmc0:1;
9039  uint64_t srio0:1;
9040  uint64_t pem1:1;
9041  uint64_t pem0:1;
9042  uint64_t ptp:1;
9043  uint64_t agl:1;
9045  uint64_t agx1:1;
9046  uint64_t agx0:1;
9047  uint64_t dpi:1;
9048  uint64_t sli:1;
9049  uint64_t usb:1;
9050  uint64_t dfa:1;
9051  uint64_t key:1;
9052  uint64_t rad:1;
9053  uint64_t tim:1;
9054  uint64_t zip:1;
9055  uint64_t pko:1;
9056  uint64_t pip:1;
9057  uint64_t ipd:1;
9058  uint64_t l2c:1;
9059  uint64_t pow:1;
9060  uint64_t fpa:1;
9061  uint64_t iob:1;
9062  uint64_t mio:1;
9063  uint64_t nand:1;
9064  uint64_t mii1:1;
9066  uint64_t wdog:10;
9067 #else
9105 #endif
9106  } cn66xx;
9108 #ifdef __BIG_ENDIAN_BITFIELD
9109  uint64_t rst:1;
9111  uint64_t lmc0:1;
9113  uint64_t pem1:1;
9114  uint64_t pem0:1;
9115  uint64_t ptp:1;
9117  uint64_t dpi_dma:1;
9119  uint64_t agx0:1;
9120  uint64_t dpi:1;
9121  uint64_t sli:1;
9122  uint64_t usb:1;
9124  uint64_t key:1;
9125  uint64_t rad:1;
9126  uint64_t tim:1;
9128  uint64_t pko:1;
9129  uint64_t pip:1;
9130  uint64_t ipd:1;
9131  uint64_t l2c:1;
9132  uint64_t pow:1;
9133  uint64_t fpa:1;
9134  uint64_t iob:1;
9135  uint64_t mio:1;
9136  uint64_t nand:1;
9138  uint64_t wdog:4;
9139 #else
9170 #endif
9171  } cnf71xx;
9172 };
9173 
9177 #ifdef __BIG_ENDIAN_BITFIELD
9178  uint64_t rst:1;
9180  uint64_t srio3:1;
9181  uint64_t srio2:1;
9183  uint64_t dfm:1;
9185  uint64_t lmc0:1;
9187  uint64_t srio0:1;
9188  uint64_t pem1:1;
9189  uint64_t pem0:1;
9190  uint64_t ptp:1;
9191  uint64_t agl:1;
9193  uint64_t dpi_dma:1;
9195  uint64_t agx1:1;
9196  uint64_t agx0:1;
9197  uint64_t dpi:1;
9198  uint64_t sli:1;
9199  uint64_t usb:1;
9200  uint64_t dfa:1;
9201  uint64_t key:1;
9202  uint64_t rad:1;
9203  uint64_t tim:1;
9204  uint64_t zip:1;
9205  uint64_t pko:1;
9206  uint64_t pip:1;
9207  uint64_t ipd:1;
9208  uint64_t l2c:1;
9209  uint64_t pow:1;
9210  uint64_t fpa:1;
9211  uint64_t iob:1;
9212  uint64_t mio:1;
9213  uint64_t nand:1;
9214  uint64_t mii1:1;
9216  uint64_t wdog:10;
9217 #else
9257 #endif
9258  } s;
9260 #ifdef __BIG_ENDIAN_BITFIELD
9261  uint64_t rst:1;
9263  uint64_t lmc0:1;
9265  uint64_t pem1:1;
9266  uint64_t pem0:1;
9267  uint64_t ptp:1;
9268  uint64_t agl:1;
9270  uint64_t dpi_dma:1;
9272  uint64_t agx1:1;
9273  uint64_t agx0:1;
9274  uint64_t dpi:1;
9275  uint64_t sli:1;
9276  uint64_t usb:1;
9277  uint64_t dfa:1;
9278  uint64_t key:1;
9279  uint64_t rad:1;
9280  uint64_t tim:1;
9281  uint64_t zip:1;
9282  uint64_t pko:1;
9283  uint64_t pip:1;
9284  uint64_t ipd:1;
9285  uint64_t l2c:1;
9286  uint64_t pow:1;
9287  uint64_t fpa:1;
9288  uint64_t iob:1;
9289  uint64_t mio:1;
9290  uint64_t nand:1;
9291  uint64_t mii1:1;
9293  uint64_t wdog:4;
9294 #else
9328 #endif
9329  } cn61xx;
9331 #ifdef __BIG_ENDIAN_BITFIELD
9332  uint64_t rst:1;
9334  uint64_t srio3:1;
9335  uint64_t srio2:1;
9337  uint64_t dfm:1;
9339  uint64_t lmc0:1;
9341  uint64_t srio0:1;
9342  uint64_t pem1:1;
9343  uint64_t pem0:1;
9344  uint64_t ptp:1;
9345  uint64_t agl:1;
9347  uint64_t agx1:1;
9348  uint64_t agx0:1;
9349  uint64_t dpi:1;
9350  uint64_t sli:1;
9351  uint64_t usb:1;
9352  uint64_t dfa:1;
9353  uint64_t key:1;
9354  uint64_t rad:1;
9355  uint64_t tim:1;
9356  uint64_t zip:1;
9357  uint64_t pko:1;
9358  uint64_t pip:1;
9359  uint64_t ipd:1;
9360  uint64_t l2c:1;
9361  uint64_t pow:1;
9362  uint64_t fpa:1;
9363  uint64_t iob:1;
9364  uint64_t mio:1;
9365  uint64_t nand:1;
9366  uint64_t mii1:1;
9368  uint64_t wdog:10;
9369 #else
9407 #endif
9408  } cn66xx;
9410 #ifdef __BIG_ENDIAN_BITFIELD
9411  uint64_t rst:1;
9413  uint64_t lmc0:1;
9415  uint64_t pem1:1;
9416  uint64_t pem0:1;
9417  uint64_t ptp:1;
9419  uint64_t dpi_dma:1;
9421  uint64_t agx0:1;
9422  uint64_t dpi:1;
9423  uint64_t sli:1;
9424  uint64_t usb:1;
9426  uint64_t key:1;
9427  uint64_t rad:1;
9428  uint64_t tim:1;
9430  uint64_t pko:1;
9431  uint64_t pip:1;
9432  uint64_t ipd:1;
9433  uint64_t l2c:1;
9434  uint64_t pow:1;
9435  uint64_t fpa:1;
9436  uint64_t iob:1;
9437  uint64_t mio:1;
9438  uint64_t nand:1;
9440  uint64_t wdog:4;
9441 #else
9472 #endif
9473  } cnf71xx;
9474 };
9475 
9479 #ifdef __BIG_ENDIAN_BITFIELD
9480  uint64_t rst:1;
9482  uint64_t srio3:1;
9483  uint64_t srio2:1;
9485  uint64_t dfm:1;
9487  uint64_t lmc0:1;
9489  uint64_t srio0:1;
9490  uint64_t pem1:1;
9491  uint64_t pem0:1;
9492  uint64_t ptp:1;
9493  uint64_t agl:1;
9495  uint64_t dpi_dma:1;
9497  uint64_t agx1:1;
9498  uint64_t agx0:1;
9499  uint64_t dpi:1;
9500  uint64_t sli:1;
9501  uint64_t usb:1;
9502  uint64_t dfa:1;
9503  uint64_t key:1;
9504  uint64_t rad:1;
9505  uint64_t tim:1;
9506  uint64_t zip:1;
9507  uint64_t pko:1;
9508  uint64_t pip:1;
9509  uint64_t ipd:1;
9510  uint64_t l2c:1;
9511  uint64_t pow:1;
9512  uint64_t fpa:1;
9513  uint64_t iob:1;
9514  uint64_t mio:1;
9515  uint64_t nand:1;
9516  uint64_t mii1:1;
9518  uint64_t wdog:10;
9519 #else
9559 #endif
9560  } s;
9562 #ifdef __BIG_ENDIAN_BITFIELD
9563  uint64_t rst:1;
9565  uint64_t lmc0:1;
9567  uint64_t pem1:1;
9568  uint64_t pem0:1;
9569  uint64_t ptp:1;
9570  uint64_t agl:1;
9572  uint64_t dpi_dma:1;
9574  uint64_t agx1:1;
9575  uint64_t agx0:1;
9576  uint64_t dpi:1;
9577  uint64_t sli:1;
9578  uint64_t usb:1;
9579  uint64_t dfa:1;
9580  uint64_t key:1;
9581  uint64_t rad:1;
9582  uint64_t tim:1;
9583  uint64_t zip:1;
9584  uint64_t pko:1;
9585  uint64_t pip:1;
9586  uint64_t ipd:1;
9587  uint64_t l2c:1;
9588  uint64_t pow:1;
9589  uint64_t fpa:1;
9590  uint64_t iob:1;
9591  uint64_t mio:1;
9592  uint64_t nand:1;
9593  uint64_t mii1:1;
9595  uint64_t wdog:4;
9596 #else
9630 #endif
9631  } cn61xx;
9633 #ifdef __BIG_ENDIAN_BITFIELD
9634  uint64_t rst:1;
9636  uint64_t srio3:1;
9637  uint64_t srio2:1;
9639  uint64_t dfm:1;
9641  uint64_t lmc0:1;
9643  uint64_t srio0:1;
9644  uint64_t pem1:1;
9645  uint64_t pem0:1;
9646  uint64_t ptp:1;
9647  uint64_t agl:1;
9649  uint64_t agx1:1;
9650  uint64_t agx0:1;
9651  uint64_t dpi:1;
9652  uint64_t sli:1;
9653  uint64_t usb:1;
9654  uint64_t dfa:1;
9655  uint64_t key:1;
9656  uint64_t rad:1;
9657  uint64_t tim:1;
9658  uint64_t zip:1;
9659  uint64_t pko:1;
9660  uint64_t pip:1;
9661  uint64_t ipd:1;
9662  uint64_t l2c:1;
9663  uint64_t pow:1;
9664  uint64_t fpa:1;
9665  uint64_t iob:1;
9666  uint64_t mio:1;
9667  uint64_t nand:1;
9668  uint64_t mii1:1;
9670  uint64_t wdog:10;
9671 #else
9709 #endif
9710  } cn66xx;
9712 #ifdef __BIG_ENDIAN_BITFIELD
9713  uint64_t rst:1;
9715  uint64_t lmc0:1;
9717  uint64_t pem1:1;
9718  uint64_t pem0:1;
9719  uint64_t ptp:1;
9721  uint64_t dpi_dma:1;
9723  uint64_t agx0:1;
9724  uint64_t dpi:1;
9725  uint64_t sli:1;
9726  uint64_t usb:1;
9728  uint64_t key:1;
9729  uint64_t rad:1;
9730  uint64_t tim:1;
9732  uint64_t pko:1;
9733  uint64_t pip:1;
9734  uint64_t ipd:1;
9735  uint64_t l2c:1;
9736  uint64_t pow:1;
9737  uint64_t fpa:1;
9738  uint64_t iob:1;
9739  uint64_t mio:1;
9740  uint64_t nand:1;
9742  uint64_t wdog:4;
9743 #else
9774 #endif
9775  } cnf71xx;
9776 };
9777 
9781 #ifdef __BIG_ENDIAN_BITFIELD
9783  uint64_t endor:2;
9784  uint64_t eoi:1;
9786  uint64_t timer:6;
9788 #else
9795 #endif
9796  } s;
9798 #ifdef __BIG_ENDIAN_BITFIELD
9800  uint64_t timer:6;
9802 #else
9806 #endif
9807  } cn61xx;
9810 };
9811 
9815 #ifdef __BIG_ENDIAN_BITFIELD
9817  uint64_t endor:2;
9818  uint64_t eoi:1;
9820  uint64_t timer:6;
9822 #else
9829 #endif
9830  } s;
9832 #ifdef __BIG_ENDIAN_BITFIELD
9834  uint64_t timer:6;
9836 #else
9840 #endif
9841  } cn61xx;
9844 };
9845 
9849 #ifdef __BIG_ENDIAN_BITFIELD
9851  uint64_t endor:2;
9852  uint64_t eoi:1;
9854  uint64_t timer:6;
9856 #else
9863 #endif
9864  } s;
9866 #ifdef __BIG_ENDIAN_BITFIELD
9868  uint64_t timer:6;
9870 #else
9874 #endif
9875  } cn61xx;
9878 };
9879 
9883 #ifdef __BIG_ENDIAN_BITFIELD
9885  uint64_t endor:2;
9886  uint64_t eoi:1;
9888  uint64_t timer:6;
9890 #else
9897 #endif
9898  } s;
9900 #ifdef __BIG_ENDIAN_BITFIELD
9902  uint64_t timer:6;
9904 #else
9908 #endif
9909  } cn61xx;
9912 };
9913 
9917 #ifdef __BIG_ENDIAN_BITFIELD
9919  uint64_t one_shot:1;
9920  uint64_t len:36;
9921 #else
9925 #endif
9926  } s;
9945 };
9946 
9950 #ifdef __BIG_ENDIAN_BITFIELD
9952  uint64_t en:1;
9953 #else
9956 #endif
9957  } s;
9961 };
9962 
9966 #ifdef __BIG_ENDIAN_BITFIELD
9968  uint64_t gstopen:1;
9969  uint64_t dstop:1;
9970  uint64_t cnt:24;
9971  uint64_t len:16;
9972  uint64_t state:2;
9973  uint64_t mode:2;
9974 #else
9982 #endif
9983  } s;
10002 };
10003 
10004 #endif