Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cvmx-mio-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_MIO_DEFS_H__
29 #define __CVMX_MIO_DEFS_H__
30 
31 #define CVMX_MIO_BOOT_BIST_STAT (CVMX_ADD_IO_SEG(0x00011800000000F8ull))
32 #define CVMX_MIO_BOOT_COMP (CVMX_ADD_IO_SEG(0x00011800000000B8ull))
33 #define CVMX_MIO_BOOT_DMA_CFGX(offset) (CVMX_ADD_IO_SEG(0x0001180000000100ull) + ((offset) & 3) * 8)
34 #define CVMX_MIO_BOOT_DMA_INTX(offset) (CVMX_ADD_IO_SEG(0x0001180000000138ull) + ((offset) & 3) * 8)
35 #define CVMX_MIO_BOOT_DMA_INT_ENX(offset) (CVMX_ADD_IO_SEG(0x0001180000000150ull) + ((offset) & 3) * 8)
36 #define CVMX_MIO_BOOT_DMA_TIMX(offset) (CVMX_ADD_IO_SEG(0x0001180000000120ull) + ((offset) & 3) * 8)
37 #define CVMX_MIO_BOOT_ERR (CVMX_ADD_IO_SEG(0x00011800000000A0ull))
38 #define CVMX_MIO_BOOT_INT (CVMX_ADD_IO_SEG(0x00011800000000A8ull))
39 #define CVMX_MIO_BOOT_LOC_ADR (CVMX_ADD_IO_SEG(0x0001180000000090ull))
40 #define CVMX_MIO_BOOT_LOC_CFGX(offset) (CVMX_ADD_IO_SEG(0x0001180000000080ull) + ((offset) & 1) * 8)
41 #define CVMX_MIO_BOOT_LOC_DAT (CVMX_ADD_IO_SEG(0x0001180000000098ull))
42 #define CVMX_MIO_BOOT_PIN_DEFS (CVMX_ADD_IO_SEG(0x00011800000000C0ull))
43 #define CVMX_MIO_BOOT_REG_CFGX(offset) (CVMX_ADD_IO_SEG(0x0001180000000000ull) + ((offset) & 7) * 8)
44 #define CVMX_MIO_BOOT_REG_TIMX(offset) (CVMX_ADD_IO_SEG(0x0001180000000040ull) + ((offset) & 7) * 8)
45 #define CVMX_MIO_BOOT_THR (CVMX_ADD_IO_SEG(0x00011800000000B0ull))
46 #define CVMX_MIO_EMM_BUF_DAT (CVMX_ADD_IO_SEG(0x00011800000020E8ull))
47 #define CVMX_MIO_EMM_BUF_IDX (CVMX_ADD_IO_SEG(0x00011800000020E0ull))
48 #define CVMX_MIO_EMM_CFG (CVMX_ADD_IO_SEG(0x0001180000002000ull))
49 #define CVMX_MIO_EMM_CMD (CVMX_ADD_IO_SEG(0x0001180000002058ull))
50 #define CVMX_MIO_EMM_DMA (CVMX_ADD_IO_SEG(0x0001180000002050ull))
51 #define CVMX_MIO_EMM_INT (CVMX_ADD_IO_SEG(0x0001180000002078ull))
52 #define CVMX_MIO_EMM_INT_EN (CVMX_ADD_IO_SEG(0x0001180000002080ull))
53 #define CVMX_MIO_EMM_MODEX(offset) (CVMX_ADD_IO_SEG(0x0001180000002008ull) + ((offset) & 3) * 8)
54 #define CVMX_MIO_EMM_RCA (CVMX_ADD_IO_SEG(0x00011800000020A0ull))
55 #define CVMX_MIO_EMM_RSP_HI (CVMX_ADD_IO_SEG(0x0001180000002070ull))
56 #define CVMX_MIO_EMM_RSP_LO (CVMX_ADD_IO_SEG(0x0001180000002068ull))
57 #define CVMX_MIO_EMM_RSP_STS (CVMX_ADD_IO_SEG(0x0001180000002060ull))
58 #define CVMX_MIO_EMM_SAMPLE (CVMX_ADD_IO_SEG(0x0001180000002090ull))
59 #define CVMX_MIO_EMM_STS_MASK (CVMX_ADD_IO_SEG(0x0001180000002098ull))
60 #define CVMX_MIO_EMM_SWITCH (CVMX_ADD_IO_SEG(0x0001180000002048ull))
61 #define CVMX_MIO_EMM_WDOG (CVMX_ADD_IO_SEG(0x0001180000002088ull))
62 #define CVMX_MIO_FUS_BNK_DATX(offset) (CVMX_ADD_IO_SEG(0x0001180000001520ull) + ((offset) & 3) * 8)
63 #define CVMX_MIO_FUS_DAT0 (CVMX_ADD_IO_SEG(0x0001180000001400ull))
64 #define CVMX_MIO_FUS_DAT1 (CVMX_ADD_IO_SEG(0x0001180000001408ull))
65 #define CVMX_MIO_FUS_DAT2 (CVMX_ADD_IO_SEG(0x0001180000001410ull))
66 #define CVMX_MIO_FUS_DAT3 (CVMX_ADD_IO_SEG(0x0001180000001418ull))
67 #define CVMX_MIO_FUS_EMA (CVMX_ADD_IO_SEG(0x0001180000001550ull))
68 #define CVMX_MIO_FUS_PDF (CVMX_ADD_IO_SEG(0x0001180000001420ull))
69 #define CVMX_MIO_FUS_PLL (CVMX_ADD_IO_SEG(0x0001180000001580ull))
70 #define CVMX_MIO_FUS_PROG (CVMX_ADD_IO_SEG(0x0001180000001510ull))
71 #define CVMX_MIO_FUS_PROG_TIMES (CVMX_ADD_IO_SEG(0x0001180000001518ull))
72 #define CVMX_MIO_FUS_RCMD (CVMX_ADD_IO_SEG(0x0001180000001500ull))
73 #define CVMX_MIO_FUS_READ_TIMES (CVMX_ADD_IO_SEG(0x0001180000001570ull))
74 #define CVMX_MIO_FUS_REPAIR_RES0 (CVMX_ADD_IO_SEG(0x0001180000001558ull))
75 #define CVMX_MIO_FUS_REPAIR_RES1 (CVMX_ADD_IO_SEG(0x0001180000001560ull))
76 #define CVMX_MIO_FUS_REPAIR_RES2 (CVMX_ADD_IO_SEG(0x0001180000001568ull))
77 #define CVMX_MIO_FUS_SPR_REPAIR_RES (CVMX_ADD_IO_SEG(0x0001180000001548ull))
78 #define CVMX_MIO_FUS_SPR_REPAIR_SUM (CVMX_ADD_IO_SEG(0x0001180000001540ull))
79 #define CVMX_MIO_FUS_TGG (CVMX_ADD_IO_SEG(0x0001180000001428ull))
80 #define CVMX_MIO_FUS_UNLOCK (CVMX_ADD_IO_SEG(0x0001180000001578ull))
81 #define CVMX_MIO_FUS_WADR (CVMX_ADD_IO_SEG(0x0001180000001508ull))
82 #define CVMX_MIO_GPIO_COMP (CVMX_ADD_IO_SEG(0x00011800000000C8ull))
83 #define CVMX_MIO_NDF_DMA_CFG (CVMX_ADD_IO_SEG(0x0001180000000168ull))
84 #define CVMX_MIO_NDF_DMA_INT (CVMX_ADD_IO_SEG(0x0001180000000170ull))
85 #define CVMX_MIO_NDF_DMA_INT_EN (CVMX_ADD_IO_SEG(0x0001180000000178ull))
86 #define CVMX_MIO_PLL_CTL (CVMX_ADD_IO_SEG(0x0001180000001448ull))
87 #define CVMX_MIO_PLL_SETTING (CVMX_ADD_IO_SEG(0x0001180000001440ull))
88 #define CVMX_MIO_PTP_CKOUT_HI_INCR (CVMX_ADD_IO_SEG(0x0001070000000F40ull))
89 #define CVMX_MIO_PTP_CKOUT_LO_INCR (CVMX_ADD_IO_SEG(0x0001070000000F48ull))
90 #define CVMX_MIO_PTP_CKOUT_THRESH_HI (CVMX_ADD_IO_SEG(0x0001070000000F38ull))
91 #define CVMX_MIO_PTP_CKOUT_THRESH_LO (CVMX_ADD_IO_SEG(0x0001070000000F30ull))
92 #define CVMX_MIO_PTP_CLOCK_CFG (CVMX_ADD_IO_SEG(0x0001070000000F00ull))
93 #define CVMX_MIO_PTP_CLOCK_COMP (CVMX_ADD_IO_SEG(0x0001070000000F18ull))
94 #define CVMX_MIO_PTP_CLOCK_HI (CVMX_ADD_IO_SEG(0x0001070000000F10ull))
95 #define CVMX_MIO_PTP_CLOCK_LO (CVMX_ADD_IO_SEG(0x0001070000000F08ull))
96 #define CVMX_MIO_PTP_EVT_CNT (CVMX_ADD_IO_SEG(0x0001070000000F28ull))
97 #define CVMX_MIO_PTP_PHY_1PPS_IN (CVMX_ADD_IO_SEG(0x0001070000000F70ull))
98 #define CVMX_MIO_PTP_PPS_HI_INCR (CVMX_ADD_IO_SEG(0x0001070000000F60ull))
99 #define CVMX_MIO_PTP_PPS_LO_INCR (CVMX_ADD_IO_SEG(0x0001070000000F68ull))
100 #define CVMX_MIO_PTP_PPS_THRESH_HI (CVMX_ADD_IO_SEG(0x0001070000000F58ull))
101 #define CVMX_MIO_PTP_PPS_THRESH_LO (CVMX_ADD_IO_SEG(0x0001070000000F50ull))
102 #define CVMX_MIO_PTP_TIMESTAMP (CVMX_ADD_IO_SEG(0x0001070000000F20ull))
103 #define CVMX_MIO_QLMX_CFG(offset) (CVMX_ADD_IO_SEG(0x0001180000001590ull) + ((offset) & 7) * 8)
104 #define CVMX_MIO_RST_BOOT (CVMX_ADD_IO_SEG(0x0001180000001600ull))
105 #define CVMX_MIO_RST_CFG (CVMX_ADD_IO_SEG(0x0001180000001610ull))
106 #define CVMX_MIO_RST_CKILL (CVMX_ADD_IO_SEG(0x0001180000001638ull))
107 #define CVMX_MIO_RST_CNTLX(offset) (CVMX_ADD_IO_SEG(0x0001180000001648ull) + ((offset) & 3) * 8)
108 #define CVMX_MIO_RST_CTLX(offset) (CVMX_ADD_IO_SEG(0x0001180000001618ull) + ((offset) & 1) * 8)
109 #define CVMX_MIO_RST_DELAY (CVMX_ADD_IO_SEG(0x0001180000001608ull))
110 #define CVMX_MIO_RST_INT (CVMX_ADD_IO_SEG(0x0001180000001628ull))
111 #define CVMX_MIO_RST_INT_EN (CVMX_ADD_IO_SEG(0x0001180000001630ull))
112 #define CVMX_MIO_TWSX_INT(offset) (CVMX_ADD_IO_SEG(0x0001180000001010ull) + ((offset) & 1) * 512)
113 #define CVMX_MIO_TWSX_SW_TWSI(offset) (CVMX_ADD_IO_SEG(0x0001180000001000ull) + ((offset) & 1) * 512)
114 #define CVMX_MIO_TWSX_SW_TWSI_EXT(offset) (CVMX_ADD_IO_SEG(0x0001180000001018ull) + ((offset) & 1) * 512)
115 #define CVMX_MIO_TWSX_TWSI_SW(offset) (CVMX_ADD_IO_SEG(0x0001180000001008ull) + ((offset) & 1) * 512)
116 #define CVMX_MIO_UART2_DLH (CVMX_ADD_IO_SEG(0x0001180000000488ull))
117 #define CVMX_MIO_UART2_DLL (CVMX_ADD_IO_SEG(0x0001180000000480ull))
118 #define CVMX_MIO_UART2_FAR (CVMX_ADD_IO_SEG(0x0001180000000520ull))
119 #define CVMX_MIO_UART2_FCR (CVMX_ADD_IO_SEG(0x0001180000000450ull))
120 #define CVMX_MIO_UART2_HTX (CVMX_ADD_IO_SEG(0x0001180000000708ull))
121 #define CVMX_MIO_UART2_IER (CVMX_ADD_IO_SEG(0x0001180000000408ull))
122 #define CVMX_MIO_UART2_IIR (CVMX_ADD_IO_SEG(0x0001180000000410ull))
123 #define CVMX_MIO_UART2_LCR (CVMX_ADD_IO_SEG(0x0001180000000418ull))
124 #define CVMX_MIO_UART2_LSR (CVMX_ADD_IO_SEG(0x0001180000000428ull))
125 #define CVMX_MIO_UART2_MCR (CVMX_ADD_IO_SEG(0x0001180000000420ull))
126 #define CVMX_MIO_UART2_MSR (CVMX_ADD_IO_SEG(0x0001180000000430ull))
127 #define CVMX_MIO_UART2_RBR (CVMX_ADD_IO_SEG(0x0001180000000400ull))
128 #define CVMX_MIO_UART2_RFL (CVMX_ADD_IO_SEG(0x0001180000000608ull))
129 #define CVMX_MIO_UART2_RFW (CVMX_ADD_IO_SEG(0x0001180000000530ull))
130 #define CVMX_MIO_UART2_SBCR (CVMX_ADD_IO_SEG(0x0001180000000620ull))
131 #define CVMX_MIO_UART2_SCR (CVMX_ADD_IO_SEG(0x0001180000000438ull))
132 #define CVMX_MIO_UART2_SFE (CVMX_ADD_IO_SEG(0x0001180000000630ull))
133 #define CVMX_MIO_UART2_SRR (CVMX_ADD_IO_SEG(0x0001180000000610ull))
134 #define CVMX_MIO_UART2_SRT (CVMX_ADD_IO_SEG(0x0001180000000638ull))
135 #define CVMX_MIO_UART2_SRTS (CVMX_ADD_IO_SEG(0x0001180000000618ull))
136 #define CVMX_MIO_UART2_STT (CVMX_ADD_IO_SEG(0x0001180000000700ull))
137 #define CVMX_MIO_UART2_TFL (CVMX_ADD_IO_SEG(0x0001180000000600ull))
138 #define CVMX_MIO_UART2_TFR (CVMX_ADD_IO_SEG(0x0001180000000528ull))
139 #define CVMX_MIO_UART2_THR (CVMX_ADD_IO_SEG(0x0001180000000440ull))
140 #define CVMX_MIO_UART2_USR (CVMX_ADD_IO_SEG(0x0001180000000538ull))
141 #define CVMX_MIO_UARTX_DLH(offset) (CVMX_ADD_IO_SEG(0x0001180000000888ull) + ((offset) & 1) * 1024)
142 #define CVMX_MIO_UARTX_DLL(offset) (CVMX_ADD_IO_SEG(0x0001180000000880ull) + ((offset) & 1) * 1024)
143 #define CVMX_MIO_UARTX_FAR(offset) (CVMX_ADD_IO_SEG(0x0001180000000920ull) + ((offset) & 1) * 1024)
144 #define CVMX_MIO_UARTX_FCR(offset) (CVMX_ADD_IO_SEG(0x0001180000000850ull) + ((offset) & 1) * 1024)
145 #define CVMX_MIO_UARTX_HTX(offset) (CVMX_ADD_IO_SEG(0x0001180000000B08ull) + ((offset) & 1) * 1024)
146 #define CVMX_MIO_UARTX_IER(offset) (CVMX_ADD_IO_SEG(0x0001180000000808ull) + ((offset) & 1) * 1024)
147 #define CVMX_MIO_UARTX_IIR(offset) (CVMX_ADD_IO_SEG(0x0001180000000810ull) + ((offset) & 1) * 1024)
148 #define CVMX_MIO_UARTX_LCR(offset) (CVMX_ADD_IO_SEG(0x0001180000000818ull) + ((offset) & 1) * 1024)
149 #define CVMX_MIO_UARTX_LSR(offset) (CVMX_ADD_IO_SEG(0x0001180000000828ull) + ((offset) & 1) * 1024)
150 #define CVMX_MIO_UARTX_MCR(offset) (CVMX_ADD_IO_SEG(0x0001180000000820ull) + ((offset) & 1) * 1024)
151 #define CVMX_MIO_UARTX_MSR(offset) (CVMX_ADD_IO_SEG(0x0001180000000830ull) + ((offset) & 1) * 1024)
152 #define CVMX_MIO_UARTX_RBR(offset) (CVMX_ADD_IO_SEG(0x0001180000000800ull) + ((offset) & 1) * 1024)
153 #define CVMX_MIO_UARTX_RFL(offset) (CVMX_ADD_IO_SEG(0x0001180000000A08ull) + ((offset) & 1) * 1024)
154 #define CVMX_MIO_UARTX_RFW(offset) (CVMX_ADD_IO_SEG(0x0001180000000930ull) + ((offset) & 1) * 1024)
155 #define CVMX_MIO_UARTX_SBCR(offset) (CVMX_ADD_IO_SEG(0x0001180000000A20ull) + ((offset) & 1) * 1024)
156 #define CVMX_MIO_UARTX_SCR(offset) (CVMX_ADD_IO_SEG(0x0001180000000838ull) + ((offset) & 1) * 1024)
157 #define CVMX_MIO_UARTX_SFE(offset) (CVMX_ADD_IO_SEG(0x0001180000000A30ull) + ((offset) & 1) * 1024)
158 #define CVMX_MIO_UARTX_SRR(offset) (CVMX_ADD_IO_SEG(0x0001180000000A10ull) + ((offset) & 1) * 1024)
159 #define CVMX_MIO_UARTX_SRT(offset) (CVMX_ADD_IO_SEG(0x0001180000000A38ull) + ((offset) & 1) * 1024)
160 #define CVMX_MIO_UARTX_SRTS(offset) (CVMX_ADD_IO_SEG(0x0001180000000A18ull) + ((offset) & 1) * 1024)
161 #define CVMX_MIO_UARTX_STT(offset) (CVMX_ADD_IO_SEG(0x0001180000000B00ull) + ((offset) & 1) * 1024)
162 #define CVMX_MIO_UARTX_TFL(offset) (CVMX_ADD_IO_SEG(0x0001180000000A00ull) + ((offset) & 1) * 1024)
163 #define CVMX_MIO_UARTX_TFR(offset) (CVMX_ADD_IO_SEG(0x0001180000000928ull) + ((offset) & 1) * 1024)
164 #define CVMX_MIO_UARTX_THR(offset) (CVMX_ADD_IO_SEG(0x0001180000000840ull) + ((offset) & 1) * 1024)
165 #define CVMX_MIO_UARTX_USR(offset) (CVMX_ADD_IO_SEG(0x0001180000000938ull) + ((offset) & 1) * 1024)
166 
170 #ifdef __BIG_ENDIAN_BITFIELD
172 #else
174 #endif
175  } s;
177 #ifdef __BIG_ENDIAN_BITFIELD
179  uint64_t ncbo_1:1;
180  uint64_t ncbo_0:1;
181  uint64_t loc:1;
182  uint64_t ncbi:1;
183 #else
189 #endif
190  } cn30xx;
193 #ifdef __BIG_ENDIAN_BITFIELD
195  uint64_t ncbo_0:1;
196  uint64_t loc:1;
197  uint64_t ncbi:1;
198 #else
203 #endif
204  } cn38xx;
207 #ifdef __BIG_ENDIAN_BITFIELD
209  uint64_t pcm_1:1;
210  uint64_t pcm_0:1;
211  uint64_t ncbo_1:1;
212  uint64_t ncbo_0:1;
213  uint64_t loc:1;
214  uint64_t ncbi:1;
215 #else
223 #endif
224  } cn50xx;
226 #ifdef __BIG_ENDIAN_BITFIELD
228  uint64_t ndf:2;
229  uint64_t ncbo_0:1;
230  uint64_t dma:1;
231  uint64_t loc:1;
232  uint64_t ncbi:1;
233 #else
240 #endif
241  } cn52xx;
243 #ifdef __BIG_ENDIAN_BITFIELD
245  uint64_t ncbo_0:1;
246  uint64_t dma:1;
247  uint64_t loc:1;
248  uint64_t ncbi:1;
249 #else
255 #endif
256  } cn52xxp1;
262 #ifdef __BIG_ENDIAN_BITFIELD
264  uint64_t stat:12;
265 #else
268 #endif
269  } cn61xx;
271 #ifdef __BIG_ENDIAN_BITFIELD
273  uint64_t stat:9;
274 #else
277 #endif
278  } cn63xx;
281 #ifdef __BIG_ENDIAN_BITFIELD
283  uint64_t stat:10;
284 #else
287 #endif
288  } cn66xx;
292 };
293 
297 #ifdef __BIG_ENDIAN_BITFIELD
299 #else
301 #endif
302  } s;
304 #ifdef __BIG_ENDIAN_BITFIELD
306  uint64_t pctl:5;
307  uint64_t nctl:5;
308 #else
312 #endif
313  } cn50xx;
319 #ifdef __BIG_ENDIAN_BITFIELD
321  uint64_t pctl:6;
322  uint64_t nctl:6;
323 #else
327 #endif
328  } cn61xx;
335 };
336 
340 #ifdef __BIG_ENDIAN_BITFIELD
341  uint64_t en:1;
342  uint64_t rw:1;
343  uint64_t clr:1;
345  uint64_t swap32:1;
346  uint64_t swap16:1;
347  uint64_t swap8:1;
348  uint64_t endian:1;
349  uint64_t size:20;
350  uint64_t adr:36;
351 #else
362 #endif
363  } s;
375 };
376 
380 #ifdef __BIG_ENDIAN_BITFIELD
382  uint64_t dmarq:1;
383  uint64_t done:1;
384 #else
388 #endif
389  } s;
401 };
402 
406 #ifdef __BIG_ENDIAN_BITFIELD
408  uint64_t dmarq:1;
409  uint64_t done:1;
410 #else
414 #endif
415  } s;
427 };
428 
432 #ifdef __BIG_ENDIAN_BITFIELD
433  uint64_t dmack_pi:1;
434  uint64_t dmarq_pi:1;
435  uint64_t tim_mult:2;
436  uint64_t rd_dly:3;
437  uint64_t ddr:1;
438  uint64_t width:1;
440  uint64_t pause:6;
441  uint64_t dmack_h:6;
442  uint64_t we_n:6;
443  uint64_t we_a:6;
444  uint64_t oe_n:6;
445  uint64_t oe_a:6;
446  uint64_t dmack_s:6;
447  uint64_t dmarq:6;
448 #else
464 #endif
465  } s;
477 };
478 
482 #ifdef __BIG_ENDIAN_BITFIELD
484  uint64_t wait_err:1;
485  uint64_t adr_err:1;
486 #else
490 #endif
491  } s;
510 };
511 
515 #ifdef __BIG_ENDIAN_BITFIELD
517  uint64_t wait_int:1;
518  uint64_t adr_int:1;
519 #else
523 #endif
524  } s;
543 };
544 
548 #ifdef __BIG_ENDIAN_BITFIELD
550  uint64_t adr:5;
552 #else
556 #endif
557  } s;
576 };
577 
581 #ifdef __BIG_ENDIAN_BITFIELD
583  uint64_t en:1;
585  uint64_t base:25;
587 #else
593 #endif
594  } s;
613 };
614 
618 #ifdef __BIG_ENDIAN_BITFIELD
619  uint64_t data:64;
620 #else
622 #endif
623  } s;
642 };
643 
647 #ifdef __BIG_ENDIAN_BITFIELD
649  uint64_t user1:16;
650  uint64_t ale:1;
651  uint64_t width:1;
652  uint64_t dmack_p2:1;
653  uint64_t dmack_p1:1;
654  uint64_t dmack_p0:1;
655  uint64_t term:2;
656  uint64_t nand:1;
657  uint64_t user0:8;
658 #else
669 #endif
670  } s;
672 #ifdef __BIG_ENDIAN_BITFIELD
674  uint64_t ale:1;
675  uint64_t width:1;
677  uint64_t dmack_p1:1;
678  uint64_t dmack_p0:1;
679  uint64_t term:2;
680  uint64_t nand:1;
682 #else
692 #endif
693  } cn52xx;
695 #ifdef __BIG_ENDIAN_BITFIELD
697  uint64_t ale:1;
698  uint64_t width:1;
699  uint64_t dmack_p2:1;
700  uint64_t dmack_p1:1;
701  uint64_t dmack_p0:1;
702  uint64_t term:2;
704 #else
713 #endif
714  } cn56xx;
716 #ifdef __BIG_ENDIAN_BITFIELD
718  uint64_t user1:16;
719  uint64_t ale:1;
720  uint64_t width:1;
722  uint64_t dmack_p1:1;
723  uint64_t dmack_p0:1;
724  uint64_t term:2;
725  uint64_t nand:1;
726  uint64_t user0:8;
727 #else
738 #endif
739  } cn61xx;
746 };
747 
751 #ifdef __BIG_ENDIAN_BITFIELD
753  uint64_t dmack:2;
754  uint64_t tim_mult:2;
755  uint64_t rd_dly:3;
756  uint64_t sam:1;
757  uint64_t we_ext:2;
758  uint64_t oe_ext:2;
759  uint64_t en:1;
760  uint64_t orbit:1;
761  uint64_t ale:1;
762  uint64_t width:1;
763  uint64_t size:12;
764  uint64_t base:16;
765 #else
779 #endif
780  } s;
782 #ifdef __BIG_ENDIAN_BITFIELD
784  uint64_t sam:1;
785  uint64_t we_ext:2;
786  uint64_t oe_ext:2;
787  uint64_t en:1;
788  uint64_t orbit:1;
789  uint64_t ale:1;
790  uint64_t width:1;
791  uint64_t size:12;
792  uint64_t base:16;
793 #else
804 #endif
805  } cn30xx;
808 #ifdef __BIG_ENDIAN_BITFIELD
810  uint64_t en:1;
811  uint64_t orbit:1;
813  uint64_t size:12;
814  uint64_t base:16;
815 #else
822 #endif
823  } cn38xx;
826 #ifdef __BIG_ENDIAN_BITFIELD
828  uint64_t tim_mult:2;
829  uint64_t rd_dly:3;
830  uint64_t sam:1;
831  uint64_t we_ext:2;
832  uint64_t oe_ext:2;
833  uint64_t en:1;
834  uint64_t orbit:1;
835  uint64_t ale:1;
836  uint64_t width:1;
837  uint64_t size:12;
838  uint64_t base:16;
839 #else
852 #endif
853  } cn50xx;
867 };
868 
872 #ifdef __BIG_ENDIAN_BITFIELD
873  uint64_t pagem:1;
874  uint64_t waitm:1;
875  uint64_t pages:2;
876  uint64_t ale:6;
877  uint64_t page:6;
878  uint64_t wait:6;
879  uint64_t pause:6;
880  uint64_t wr_hld:6;
881  uint64_t rd_hld:6;
882  uint64_t we:6;
883  uint64_t oe:6;
884  uint64_t ce:6;
885  uint64_t adr:6;
886 #else
900 #endif
901  } s;
905 #ifdef __BIG_ENDIAN_BITFIELD
906  uint64_t pagem:1;
907  uint64_t waitm:1;
908  uint64_t pages:2;
910  uint64_t page:6;
911  uint64_t wait:6;
912  uint64_t pause:6;
913  uint64_t wr_hld:6;
914  uint64_t rd_hld:6;
915  uint64_t we:6;
916  uint64_t oe:6;
917  uint64_t ce:6;
918  uint64_t adr:6;
919 #else
933 #endif
934  } cn38xx;
950 };
951 
955 #ifdef __BIG_ENDIAN_BITFIELD
957  uint64_t dma_thr:6;
959  uint64_t fif_cnt:6;
961  uint64_t fif_thr:6;
962 #else
969 #endif
970  } s;
972 #ifdef __BIG_ENDIAN_BITFIELD
974  uint64_t fif_cnt:6;
976  uint64_t fif_thr:6;
977 #else
982 #endif
983  } cn30xx;
1001 };
1002 
1006 #ifdef __BIG_ENDIAN_BITFIELD
1007  uint64_t dat:64;
1008 #else
1010 #endif
1011  } s;
1014 };
1015 
1019 #ifdef __BIG_ENDIAN_BITFIELD
1021  uint64_t inc:1;
1023  uint64_t buf_num:1;
1024  uint64_t offset:6;
1025 #else
1031 #endif
1032  } s;
1035 };
1036 
1040 #ifdef __BIG_ENDIAN_BITFIELD
1042  uint64_t boot_fail:1;
1044  uint64_t bus_ena:4;
1045 #else
1050 #endif
1051  } s;
1054 };
1055 
1059 #ifdef __BIG_ENDIAN_BITFIELD
1061  uint64_t bus_id:2;
1062  uint64_t cmd_val:1;
1064  uint64_t dbuf:1;
1065  uint64_t offset:6;
1067  uint64_t ctype_xor:2;
1068  uint64_t rtype_xor:3;
1069  uint64_t cmd_idx:6;
1070  uint64_t arg:32;
1071 #else
1083 #endif
1084  } s;
1087 };
1088 
1092 #ifdef __BIG_ENDIAN_BITFIELD
1094  uint64_t bus_id:2;
1095  uint64_t dma_val:1;
1096  uint64_t sector:1;
1097  uint64_t dat_null:1;
1098  uint64_t thres:6;
1099  uint64_t rel_wr:1;
1100  uint64_t rw:1;
1101  uint64_t multi:1;
1102  uint64_t block_cnt:16;
1103  uint64_t card_addr:32;
1104 #else
1116 #endif
1117  } s;
1120 };
1121 
1125 #ifdef __BIG_ENDIAN_BITFIELD
1127  uint64_t switch_err:1;
1129  uint64_t dma_err:1;
1130  uint64_t cmd_err:1;
1131  uint64_t dma_done:1;
1132  uint64_t cmd_done:1;
1133  uint64_t buf_done:1;
1134 #else
1143 #endif
1144  } s;
1147 };
1148 
1152 #ifdef __BIG_ENDIAN_BITFIELD
1154  uint64_t switch_err:1;
1156  uint64_t dma_err:1;
1157  uint64_t cmd_err:1;
1158  uint64_t dma_done:1;
1159  uint64_t cmd_done:1;
1160  uint64_t buf_done:1;
1161 #else
1170 #endif
1171  } s;
1174 };
1175 
1179 #ifdef __BIG_ENDIAN_BITFIELD
1181  uint64_t hs_timing:1;
1183  uint64_t bus_width:3;
1186  uint64_t clk_hi:16;
1187  uint64_t clk_lo:16;
1188 #else
1197 #endif
1198  } s;
1201 };
1202 
1206 #ifdef __BIG_ENDIAN_BITFIELD
1208  uint64_t card_rca:16;
1209 #else
1212 #endif
1213  } s;
1216 };
1217 
1221 #ifdef __BIG_ENDIAN_BITFIELD
1222  uint64_t dat:64;
1223 #else
1225 #endif
1226  } s;
1229 };
1230 
1234 #ifdef __BIG_ENDIAN_BITFIELD
1235  uint64_t dat:64;
1236 #else
1238 #endif
1239  } s;
1242 };
1243 
1247 #ifdef __BIG_ENDIAN_BITFIELD
1249  uint64_t bus_id:2;
1250  uint64_t cmd_val:1;
1251  uint64_t switch_val:1;
1252  uint64_t dma_val:1;
1253  uint64_t dma_pend:1;
1255  uint64_t dbuf_err:1;
1257  uint64_t dbuf:1;
1264  uint64_t stp_val:1;
1268  uint64_t rsp_val:1;
1269  uint64_t rsp_type:3;
1270  uint64_t cmd_type:2;
1271  uint64_t cmd_idx:6;
1272  uint64_t cmd_done:1;
1273 #else
1299 #endif
1300  } s;
1303 };
1304 
1308 #ifdef __BIG_ENDIAN_BITFIELD
1310  uint64_t cmd_cnt:10;
1312  uint64_t dat_cnt:10;
1313 #else
1318 #endif
1319  } s;
1322 };
1323 
1327 #ifdef __BIG_ENDIAN_BITFIELD
1329  uint64_t sts_msk:32;
1330 #else
1333 #endif
1334  } s;
1337 };
1338 
1342 #ifdef __BIG_ENDIAN_BITFIELD
1344  uint64_t bus_id:2;
1345  uint64_t switch_exe:1;
1350  uint64_t hs_timing:1;
1352  uint64_t bus_width:3;
1355  uint64_t clk_hi:16;
1356  uint64_t clk_lo:16;
1357 #else
1372 #endif
1373  } s;
1376 };
1377 
1381 #ifdef __BIG_ENDIAN_BITFIELD
1383  uint64_t clk_cnt:26;
1384 #else
1387 #endif
1388  } s;
1391 };
1392 
1396 #ifdef __BIG_ENDIAN_BITFIELD
1397  uint64_t dat:64;
1398 #else
1400 #endif
1401  } s;
1416 };
1417 
1421 #ifdef __BIG_ENDIAN_BITFIELD
1423  uint64_t man_info:32;
1424 #else
1427 #endif
1428  } s;
1447 };
1448 
1452 #ifdef __BIG_ENDIAN_BITFIELD
1454  uint64_t man_info:32;
1455 #else
1458 #endif
1459  } s;
1478 };
1479 
1483 #ifdef __BIG_ENDIAN_BITFIELD
1485  uint64_t fus118:1;
1486  uint64_t rom_info:10;
1489  uint64_t fus318:1;
1490  uint64_t raid_en:1;
1492  uint64_t nokasu:1;
1493  uint64_t nodfa_cp2:1;
1494  uint64_t nomul:1;
1495  uint64_t nocrypto:1;
1496  uint64_t rst_sht:1;
1497  uint64_t bist_dis:1;
1498  uint64_t chip_id:8;
1500 #else
1517 #endif
1518  } s;
1520 #ifdef __BIG_ENDIAN_BITFIELD
1522  uint64_t nodfa_cp2:1;
1523  uint64_t nomul:1;
1524  uint64_t nocrypto:1;
1525  uint64_t rst_sht:1;
1526  uint64_t bist_dis:1;
1527  uint64_t chip_id:8;
1528  uint64_t pll_off:4;
1530  uint64_t pp_dis:1;
1531 #else
1542 #endif
1543  } cn30xx;
1545 #ifdef __BIG_ENDIAN_BITFIELD
1547  uint64_t nodfa_cp2:1;
1548  uint64_t nomul:1;
1549  uint64_t nocrypto:1;
1550  uint64_t rst_sht:1;
1551  uint64_t bist_dis:1;
1552  uint64_t chip_id:8;
1553  uint64_t pll_off:4;
1555  uint64_t pp_dis:2;
1556 #else
1567 #endif
1568  } cn31xx;
1570 #ifdef __BIG_ENDIAN_BITFIELD
1572  uint64_t nodfa_cp2:1;
1573  uint64_t nomul:1;
1574  uint64_t nocrypto:1;
1575  uint64_t rst_sht:1;
1576  uint64_t bist_dis:1;
1577  uint64_t chip_id:8;
1578  uint64_t pp_dis:16;
1579 #else
1588 #endif
1589  } cn38xx;
1592 #ifdef __BIG_ENDIAN_BITFIELD
1594  uint64_t fus318:1;
1595  uint64_t raid_en:1;
1597  uint64_t nokasu:1;
1598  uint64_t nodfa_cp2:1;
1599  uint64_t nomul:1;
1600  uint64_t nocrypto:1;
1601  uint64_t rst_sht:1;
1602  uint64_t bist_dis:1;
1603  uint64_t chip_id:8;
1605  uint64_t pp_dis:2;
1606 #else
1620 #endif
1621  } cn50xx;
1623 #ifdef __BIG_ENDIAN_BITFIELD
1625  uint64_t fus318:1;
1626  uint64_t raid_en:1;
1628  uint64_t nokasu:1;
1629  uint64_t nodfa_cp2:1;
1630  uint64_t nomul:1;
1631  uint64_t nocrypto:1;
1632  uint64_t rst_sht:1;
1633  uint64_t bist_dis:1;
1634  uint64_t chip_id:8;
1636  uint64_t pp_dis:4;
1637 #else
1651 #endif
1652  } cn52xx;
1655 #ifdef __BIG_ENDIAN_BITFIELD
1657  uint64_t fus318:1;
1658  uint64_t raid_en:1;
1660  uint64_t nokasu:1;
1661  uint64_t nodfa_cp2:1;
1662  uint64_t nomul:1;
1663  uint64_t nocrypto:1;
1664  uint64_t rst_sht:1;
1665  uint64_t bist_dis:1;
1666  uint64_t chip_id:8;
1668  uint64_t pp_dis:12;
1669 #else
1683 #endif
1684  } cn56xx;
1687 #ifdef __BIG_ENDIAN_BITFIELD
1689  uint64_t nokasu:1;
1690  uint64_t nodfa_cp2:1;
1691  uint64_t nomul:1;
1692  uint64_t nocrypto:1;
1693  uint64_t rst_sht:1;
1694  uint64_t bist_dis:1;
1695  uint64_t chip_id:8;
1696  uint64_t pp_dis:16;
1697 #else
1707 #endif
1708  } cn58xx;
1711 #ifdef __BIG_ENDIAN_BITFIELD
1713  uint64_t fus118:1;
1714  uint64_t rom_info:10;
1717  uint64_t fus318:1;
1718  uint64_t raid_en:1;
1720  uint64_t nodfa_cp2:1;
1721  uint64_t nomul:1;
1722  uint64_t nocrypto:1;
1724  uint64_t chip_id:8;
1726  uint64_t pp_dis:4;
1727 #else
1743 #endif
1744  } cn61xx;
1746 #ifdef __BIG_ENDIAN_BITFIELD
1749  uint64_t fus318:1;
1750  uint64_t raid_en:1;
1752  uint64_t nodfa_cp2:1;
1753  uint64_t nomul:1;
1754  uint64_t nocrypto:1;
1756  uint64_t chip_id:8;
1758  uint64_t pp_dis:6;
1759 #else
1772 #endif
1773  } cn63xx;
1776 #ifdef __BIG_ENDIAN_BITFIELD
1778  uint64_t fus118:1;
1779  uint64_t rom_info:10;
1782  uint64_t fus318:1;
1783  uint64_t raid_en:1;
1785  uint64_t nodfa_cp2:1;
1786  uint64_t nomul:1;
1787  uint64_t nocrypto:1;
1789  uint64_t chip_id:8;
1791  uint64_t pp_dis:10;
1792 #else
1808 #endif
1809  } cn66xx;
1811 #ifdef __BIG_ENDIAN_BITFIELD
1815  uint64_t fus318:1;
1816  uint64_t raid_en:1;
1818  uint64_t nodfa_cp2:1;
1819  uint64_t nomul:1;
1820  uint64_t nocrypto:1;
1822  uint64_t chip_id:8;
1824 #else
1837 #endif
1838  } cn68xx;
1841 };
1842 
1846 #ifdef __BIG_ENDIAN_BITFIELD
1848  uint64_t pll_ctl:10;
1852  uint64_t ema:2;
1856  uint64_t l2c_crip:3;
1857  uint64_t pll_div4:1;
1859  uint64_t bar2_en:1;
1860  uint64_t efus_lck:1;
1861  uint64_t efus_ign:1;
1862  uint64_t nozip:1;
1863  uint64_t nodfa_dte:1;
1864  uint64_t icache:24;
1865 #else
1884 #endif
1885  } s;
1887 #ifdef __BIG_ENDIAN_BITFIELD
1889  uint64_t pll_div4:1;
1891  uint64_t bar2_en:1;
1892  uint64_t efus_lck:1;
1893  uint64_t efus_ign:1;
1894  uint64_t nozip:1;
1895  uint64_t nodfa_dte:1;
1896  uint64_t icache:24;
1897 #else
1907 #endif
1908  } cn30xx;
1910 #ifdef __BIG_ENDIAN_BITFIELD
1912  uint64_t pll_div4:1;
1913  uint64_t zip_crip:2;
1914  uint64_t bar2_en:1;
1915  uint64_t efus_lck:1;
1916  uint64_t efus_ign:1;
1917  uint64_t nozip:1;
1918  uint64_t nodfa_dte:1;
1919  uint64_t icache:24;
1920 #else
1930 #endif
1931  } cn31xx;
1933 #ifdef __BIG_ENDIAN_BITFIELD
1935  uint64_t zip_crip:2;
1936  uint64_t bar2_en:1;
1937  uint64_t efus_lck:1;
1938  uint64_t efus_ign:1;
1939  uint64_t nozip:1;
1940  uint64_t nodfa_dte:1;
1941  uint64_t icache:24;
1942 #else
1951 #endif
1952  } cn38xx;
1954 #ifdef __BIG_ENDIAN_BITFIELD
1956  uint64_t bar2_en:1;
1957  uint64_t efus_lck:1;
1958  uint64_t efus_ign:1;
1959  uint64_t nozip:1;
1960  uint64_t nodfa_dte:1;
1961  uint64_t icache:24;
1962 #else
1970 #endif
1971  } cn38xxp2;
1980 #ifdef __BIG_ENDIAN_BITFIELD
1982  uint64_t pll_ctl:10;
1986  uint64_t ema:2;
1990  uint64_t l2c_crip:3;
1992  uint64_t zip_info:2;
1993  uint64_t bar2_en:1;
1994  uint64_t efus_lck:1;
1995  uint64_t efus_ign:1;
1996  uint64_t nozip:1;
1997  uint64_t nodfa_dte:1;
1999 #else
2018 #endif
2019  } cn61xx;
2026 };
2027 
2031 #ifdef __BIG_ENDIAN_BITFIELD
2033  uint64_t eff_ema:3;
2035  uint64_t ema:3;
2036 #else
2041 #endif
2042  } s;
2049 #ifdef __BIG_ENDIAN_BITFIELD
2051  uint64_t ema:2;
2052 #else
2055 #endif
2056  } cn58xx;
2065 };
2066 
2070 #ifdef __BIG_ENDIAN_BITFIELD
2071  uint64_t pdf:64;
2072 #else
2074 #endif
2075  } s;
2089 };
2090 
2094 #ifdef __BIG_ENDIAN_BITFIELD
2099  uint64_t c_cout_rst:1;
2100  uint64_t c_cout_sel:2;
2103  uint64_t rfslip:1;
2104  uint64_t fbslip:1;
2105 #else
2116 #endif
2117  } s;
2119 #ifdef __BIG_ENDIAN_BITFIELD
2121  uint64_t rfslip:1;
2122  uint64_t fbslip:1;
2123 #else
2127 #endif
2128  } cn50xx;
2136 #ifdef __BIG_ENDIAN_BITFIELD
2138  uint64_t c_cout_rst:1;
2139  uint64_t c_cout_sel:2;
2142  uint64_t rfslip:1;
2143  uint64_t fbslip:1;
2144 #else
2152 #endif
2153  } cn61xx;
2160 };
2161 
2165 #ifdef __BIG_ENDIAN_BITFIELD
2167  uint64_t soft:1;
2168  uint64_t prog:1;
2169 #else
2173 #endif
2174  } s;
2176 #ifdef __BIG_ENDIAN_BITFIELD
2178  uint64_t prog:1;
2179 #else
2182 #endif
2183  } cn30xx;
2201 };
2202 
2206 #ifdef __BIG_ENDIAN_BITFIELD
2208  uint64_t vgate_pin:1;
2209  uint64_t fsrc_pin:1;
2210  uint64_t prog_pin:1;
2212  uint64_t setup:6;
2213 #else
2220 #endif
2221  } s;
2223 #ifdef __BIG_ENDIAN_BITFIELD
2225  uint64_t prog_pin:1;
2226  uint64_t out:8;
2227  uint64_t sclk_lo:4;
2228  uint64_t sclk_hi:12;
2229  uint64_t setup:8;
2230 #else
2237 #endif
2238  } cn50xx;
2246 #ifdef __BIG_ENDIAN_BITFIELD
2248  uint64_t vgate_pin:1;
2249  uint64_t fsrc_pin:1;
2250  uint64_t prog_pin:1;
2251  uint64_t out:7;
2252  uint64_t sclk_lo:4;
2253  uint64_t sclk_hi:15;
2254  uint64_t setup:6;
2255 #else
2264 #endif
2265  } cn61xx;
2272 };
2273 
2277 #ifdef __BIG_ENDIAN_BITFIELD
2279  uint64_t dat:8;
2281  uint64_t pend:1;
2283  uint64_t efuse:1;
2284  uint64_t addr:8;
2285 #else
2293 #endif
2294  } s;
2296 #ifdef __BIG_ENDIAN_BITFIELD
2298  uint64_t dat:8;
2300  uint64_t pend:1;
2302  uint64_t efuse:1;
2304  uint64_t addr:7;
2305 #else
2314 #endif
2315  } cn30xx;
2333 };
2334 
2338 #ifdef __BIG_ENDIAN_BITFIELD
2340  uint64_t sch:4;
2341  uint64_t fsh:4;
2342  uint64_t prh:4;
2343  uint64_t sdh:4;
2344  uint64_t setup:10;
2345 #else
2352 #endif
2353  } s;
2361 };
2362 
2366 #ifdef __BIG_ENDIAN_BITFIELD
2368  uint64_t too_many:1;
2369  uint64_t repair2:18;
2370  uint64_t repair1:18;
2371  uint64_t repair0:18;
2372 #else
2378 #endif
2379  } s;
2387 };
2388 
2392 #ifdef __BIG_ENDIAN_BITFIELD
2394  uint64_t repair5:18;
2395  uint64_t repair4:18;
2396  uint64_t repair3:18;
2397 #else
2402 #endif
2403  } s;
2411 };
2412 
2416 #ifdef __BIG_ENDIAN_BITFIELD
2418  uint64_t repair6:18;
2419 #else
2422 #endif
2423  } s;
2431 };
2432 
2436 #ifdef __BIG_ENDIAN_BITFIELD
2438  uint64_t repair2:14;
2439  uint64_t repair1:14;
2440  uint64_t repair0:14;
2441 #else
2446 #endif
2447  } s;
2465 };
2466 
2470 #ifdef __BIG_ENDIAN_BITFIELD
2472  uint64_t too_many:1;
2473 #else
2476 #endif
2477  } s;
2495 };
2496 
2500 #ifdef __BIG_ENDIAN_BITFIELD
2501  uint64_t val:1;
2502  uint64_t dat:63;
2503 #else
2506 #endif
2507  } s;
2511 };
2512 
2516 #ifdef __BIG_ENDIAN_BITFIELD
2518  uint64_t key:24;
2519 #else
2522 #endif
2523  } s;
2526 };
2527 
2531 #ifdef __BIG_ENDIAN_BITFIELD
2533  uint64_t addr:10;
2534 #else
2537 #endif
2538  } s;
2544 #ifdef __BIG_ENDIAN_BITFIELD
2546  uint64_t addr:2;
2547 #else
2550 #endif
2551  } cn50xx;
2553 #ifdef __BIG_ENDIAN_BITFIELD
2555  uint64_t addr:3;
2556 #else
2559 #endif
2560  } cn52xx;
2567 #ifdef __BIG_ENDIAN_BITFIELD
2569  uint64_t addr:4;
2570 #else
2573 #endif
2574  } cn61xx;
2581 };
2582 
2586 #ifdef __BIG_ENDIAN_BITFIELD
2588  uint64_t pctl:6;
2589  uint64_t nctl:6;
2590 #else
2594 #endif
2595  } s;
2603 };
2604 
2608 #ifdef __BIG_ENDIAN_BITFIELD
2609  uint64_t en:1;
2610  uint64_t rw:1;
2611  uint64_t clr:1;
2613  uint64_t swap32:1;
2614  uint64_t swap16:1;
2615  uint64_t swap8:1;
2616  uint64_t endian:1;
2617  uint64_t size:20;
2618  uint64_t adr:36;
2619 #else
2630 #endif
2631  } s;
2640 };
2641 
2645 #ifdef __BIG_ENDIAN_BITFIELD
2647  uint64_t done:1;
2648 #else
2651 #endif
2652  } s;
2661 };
2662 
2666 #ifdef __BIG_ENDIAN_BITFIELD
2668  uint64_t done:1;
2669 #else
2672 #endif
2673  } s;
2682 };
2683 
2687 #ifdef __BIG_ENDIAN_BITFIELD
2689  uint64_t bw_ctl:5;
2690 #else
2693 #endif
2694  } s;
2697 };
2698 
2702 #ifdef __BIG_ENDIAN_BITFIELD
2704  uint64_t setting:17;
2705 #else
2708 #endif
2709  } s;
2712 };
2713 
2717 #ifdef __BIG_ENDIAN_BITFIELD
2718  uint64_t nanosec:32;
2719  uint64_t frnanosec:32;
2720 #else
2723 #endif
2724  } s;
2729 };
2730 
2734 #ifdef __BIG_ENDIAN_BITFIELD
2735  uint64_t nanosec:32;
2736  uint64_t frnanosec:32;
2737 #else
2740 #endif
2741  } s;
2746 };
2747 
2751 #ifdef __BIG_ENDIAN_BITFIELD
2752  uint64_t nanosec:64;
2753 #else
2755 #endif
2756  } s;
2761 };
2762 
2766 #ifdef __BIG_ENDIAN_BITFIELD
2768  uint64_t frnanosec:32;
2769 #else
2772 #endif
2773  } s;
2778 };
2779 
2783 #ifdef __BIG_ENDIAN_BITFIELD
2785  uint64_t pps:1;
2786  uint64_t ckout:1;
2788  uint64_t ckout_out4:1;
2789  uint64_t pps_out:5;
2790  uint64_t pps_inv:1;
2791  uint64_t pps_en:1;
2792  uint64_t ckout_out:4;
2793  uint64_t ckout_inv:1;
2794  uint64_t ckout_en:1;
2795  uint64_t evcnt_in:6;
2796  uint64_t evcnt_edge:1;
2797  uint64_t evcnt_en:1;
2798  uint64_t tstmp_in:6;
2799  uint64_t tstmp_edge:1;
2800  uint64_t tstmp_en:1;
2801  uint64_t ext_clk_in:6;
2802  uint64_t ext_clk_en:1;
2803  uint64_t ptp_en:1;
2804 #else
2825 #endif
2826  } s;
2829 #ifdef __BIG_ENDIAN_BITFIELD
2831  uint64_t evcnt_in:6;
2832  uint64_t evcnt_edge:1;
2833  uint64_t evcnt_en:1;
2834  uint64_t tstmp_in:6;
2835  uint64_t tstmp_edge:1;
2836  uint64_t tstmp_en:1;
2837  uint64_t ext_clk_in:6;
2838  uint64_t ext_clk_en:1;
2839  uint64_t ptp_en:1;
2840 #else
2851 #endif
2852  } cn63xx;
2855 #ifdef __BIG_ENDIAN_BITFIELD
2858  uint64_t ckout_out4:1;
2859  uint64_t pps_out:5;
2860  uint64_t pps_inv:1;
2861  uint64_t pps_en:1;
2862  uint64_t ckout_out:4;
2863  uint64_t ckout_inv:1;
2864  uint64_t ckout_en:1;
2865  uint64_t evcnt_in:6;
2866  uint64_t evcnt_edge:1;
2867  uint64_t evcnt_en:1;
2868  uint64_t tstmp_in:6;
2869  uint64_t tstmp_edge:1;
2870  uint64_t tstmp_en:1;
2871  uint64_t ext_clk_in:6;
2872  uint64_t ext_clk_en:1;
2873  uint64_t ptp_en:1;
2874 #else
2893 #endif
2894  } cn66xx;
2898 };
2899 
2903 #ifdef __BIG_ENDIAN_BITFIELD
2904  uint64_t nanosec:32;
2905  uint64_t frnanosec:32;
2906 #else
2909 #endif
2910  } s;
2918 };
2919 
2923 #ifdef __BIG_ENDIAN_BITFIELD
2924  uint64_t nanosec:64;
2925 #else
2927 #endif
2928  } s;
2936 };
2937 
2941 #ifdef __BIG_ENDIAN_BITFIELD
2943  uint64_t frnanosec:32;
2944 #else
2947 #endif
2948  } s;
2956 };
2957 
2961 #ifdef __BIG_ENDIAN_BITFIELD
2962  uint64_t cntr:64;
2963 #else
2965 #endif
2966  } s;
2974 };
2975 
2979 #ifdef __BIG_ENDIAN_BITFIELD
2981  uint64_t sel:5;
2982 #else
2985 #endif
2986  } s;
2988 };
2989 
2993 #ifdef __BIG_ENDIAN_BITFIELD
2994  uint64_t nanosec:32;
2995  uint64_t frnanosec:32;
2996 #else
2999 #endif
3000  } s;
3005 };
3006 
3010 #ifdef __BIG_ENDIAN_BITFIELD
3011  uint64_t nanosec:32;
3012  uint64_t frnanosec:32;
3013 #else
3016 #endif
3017  } s;
3022 };
3023 
3027 #ifdef __BIG_ENDIAN_BITFIELD
3028  uint64_t nanosec:64;
3029 #else
3031 #endif
3032  } s;
3037 };
3038 
3042 #ifdef __BIG_ENDIAN_BITFIELD
3044  uint64_t frnanosec:32;
3045 #else
3048 #endif
3049  } s;
3054 };
3055 
3059 #ifdef __BIG_ENDIAN_BITFIELD
3060  uint64_t nanosec:64;
3061 #else
3063 #endif
3064  } s;
3072 };
3073 
3077 #ifdef __BIG_ENDIAN_BITFIELD
3079  uint64_t prtmode:1;
3081  uint64_t qlm_spd:4;
3083  uint64_t qlm_cfg:4;
3084 #else
3091 #endif
3092  } s;
3094 #ifdef __BIG_ENDIAN_BITFIELD
3096  uint64_t prtmode:1;
3098  uint64_t qlm_spd:4;
3100  uint64_t qlm_cfg:2;
3101 #else
3108 #endif
3109  } cn61xx;
3111 #ifdef __BIG_ENDIAN_BITFIELD
3113  uint64_t qlm_spd:4;
3115  uint64_t qlm_cfg:4;
3116 #else
3121 #endif
3122  } cn66xx;
3124 #ifdef __BIG_ENDIAN_BITFIELD
3126  uint64_t qlm_spd:4;
3128  uint64_t qlm_cfg:3;
3129 #else
3134 #endif
3135  } cn68xx;
3138 };
3139 
3143 #ifdef __BIG_ENDIAN_BITFIELD
3144  uint64_t chipkill:1;
3145  uint64_t jtcsrdis:1;
3146  uint64_t ejtagdis:1;
3147  uint64_t romen:1;
3149  uint64_t jt_tstmode:1;
3151  uint64_t lboot_ext:2;
3153  uint64_t qlm4_spd:4;
3154  uint64_t qlm3_spd:4;
3155  uint64_t c_mul:6;
3156  uint64_t pnr_mul:6;
3157  uint64_t qlm2_spd:4;
3158  uint64_t qlm1_spd:4;
3159  uint64_t qlm0_spd:4;
3160  uint64_t lboot:10;
3161  uint64_t rboot:1;
3162  uint64_t rboot_pin:1;
3163 #else
3183 #endif
3184  } s;
3186 #ifdef __BIG_ENDIAN_BITFIELD
3187  uint64_t chipkill:1;
3188  uint64_t jtcsrdis:1;
3189  uint64_t ejtagdis:1;
3190  uint64_t romen:1;
3192  uint64_t jt_tstmode:1;
3194  uint64_t lboot_ext:2;
3196  uint64_t c_mul:6;
3197  uint64_t pnr_mul:6;
3198  uint64_t qlm2_spd:4;
3199  uint64_t qlm1_spd:4;
3200  uint64_t qlm0_spd:4;
3201  uint64_t lboot:10;
3202  uint64_t rboot:1;
3203  uint64_t rboot_pin:1;
3204 #else
3222 #endif
3223  } cn61xx;
3225 #ifdef __BIG_ENDIAN_BITFIELD
3227  uint64_t c_mul:6;
3228  uint64_t pnr_mul:6;
3229  uint64_t qlm2_spd:4;
3230  uint64_t qlm1_spd:4;
3231  uint64_t qlm0_spd:4;
3232  uint64_t lboot:10;
3233  uint64_t rboot:1;
3234  uint64_t rboot_pin:1;
3235 #else
3245 #endif
3246  } cn63xx;
3249 #ifdef __BIG_ENDIAN_BITFIELD
3250  uint64_t chipkill:1;
3251  uint64_t jtcsrdis:1;
3252  uint64_t ejtagdis:1;
3253  uint64_t romen:1;
3256  uint64_t lboot_ext:2;
3258  uint64_t c_mul:6;
3259  uint64_t pnr_mul:6;
3260  uint64_t qlm2_spd:4;
3261  uint64_t qlm1_spd:4;
3262  uint64_t qlm0_spd:4;
3263  uint64_t lboot:10;
3264  uint64_t rboot:1;
3265  uint64_t rboot_pin:1;
3266 #else
3283 #endif
3284  } cn66xx;
3286 #ifdef __BIG_ENDIAN_BITFIELD
3288  uint64_t jt_tstmode:1;
3290  uint64_t qlm4_spd:4;
3291  uint64_t qlm3_spd:4;
3292  uint64_t c_mul:6;
3293  uint64_t pnr_mul:6;
3294  uint64_t qlm2_spd:4;
3295  uint64_t qlm1_spd:4;
3296  uint64_t qlm0_spd:4;
3297  uint64_t lboot:10;
3298  uint64_t rboot:1;
3299  uint64_t rboot_pin:1;
3300 #else
3314 #endif
3315  } cn68xx;
3317 #ifdef __BIG_ENDIAN_BITFIELD
3319  uint64_t qlm4_spd:4;
3320  uint64_t qlm3_spd:4;
3321  uint64_t c_mul:6;
3322  uint64_t pnr_mul:6;
3323  uint64_t qlm2_spd:4;
3324  uint64_t qlm1_spd:4;
3325  uint64_t qlm0_spd:4;
3326  uint64_t lboot:10;
3327  uint64_t rboot:1;
3328  uint64_t rboot_pin:1;
3329 #else
3341 #endif
3342  } cn68xxp1;
3344 };
3345 
3349 #ifdef __BIG_ENDIAN_BITFIELD
3354 #else
3359 #endif
3360  } s;
3362 #ifdef __BIG_ENDIAN_BITFIELD
3363  uint64_t bist_delay:58;
3368 #else
3374 #endif
3375  } cn61xx;
3378 #ifdef __BIG_ENDIAN_BITFIELD
3379  uint64_t bist_delay:58;
3383 #else
3388 #endif
3389  } cn63xxp1;
3392 #ifdef __BIG_ENDIAN_BITFIELD
3393  uint64_t bist_delay:56;
3398 #else
3404 #endif
3405  } cn68xx;
3408 };
3409 
3413 #ifdef __BIG_ENDIAN_BITFIELD
3415  uint64_t timer:47;
3416 #else
3419 #endif
3420  } s;
3424 };
3425 
3429 #ifdef __BIG_ENDIAN_BITFIELD
3431  uint64_t in_rev_ln:1;
3432  uint64_t rev_lanes:1;
3433  uint64_t gen1_only:1;
3434  uint64_t prst_link:1;
3435  uint64_t rst_done:1;
3436  uint64_t rst_link:1;
3437  uint64_t host_mode:1;
3438  uint64_t prtmode:2;
3439  uint64_t rst_drv:1;
3440  uint64_t rst_rcv:1;
3441  uint64_t rst_chip:1;
3442  uint64_t rst_val:1;
3443 #else
3457 #endif
3458  } s;
3461 #ifdef __BIG_ENDIAN_BITFIELD
3463  uint64_t prst_link:1;
3464  uint64_t rst_done:1;
3465  uint64_t rst_link:1;
3466  uint64_t host_mode:1;
3467  uint64_t prtmode:2;
3468  uint64_t rst_drv:1;
3469  uint64_t rst_rcv:1;
3470  uint64_t rst_chip:1;
3471  uint64_t rst_val:1;
3472 #else
3483 #endif
3484  } cn66xx;
3487 };
3488 
3492 #ifdef __BIG_ENDIAN_BITFIELD
3494  uint64_t in_rev_ln:1;
3495  uint64_t rev_lanes:1;
3496  uint64_t gen1_only:1;
3497  uint64_t prst_link:1;
3498  uint64_t rst_done:1;
3499  uint64_t rst_link:1;
3500  uint64_t host_mode:1;
3501  uint64_t prtmode:2;
3502  uint64_t rst_drv:1;
3503  uint64_t rst_rcv:1;
3504  uint64_t rst_chip:1;
3505  uint64_t rst_val:1;
3506 #else
3520 #endif
3521  } s;
3524 #ifdef __BIG_ENDIAN_BITFIELD
3526  uint64_t prst_link:1;
3527  uint64_t rst_done:1;
3528  uint64_t rst_link:1;
3529  uint64_t host_mode:1;
3530  uint64_t prtmode:2;
3531  uint64_t rst_drv:1;
3532  uint64_t rst_rcv:1;
3533  uint64_t rst_chip:1;
3534  uint64_t rst_val:1;
3535 #else
3546 #endif
3547  } cn63xx;
3549 #ifdef __BIG_ENDIAN_BITFIELD
3551  uint64_t rst_done:1;
3552  uint64_t rst_link:1;
3553  uint64_t host_mode:1;
3554  uint64_t prtmode:2;
3555  uint64_t rst_drv:1;
3556  uint64_t rst_rcv:1;
3557  uint64_t rst_chip:1;
3558  uint64_t rst_val:1;
3559 #else
3569 #endif
3570  } cn63xxp1;
3575 };
3576 
3580 #ifdef __BIG_ENDIAN_BITFIELD
3584 #else
3588 #endif
3589  } s;
3597 };
3598 
3602 #ifdef __BIG_ENDIAN_BITFIELD
3604  uint64_t perst1:1;
3605  uint64_t perst0:1;
3607  uint64_t rst_link3:1;
3608  uint64_t rst_link2:1;
3609  uint64_t rst_link1:1;
3610  uint64_t rst_link0:1;
3611 #else
3620 #endif
3621  } s;
3623 #ifdef __BIG_ENDIAN_BITFIELD
3625  uint64_t perst1:1;
3626  uint64_t perst0:1;
3628  uint64_t rst_link1:1;
3629  uint64_t rst_link0:1;
3630 #else
3637 #endif
3638  } cn61xx;
3645 };
3646 
3650 #ifdef __BIG_ENDIAN_BITFIELD
3652  uint64_t perst1:1;
3653  uint64_t perst0:1;
3655  uint64_t rst_link3:1;
3656  uint64_t rst_link2:1;
3657  uint64_t rst_link1:1;
3658  uint64_t rst_link0:1;
3659 #else
3668 #endif
3669  } s;
3671 #ifdef __BIG_ENDIAN_BITFIELD
3673  uint64_t perst1:1;
3674  uint64_t perst0:1;
3676  uint64_t rst_link1:1;
3677  uint64_t rst_link0:1;
3678 #else
3685 #endif
3686  } cn61xx;
3693 };
3694 
3698 #ifdef __BIG_ENDIAN_BITFIELD
3700  uint64_t scl:1;
3701  uint64_t sda:1;
3702  uint64_t scl_ovr:1;
3703  uint64_t sda_ovr:1;
3705  uint64_t core_en:1;
3706  uint64_t ts_en:1;
3707  uint64_t st_en:1;
3709  uint64_t core_int:1;
3710  uint64_t ts_int:1;
3711  uint64_t st_int:1;
3712 #else
3726 #endif
3727  } s;
3732 #ifdef __BIG_ENDIAN_BITFIELD
3734  uint64_t core_en:1;
3735  uint64_t ts_en:1;
3736  uint64_t st_en:1;
3738  uint64_t core_int:1;
3739  uint64_t ts_int:1;
3740  uint64_t st_int:1;
3741 #else
3750 #endif
3751  } cn38xxp2;
3766 };
3767 
3771 #ifdef __BIG_ENDIAN_BITFIELD
3772  uint64_t v:1;
3773  uint64_t slonly:1;
3774  uint64_t eia:1;
3775  uint64_t op:4;
3776  uint64_t r:1;
3777  uint64_t sovr:1;
3778  uint64_t size:3;
3779  uint64_t scr:2;
3780  uint64_t a:10;
3781  uint64_t ia:5;
3782  uint64_t eop_ia:3;
3783  uint64_t d:32;
3784 #else
3797 #endif
3798  } s;
3817 };
3818 
3822 #ifdef __BIG_ENDIAN_BITFIELD
3824  uint64_t ia:8;
3825  uint64_t d:32;
3826 #else
3830 #endif
3831  } s;
3850 };
3851 
3855 #ifdef __BIG_ENDIAN_BITFIELD
3856  uint64_t v:2;
3858  uint64_t d:32;
3859 #else
3863 #endif
3864  } s;
3883 };
3884 
3888 #ifdef __BIG_ENDIAN_BITFIELD
3890  uint64_t dlh:8;
3891 #else
3894 #endif
3895  } s;
3914 };
3915 
3919 #ifdef __BIG_ENDIAN_BITFIELD
3921  uint64_t dll:8;
3922 #else
3925 #endif
3926  } s;
3945 };
3946 
3950 #ifdef __BIG_ENDIAN_BITFIELD
3952  uint64_t far:1;
3953 #else
3956 #endif
3957  } s;
3976 };
3977 
3981 #ifdef __BIG_ENDIAN_BITFIELD
3983  uint64_t rxtrig:2;
3984  uint64_t txtrig:2;
3986  uint64_t txfr:1;
3987  uint64_t rxfr:1;
3988  uint64_t en:1;
3989 #else
3997 #endif
3998  } s;
4017 };
4018 
4022 #ifdef __BIG_ENDIAN_BITFIELD
4024  uint64_t htx:1;
4025 #else
4028 #endif
4029  } s;
4048 };
4049 
4053 #ifdef __BIG_ENDIAN_BITFIELD
4055  uint64_t ptime:1;
4057  uint64_t edssi:1;
4058  uint64_t elsi:1;
4059  uint64_t etbei:1;
4060  uint64_t erbfi:1;
4061 #else
4069 #endif
4070  } s;
4089 };
4090 
4094 #ifdef __BIG_ENDIAN_BITFIELD
4096  uint64_t fen:2;
4098  uint64_t iid:4;
4099 #else
4104 #endif
4105  } s;
4124 };
4125 
4129 #ifdef __BIG_ENDIAN_BITFIELD
4131  uint64_t dlab:1;
4132  uint64_t brk:1;
4134  uint64_t eps:1;
4135  uint64_t pen:1;
4136  uint64_t stop:1;
4137  uint64_t cls:2;
4138 #else
4147 #endif
4148  } s;
4167 };
4168 
4172 #ifdef __BIG_ENDIAN_BITFIELD
4174  uint64_t ferr:1;
4175  uint64_t temt:1;
4176  uint64_t thre:1;
4177  uint64_t bi:1;
4178  uint64_t fe:1;
4179  uint64_t pe:1;
4180  uint64_t oe:1;
4181  uint64_t dr:1;
4182 #else
4192 #endif
4193  } s;
4212 };
4213 
4217 #ifdef __BIG_ENDIAN_BITFIELD
4219  uint64_t afce:1;
4220  uint64_t loop:1;
4221  uint64_t out2:1;
4222  uint64_t out1:1;
4223  uint64_t rts:1;
4224  uint64_t dtr:1;
4225 #else
4233 #endif
4234  } s;
4253 };
4254 
4258 #ifdef __BIG_ENDIAN_BITFIELD
4260  uint64_t dcd:1;
4261  uint64_t ri:1;
4262  uint64_t dsr:1;
4263  uint64_t cts:1;
4264  uint64_t ddcd:1;
4265  uint64_t teri:1;
4266  uint64_t ddsr:1;
4267  uint64_t dcts:1;
4268 #else
4278 #endif
4279  } s;
4298 };
4299 
4303 #ifdef __BIG_ENDIAN_BITFIELD
4305  uint64_t rbr:8;
4306 #else
4309 #endif
4310  } s;
4329 };
4330 
4334 #ifdef __BIG_ENDIAN_BITFIELD
4336  uint64_t rfl:7;
4337 #else
4340 #endif
4341  } s;
4360 };
4361 
4365 #ifdef __BIG_ENDIAN_BITFIELD
4367  uint64_t rffe:1;
4368  uint64_t rfpe:1;
4369  uint64_t rfwd:8;
4370 #else
4375 #endif
4376  } s;
4395 };
4396 
4400 #ifdef __BIG_ENDIAN_BITFIELD
4402  uint64_t sbcr:1;
4403 #else
4406 #endif
4407  } s;
4426 };
4427 
4431 #ifdef __BIG_ENDIAN_BITFIELD
4433  uint64_t scr:8;
4434 #else
4437 #endif
4438  } s;
4457 };
4458 
4462 #ifdef __BIG_ENDIAN_BITFIELD
4464  uint64_t sfe:1;
4465 #else
4468 #endif
4469  } s;
4488 };
4489 
4493 #ifdef __BIG_ENDIAN_BITFIELD
4495  uint64_t stfr:1;
4496  uint64_t srfr:1;
4497  uint64_t usr:1;
4498 #else
4503 #endif
4504  } s;
4523 };
4524 
4528 #ifdef __BIG_ENDIAN_BITFIELD
4530  uint64_t srt:2;
4531 #else
4534 #endif
4535  } s;
4554 };
4555 
4559 #ifdef __BIG_ENDIAN_BITFIELD
4561  uint64_t srts:1;
4562 #else
4565 #endif
4566  } s;
4585 };
4586 
4590 #ifdef __BIG_ENDIAN_BITFIELD
4592  uint64_t stt:2;
4593 #else
4596 #endif
4597  } s;
4616 };
4617 
4621 #ifdef __BIG_ENDIAN_BITFIELD
4623  uint64_t tfl:7;
4624 #else
4627 #endif
4628  } s;
4647 };
4648 
4652 #ifdef __BIG_ENDIAN_BITFIELD
4654  uint64_t tfr:8;
4655 #else
4658 #endif
4659  } s;
4678 };
4679 
4683 #ifdef __BIG_ENDIAN_BITFIELD
4685  uint64_t thr:8;
4686 #else
4689 #endif
4690  } s;
4709 };
4710 
4714 #ifdef __BIG_ENDIAN_BITFIELD
4716  uint64_t rff:1;
4717  uint64_t rfne:1;
4718  uint64_t tfe:1;
4719  uint64_t tfnf:1;
4720  uint64_t busy:1;
4721 #else
4728 #endif
4729  } s;
4748 };
4749 
4753 #ifdef __BIG_ENDIAN_BITFIELD
4755  uint64_t dlh:8;
4756 #else
4759 #endif
4760  } s;
4763 };
4764 
4768 #ifdef __BIG_ENDIAN_BITFIELD
4770  uint64_t dll:8;
4771 #else
4774 #endif
4775  } s;
4778 };
4779 
4783 #ifdef __BIG_ENDIAN_BITFIELD
4785  uint64_t far:1;
4786 #else
4789 #endif
4790  } s;
4793 };
4794 
4798 #ifdef __BIG_ENDIAN_BITFIELD
4800  uint64_t rxtrig:2;
4801  uint64_t txtrig:2;
4803  uint64_t txfr:1;
4804  uint64_t rxfr:1;
4805  uint64_t en:1;
4806 #else
4814 #endif
4815  } s;
4818 };
4819 
4823 #ifdef __BIG_ENDIAN_BITFIELD
4825  uint64_t htx:1;
4826 #else
4829 #endif
4830  } s;
4833 };
4834 
4838 #ifdef __BIG_ENDIAN_BITFIELD
4840  uint64_t ptime:1;
4842  uint64_t edssi:1;
4843  uint64_t elsi:1;
4844  uint64_t etbei:1;
4845  uint64_t erbfi:1;
4846 #else
4854 #endif
4855  } s;
4858 };
4859 
4863 #ifdef __BIG_ENDIAN_BITFIELD
4865  uint64_t fen:2;
4867  uint64_t iid:4;
4868 #else
4873 #endif
4874  } s;
4877 };
4878 
4882 #ifdef __BIG_ENDIAN_BITFIELD
4884  uint64_t dlab:1;
4885  uint64_t brk:1;
4887  uint64_t eps:1;
4888  uint64_t pen:1;
4889  uint64_t stop:1;
4890  uint64_t cls:2;
4891 #else
4900 #endif
4901  } s;
4904 };
4905 
4909 #ifdef __BIG_ENDIAN_BITFIELD
4911  uint64_t ferr:1;
4912  uint64_t temt:1;
4913  uint64_t thre:1;
4914  uint64_t bi:1;
4915  uint64_t fe:1;
4916  uint64_t pe:1;
4917  uint64_t oe:1;
4918  uint64_t dr:1;
4919 #else
4929 #endif
4930  } s;
4933 };
4934 
4938 #ifdef __BIG_ENDIAN_BITFIELD
4940  uint64_t afce:1;
4941  uint64_t loop:1;
4942  uint64_t out2:1;
4943  uint64_t out1:1;
4944  uint64_t rts:1;
4945  uint64_t dtr:1;
4946 #else
4954 #endif
4955  } s;
4958 };
4959 
4963 #ifdef __BIG_ENDIAN_BITFIELD
4965  uint64_t dcd:1;
4966  uint64_t ri:1;
4967  uint64_t dsr:1;
4968  uint64_t cts:1;
4969  uint64_t ddcd:1;
4970  uint64_t teri:1;
4971  uint64_t ddsr:1;
4972  uint64_t dcts:1;
4973 #else
4983 #endif
4984  } s;
4987 };
4988 
4992 #ifdef __BIG_ENDIAN_BITFIELD
4994  uint64_t rbr:8;
4995 #else
4998 #endif
4999  } s;
5002 };
5003 
5007 #ifdef __BIG_ENDIAN_BITFIELD
5009  uint64_t rfl:7;
5010 #else
5013 #endif
5014  } s;
5017 };
5018 
5022 #ifdef __BIG_ENDIAN_BITFIELD
5024  uint64_t rffe:1;
5025  uint64_t rfpe:1;
5026  uint64_t rfwd:8;
5027 #else
5032 #endif
5033  } s;
5036 };
5037 
5041 #ifdef __BIG_ENDIAN_BITFIELD
5043  uint64_t sbcr:1;
5044 #else
5047 #endif
5048  } s;
5051 };
5052 
5056 #ifdef __BIG_ENDIAN_BITFIELD
5058  uint64_t scr:8;
5059 #else
5062 #endif
5063  } s;
5066 };
5067 
5071 #ifdef __BIG_ENDIAN_BITFIELD
5073  uint64_t sfe:1;
5074 #else
5077 #endif
5078  } s;
5081 };
5082 
5086 #ifdef __BIG_ENDIAN_BITFIELD
5088  uint64_t stfr:1;
5089  uint64_t srfr:1;
5090  uint64_t usr:1;
5091 #else
5096 #endif
5097  } s;
5100 };
5101 
5105 #ifdef __BIG_ENDIAN_BITFIELD
5107  uint64_t srt:2;
5108 #else
5111 #endif
5112  } s;
5115 };
5116 
5120 #ifdef __BIG_ENDIAN_BITFIELD
5122  uint64_t srts:1;
5123 #else
5126 #endif
5127  } s;
5130 };
5131 
5135 #ifdef __BIG_ENDIAN_BITFIELD
5137  uint64_t stt:2;
5138 #else
5141 #endif
5142  } s;
5145 };
5146 
5150 #ifdef __BIG_ENDIAN_BITFIELD
5152  uint64_t tfl:7;
5153 #else
5156 #endif
5157  } s;
5160 };
5161 
5165 #ifdef __BIG_ENDIAN_BITFIELD
5167  uint64_t tfr:8;
5168 #else
5171 #endif
5172  } s;
5175 };
5176 
5180 #ifdef __BIG_ENDIAN_BITFIELD
5182  uint64_t thr:8;
5183 #else
5186 #endif
5187  } s;
5190 };
5191 
5195 #ifdef __BIG_ENDIAN_BITFIELD
5197  uint64_t rff:1;
5198  uint64_t rfne:1;
5199  uint64_t tfe:1;
5200  uint64_t tfnf:1;
5201  uint64_t busy:1;
5202 #else
5209 #endif
5210  } s;
5213 };
5214 
5215 #endif