1 /***********************license start***************
2 * Copyright (c) 2003-2012 Cavium Inc. (support@cavium.com). All rights
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
10 * * Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
13 * * Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following
15 * disclaimer in the documentation and/or other materials provided
16 * with the distribution.
18 * * Neither the name of Cavium Inc. nor the names of
19 * its contributors may be used to endorse or promote products
20 * derived from this software without specific prior written
23 * This Software, including technical data, may be subject to U.S. export control
24 * laws, including the U.S. Export Administration Act and its associated
25 * regulations, and may be subject to export or import regulations in other
28 * TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
29 * AND WITH ALL FAULTS AND CAVIUM INC. MAKES NO PROMISES, REPRESENTATIONS OR
30 * WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO
31 * THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY REPRESENTATION OR
32 * DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM
33 * SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES OF TITLE,
34 * MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, LACK OF
35 * VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION OR
36 * CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT OF USE OR
37 * PERFORMANCE OF THE SOFTWARE LIES WITH YOU.
38 ***********************license end**************************************/
44 * Configuration and status register (CSR) type definitions for
47 * This file is auto generated. Do not edit.
52 #ifndef __CVMX_USBNX_DEFS_H__
53 #define __CVMX_USBNX_DEFS_H__
55 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
56 static inline uint64_t CVMX_USBNX_BIST_STATUS(unsigned long block_id)
59 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
60 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
61 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
62 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
63 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
64 cvmx_warn("CVMX_USBNX_BIST_STATUS(%lu) is invalid on this chip\n", block_id);
65 return CVMX_ADD_IO_SEG(0x00011800680007F8ull) + ((block_id) & 1) * 0x10000000ull;
68 #define CVMX_USBNX_BIST_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00011800680007F8ull) + ((block_id) & 1) * 0x10000000ull)
70 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
71 static inline uint64_t CVMX_USBNX_CLK_CTL(unsigned long block_id)
74 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
75 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
76 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
77 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
78 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
79 cvmx_warn("CVMX_USBNX_CLK_CTL(%lu) is invalid on this chip\n", block_id);
80 return CVMX_ADD_IO_SEG(0x0001180068000010ull) + ((block_id) & 1) * 0x10000000ull;
83 #define CVMX_USBNX_CLK_CTL(block_id) (CVMX_ADD_IO_SEG(0x0001180068000010ull) + ((block_id) & 1) * 0x10000000ull)
85 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
86 static inline uint64_t CVMX_USBNX_CTL_STATUS(unsigned long block_id)
89 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
90 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
91 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
92 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
93 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
94 cvmx_warn("CVMX_USBNX_CTL_STATUS(%lu) is invalid on this chip\n", block_id);
95 return CVMX_ADD_IO_SEG(0x00016F0000000800ull) + ((block_id) & 1) * 0x100000000000ull;
98 #define CVMX_USBNX_CTL_STATUS(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000800ull) + ((block_id) & 1) * 0x100000000000ull)
100 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
101 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN0(unsigned long block_id)
104 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
105 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
106 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
107 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
108 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
109 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN0(%lu) is invalid on this chip\n", block_id);
110 return CVMX_ADD_IO_SEG(0x00016F0000000818ull) + ((block_id) & 1) * 0x100000000000ull;
113 #define CVMX_USBNX_DMA0_INB_CHN0(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000818ull) + ((block_id) & 1) * 0x100000000000ull)
115 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
116 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN1(unsigned long block_id)
119 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
120 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
121 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
122 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
123 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
124 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN1(%lu) is invalid on this chip\n", block_id);
125 return CVMX_ADD_IO_SEG(0x00016F0000000820ull) + ((block_id) & 1) * 0x100000000000ull;
128 #define CVMX_USBNX_DMA0_INB_CHN1(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000820ull) + ((block_id) & 1) * 0x100000000000ull)
130 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
131 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN2(unsigned long block_id)
134 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
135 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
136 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
137 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
138 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
139 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN2(%lu) is invalid on this chip\n", block_id);
140 return CVMX_ADD_IO_SEG(0x00016F0000000828ull) + ((block_id) & 1) * 0x100000000000ull;
143 #define CVMX_USBNX_DMA0_INB_CHN2(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000828ull) + ((block_id) & 1) * 0x100000000000ull)
145 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
146 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN3(unsigned long block_id)
149 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
150 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
151 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
152 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
153 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
154 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN3(%lu) is invalid on this chip\n", block_id);
155 return CVMX_ADD_IO_SEG(0x00016F0000000830ull) + ((block_id) & 1) * 0x100000000000ull;
158 #define CVMX_USBNX_DMA0_INB_CHN3(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000830ull) + ((block_id) & 1) * 0x100000000000ull)
160 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
161 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN4(unsigned long block_id)
164 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
165 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
166 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
167 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
168 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
169 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN4(%lu) is invalid on this chip\n", block_id);
170 return CVMX_ADD_IO_SEG(0x00016F0000000838ull) + ((block_id) & 1) * 0x100000000000ull;
173 #define CVMX_USBNX_DMA0_INB_CHN4(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000838ull) + ((block_id) & 1) * 0x100000000000ull)
175 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
176 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN5(unsigned long block_id)
179 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
180 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
181 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
182 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
183 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
184 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN5(%lu) is invalid on this chip\n", block_id);
185 return CVMX_ADD_IO_SEG(0x00016F0000000840ull) + ((block_id) & 1) * 0x100000000000ull;
188 #define CVMX_USBNX_DMA0_INB_CHN5(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000840ull) + ((block_id) & 1) * 0x100000000000ull)
190 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
191 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN6(unsigned long block_id)
194 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
195 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
196 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
197 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
198 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
199 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN6(%lu) is invalid on this chip\n", block_id);
200 return CVMX_ADD_IO_SEG(0x00016F0000000848ull) + ((block_id) & 1) * 0x100000000000ull;
203 #define CVMX_USBNX_DMA0_INB_CHN6(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000848ull) + ((block_id) & 1) * 0x100000000000ull)
205 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
206 static inline uint64_t CVMX_USBNX_DMA0_INB_CHN7(unsigned long block_id)
209 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
210 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
211 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
212 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
213 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
214 cvmx_warn("CVMX_USBNX_DMA0_INB_CHN7(%lu) is invalid on this chip\n", block_id);
215 return CVMX_ADD_IO_SEG(0x00016F0000000850ull) + ((block_id) & 1) * 0x100000000000ull;
218 #define CVMX_USBNX_DMA0_INB_CHN7(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000850ull) + ((block_id) & 1) * 0x100000000000ull)
220 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
221 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN0(unsigned long block_id)
224 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
225 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
226 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
227 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
228 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
229 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN0(%lu) is invalid on this chip\n", block_id);
230 return CVMX_ADD_IO_SEG(0x00016F0000000858ull) + ((block_id) & 1) * 0x100000000000ull;
233 #define CVMX_USBNX_DMA0_OUTB_CHN0(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000858ull) + ((block_id) & 1) * 0x100000000000ull)
235 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
236 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN1(unsigned long block_id)
239 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
240 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
241 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
242 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
243 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
244 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN1(%lu) is invalid on this chip\n", block_id);
245 return CVMX_ADD_IO_SEG(0x00016F0000000860ull) + ((block_id) & 1) * 0x100000000000ull;
248 #define CVMX_USBNX_DMA0_OUTB_CHN1(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000860ull) + ((block_id) & 1) * 0x100000000000ull)
250 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
251 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN2(unsigned long block_id)
254 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
255 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
256 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
257 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
258 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
259 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN2(%lu) is invalid on this chip\n", block_id);
260 return CVMX_ADD_IO_SEG(0x00016F0000000868ull) + ((block_id) & 1) * 0x100000000000ull;
263 #define CVMX_USBNX_DMA0_OUTB_CHN2(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000868ull) + ((block_id) & 1) * 0x100000000000ull)
265 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
266 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN3(unsigned long block_id)
269 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
270 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
271 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
272 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
273 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
274 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN3(%lu) is invalid on this chip\n", block_id);
275 return CVMX_ADD_IO_SEG(0x00016F0000000870ull) + ((block_id) & 1) * 0x100000000000ull;
278 #define CVMX_USBNX_DMA0_OUTB_CHN3(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000870ull) + ((block_id) & 1) * 0x100000000000ull)
280 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
281 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN4(unsigned long block_id)
284 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
285 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
286 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
287 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
288 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
289 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN4(%lu) is invalid on this chip\n", block_id);
290 return CVMX_ADD_IO_SEG(0x00016F0000000878ull) + ((block_id) & 1) * 0x100000000000ull;
293 #define CVMX_USBNX_DMA0_OUTB_CHN4(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000878ull) + ((block_id) & 1) * 0x100000000000ull)
295 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
296 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN5(unsigned long block_id)
299 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
300 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
301 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
302 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
303 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
304 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN5(%lu) is invalid on this chip\n", block_id);
305 return CVMX_ADD_IO_SEG(0x00016F0000000880ull) + ((block_id) & 1) * 0x100000000000ull;
308 #define CVMX_USBNX_DMA0_OUTB_CHN5(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000880ull) + ((block_id) & 1) * 0x100000000000ull)
310 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
311 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN6(unsigned long block_id)
314 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
315 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
316 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
317 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
318 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
319 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN6(%lu) is invalid on this chip\n", block_id);
320 return CVMX_ADD_IO_SEG(0x00016F0000000888ull) + ((block_id) & 1) * 0x100000000000ull;
323 #define CVMX_USBNX_DMA0_OUTB_CHN6(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000888ull) + ((block_id) & 1) * 0x100000000000ull)
325 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
326 static inline uint64_t CVMX_USBNX_DMA0_OUTB_CHN7(unsigned long block_id)
329 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
330 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
331 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
332 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
333 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
334 cvmx_warn("CVMX_USBNX_DMA0_OUTB_CHN7(%lu) is invalid on this chip\n", block_id);
335 return CVMX_ADD_IO_SEG(0x00016F0000000890ull) + ((block_id) & 1) * 0x100000000000ull;
338 #define CVMX_USBNX_DMA0_OUTB_CHN7(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000890ull) + ((block_id) & 1) * 0x100000000000ull)
340 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
341 static inline uint64_t CVMX_USBNX_DMA_TEST(unsigned long block_id)
344 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
345 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
346 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
347 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
348 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
349 cvmx_warn("CVMX_USBNX_DMA_TEST(%lu) is invalid on this chip\n", block_id);
350 return CVMX_ADD_IO_SEG(0x00016F0000000808ull) + ((block_id) & 1) * 0x100000000000ull;
353 #define CVMX_USBNX_DMA_TEST(block_id) (CVMX_ADD_IO_SEG(0x00016F0000000808ull) + ((block_id) & 1) * 0x100000000000ull)
355 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
356 static inline uint64_t CVMX_USBNX_INT_ENB(unsigned long block_id)
359 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
360 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
361 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
362 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
363 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
364 cvmx_warn("CVMX_USBNX_INT_ENB(%lu) is invalid on this chip\n", block_id);
365 return CVMX_ADD_IO_SEG(0x0001180068000008ull) + ((block_id) & 1) * 0x10000000ull;
368 #define CVMX_USBNX_INT_ENB(block_id) (CVMX_ADD_IO_SEG(0x0001180068000008ull) + ((block_id) & 1) * 0x10000000ull)
370 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
371 static inline uint64_t CVMX_USBNX_INT_SUM(unsigned long block_id)
374 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
375 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
376 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
377 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
378 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
379 cvmx_warn("CVMX_USBNX_INT_SUM(%lu) is invalid on this chip\n", block_id);
380 return CVMX_ADD_IO_SEG(0x0001180068000000ull) + ((block_id) & 1) * 0x10000000ull;
383 #define CVMX_USBNX_INT_SUM(block_id) (CVMX_ADD_IO_SEG(0x0001180068000000ull) + ((block_id) & 1) * 0x10000000ull)
385 #if CVMX_ENABLE_CSR_ADDRESS_CHECKING
386 static inline uint64_t CVMX_USBNX_USBP_CTL_STATUS(unsigned long block_id)
389 (OCTEON_IS_MODEL(OCTEON_CN30XX) && ((block_id == 0))) ||
390 (OCTEON_IS_MODEL(OCTEON_CN31XX) && ((block_id == 0))) ||
391 (OCTEON_IS_MODEL(OCTEON_CN50XX) && ((block_id == 0))) ||
392 (OCTEON_IS_MODEL(OCTEON_CN52XX) && ((block_id <= 1))) ||
393 (OCTEON_IS_MODEL(OCTEON_CN56XX) && ((block_id == 0)))))
394 cvmx_warn("CVMX_USBNX_USBP_CTL_STATUS(%lu) is invalid on this chip\n", block_id);
395 return CVMX_ADD_IO_SEG(0x0001180068000018ull) + ((block_id) & 1) * 0x10000000ull;
398 #define CVMX_USBNX_USBP_CTL_STATUS(block_id) (CVMX_ADD_IO_SEG(0x0001180068000018ull) + ((block_id) & 1) * 0x10000000ull)
402 * cvmx_usbn#_bist_status
404 * USBN_BIST_STATUS = USBN's Control and Status
406 * Contain general control bits and status information for the USBN.
408 union cvmx_usbnx_bist_status {
410 struct cvmx_usbnx_bist_status_s {
411 #ifdef __BIG_ENDIAN_BITFIELD
412 uint64_t reserved_7_63 : 57;
413 uint64_t u2nc_bis : 1; /**< Bist status U2N CTL FIFO Memory. */
414 uint64_t u2nf_bis : 1; /**< Bist status U2N FIFO Memory. */
415 uint64_t e2hc_bis : 1; /**< Bist status E2H CTL FIFO Memory. */
416 uint64_t n2uf_bis : 1; /**< Bist status N2U FIFO Memory. */
417 uint64_t usbc_bis : 1; /**< Bist status USBC FIFO Memory. */
418 uint64_t nif_bis : 1; /**< Bist status for Inbound Memory. */
419 uint64_t nof_bis : 1; /**< Bist status for Outbound Memory. */
421 uint64_t nof_bis : 1;
422 uint64_t nif_bis : 1;
423 uint64_t usbc_bis : 1;
424 uint64_t n2uf_bis : 1;
425 uint64_t e2hc_bis : 1;
426 uint64_t u2nf_bis : 1;
427 uint64_t u2nc_bis : 1;
428 uint64_t reserved_7_63 : 57;
431 struct cvmx_usbnx_bist_status_cn30xx {
432 #ifdef __BIG_ENDIAN_BITFIELD
433 uint64_t reserved_3_63 : 61;
434 uint64_t usbc_bis : 1; /**< Bist status USBC FIFO Memory. */
435 uint64_t nif_bis : 1; /**< Bist status for Inbound Memory. */
436 uint64_t nof_bis : 1; /**< Bist status for Outbound Memory. */
438 uint64_t nof_bis : 1;
439 uint64_t nif_bis : 1;
440 uint64_t usbc_bis : 1;
441 uint64_t reserved_3_63 : 61;
444 struct cvmx_usbnx_bist_status_cn30xx cn31xx;
445 struct cvmx_usbnx_bist_status_s cn50xx;
446 struct cvmx_usbnx_bist_status_s cn52xx;
447 struct cvmx_usbnx_bist_status_s cn52xxp1;
448 struct cvmx_usbnx_bist_status_s cn56xx;
449 struct cvmx_usbnx_bist_status_s cn56xxp1;
451 typedef union cvmx_usbnx_bist_status cvmx_usbnx_bist_status_t;
456 * USBN_CLK_CTL = USBN's Clock Control
458 * This register is used to control the frequency of the hclk and the hreset and phy_rst signals.
460 union cvmx_usbnx_clk_ctl {
462 struct cvmx_usbnx_clk_ctl_s {
463 #ifdef __BIG_ENDIAN_BITFIELD
464 uint64_t reserved_20_63 : 44;
465 uint64_t divide2 : 2; /**< The 'hclk' used by the USB subsystem is derived
467 Also see the field DIVIDE. DIVIDE2<1> must currently
468 be zero because it is not implemented, so the maximum
469 ratio of eclk/hclk is currently 16.
470 The actual divide number for hclk is:
471 (DIVIDE2 + 1) * (DIVIDE + 1) */
472 uint64_t hclk_rst : 1; /**< When this field is '0' the HCLK-DIVIDER used to
473 generate the hclk in the USB Subsystem is held
474 in reset. This bit must be set to '0' before
475 changing the value os DIVIDE in this register.
476 The reset to the HCLK_DIVIDERis also asserted
477 when core reset is asserted. */
478 uint64_t p_x_on : 1; /**< Force USB-PHY on during suspend.
479 '1' USB-PHY XO block is powered-down during
481 '0' USB-PHY XO block is powered-up during
483 The value of this field must be set while POR is
485 uint64_t reserved_14_15 : 2;
486 uint64_t p_com_on : 1; /**< '0' Force USB-PHY XO Bias, Bandgap and PLL to
487 remain powered in Suspend Mode.
488 '1' The USB-PHY XO Bias, Bandgap and PLL are
489 powered down in suspend mode.
490 The value of this field must be set while POR is
492 uint64_t p_c_sel : 2; /**< Phy clock speed select.
493 Selects the reference clock / crystal frequency.
495 '10': 48 MHz (reserved when a crystal is used)
496 '01': 24 MHz (reserved when a crystal is used)
498 The value of this field must be set while POR is
500 NOTE: if a crystal is used as a reference clock,
501 this field must be set to 12 MHz. */
502 uint64_t cdiv_byp : 1; /**< Used to enable the bypass input to the USB_CLK_DIV. */
503 uint64_t sd_mode : 2; /**< Scaledown mode for the USBC. Control timing events
504 in the USBC, for normal operation this must be '0'. */
505 uint64_t s_bist : 1; /**< Starts bist on the hclk memories, during the '0'
506 to '1' transition. */
507 uint64_t por : 1; /**< Power On Reset for the PHY.
508 Resets all the PHYS registers and state machines. */
509 uint64_t enable : 1; /**< When '1' allows the generation of the hclk. When
510 '0' the hclk will not be generated. SEE DIVIDE
511 field of this register. */
512 uint64_t prst : 1; /**< When this field is '0' the reset associated with
513 the phy_clk functionality in the USB Subsystem is
514 help in reset. This bit should not be set to '1'
515 until the time it takes 6 clocks (hclk or phy_clk,
516 whichever is slower) has passed. Under normal
517 operation once this bit is set to '1' it should not
519 uint64_t hrst : 1; /**< When this field is '0' the reset associated with
520 the hclk functioanlity in the USB Subsystem is
521 held in reset.This bit should not be set to '1'
522 until 12ms after phy_clk is stable. Under normal
523 operation, once this bit is set to '1' it should
524 not be set to '0'. */
525 uint64_t divide : 3; /**< The frequency of 'hclk' used by the USB subsystem
526 is the eclk frequency divided by the value of
527 (DIVIDE2 + 1) * (DIVIDE + 1), also see the field
528 DIVIDE2 of this register.
529 The hclk frequency should be less than 125Mhz.
530 After writing a value to this field the SW should
531 read the field for the value written.
532 The ENABLE field of this register should not be set
533 until AFTER this field is set and then read. */
541 uint64_t sd_mode : 2;
542 uint64_t cdiv_byp : 1;
543 uint64_t p_c_sel : 2;
544 uint64_t p_com_on : 1;
545 uint64_t reserved_14_15 : 2;
547 uint64_t hclk_rst : 1;
548 uint64_t divide2 : 2;
549 uint64_t reserved_20_63 : 44;
552 struct cvmx_usbnx_clk_ctl_cn30xx {
553 #ifdef __BIG_ENDIAN_BITFIELD
554 uint64_t reserved_18_63 : 46;
555 uint64_t hclk_rst : 1; /**< When this field is '0' the HCLK-DIVIDER used to
556 generate the hclk in the USB Subsystem is held
557 in reset. This bit must be set to '0' before
558 changing the value os DIVIDE in this register.
559 The reset to the HCLK_DIVIDERis also asserted
560 when core reset is asserted. */
561 uint64_t p_x_on : 1; /**< Force USB-PHY on during suspend.
562 '1' USB-PHY XO block is powered-down during
564 '0' USB-PHY XO block is powered-up during
566 The value of this field must be set while POR is
568 uint64_t p_rclk : 1; /**< Phy refrence clock enable.
569 '1' The PHY PLL uses the XO block output as a
572 uint64_t p_xenbn : 1; /**< Phy external clock enable.
573 '1' The XO block uses the clock from a crystal.
574 '0' The XO block uses an external clock supplied
575 on the XO pin. USB_XI should be tied to
576 ground for this usage. */
577 uint64_t p_com_on : 1; /**< '0' Force USB-PHY XO Bias, Bandgap and PLL to
578 remain powered in Suspend Mode.
579 '1' The USB-PHY XO Bias, Bandgap and PLL are
580 powered down in suspend mode.
581 The value of this field must be set while POR is
583 uint64_t p_c_sel : 2; /**< Phy clock speed select.
584 Selects the reference clock / crystal frequency.
589 The value of this field must be set while POR is
591 uint64_t cdiv_byp : 1; /**< Used to enable the bypass input to the USB_CLK_DIV. */
592 uint64_t sd_mode : 2; /**< Scaledown mode for the USBC. Control timing events
593 in the USBC, for normal operation this must be '0'. */
594 uint64_t s_bist : 1; /**< Starts bist on the hclk memories, during the '0'
595 to '1' transition. */
596 uint64_t por : 1; /**< Power On Reset for the PHY.
597 Resets all the PHYS registers and state machines. */
598 uint64_t enable : 1; /**< When '1' allows the generation of the hclk. When
599 '0' the hclk will not be generated. */
600 uint64_t prst : 1; /**< When this field is '0' the reset associated with
601 the phy_clk functionality in the USB Subsystem is
602 help in reset. This bit should not be set to '1'
603 until the time it takes 6 clocks (hclk or phy_clk,
604 whichever is slower) has passed. Under normal
605 operation once this bit is set to '1' it should not
607 uint64_t hrst : 1; /**< When this field is '0' the reset associated with
608 the hclk functioanlity in the USB Subsystem is
609 held in reset.This bit should not be set to '1'
610 until 12ms after phy_clk is stable. Under normal
611 operation, once this bit is set to '1' it should
612 not be set to '0'. */
613 uint64_t divide : 3; /**< The 'hclk' used by the USB subsystem is derived
614 from the eclk. The eclk will be divided by the
615 value of this field +1 to determine the hclk
616 frequency. (Also see HRST of this register).
617 The hclk frequency must be less than 125 MHz. */
625 uint64_t sd_mode : 2;
626 uint64_t cdiv_byp : 1;
627 uint64_t p_c_sel : 2;
628 uint64_t p_com_on : 1;
629 uint64_t p_xenbn : 1;
632 uint64_t hclk_rst : 1;
633 uint64_t reserved_18_63 : 46;
636 struct cvmx_usbnx_clk_ctl_cn30xx cn31xx;
637 struct cvmx_usbnx_clk_ctl_cn50xx {
638 #ifdef __BIG_ENDIAN_BITFIELD
639 uint64_t reserved_20_63 : 44;
640 uint64_t divide2 : 2; /**< The 'hclk' used by the USB subsystem is derived
642 Also see the field DIVIDE. DIVIDE2<1> must currently
643 be zero because it is not implemented, so the maximum
644 ratio of eclk/hclk is currently 16.
645 The actual divide number for hclk is:
646 (DIVIDE2 + 1) * (DIVIDE + 1) */
647 uint64_t hclk_rst : 1; /**< When this field is '0' the HCLK-DIVIDER used to
648 generate the hclk in the USB Subsystem is held
649 in reset. This bit must be set to '0' before
650 changing the value os DIVIDE in this register.
651 The reset to the HCLK_DIVIDERis also asserted
652 when core reset is asserted. */
653 uint64_t reserved_16_16 : 1;
654 uint64_t p_rtype : 2; /**< PHY reference clock type
655 '0' The USB-PHY uses a 12MHz crystal as a clock
656 source at the USB_XO and USB_XI pins
658 '2' The USB_PHY uses 12/24/48MHz 2.5V board clock
659 at the USB_XO pin. USB_XI should be tied to
662 (bit 14 was P_XENBN on 3xxx)
663 (bit 15 was P_RCLK on 3xxx) */
664 uint64_t p_com_on : 1; /**< '0' Force USB-PHY XO Bias, Bandgap and PLL to
665 remain powered in Suspend Mode.
666 '1' The USB-PHY XO Bias, Bandgap and PLL are
667 powered down in suspend mode.
668 The value of this field must be set while POR is
670 uint64_t p_c_sel : 2; /**< Phy clock speed select.
671 Selects the reference clock / crystal frequency.
673 '10': 48 MHz (reserved when a crystal is used)
674 '01': 24 MHz (reserved when a crystal is used)
676 The value of this field must be set while POR is
678 NOTE: if a crystal is used as a reference clock,
679 this field must be set to 12 MHz. */
680 uint64_t cdiv_byp : 1; /**< Used to enable the bypass input to the USB_CLK_DIV. */
681 uint64_t sd_mode : 2; /**< Scaledown mode for the USBC. Control timing events
682 in the USBC, for normal operation this must be '0'. */
683 uint64_t s_bist : 1; /**< Starts bist on the hclk memories, during the '0'
684 to '1' transition. */
685 uint64_t por : 1; /**< Power On Reset for the PHY.
686 Resets all the PHYS registers and state machines. */
687 uint64_t enable : 1; /**< When '1' allows the generation of the hclk. When
688 '0' the hclk will not be generated. SEE DIVIDE
689 field of this register. */
690 uint64_t prst : 1; /**< When this field is '0' the reset associated with
691 the phy_clk functionality in the USB Subsystem is
692 help in reset. This bit should not be set to '1'
693 until the time it takes 6 clocks (hclk or phy_clk,
694 whichever is slower) has passed. Under normal
695 operation once this bit is set to '1' it should not
697 uint64_t hrst : 1; /**< When this field is '0' the reset associated with
698 the hclk functioanlity in the USB Subsystem is
699 held in reset.This bit should not be set to '1'
700 until 12ms after phy_clk is stable. Under normal
701 operation, once this bit is set to '1' it should
702 not be set to '0'. */
703 uint64_t divide : 3; /**< The frequency of 'hclk' used by the USB subsystem
704 is the eclk frequency divided by the value of
705 (DIVIDE2 + 1) * (DIVIDE + 1), also see the field
706 DIVIDE2 of this register.
707 The hclk frequency should be less than 125Mhz.
708 After writing a value to this field the SW should
709 read the field for the value written.
710 The ENABLE field of this register should not be set
711 until AFTER this field is set and then read. */
719 uint64_t sd_mode : 2;
720 uint64_t cdiv_byp : 1;
721 uint64_t p_c_sel : 2;
722 uint64_t p_com_on : 1;
723 uint64_t p_rtype : 2;
724 uint64_t reserved_16_16 : 1;
725 uint64_t hclk_rst : 1;
726 uint64_t divide2 : 2;
727 uint64_t reserved_20_63 : 44;
730 struct cvmx_usbnx_clk_ctl_cn50xx cn52xx;
731 struct cvmx_usbnx_clk_ctl_cn50xx cn52xxp1;
732 struct cvmx_usbnx_clk_ctl_cn50xx cn56xx;
733 struct cvmx_usbnx_clk_ctl_cn50xx cn56xxp1;
735 typedef union cvmx_usbnx_clk_ctl cvmx_usbnx_clk_ctl_t;
738 * cvmx_usbn#_ctl_status
740 * USBN_CTL_STATUS = USBN's Control And Status Register
742 * Contains general control and status information for the USBN block.
744 union cvmx_usbnx_ctl_status {
746 struct cvmx_usbnx_ctl_status_s {
747 #ifdef __BIG_ENDIAN_BITFIELD
748 uint64_t reserved_6_63 : 58;
749 uint64_t dma_0pag : 1; /**< When '1' sets the DMA engine will set the zero-Page
750 bit in the L2C store operation to the IOB. */
751 uint64_t dma_stt : 1; /**< When '1' sets the DMA engine to use STT operations. */
752 uint64_t dma_test : 1; /**< When '1' sets the DMA engine into Test-Mode.
753 For normal operation this bit should be '0'. */
754 uint64_t inv_a2 : 1; /**< When '1' causes the address[2] driven on the AHB
755 for USB-CORE FIFO access to be inverted. Also data
756 writen to and read from the AHB will have it byte
757 order swapped. If the orginal order was A-B-C-D the
758 new byte order will be D-C-B-A. */
759 uint64_t l2c_emod : 2; /**< Endian format for data from/to the L2C.
761 OUT0: A-B-C-D-E-F-G-H
762 OUT1: H-G-F-E-D-C-B-A
763 OUT2: D-C-B-A-H-G-F-E
764 OUT3: E-F-G-H-A-B-C-D */
766 uint64_t l2c_emod : 2;
768 uint64_t dma_test : 1;
769 uint64_t dma_stt : 1;
770 uint64_t dma_0pag : 1;
771 uint64_t reserved_6_63 : 58;
774 struct cvmx_usbnx_ctl_status_s cn30xx;
775 struct cvmx_usbnx_ctl_status_s cn31xx;
776 struct cvmx_usbnx_ctl_status_s cn50xx;
777 struct cvmx_usbnx_ctl_status_s cn52xx;
778 struct cvmx_usbnx_ctl_status_s cn52xxp1;
779 struct cvmx_usbnx_ctl_status_s cn56xx;
780 struct cvmx_usbnx_ctl_status_s cn56xxp1;
782 typedef union cvmx_usbnx_ctl_status cvmx_usbnx_ctl_status_t;
785 * cvmx_usbn#_dma0_inb_chn0
787 * USBN_DMA0_INB_CHN0 = USBN's Inbound DMA for USB0 Channel0
789 * Contains the starting address for use when USB0 writes to L2C via Channel0.
790 * Writing of this register sets the base address.
792 union cvmx_usbnx_dma0_inb_chn0 {
794 struct cvmx_usbnx_dma0_inb_chn0_s {
795 #ifdef __BIG_ENDIAN_BITFIELD
796 uint64_t reserved_36_63 : 28;
797 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
800 uint64_t reserved_36_63 : 28;
803 struct cvmx_usbnx_dma0_inb_chn0_s cn30xx;
804 struct cvmx_usbnx_dma0_inb_chn0_s cn31xx;
805 struct cvmx_usbnx_dma0_inb_chn0_s cn50xx;
806 struct cvmx_usbnx_dma0_inb_chn0_s cn52xx;
807 struct cvmx_usbnx_dma0_inb_chn0_s cn52xxp1;
808 struct cvmx_usbnx_dma0_inb_chn0_s cn56xx;
809 struct cvmx_usbnx_dma0_inb_chn0_s cn56xxp1;
811 typedef union cvmx_usbnx_dma0_inb_chn0 cvmx_usbnx_dma0_inb_chn0_t;
814 * cvmx_usbn#_dma0_inb_chn1
816 * USBN_DMA0_INB_CHN1 = USBN's Inbound DMA for USB0 Channel1
818 * Contains the starting address for use when USB0 writes to L2C via Channel1.
819 * Writing of this register sets the base address.
821 union cvmx_usbnx_dma0_inb_chn1 {
823 struct cvmx_usbnx_dma0_inb_chn1_s {
824 #ifdef __BIG_ENDIAN_BITFIELD
825 uint64_t reserved_36_63 : 28;
826 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
829 uint64_t reserved_36_63 : 28;
832 struct cvmx_usbnx_dma0_inb_chn1_s cn30xx;
833 struct cvmx_usbnx_dma0_inb_chn1_s cn31xx;
834 struct cvmx_usbnx_dma0_inb_chn1_s cn50xx;
835 struct cvmx_usbnx_dma0_inb_chn1_s cn52xx;
836 struct cvmx_usbnx_dma0_inb_chn1_s cn52xxp1;
837 struct cvmx_usbnx_dma0_inb_chn1_s cn56xx;
838 struct cvmx_usbnx_dma0_inb_chn1_s cn56xxp1;
840 typedef union cvmx_usbnx_dma0_inb_chn1 cvmx_usbnx_dma0_inb_chn1_t;
843 * cvmx_usbn#_dma0_inb_chn2
845 * USBN_DMA0_INB_CHN2 = USBN's Inbound DMA for USB0 Channel2
847 * Contains the starting address for use when USB0 writes to L2C via Channel2.
848 * Writing of this register sets the base address.
850 union cvmx_usbnx_dma0_inb_chn2 {
852 struct cvmx_usbnx_dma0_inb_chn2_s {
853 #ifdef __BIG_ENDIAN_BITFIELD
854 uint64_t reserved_36_63 : 28;
855 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
858 uint64_t reserved_36_63 : 28;
861 struct cvmx_usbnx_dma0_inb_chn2_s cn30xx;
862 struct cvmx_usbnx_dma0_inb_chn2_s cn31xx;
863 struct cvmx_usbnx_dma0_inb_chn2_s cn50xx;
864 struct cvmx_usbnx_dma0_inb_chn2_s cn52xx;
865 struct cvmx_usbnx_dma0_inb_chn2_s cn52xxp1;
866 struct cvmx_usbnx_dma0_inb_chn2_s cn56xx;
867 struct cvmx_usbnx_dma0_inb_chn2_s cn56xxp1;
869 typedef union cvmx_usbnx_dma0_inb_chn2 cvmx_usbnx_dma0_inb_chn2_t;
872 * cvmx_usbn#_dma0_inb_chn3
874 * USBN_DMA0_INB_CHN3 = USBN's Inbound DMA for USB0 Channel3
876 * Contains the starting address for use when USB0 writes to L2C via Channel3.
877 * Writing of this register sets the base address.
879 union cvmx_usbnx_dma0_inb_chn3 {
881 struct cvmx_usbnx_dma0_inb_chn3_s {
882 #ifdef __BIG_ENDIAN_BITFIELD
883 uint64_t reserved_36_63 : 28;
884 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
887 uint64_t reserved_36_63 : 28;
890 struct cvmx_usbnx_dma0_inb_chn3_s cn30xx;
891 struct cvmx_usbnx_dma0_inb_chn3_s cn31xx;
892 struct cvmx_usbnx_dma0_inb_chn3_s cn50xx;
893 struct cvmx_usbnx_dma0_inb_chn3_s cn52xx;
894 struct cvmx_usbnx_dma0_inb_chn3_s cn52xxp1;
895 struct cvmx_usbnx_dma0_inb_chn3_s cn56xx;
896 struct cvmx_usbnx_dma0_inb_chn3_s cn56xxp1;
898 typedef union cvmx_usbnx_dma0_inb_chn3 cvmx_usbnx_dma0_inb_chn3_t;
901 * cvmx_usbn#_dma0_inb_chn4
903 * USBN_DMA0_INB_CHN4 = USBN's Inbound DMA for USB0 Channel4
905 * Contains the starting address for use when USB0 writes to L2C via Channel4.
906 * Writing of this register sets the base address.
908 union cvmx_usbnx_dma0_inb_chn4 {
910 struct cvmx_usbnx_dma0_inb_chn4_s {
911 #ifdef __BIG_ENDIAN_BITFIELD
912 uint64_t reserved_36_63 : 28;
913 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
916 uint64_t reserved_36_63 : 28;
919 struct cvmx_usbnx_dma0_inb_chn4_s cn30xx;
920 struct cvmx_usbnx_dma0_inb_chn4_s cn31xx;
921 struct cvmx_usbnx_dma0_inb_chn4_s cn50xx;
922 struct cvmx_usbnx_dma0_inb_chn4_s cn52xx;
923 struct cvmx_usbnx_dma0_inb_chn4_s cn52xxp1;
924 struct cvmx_usbnx_dma0_inb_chn4_s cn56xx;
925 struct cvmx_usbnx_dma0_inb_chn4_s cn56xxp1;
927 typedef union cvmx_usbnx_dma0_inb_chn4 cvmx_usbnx_dma0_inb_chn4_t;
930 * cvmx_usbn#_dma0_inb_chn5
932 * USBN_DMA0_INB_CHN5 = USBN's Inbound DMA for USB0 Channel5
934 * Contains the starting address for use when USB0 writes to L2C via Channel5.
935 * Writing of this register sets the base address.
937 union cvmx_usbnx_dma0_inb_chn5 {
939 struct cvmx_usbnx_dma0_inb_chn5_s {
940 #ifdef __BIG_ENDIAN_BITFIELD
941 uint64_t reserved_36_63 : 28;
942 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
945 uint64_t reserved_36_63 : 28;
948 struct cvmx_usbnx_dma0_inb_chn5_s cn30xx;
949 struct cvmx_usbnx_dma0_inb_chn5_s cn31xx;
950 struct cvmx_usbnx_dma0_inb_chn5_s cn50xx;
951 struct cvmx_usbnx_dma0_inb_chn5_s cn52xx;
952 struct cvmx_usbnx_dma0_inb_chn5_s cn52xxp1;
953 struct cvmx_usbnx_dma0_inb_chn5_s cn56xx;
954 struct cvmx_usbnx_dma0_inb_chn5_s cn56xxp1;
956 typedef union cvmx_usbnx_dma0_inb_chn5 cvmx_usbnx_dma0_inb_chn5_t;
959 * cvmx_usbn#_dma0_inb_chn6
961 * USBN_DMA0_INB_CHN6 = USBN's Inbound DMA for USB0 Channel6
963 * Contains the starting address for use when USB0 writes to L2C via Channel6.
964 * Writing of this register sets the base address.
966 union cvmx_usbnx_dma0_inb_chn6 {
968 struct cvmx_usbnx_dma0_inb_chn6_s {
969 #ifdef __BIG_ENDIAN_BITFIELD
970 uint64_t reserved_36_63 : 28;
971 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
974 uint64_t reserved_36_63 : 28;
977 struct cvmx_usbnx_dma0_inb_chn6_s cn30xx;
978 struct cvmx_usbnx_dma0_inb_chn6_s cn31xx;
979 struct cvmx_usbnx_dma0_inb_chn6_s cn50xx;
980 struct cvmx_usbnx_dma0_inb_chn6_s cn52xx;
981 struct cvmx_usbnx_dma0_inb_chn6_s cn52xxp1;
982 struct cvmx_usbnx_dma0_inb_chn6_s cn56xx;
983 struct cvmx_usbnx_dma0_inb_chn6_s cn56xxp1;
985 typedef union cvmx_usbnx_dma0_inb_chn6 cvmx_usbnx_dma0_inb_chn6_t;
988 * cvmx_usbn#_dma0_inb_chn7
990 * USBN_DMA0_INB_CHN7 = USBN's Inbound DMA for USB0 Channel7
992 * Contains the starting address for use when USB0 writes to L2C via Channel7.
993 * Writing of this register sets the base address.
995 union cvmx_usbnx_dma0_inb_chn7 {
997 struct cvmx_usbnx_dma0_inb_chn7_s {
998 #ifdef __BIG_ENDIAN_BITFIELD
999 uint64_t reserved_36_63 : 28;
1000 uint64_t addr : 36; /**< Base address for DMA Write to L2C. */
1003 uint64_t reserved_36_63 : 28;
1006 struct cvmx_usbnx_dma0_inb_chn7_s cn30xx;
1007 struct cvmx_usbnx_dma0_inb_chn7_s cn31xx;
1008 struct cvmx_usbnx_dma0_inb_chn7_s cn50xx;
1009 struct cvmx_usbnx_dma0_inb_chn7_s cn52xx;
1010 struct cvmx_usbnx_dma0_inb_chn7_s cn52xxp1;
1011 struct cvmx_usbnx_dma0_inb_chn7_s cn56xx;
1012 struct cvmx_usbnx_dma0_inb_chn7_s cn56xxp1;
1014 typedef union cvmx_usbnx_dma0_inb_chn7 cvmx_usbnx_dma0_inb_chn7_t;
1017 * cvmx_usbn#_dma0_outb_chn0
1019 * USBN_DMA0_OUTB_CHN0 = USBN's Outbound DMA for USB0 Channel0
1021 * Contains the starting address for use when USB0 reads from L2C via Channel0.
1022 * Writing of this register sets the base address.
1024 union cvmx_usbnx_dma0_outb_chn0 {
1026 struct cvmx_usbnx_dma0_outb_chn0_s {
1027 #ifdef __BIG_ENDIAN_BITFIELD
1028 uint64_t reserved_36_63 : 28;
1029 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1032 uint64_t reserved_36_63 : 28;
1035 struct cvmx_usbnx_dma0_outb_chn0_s cn30xx;
1036 struct cvmx_usbnx_dma0_outb_chn0_s cn31xx;
1037 struct cvmx_usbnx_dma0_outb_chn0_s cn50xx;
1038 struct cvmx_usbnx_dma0_outb_chn0_s cn52xx;
1039 struct cvmx_usbnx_dma0_outb_chn0_s cn52xxp1;
1040 struct cvmx_usbnx_dma0_outb_chn0_s cn56xx;
1041 struct cvmx_usbnx_dma0_outb_chn0_s cn56xxp1;
1043 typedef union cvmx_usbnx_dma0_outb_chn0 cvmx_usbnx_dma0_outb_chn0_t;
1046 * cvmx_usbn#_dma0_outb_chn1
1048 * USBN_DMA0_OUTB_CHN1 = USBN's Outbound DMA for USB0 Channel1
1050 * Contains the starting address for use when USB0 reads from L2C via Channel1.
1051 * Writing of this register sets the base address.
1053 union cvmx_usbnx_dma0_outb_chn1 {
1055 struct cvmx_usbnx_dma0_outb_chn1_s {
1056 #ifdef __BIG_ENDIAN_BITFIELD
1057 uint64_t reserved_36_63 : 28;
1058 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1061 uint64_t reserved_36_63 : 28;
1064 struct cvmx_usbnx_dma0_outb_chn1_s cn30xx;
1065 struct cvmx_usbnx_dma0_outb_chn1_s cn31xx;
1066 struct cvmx_usbnx_dma0_outb_chn1_s cn50xx;
1067 struct cvmx_usbnx_dma0_outb_chn1_s cn52xx;
1068 struct cvmx_usbnx_dma0_outb_chn1_s cn52xxp1;
1069 struct cvmx_usbnx_dma0_outb_chn1_s cn56xx;
1070 struct cvmx_usbnx_dma0_outb_chn1_s cn56xxp1;
1072 typedef union cvmx_usbnx_dma0_outb_chn1 cvmx_usbnx_dma0_outb_chn1_t;
1075 * cvmx_usbn#_dma0_outb_chn2
1077 * USBN_DMA0_OUTB_CHN2 = USBN's Outbound DMA for USB0 Channel2
1079 * Contains the starting address for use when USB0 reads from L2C via Channel2.
1080 * Writing of this register sets the base address.
1082 union cvmx_usbnx_dma0_outb_chn2 {
1084 struct cvmx_usbnx_dma0_outb_chn2_s {
1085 #ifdef __BIG_ENDIAN_BITFIELD
1086 uint64_t reserved_36_63 : 28;
1087 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1090 uint64_t reserved_36_63 : 28;
1093 struct cvmx_usbnx_dma0_outb_chn2_s cn30xx;
1094 struct cvmx_usbnx_dma0_outb_chn2_s cn31xx;
1095 struct cvmx_usbnx_dma0_outb_chn2_s cn50xx;
1096 struct cvmx_usbnx_dma0_outb_chn2_s cn52xx;
1097 struct cvmx_usbnx_dma0_outb_chn2_s cn52xxp1;
1098 struct cvmx_usbnx_dma0_outb_chn2_s cn56xx;
1099 struct cvmx_usbnx_dma0_outb_chn2_s cn56xxp1;
1101 typedef union cvmx_usbnx_dma0_outb_chn2 cvmx_usbnx_dma0_outb_chn2_t;
1104 * cvmx_usbn#_dma0_outb_chn3
1106 * USBN_DMA0_OUTB_CHN3 = USBN's Outbound DMA for USB0 Channel3
1108 * Contains the starting address for use when USB0 reads from L2C via Channel3.
1109 * Writing of this register sets the base address.
1111 union cvmx_usbnx_dma0_outb_chn3 {
1113 struct cvmx_usbnx_dma0_outb_chn3_s {
1114 #ifdef __BIG_ENDIAN_BITFIELD
1115 uint64_t reserved_36_63 : 28;
1116 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1119 uint64_t reserved_36_63 : 28;
1122 struct cvmx_usbnx_dma0_outb_chn3_s cn30xx;
1123 struct cvmx_usbnx_dma0_outb_chn3_s cn31xx;
1124 struct cvmx_usbnx_dma0_outb_chn3_s cn50xx;
1125 struct cvmx_usbnx_dma0_outb_chn3_s cn52xx;
1126 struct cvmx_usbnx_dma0_outb_chn3_s cn52xxp1;
1127 struct cvmx_usbnx_dma0_outb_chn3_s cn56xx;
1128 struct cvmx_usbnx_dma0_outb_chn3_s cn56xxp1;
1130 typedef union cvmx_usbnx_dma0_outb_chn3 cvmx_usbnx_dma0_outb_chn3_t;
1133 * cvmx_usbn#_dma0_outb_chn4
1135 * USBN_DMA0_OUTB_CHN4 = USBN's Outbound DMA for USB0 Channel4
1137 * Contains the starting address for use when USB0 reads from L2C via Channel4.
1138 * Writing of this register sets the base address.
1140 union cvmx_usbnx_dma0_outb_chn4 {
1142 struct cvmx_usbnx_dma0_outb_chn4_s {
1143 #ifdef __BIG_ENDIAN_BITFIELD
1144 uint64_t reserved_36_63 : 28;
1145 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1148 uint64_t reserved_36_63 : 28;
1151 struct cvmx_usbnx_dma0_outb_chn4_s cn30xx;
1152 struct cvmx_usbnx_dma0_outb_chn4_s cn31xx;
1153 struct cvmx_usbnx_dma0_outb_chn4_s cn50xx;
1154 struct cvmx_usbnx_dma0_outb_chn4_s cn52xx;
1155 struct cvmx_usbnx_dma0_outb_chn4_s cn52xxp1;
1156 struct cvmx_usbnx_dma0_outb_chn4_s cn56xx;
1157 struct cvmx_usbnx_dma0_outb_chn4_s cn56xxp1;
1159 typedef union cvmx_usbnx_dma0_outb_chn4 cvmx_usbnx_dma0_outb_chn4_t;
1162 * cvmx_usbn#_dma0_outb_chn5
1164 * USBN_DMA0_OUTB_CHN5 = USBN's Outbound DMA for USB0 Channel5
1166 * Contains the starting address for use when USB0 reads from L2C via Channel5.
1167 * Writing of this register sets the base address.
1169 union cvmx_usbnx_dma0_outb_chn5 {
1171 struct cvmx_usbnx_dma0_outb_chn5_s {
1172 #ifdef __BIG_ENDIAN_BITFIELD
1173 uint64_t reserved_36_63 : 28;
1174 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1177 uint64_t reserved_36_63 : 28;
1180 struct cvmx_usbnx_dma0_outb_chn5_s cn30xx;
1181 struct cvmx_usbnx_dma0_outb_chn5_s cn31xx;
1182 struct cvmx_usbnx_dma0_outb_chn5_s cn50xx;
1183 struct cvmx_usbnx_dma0_outb_chn5_s cn52xx;
1184 struct cvmx_usbnx_dma0_outb_chn5_s cn52xxp1;
1185 struct cvmx_usbnx_dma0_outb_chn5_s cn56xx;
1186 struct cvmx_usbnx_dma0_outb_chn5_s cn56xxp1;
1188 typedef union cvmx_usbnx_dma0_outb_chn5 cvmx_usbnx_dma0_outb_chn5_t;
1191 * cvmx_usbn#_dma0_outb_chn6
1193 * USBN_DMA0_OUTB_CHN6 = USBN's Outbound DMA for USB0 Channel6
1195 * Contains the starting address for use when USB0 reads from L2C via Channel6.
1196 * Writing of this register sets the base address.
1198 union cvmx_usbnx_dma0_outb_chn6 {
1200 struct cvmx_usbnx_dma0_outb_chn6_s {
1201 #ifdef __BIG_ENDIAN_BITFIELD
1202 uint64_t reserved_36_63 : 28;
1203 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1206 uint64_t reserved_36_63 : 28;
1209 struct cvmx_usbnx_dma0_outb_chn6_s cn30xx;
1210 struct cvmx_usbnx_dma0_outb_chn6_s cn31xx;
1211 struct cvmx_usbnx_dma0_outb_chn6_s cn50xx;
1212 struct cvmx_usbnx_dma0_outb_chn6_s cn52xx;
1213 struct cvmx_usbnx_dma0_outb_chn6_s cn52xxp1;
1214 struct cvmx_usbnx_dma0_outb_chn6_s cn56xx;
1215 struct cvmx_usbnx_dma0_outb_chn6_s cn56xxp1;
1217 typedef union cvmx_usbnx_dma0_outb_chn6 cvmx_usbnx_dma0_outb_chn6_t;
1220 * cvmx_usbn#_dma0_outb_chn7
1222 * USBN_DMA0_OUTB_CHN7 = USBN's Outbound DMA for USB0 Channel7
1224 * Contains the starting address for use when USB0 reads from L2C via Channel7.
1225 * Writing of this register sets the base address.
1227 union cvmx_usbnx_dma0_outb_chn7 {
1229 struct cvmx_usbnx_dma0_outb_chn7_s {
1230 #ifdef __BIG_ENDIAN_BITFIELD
1231 uint64_t reserved_36_63 : 28;
1232 uint64_t addr : 36; /**< Base address for DMA Read from L2C. */
1235 uint64_t reserved_36_63 : 28;
1238 struct cvmx_usbnx_dma0_outb_chn7_s cn30xx;
1239 struct cvmx_usbnx_dma0_outb_chn7_s cn31xx;
1240 struct cvmx_usbnx_dma0_outb_chn7_s cn50xx;
1241 struct cvmx_usbnx_dma0_outb_chn7_s cn52xx;
1242 struct cvmx_usbnx_dma0_outb_chn7_s cn52xxp1;
1243 struct cvmx_usbnx_dma0_outb_chn7_s cn56xx;
1244 struct cvmx_usbnx_dma0_outb_chn7_s cn56xxp1;
1246 typedef union cvmx_usbnx_dma0_outb_chn7 cvmx_usbnx_dma0_outb_chn7_t;
1249 * cvmx_usbn#_dma_test
1251 * USBN_DMA_TEST = USBN's DMA TestRegister
1253 * This register can cause the external DMA engine to the USB-Core to make transfers from/to L2C/USB-FIFOs
1255 union cvmx_usbnx_dma_test {
1257 struct cvmx_usbnx_dma_test_s {
1258 #ifdef __BIG_ENDIAN_BITFIELD
1259 uint64_t reserved_40_63 : 24;
1260 uint64_t done : 1; /**< This field is set when a DMA completes. Writing a
1261 '1' to this field clears this bit. */
1262 uint64_t req : 1; /**< DMA Request. Writing a 1 to this register
1263 will cause a DMA request as specified in the other
1264 fields of this register to take place. This field
1265 will always read as '0'. */
1266 uint64_t f_addr : 18; /**< The address to read from in the Data-Fifo. */
1267 uint64_t count : 11; /**< DMA Request Count. */
1268 uint64_t channel : 5; /**< DMA Channel/Enpoint. */
1269 uint64_t burst : 4; /**< DMA Burst Size. */
1272 uint64_t channel : 5;
1273 uint64_t count : 11;
1274 uint64_t f_addr : 18;
1277 uint64_t reserved_40_63 : 24;
1280 struct cvmx_usbnx_dma_test_s cn30xx;
1281 struct cvmx_usbnx_dma_test_s cn31xx;
1282 struct cvmx_usbnx_dma_test_s cn50xx;
1283 struct cvmx_usbnx_dma_test_s cn52xx;
1284 struct cvmx_usbnx_dma_test_s cn52xxp1;
1285 struct cvmx_usbnx_dma_test_s cn56xx;
1286 struct cvmx_usbnx_dma_test_s cn56xxp1;
1288 typedef union cvmx_usbnx_dma_test cvmx_usbnx_dma_test_t;
1291 * cvmx_usbn#_int_enb
1293 * USBN_INT_ENB = USBN's Interrupt Enable
1295 * The USBN's interrupt enable register.
1297 union cvmx_usbnx_int_enb {
1299 struct cvmx_usbnx_int_enb_s {
1300 #ifdef __BIG_ENDIAN_BITFIELD
1301 uint64_t reserved_38_63 : 26;
1302 uint64_t nd4o_dpf : 1; /**< When set (1) and bit 37 of the USBN_INT_SUM
1303 register is asserted the USBN will assert an
1305 uint64_t nd4o_dpe : 1; /**< When set (1) and bit 36 of the USBN_INT_SUM
1306 register is asserted the USBN will assert an
1308 uint64_t nd4o_rpf : 1; /**< When set (1) and bit 35 of the USBN_INT_SUM
1309 register is asserted the USBN will assert an
1311 uint64_t nd4o_rpe : 1; /**< When set (1) and bit 34 of the USBN_INT_SUM
1312 register is asserted the USBN will assert an
1314 uint64_t ltl_f_pf : 1; /**< When set (1) and bit 33 of the USBN_INT_SUM
1315 register is asserted the USBN will assert an
1317 uint64_t ltl_f_pe : 1; /**< When set (1) and bit 32 of the USBN_INT_SUM
1318 register is asserted the USBN will assert an
1320 uint64_t u2n_c_pe : 1; /**< When set (1) and bit 31 of the USBN_INT_SUM
1321 register is asserted the USBN will assert an
1323 uint64_t u2n_c_pf : 1; /**< When set (1) and bit 30 of the USBN_INT_SUM
1324 register is asserted the USBN will assert an
1326 uint64_t u2n_d_pf : 1; /**< When set (1) and bit 29 of the USBN_INT_SUM
1327 register is asserted the USBN will assert an
1329 uint64_t u2n_d_pe : 1; /**< When set (1) and bit 28 of the USBN_INT_SUM
1330 register is asserted the USBN will assert an
1332 uint64_t n2u_pe : 1; /**< When set (1) and bit 27 of the USBN_INT_SUM
1333 register is asserted the USBN will assert an
1335 uint64_t n2u_pf : 1; /**< When set (1) and bit 26 of the USBN_INT_SUM
1336 register is asserted the USBN will assert an
1338 uint64_t uod_pf : 1; /**< When set (1) and bit 25 of the USBN_INT_SUM
1339 register is asserted the USBN will assert an
1341 uint64_t uod_pe : 1; /**< When set (1) and bit 24 of the USBN_INT_SUM
1342 register is asserted the USBN will assert an
1344 uint64_t rq_q3_e : 1; /**< When set (1) and bit 23 of the USBN_INT_SUM
1345 register is asserted the USBN will assert an
1347 uint64_t rq_q3_f : 1; /**< When set (1) and bit 22 of the USBN_INT_SUM
1348 register is asserted the USBN will assert an
1350 uint64_t rq_q2_e : 1; /**< When set (1) and bit 21 of the USBN_INT_SUM
1351 register is asserted the USBN will assert an
1353 uint64_t rq_q2_f : 1; /**< When set (1) and bit 20 of the USBN_INT_SUM
1354 register is asserted the USBN will assert an
1356 uint64_t rg_fi_f : 1; /**< When set (1) and bit 19 of the USBN_INT_SUM
1357 register is asserted the USBN will assert an
1359 uint64_t rg_fi_e : 1; /**< When set (1) and bit 18 of the USBN_INT_SUM
1360 register is asserted the USBN will assert an
1362 uint64_t l2_fi_f : 1; /**< When set (1) and bit 17 of the USBN_INT_SUM
1363 register is asserted the USBN will assert an
1365 uint64_t l2_fi_e : 1; /**< When set (1) and bit 16 of the USBN_INT_SUM
1366 register is asserted the USBN will assert an
1368 uint64_t l2c_a_f : 1; /**< When set (1) and bit 15 of the USBN_INT_SUM
1369 register is asserted the USBN will assert an
1371 uint64_t l2c_s_e : 1; /**< When set (1) and bit 14 of the USBN_INT_SUM
1372 register is asserted the USBN will assert an
1374 uint64_t dcred_f : 1; /**< When set (1) and bit 13 of the USBN_INT_SUM
1375 register is asserted the USBN will assert an
1377 uint64_t dcred_e : 1; /**< When set (1) and bit 12 of the USBN_INT_SUM
1378 register is asserted the USBN will assert an
1380 uint64_t lt_pu_f : 1; /**< When set (1) and bit 11 of the USBN_INT_SUM
1381 register is asserted the USBN will assert an
1383 uint64_t lt_po_e : 1; /**< When set (1) and bit 10 of the USBN_INT_SUM
1384 register is asserted the USBN will assert an
1386 uint64_t nt_pu_f : 1; /**< When set (1) and bit 9 of the USBN_INT_SUM
1387 register is asserted the USBN will assert an
1389 uint64_t nt_po_e : 1; /**< When set (1) and bit 8 of the USBN_INT_SUM
1390 register is asserted the USBN will assert an
1392 uint64_t pt_pu_f : 1; /**< When set (1) and bit 7 of the USBN_INT_SUM
1393 register is asserted the USBN will assert an
1395 uint64_t pt_po_e : 1; /**< When set (1) and bit 6 of the USBN_INT_SUM
1396 register is asserted the USBN will assert an
1398 uint64_t lr_pu_f : 1; /**< When set (1) and bit 5 of the USBN_INT_SUM
1399 register is asserted the USBN will assert an
1401 uint64_t lr_po_e : 1; /**< When set (1) and bit 4 of the USBN_INT_SUM
1402 register is asserted the USBN will assert an
1404 uint64_t nr_pu_f : 1; /**< When set (1) and bit 3 of the USBN_INT_SUM
1405 register is asserted the USBN will assert an
1407 uint64_t nr_po_e : 1; /**< When set (1) and bit 2 of the USBN_INT_SUM
1408 register is asserted the USBN will assert an
1410 uint64_t pr_pu_f : 1; /**< When set (1) and bit 1 of the USBN_INT_SUM
1411 register is asserted the USBN will assert an
1413 uint64_t pr_po_e : 1; /**< When set (1) and bit 0 of the USBN_INT_SUM
1414 register is asserted the USBN will assert an
1417 uint64_t pr_po_e : 1;
1418 uint64_t pr_pu_f : 1;
1419 uint64_t nr_po_e : 1;
1420 uint64_t nr_pu_f : 1;
1421 uint64_t lr_po_e : 1;
1422 uint64_t lr_pu_f : 1;
1423 uint64_t pt_po_e : 1;
1424 uint64_t pt_pu_f : 1;
1425 uint64_t nt_po_e : 1;
1426 uint64_t nt_pu_f : 1;
1427 uint64_t lt_po_e : 1;
1428 uint64_t lt_pu_f : 1;
1429 uint64_t dcred_e : 1;
1430 uint64_t dcred_f : 1;
1431 uint64_t l2c_s_e : 1;
1432 uint64_t l2c_a_f : 1;
1433 uint64_t l2_fi_e : 1;
1434 uint64_t l2_fi_f : 1;
1435 uint64_t rg_fi_e : 1;
1436 uint64_t rg_fi_f : 1;
1437 uint64_t rq_q2_f : 1;
1438 uint64_t rq_q2_e : 1;
1439 uint64_t rq_q3_f : 1;
1440 uint64_t rq_q3_e : 1;
1441 uint64_t uod_pe : 1;
1442 uint64_t uod_pf : 1;
1443 uint64_t n2u_pf : 1;
1444 uint64_t n2u_pe : 1;
1445 uint64_t u2n_d_pe : 1;
1446 uint64_t u2n_d_pf : 1;
1447 uint64_t u2n_c_pf : 1;
1448 uint64_t u2n_c_pe : 1;
1449 uint64_t ltl_f_pe : 1;
1450 uint64_t ltl_f_pf : 1;
1451 uint64_t nd4o_rpe : 1;
1452 uint64_t nd4o_rpf : 1;
1453 uint64_t nd4o_dpe : 1;
1454 uint64_t nd4o_dpf : 1;
1455 uint64_t reserved_38_63 : 26;
1458 struct cvmx_usbnx_int_enb_s cn30xx;
1459 struct cvmx_usbnx_int_enb_s cn31xx;
1460 struct cvmx_usbnx_int_enb_cn50xx {
1461 #ifdef __BIG_ENDIAN_BITFIELD
1462 uint64_t reserved_38_63 : 26;
1463 uint64_t nd4o_dpf : 1; /**< When set (1) and bit 37 of the USBN_INT_SUM
1464 register is asserted the USBN will assert an
1466 uint64_t nd4o_dpe : 1; /**< When set (1) and bit 36 of the USBN_INT_SUM
1467 register is asserted the USBN will assert an
1469 uint64_t nd4o_rpf : 1; /**< When set (1) and bit 35 of the USBN_INT_SUM
1470 register is asserted the USBN will assert an
1472 uint64_t nd4o_rpe : 1; /**< When set (1) and bit 34 of the USBN_INT_SUM
1473 register is asserted the USBN will assert an
1475 uint64_t ltl_f_pf : 1; /**< When set (1) and bit 33 of the USBN_INT_SUM
1476 register is asserted the USBN will assert an
1478 uint64_t ltl_f_pe : 1; /**< When set (1) and bit 32 of the USBN_INT_SUM
1479 register is asserted the USBN will assert an
1481 uint64_t reserved_26_31 : 6;
1482 uint64_t uod_pf : 1; /**< When set (1) and bit 25 of the USBN_INT_SUM
1483 register is asserted the USBN will assert an
1485 uint64_t uod_pe : 1; /**< When set (1) and bit 24 of the USBN_INT_SUM
1486 register is asserted the USBN will assert an
1488 uint64_t rq_q3_e : 1; /**< When set (1) and bit 23 of the USBN_INT_SUM
1489 register is asserted the USBN will assert an
1491 uint64_t rq_q3_f : 1; /**< When set (1) and bit 22 of the USBN_INT_SUM
1492 register is asserted the USBN will assert an
1494 uint64_t rq_q2_e : 1; /**< When set (1) and bit 21 of the USBN_INT_SUM
1495 register is asserted the USBN will assert an
1497 uint64_t rq_q2_f : 1; /**< When set (1) and bit 20 of the USBN_INT_SUM
1498 register is asserted the USBN will assert an
1500 uint64_t rg_fi_f : 1; /**< When set (1) and bit 19 of the USBN_INT_SUM
1501 register is asserted the USBN will assert an
1503 uint64_t rg_fi_e : 1; /**< When set (1) and bit 18 of the USBN_INT_SUM
1504 register is asserted the USBN will assert an
1506 uint64_t l2_fi_f : 1; /**< When set (1) and bit 17 of the USBN_INT_SUM
1507 register is asserted the USBN will assert an
1509 uint64_t l2_fi_e : 1; /**< When set (1) and bit 16 of the USBN_INT_SUM
1510 register is asserted the USBN will assert an
1512 uint64_t l2c_a_f : 1; /**< When set (1) and bit 15 of the USBN_INT_SUM
1513 register is asserted the USBN will assert an
1515 uint64_t l2c_s_e : 1; /**< When set (1) and bit 14 of the USBN_INT_SUM
1516 register is asserted the USBN will assert an
1518 uint64_t dcred_f : 1; /**< When set (1) and bit 13 of the USBN_INT_SUM
1519 register is asserted the USBN will assert an
1521 uint64_t dcred_e : 1; /**< When set (1) and bit 12 of the USBN_INT_SUM
1522 register is asserted the USBN will assert an
1524 uint64_t lt_pu_f : 1; /**< When set (1) and bit 11 of the USBN_INT_SUM
1525 register is asserted the USBN will assert an
1527 uint64_t lt_po_e : 1; /**< When set (1) and bit 10 of the USBN_INT_SUM
1528 register is asserted the USBN will assert an
1530 uint64_t nt_pu_f : 1; /**< When set (1) and bit 9 of the USBN_INT_SUM
1531 register is asserted the USBN will assert an
1533 uint64_t nt_po_e : 1; /**< When set (1) and bit 8 of the USBN_INT_SUM
1534 register is asserted the USBN will assert an
1536 uint64_t pt_pu_f : 1; /**< When set (1) and bit 7 of the USBN_INT_SUM
1537 register is asserted the USBN will assert an
1539 uint64_t pt_po_e : 1; /**< When set (1) and bit 6 of the USBN_INT_SUM
1540 register is asserted the USBN will assert an
1542 uint64_t lr_pu_f : 1; /**< When set (1) and bit 5 of the USBN_INT_SUM
1543 register is asserted the USBN will assert an
1545 uint64_t lr_po_e : 1; /**< When set (1) and bit 4 of the USBN_INT_SUM
1546 register is asserted the USBN will assert an
1548 uint64_t nr_pu_f : 1; /**< When set (1) and bit 3 of the USBN_INT_SUM
1549 register is asserted the USBN will assert an
1551 uint64_t nr_po_e : 1; /**< When set (1) and bit 2 of the USBN_INT_SUM
1552 register is asserted the USBN will assert an
1554 uint64_t pr_pu_f : 1; /**< When set (1) and bit 1 of the USBN_INT_SUM
1555 register is asserted the USBN will assert an
1557 uint64_t pr_po_e : 1; /**< When set (1) and bit 0 of the USBN_INT_SUM
1558 register is asserted the USBN will assert an
1561 uint64_t pr_po_e : 1;
1562 uint64_t pr_pu_f : 1;
1563 uint64_t nr_po_e : 1;
1564 uint64_t nr_pu_f : 1;
1565 uint64_t lr_po_e : 1;
1566 uint64_t lr_pu_f : 1;
1567 uint64_t pt_po_e : 1;
1568 uint64_t pt_pu_f : 1;
1569 uint64_t nt_po_e : 1;
1570 uint64_t nt_pu_f : 1;
1571 uint64_t lt_po_e : 1;
1572 uint64_t lt_pu_f : 1;
1573 uint64_t dcred_e : 1;
1574 uint64_t dcred_f : 1;
1575 uint64_t l2c_s_e : 1;
1576 uint64_t l2c_a_f : 1;
1577 uint64_t l2_fi_e : 1;
1578 uint64_t l2_fi_f : 1;
1579 uint64_t rg_fi_e : 1;
1580 uint64_t rg_fi_f : 1;
1581 uint64_t rq_q2_f : 1;
1582 uint64_t rq_q2_e : 1;
1583 uint64_t rq_q3_f : 1;
1584 uint64_t rq_q3_e : 1;
1585 uint64_t uod_pe : 1;
1586 uint64_t uod_pf : 1;
1587 uint64_t reserved_26_31 : 6;
1588 uint64_t ltl_f_pe : 1;
1589 uint64_t ltl_f_pf : 1;
1590 uint64_t nd4o_rpe : 1;
1591 uint64_t nd4o_rpf : 1;
1592 uint64_t nd4o_dpe : 1;
1593 uint64_t nd4o_dpf : 1;
1594 uint64_t reserved_38_63 : 26;
1597 struct cvmx_usbnx_int_enb_cn50xx cn52xx;
1598 struct cvmx_usbnx_int_enb_cn50xx cn52xxp1;
1599 struct cvmx_usbnx_int_enb_cn50xx cn56xx;
1600 struct cvmx_usbnx_int_enb_cn50xx cn56xxp1;
1602 typedef union cvmx_usbnx_int_enb cvmx_usbnx_int_enb_t;
1605 * cvmx_usbn#_int_sum
1607 * USBN_INT_SUM = USBN's Interrupt Summary Register
1609 * Contains the diffrent interrupt summary bits of the USBN.
1611 union cvmx_usbnx_int_sum {
1613 struct cvmx_usbnx_int_sum_s {
1614 #ifdef __BIG_ENDIAN_BITFIELD
1615 uint64_t reserved_38_63 : 26;
1616 uint64_t nd4o_dpf : 1; /**< NCB DMA Out Data Fifo Push Full. */
1617 uint64_t nd4o_dpe : 1; /**< NCB DMA Out Data Fifo Pop Empty. */
1618 uint64_t nd4o_rpf : 1; /**< NCB DMA Out Request Fifo Push Full. */
1619 uint64_t nd4o_rpe : 1; /**< NCB DMA Out Request Fifo Pop Empty. */
1620 uint64_t ltl_f_pf : 1; /**< L2C Transfer Length Fifo Push Full. */
1621 uint64_t ltl_f_pe : 1; /**< L2C Transfer Length Fifo Pop Empty. */
1622 uint64_t u2n_c_pe : 1; /**< U2N Control Fifo Pop Empty. */
1623 uint64_t u2n_c_pf : 1; /**< U2N Control Fifo Push Full. */
1624 uint64_t u2n_d_pf : 1; /**< U2N Data Fifo Push Full. */
1625 uint64_t u2n_d_pe : 1; /**< U2N Data Fifo Pop Empty. */
1626 uint64_t n2u_pe : 1; /**< N2U Fifo Pop Empty. */
1627 uint64_t n2u_pf : 1; /**< N2U Fifo Push Full. */
1628 uint64_t uod_pf : 1; /**< UOD Fifo Push Full. */
1629 uint64_t uod_pe : 1; /**< UOD Fifo Pop Empty. */
1630 uint64_t rq_q3_e : 1; /**< Request Queue-3 Fifo Pushed When Full. */
1631 uint64_t rq_q3_f : 1; /**< Request Queue-3 Fifo Pushed When Full. */
1632 uint64_t rq_q2_e : 1; /**< Request Queue-2 Fifo Pushed When Full. */
1633 uint64_t rq_q2_f : 1; /**< Request Queue-2 Fifo Pushed When Full. */
1634 uint64_t rg_fi_f : 1; /**< Register Request Fifo Pushed When Full. */
1635 uint64_t rg_fi_e : 1; /**< Register Request Fifo Pushed When Full. */
1636 uint64_t lt_fi_f : 1; /**< L2C Request Fifo Pushed When Full. */
1637 uint64_t lt_fi_e : 1; /**< L2C Request Fifo Pushed When Full. */
1638 uint64_t l2c_a_f : 1; /**< L2C Credit Count Added When Full. */
1639 uint64_t l2c_s_e : 1; /**< L2C Credit Count Subtracted When Empty. */
1640 uint64_t dcred_f : 1; /**< Data CreditFifo Pushed When Full. */
1641 uint64_t dcred_e : 1; /**< Data Credit Fifo Pushed When Full. */
1642 uint64_t lt_pu_f : 1; /**< L2C Trasaction Fifo Pushed When Full. */
1643 uint64_t lt_po_e : 1; /**< L2C Trasaction Fifo Popped When Full. */
1644 uint64_t nt_pu_f : 1; /**< NPI Trasaction Fifo Pushed When Full. */
1645 uint64_t nt_po_e : 1; /**< NPI Trasaction Fifo Popped When Full. */
1646 uint64_t pt_pu_f : 1; /**< PP Trasaction Fifo Pushed When Full. */
1647 uint64_t pt_po_e : 1; /**< PP Trasaction Fifo Popped When Full. */
1648 uint64_t lr_pu_f : 1; /**< L2C Request Fifo Pushed When Full. */
1649 uint64_t lr_po_e : 1; /**< L2C Request Fifo Popped When Empty. */
1650 uint64_t nr_pu_f : 1; /**< NPI Request Fifo Pushed When Full. */
1651 uint64_t nr_po_e : 1; /**< NPI Request Fifo Popped When Empty. */
1652 uint64_t pr_pu_f : 1; /**< PP Request Fifo Pushed When Full. */
1653 uint64_t pr_po_e : 1; /**< PP Request Fifo Popped When Empty. */
1655 uint64_t pr_po_e : 1;
1656 uint64_t pr_pu_f : 1;
1657 uint64_t nr_po_e : 1;
1658 uint64_t nr_pu_f : 1;
1659 uint64_t lr_po_e : 1;
1660 uint64_t lr_pu_f : 1;
1661 uint64_t pt_po_e : 1;
1662 uint64_t pt_pu_f : 1;
1663 uint64_t nt_po_e : 1;
1664 uint64_t nt_pu_f : 1;
1665 uint64_t lt_po_e : 1;
1666 uint64_t lt_pu_f : 1;
1667 uint64_t dcred_e : 1;
1668 uint64_t dcred_f : 1;
1669 uint64_t l2c_s_e : 1;
1670 uint64_t l2c_a_f : 1;
1671 uint64_t lt_fi_e : 1;
1672 uint64_t lt_fi_f : 1;
1673 uint64_t rg_fi_e : 1;
1674 uint64_t rg_fi_f : 1;
1675 uint64_t rq_q2_f : 1;
1676 uint64_t rq_q2_e : 1;
1677 uint64_t rq_q3_f : 1;
1678 uint64_t rq_q3_e : 1;
1679 uint64_t uod_pe : 1;
1680 uint64_t uod_pf : 1;
1681 uint64_t n2u_pf : 1;
1682 uint64_t n2u_pe : 1;
1683 uint64_t u2n_d_pe : 1;
1684 uint64_t u2n_d_pf : 1;
1685 uint64_t u2n_c_pf : 1;
1686 uint64_t u2n_c_pe : 1;
1687 uint64_t ltl_f_pe : 1;
1688 uint64_t ltl_f_pf : 1;
1689 uint64_t nd4o_rpe : 1;
1690 uint64_t nd4o_rpf : 1;
1691 uint64_t nd4o_dpe : 1;
1692 uint64_t nd4o_dpf : 1;
1693 uint64_t reserved_38_63 : 26;
1696 struct cvmx_usbnx_int_sum_s cn30xx;
1697 struct cvmx_usbnx_int_sum_s cn31xx;
1698 struct cvmx_usbnx_int_sum_cn50xx {
1699 #ifdef __BIG_ENDIAN_BITFIELD
1700 uint64_t reserved_38_63 : 26;
1701 uint64_t nd4o_dpf : 1; /**< NCB DMA Out Data Fifo Push Full. */
1702 uint64_t nd4o_dpe : 1; /**< NCB DMA Out Data Fifo Pop Empty. */
1703 uint64_t nd4o_rpf : 1; /**< NCB DMA Out Request Fifo Push Full. */
1704 uint64_t nd4o_rpe : 1; /**< NCB DMA Out Request Fifo Pop Empty. */
1705 uint64_t ltl_f_pf : 1; /**< L2C Transfer Length Fifo Push Full. */
1706 uint64_t ltl_f_pe : 1; /**< L2C Transfer Length Fifo Pop Empty. */
1707 uint64_t reserved_26_31 : 6;
1708 uint64_t uod_pf : 1; /**< UOD Fifo Push Full. */
1709 uint64_t uod_pe : 1; /**< UOD Fifo Pop Empty. */
1710 uint64_t rq_q3_e : 1; /**< Request Queue-3 Fifo Pushed When Full. */
1711 uint64_t rq_q3_f : 1; /**< Request Queue-3 Fifo Pushed When Full. */
1712 uint64_t rq_q2_e : 1; /**< Request Queue-2 Fifo Pushed When Full. */
1713 uint64_t rq_q2_f : 1; /**< Request Queue-2 Fifo Pushed When Full. */
1714 uint64_t rg_fi_f : 1; /**< Register Request Fifo Pushed When Full. */
1715 uint64_t rg_fi_e : 1; /**< Register Request Fifo Pushed When Full. */
1716 uint64_t lt_fi_f : 1; /**< L2C Request Fifo Pushed When Full. */
1717 uint64_t lt_fi_e : 1; /**< L2C Request Fifo Pushed When Full. */
1718 uint64_t l2c_a_f : 1; /**< L2C Credit Count Added When Full. */
1719 uint64_t l2c_s_e : 1; /**< L2C Credit Count Subtracted When Empty. */
1720 uint64_t dcred_f : 1; /**< Data CreditFifo Pushed When Full. */
1721 uint64_t dcred_e : 1; /**< Data Credit Fifo Pushed When Full. */
1722 uint64_t lt_pu_f : 1; /**< L2C Trasaction Fifo Pushed When Full. */
1723 uint64_t lt_po_e : 1; /**< L2C Trasaction Fifo Popped When Full. */
1724 uint64_t nt_pu_f : 1; /**< NPI Trasaction Fifo Pushed When Full. */
1725 uint64_t nt_po_e : 1; /**< NPI Trasaction Fifo Popped When Full. */
1726 uint64_t pt_pu_f : 1; /**< PP Trasaction Fifo Pushed When Full. */
1727 uint64_t pt_po_e : 1; /**< PP Trasaction Fifo Popped When Full. */
1728 uint64_t lr_pu_f : 1; /**< L2C Request Fifo Pushed When Full. */
1729 uint64_t lr_po_e : 1; /**< L2C Request Fifo Popped When Empty. */
1730 uint64_t nr_pu_f : 1; /**< NPI Request Fifo Pushed When Full. */
1731 uint64_t nr_po_e : 1; /**< NPI Request Fifo Popped When Empty. */
1732 uint64_t pr_pu_f : 1; /**< PP Request Fifo Pushed When Full. */
1733 uint64_t pr_po_e : 1; /**< PP Request Fifo Popped When Empty. */
1735 uint64_t pr_po_e : 1;
1736 uint64_t pr_pu_f : 1;
1737 uint64_t nr_po_e : 1;
1738 uint64_t nr_pu_f : 1;
1739 uint64_t lr_po_e : 1;
1740 uint64_t lr_pu_f : 1;
1741 uint64_t pt_po_e : 1;
1742 uint64_t pt_pu_f : 1;
1743 uint64_t nt_po_e : 1;
1744 uint64_t nt_pu_f : 1;
1745 uint64_t lt_po_e : 1;
1746 uint64_t lt_pu_f : 1;
1747 uint64_t dcred_e : 1;
1748 uint64_t dcred_f : 1;
1749 uint64_t l2c_s_e : 1;
1750 uint64_t l2c_a_f : 1;
1751 uint64_t lt_fi_e : 1;
1752 uint64_t lt_fi_f : 1;
1753 uint64_t rg_fi_e : 1;
1754 uint64_t rg_fi_f : 1;
1755 uint64_t rq_q2_f : 1;
1756 uint64_t rq_q2_e : 1;
1757 uint64_t rq_q3_f : 1;
1758 uint64_t rq_q3_e : 1;
1759 uint64_t uod_pe : 1;
1760 uint64_t uod_pf : 1;
1761 uint64_t reserved_26_31 : 6;
1762 uint64_t ltl_f_pe : 1;
1763 uint64_t ltl_f_pf : 1;
1764 uint64_t nd4o_rpe : 1;
1765 uint64_t nd4o_rpf : 1;
1766 uint64_t nd4o_dpe : 1;
1767 uint64_t nd4o_dpf : 1;
1768 uint64_t reserved_38_63 : 26;
1771 struct cvmx_usbnx_int_sum_cn50xx cn52xx;
1772 struct cvmx_usbnx_int_sum_cn50xx cn52xxp1;
1773 struct cvmx_usbnx_int_sum_cn50xx cn56xx;
1774 struct cvmx_usbnx_int_sum_cn50xx cn56xxp1;
1776 typedef union cvmx_usbnx_int_sum cvmx_usbnx_int_sum_t;
1779 * cvmx_usbn#_usbp_ctl_status
1781 * USBN_USBP_CTL_STATUS = USBP Control And Status Register
1783 * Contains general control and status information for the USBN block.
1785 union cvmx_usbnx_usbp_ctl_status {
1787 struct cvmx_usbnx_usbp_ctl_status_s {
1788 #ifdef __BIG_ENDIAN_BITFIELD
1789 uint64_t txrisetune : 1; /**< HS Transmitter Rise/Fall Time Adjustment */
1790 uint64_t txvreftune : 4; /**< HS DC Voltage Level Adjustment */
1791 uint64_t txfslstune : 4; /**< FS/LS Source Impedence Adjustment */
1792 uint64_t txhsxvtune : 2; /**< Transmitter High-Speed Crossover Adjustment */
1793 uint64_t sqrxtune : 3; /**< Squelch Threshold Adjustment */
1794 uint64_t compdistune : 3; /**< Disconnect Threshold Adjustment */
1795 uint64_t otgtune : 3; /**< VBUS Valid Threshold Adjustment */
1796 uint64_t otgdisable : 1; /**< OTG Block Disable */
1797 uint64_t portreset : 1; /**< Per_Port Reset */
1798 uint64_t drvvbus : 1; /**< Drive VBUS */
1799 uint64_t lsbist : 1; /**< Low-Speed BIST Enable. */
1800 uint64_t fsbist : 1; /**< Full-Speed BIST Enable. */
1801 uint64_t hsbist : 1; /**< High-Speed BIST Enable. */
1802 uint64_t bist_done : 1; /**< PHY Bist Done.
1803 Asserted at the end of the PHY BIST sequence. */
1804 uint64_t bist_err : 1; /**< PHY Bist Error.
1805 Indicates an internal error was detected during
1806 the BIST sequence. */
1807 uint64_t tdata_out : 4; /**< PHY Test Data Out.
1808 Presents either internaly generated signals or
1809 test register contents, based upon the value of
1810 test_data_out_sel. */
1811 uint64_t siddq : 1; /**< Drives the USBP (USB-PHY) SIDDQ input.
1812 Normally should be set to zero.
1813 When customers have no intent to use USB PHY
1814 interface, they should:
1815 - still provide 3.3V to USB_VDD33, and
1816 - tie USB_REXT to 3.3V supply, and
1817 - set USBN*_USBP_CTL_STATUS[SIDDQ]=1 */
1818 uint64_t txpreemphasistune : 1; /**< HS Transmitter Pre-Emphasis Enable */
1819 uint64_t dma_bmode : 1; /**< When set to 1 the L2C DMA address will be updated
1820 with byte-counts between packets. When set to 0
1821 the L2C DMA address is incremented to the next
1822 4-byte aligned address after adding byte-count. */
1823 uint64_t usbc_end : 1; /**< Bigendian input to the USB Core. This should be
1824 set to '0' for operation. */
1825 uint64_t usbp_bist : 1; /**< PHY, This is cleared '0' to run BIST on the USBP. */
1826 uint64_t tclk : 1; /**< PHY Test Clock, used to load TDATA_IN to the USBP. */
1827 uint64_t dp_pulld : 1; /**< PHY DP_PULLDOWN input to the USB-PHY.
1828 This signal enables the pull-down resistance on
1829 the D+ line. '1' pull down-resistance is connected
1830 to D+/ '0' pull down resistance is not connected
1831 to D+. When an A/B device is acting as a host
1832 (downstream-facing port), dp_pulldown and
1833 dm_pulldown are enabled. This must not toggle
1834 during normal opeartion. */
1835 uint64_t dm_pulld : 1; /**< PHY DM_PULLDOWN input to the USB-PHY.
1836 This signal enables the pull-down resistance on
1837 the D- line. '1' pull down-resistance is connected
1838 to D-. '0' pull down resistance is not connected
1839 to D-. When an A/B device is acting as a host
1840 (downstream-facing port), dp_pulldown and
1841 dm_pulldown are enabled. This must not toggle
1842 during normal opeartion. */
1843 uint64_t hst_mode : 1; /**< When '0' the USB is acting as HOST, when '1'
1844 USB is acting as device. This field needs to be
1845 set while the USB is in reset. */
1846 uint64_t tuning : 4; /**< Transmitter Tuning for High-Speed Operation.
1847 Tunes the current supply and rise/fall output
1848 times for high-speed operation.
1849 [20:19] == 11: Current supply increased
1851 [20:19] == 10: Current supply increased
1853 [20:19] == 01: Design default.
1854 [20:19] == 00: Current supply decreased
1856 [22:21] == 11: Rise and fall times are increased.
1857 [22:21] == 10: Design default.
1858 [22:21] == 01: Rise and fall times are decreased.
1859 [22:21] == 00: Rise and fall times are decreased
1860 further as compared to the 01 setting. */
1861 uint64_t tx_bs_enh : 1; /**< Transmit Bit Stuffing on [15:8].
1862 Enables or disables bit stuffing on data[15:8]
1863 when bit-stuffing is enabled. */
1864 uint64_t tx_bs_en : 1; /**< Transmit Bit Stuffing on [7:0].
1865 Enables or disables bit stuffing on data[7:0]
1866 when bit-stuffing is enabled. */
1867 uint64_t loop_enb : 1; /**< PHY Loopback Test Enable.
1868 '1': During data transmission the receive is
1870 '0': During data transmission the receive is
1872 Must be '0' for normal operation. */
1873 uint64_t vtest_enb : 1; /**< Analog Test Pin Enable.
1874 '1' The PHY's analog_test pin is enabled for the
1875 input and output of applicable analog test signals.
1876 '0' THe analog_test pin is disabled. */
1877 uint64_t bist_enb : 1; /**< Built-In Self Test Enable.
1878 Used to activate BIST in the PHY. */
1879 uint64_t tdata_sel : 1; /**< Test Data Out Select.
1880 '1' test_data_out[3:0] (PHY) register contents
1881 are output. '0' internaly generated signals are
1883 uint64_t taddr_in : 4; /**< Mode Address for Test Interface.
1884 Specifies the register address for writing to or
1885 reading from the PHY test interface register. */
1886 uint64_t tdata_in : 8; /**< Internal Testing Register Input Data and Select
1887 This is a test bus. Data is present on [3:0],
1888 and its corresponding select (enable) is present
1890 uint64_t ate_reset : 1; /**< Reset input from automatic test equipment.
1891 This is a test signal. When the USB Core is
1892 powered up (not in Susned Mode), an automatic
1893 tester can use this to disable phy_clock and
1894 free_clk, then re-eanable them with an aligned
1896 '1': The phy_clk and free_clk outputs are
1897 disabled. "0": The phy_clock and free_clk outputs
1898 are available within a specific period after the
1901 uint64_t ate_reset : 1;
1902 uint64_t tdata_in : 8;
1903 uint64_t taddr_in : 4;
1904 uint64_t tdata_sel : 1;
1905 uint64_t bist_enb : 1;
1906 uint64_t vtest_enb : 1;
1907 uint64_t loop_enb : 1;
1908 uint64_t tx_bs_en : 1;
1909 uint64_t tx_bs_enh : 1;
1910 uint64_t tuning : 4;
1911 uint64_t hst_mode : 1;
1912 uint64_t dm_pulld : 1;
1913 uint64_t dp_pulld : 1;
1915 uint64_t usbp_bist : 1;
1916 uint64_t usbc_end : 1;
1917 uint64_t dma_bmode : 1;
1918 uint64_t txpreemphasistune : 1;
1920 uint64_t tdata_out : 4;
1921 uint64_t bist_err : 1;
1922 uint64_t bist_done : 1;
1923 uint64_t hsbist : 1;
1924 uint64_t fsbist : 1;
1925 uint64_t lsbist : 1;
1926 uint64_t drvvbus : 1;
1927 uint64_t portreset : 1;
1928 uint64_t otgdisable : 1;
1929 uint64_t otgtune : 3;
1930 uint64_t compdistune : 3;
1931 uint64_t sqrxtune : 3;
1932 uint64_t txhsxvtune : 2;
1933 uint64_t txfslstune : 4;
1934 uint64_t txvreftune : 4;
1935 uint64_t txrisetune : 1;
1938 struct cvmx_usbnx_usbp_ctl_status_cn30xx {
1939 #ifdef __BIG_ENDIAN_BITFIELD
1940 uint64_t reserved_38_63 : 26;
1941 uint64_t bist_done : 1; /**< PHY Bist Done.
1942 Asserted at the end of the PHY BIST sequence. */
1943 uint64_t bist_err : 1; /**< PHY Bist Error.
1944 Indicates an internal error was detected during
1945 the BIST sequence. */
1946 uint64_t tdata_out : 4; /**< PHY Test Data Out.
1947 Presents either internaly generated signals or
1948 test register contents, based upon the value of
1949 test_data_out_sel. */
1950 uint64_t reserved_30_31 : 2;
1951 uint64_t dma_bmode : 1; /**< When set to 1 the L2C DMA address will be updated
1952 with byte-counts between packets. When set to 0
1953 the L2C DMA address is incremented to the next
1954 4-byte aligned address after adding byte-count. */
1955 uint64_t usbc_end : 1; /**< Bigendian input to the USB Core. This should be
1956 set to '0' for operation. */
1957 uint64_t usbp_bist : 1; /**< PHY, This is cleared '0' to run BIST on the USBP. */
1958 uint64_t tclk : 1; /**< PHY Test Clock, used to load TDATA_IN to the USBP. */
1959 uint64_t dp_pulld : 1; /**< PHY DP_PULLDOWN input to the USB-PHY.
1960 This signal enables the pull-down resistance on
1961 the D+ line. '1' pull down-resistance is connected
1962 to D+/ '0' pull down resistance is not connected
1963 to D+. When an A/B device is acting as a host
1964 (downstream-facing port), dp_pulldown and
1965 dm_pulldown are enabled. This must not toggle
1966 during normal opeartion. */
1967 uint64_t dm_pulld : 1; /**< PHY DM_PULLDOWN input to the USB-PHY.
1968 This signal enables the pull-down resistance on
1969 the D- line. '1' pull down-resistance is connected
1970 to D-. '0' pull down resistance is not connected
1971 to D-. When an A/B device is acting as a host
1972 (downstream-facing port), dp_pulldown and
1973 dm_pulldown are enabled. This must not toggle
1974 during normal opeartion. */
1975 uint64_t hst_mode : 1; /**< When '0' the USB is acting as HOST, when '1'
1976 USB is acting as device. This field needs to be
1977 set while the USB is in reset. */
1978 uint64_t tuning : 4; /**< Transmitter Tuning for High-Speed Operation.
1979 Tunes the current supply and rise/fall output
1980 times for high-speed operation.
1981 [20:19] == 11: Current supply increased
1983 [20:19] == 10: Current supply increased
1985 [20:19] == 01: Design default.
1986 [20:19] == 00: Current supply decreased
1988 [22:21] == 11: Rise and fall times are increased.
1989 [22:21] == 10: Design default.
1990 [22:21] == 01: Rise and fall times are decreased.
1991 [22:21] == 00: Rise and fall times are decreased
1992 further as compared to the 01 setting. */
1993 uint64_t tx_bs_enh : 1; /**< Transmit Bit Stuffing on [15:8].
1994 Enables or disables bit stuffing on data[15:8]
1995 when bit-stuffing is enabled. */
1996 uint64_t tx_bs_en : 1; /**< Transmit Bit Stuffing on [7:0].
1997 Enables or disables bit stuffing on data[7:0]
1998 when bit-stuffing is enabled. */
1999 uint64_t loop_enb : 1; /**< PHY Loopback Test Enable.
2000 '1': During data transmission the receive is
2002 '0': During data transmission the receive is
2004 Must be '0' for normal operation. */
2005 uint64_t vtest_enb : 1; /**< Analog Test Pin Enable.
2006 '1' The PHY's analog_test pin is enabled for the
2007 input and output of applicable analog test signals.
2008 '0' THe analog_test pin is disabled. */
2009 uint64_t bist_enb : 1; /**< Built-In Self Test Enable.
2010 Used to activate BIST in the PHY. */
2011 uint64_t tdata_sel : 1; /**< Test Data Out Select.
2012 '1' test_data_out[3:0] (PHY) register contents
2013 are output. '0' internaly generated signals are
2015 uint64_t taddr_in : 4; /**< Mode Address for Test Interface.
2016 Specifies the register address for writing to or
2017 reading from the PHY test interface register. */
2018 uint64_t tdata_in : 8; /**< Internal Testing Register Input Data and Select
2019 This is a test bus. Data is present on [3:0],
2020 and its corresponding select (enable) is present
2022 uint64_t ate_reset : 1; /**< Reset input from automatic test equipment.
2023 This is a test signal. When the USB Core is
2024 powered up (not in Susned Mode), an automatic
2025 tester can use this to disable phy_clock and
2026 free_clk, then re-eanable them with an aligned
2028 '1': The phy_clk and free_clk outputs are
2029 disabled. "0": The phy_clock and free_clk outputs
2030 are available within a specific period after the
2033 uint64_t ate_reset : 1;
2034 uint64_t tdata_in : 8;
2035 uint64_t taddr_in : 4;
2036 uint64_t tdata_sel : 1;
2037 uint64_t bist_enb : 1;
2038 uint64_t vtest_enb : 1;
2039 uint64_t loop_enb : 1;
2040 uint64_t tx_bs_en : 1;
2041 uint64_t tx_bs_enh : 1;
2042 uint64_t tuning : 4;
2043 uint64_t hst_mode : 1;
2044 uint64_t dm_pulld : 1;
2045 uint64_t dp_pulld : 1;
2047 uint64_t usbp_bist : 1;
2048 uint64_t usbc_end : 1;
2049 uint64_t dma_bmode : 1;
2050 uint64_t reserved_30_31 : 2;
2051 uint64_t tdata_out : 4;
2052 uint64_t bist_err : 1;
2053 uint64_t bist_done : 1;
2054 uint64_t reserved_38_63 : 26;
2057 struct cvmx_usbnx_usbp_ctl_status_cn30xx cn31xx;
2058 struct cvmx_usbnx_usbp_ctl_status_cn50xx {
2059 #ifdef __BIG_ENDIAN_BITFIELD
2060 uint64_t txrisetune : 1; /**< HS Transmitter Rise/Fall Time Adjustment */
2061 uint64_t txvreftune : 4; /**< HS DC Voltage Level Adjustment */
2062 uint64_t txfslstune : 4; /**< FS/LS Source Impedence Adjustment */
2063 uint64_t txhsxvtune : 2; /**< Transmitter High-Speed Crossover Adjustment */
2064 uint64_t sqrxtune : 3; /**< Squelch Threshold Adjustment */
2065 uint64_t compdistune : 3; /**< Disconnect Threshold Adjustment */
2066 uint64_t otgtune : 3; /**< VBUS Valid Threshold Adjustment */
2067 uint64_t otgdisable : 1; /**< OTG Block Disable */
2068 uint64_t portreset : 1; /**< Per_Port Reset */
2069 uint64_t drvvbus : 1; /**< Drive VBUS */
2070 uint64_t lsbist : 1; /**< Low-Speed BIST Enable. */
2071 uint64_t fsbist : 1; /**< Full-Speed BIST Enable. */
2072 uint64_t hsbist : 1; /**< High-Speed BIST Enable. */
2073 uint64_t bist_done : 1; /**< PHY Bist Done.
2074 Asserted at the end of the PHY BIST sequence. */
2075 uint64_t bist_err : 1; /**< PHY Bist Error.
2076 Indicates an internal error was detected during
2077 the BIST sequence. */
2078 uint64_t tdata_out : 4; /**< PHY Test Data Out.
2079 Presents either internaly generated signals or
2080 test register contents, based upon the value of
2081 test_data_out_sel. */
2082 uint64_t reserved_31_31 : 1;
2083 uint64_t txpreemphasistune : 1; /**< HS Transmitter Pre-Emphasis Enable */
2084 uint64_t dma_bmode : 1; /**< When set to 1 the L2C DMA address will be updated
2085 with byte-counts between packets. When set to 0
2086 the L2C DMA address is incremented to the next
2087 4-byte aligned address after adding byte-count. */
2088 uint64_t usbc_end : 1; /**< Bigendian input to the USB Core. This should be
2089 set to '0' for operation. */
2090 uint64_t usbp_bist : 1; /**< PHY, This is cleared '0' to run BIST on the USBP. */
2091 uint64_t tclk : 1; /**< PHY Test Clock, used to load TDATA_IN to the USBP. */
2092 uint64_t dp_pulld : 1; /**< PHY DP_PULLDOWN input to the USB-PHY.
2093 This signal enables the pull-down resistance on
2094 the D+ line. '1' pull down-resistance is connected
2095 to D+/ '0' pull down resistance is not connected
2096 to D+. When an A/B device is acting as a host
2097 (downstream-facing port), dp_pulldown and
2098 dm_pulldown are enabled. This must not toggle
2099 during normal opeartion. */
2100 uint64_t dm_pulld : 1; /**< PHY DM_PULLDOWN input to the USB-PHY.
2101 This signal enables the pull-down resistance on
2102 the D- line. '1' pull down-resistance is connected
2103 to D-. '0' pull down resistance is not connected
2104 to D-. When an A/B device is acting as a host
2105 (downstream-facing port), dp_pulldown and
2106 dm_pulldown are enabled. This must not toggle
2107 during normal opeartion. */
2108 uint64_t hst_mode : 1; /**< When '0' the USB is acting as HOST, when '1'
2109 USB is acting as device. This field needs to be
2110 set while the USB is in reset. */
2111 uint64_t reserved_19_22 : 4;
2112 uint64_t tx_bs_enh : 1; /**< Transmit Bit Stuffing on [15:8].
2113 Enables or disables bit stuffing on data[15:8]
2114 when bit-stuffing is enabled. */
2115 uint64_t tx_bs_en : 1; /**< Transmit Bit Stuffing on [7:0].
2116 Enables or disables bit stuffing on data[7:0]
2117 when bit-stuffing is enabled. */
2118 uint64_t loop_enb : 1; /**< PHY Loopback Test Enable.
2119 '1': During data transmission the receive is
2121 '0': During data transmission the receive is
2123 Must be '0' for normal operation. */
2124 uint64_t vtest_enb : 1; /**< Analog Test Pin Enable.
2125 '1' The PHY's analog_test pin is enabled for the
2126 input and output of applicable analog test signals.
2127 '0' THe analog_test pin is disabled. */
2128 uint64_t bist_enb : 1; /**< Built-In Self Test Enable.
2129 Used to activate BIST in the PHY. */
2130 uint64_t tdata_sel : 1; /**< Test Data Out Select.
2131 '1' test_data_out[3:0] (PHY) register contents
2132 are output. '0' internaly generated signals are
2134 uint64_t taddr_in : 4; /**< Mode Address for Test Interface.
2135 Specifies the register address for writing to or
2136 reading from the PHY test interface register. */
2137 uint64_t tdata_in : 8; /**< Internal Testing Register Input Data and Select
2138 This is a test bus. Data is present on [3:0],
2139 and its corresponding select (enable) is present
2141 uint64_t ate_reset : 1; /**< Reset input from automatic test equipment.
2142 This is a test signal. When the USB Core is
2143 powered up (not in Susned Mode), an automatic
2144 tester can use this to disable phy_clock and
2145 free_clk, then re-eanable them with an aligned
2147 '1': The phy_clk and free_clk outputs are
2148 disabled. "0": The phy_clock and free_clk outputs
2149 are available within a specific period after the
2152 uint64_t ate_reset : 1;
2153 uint64_t tdata_in : 8;
2154 uint64_t taddr_in : 4;
2155 uint64_t tdata_sel : 1;
2156 uint64_t bist_enb : 1;
2157 uint64_t vtest_enb : 1;
2158 uint64_t loop_enb : 1;
2159 uint64_t tx_bs_en : 1;
2160 uint64_t tx_bs_enh : 1;
2161 uint64_t reserved_19_22 : 4;
2162 uint64_t hst_mode : 1;
2163 uint64_t dm_pulld : 1;
2164 uint64_t dp_pulld : 1;
2166 uint64_t usbp_bist : 1;
2167 uint64_t usbc_end : 1;
2168 uint64_t dma_bmode : 1;
2169 uint64_t txpreemphasistune : 1;
2170 uint64_t reserved_31_31 : 1;
2171 uint64_t tdata_out : 4;
2172 uint64_t bist_err : 1;
2173 uint64_t bist_done : 1;
2174 uint64_t hsbist : 1;
2175 uint64_t fsbist : 1;
2176 uint64_t lsbist : 1;
2177 uint64_t drvvbus : 1;
2178 uint64_t portreset : 1;
2179 uint64_t otgdisable : 1;
2180 uint64_t otgtune : 3;
2181 uint64_t compdistune : 3;
2182 uint64_t sqrxtune : 3;
2183 uint64_t txhsxvtune : 2;
2184 uint64_t txfslstune : 4;
2185 uint64_t txvreftune : 4;
2186 uint64_t txrisetune : 1;
2189 struct cvmx_usbnx_usbp_ctl_status_cn52xx {
2190 #ifdef __BIG_ENDIAN_BITFIELD
2191 uint64_t txrisetune : 1; /**< HS Transmitter Rise/Fall Time Adjustment */
2192 uint64_t txvreftune : 4; /**< HS DC Voltage Level Adjustment */
2193 uint64_t txfslstune : 4; /**< FS/LS Source Impedence Adjustment */
2194 uint64_t txhsxvtune : 2; /**< Transmitter High-Speed Crossover Adjustment */
2195 uint64_t sqrxtune : 3; /**< Squelch Threshold Adjustment */
2196 uint64_t compdistune : 3; /**< Disconnect Threshold Adjustment */
2197 uint64_t otgtune : 3; /**< VBUS Valid Threshold Adjustment */
2198 uint64_t otgdisable : 1; /**< OTG Block Disable */
2199 uint64_t portreset : 1; /**< Per_Port Reset */
2200 uint64_t drvvbus : 1; /**< Drive VBUS */
2201 uint64_t lsbist : 1; /**< Low-Speed BIST Enable. */
2202 uint64_t fsbist : 1; /**< Full-Speed BIST Enable. */
2203 uint64_t hsbist : 1; /**< High-Speed BIST Enable. */
2204 uint64_t bist_done : 1; /**< PHY Bist Done.
2205 Asserted at the end of the PHY BIST sequence. */
2206 uint64_t bist_err : 1; /**< PHY Bist Error.
2207 Indicates an internal error was detected during
2208 the BIST sequence. */
2209 uint64_t tdata_out : 4; /**< PHY Test Data Out.
2210 Presents either internaly generated signals or
2211 test register contents, based upon the value of
2212 test_data_out_sel. */
2213 uint64_t siddq : 1; /**< Drives the USBP (USB-PHY) SIDDQ input.
2214 Normally should be set to zero.
2215 When customers have no intent to use USB PHY
2216 interface, they should:
2217 - still provide 3.3V to USB_VDD33, and
2218 - tie USB_REXT to 3.3V supply, and
2219 - set USBN*_USBP_CTL_STATUS[SIDDQ]=1 */
2220 uint64_t txpreemphasistune : 1; /**< HS Transmitter Pre-Emphasis Enable */
2221 uint64_t dma_bmode : 1; /**< When set to 1 the L2C DMA address will be updated
2222 with byte-counts between packets. When set to 0
2223 the L2C DMA address is incremented to the next
2224 4-byte aligned address after adding byte-count. */
2225 uint64_t usbc_end : 1; /**< Bigendian input to the USB Core. This should be
2226 set to '0' for operation. */
2227 uint64_t usbp_bist : 1; /**< PHY, This is cleared '0' to run BIST on the USBP. */
2228 uint64_t tclk : 1; /**< PHY Test Clock, used to load TDATA_IN to the USBP. */
2229 uint64_t dp_pulld : 1; /**< PHY DP_PULLDOWN input to the USB-PHY.
2230 This signal enables the pull-down resistance on
2231 the D+ line. '1' pull down-resistance is connected
2232 to D+/ '0' pull down resistance is not connected
2233 to D+. When an A/B device is acting as a host
2234 (downstream-facing port), dp_pulldown and
2235 dm_pulldown are enabled. This must not toggle
2236 during normal opeartion. */
2237 uint64_t dm_pulld : 1; /**< PHY DM_PULLDOWN input to the USB-PHY.
2238 This signal enables the pull-down resistance on
2239 the D- line. '1' pull down-resistance is connected
2240 to D-. '0' pull down resistance is not connected
2241 to D-. When an A/B device is acting as a host
2242 (downstream-facing port), dp_pulldown and
2243 dm_pulldown are enabled. This must not toggle
2244 during normal opeartion. */
2245 uint64_t hst_mode : 1; /**< When '0' the USB is acting as HOST, when '1'
2246 USB is acting as device. This field needs to be
2247 set while the USB is in reset. */
2248 uint64_t reserved_19_22 : 4;
2249 uint64_t tx_bs_enh : 1; /**< Transmit Bit Stuffing on [15:8].
2250 Enables or disables bit stuffing on data[15:8]
2251 when bit-stuffing is enabled. */
2252 uint64_t tx_bs_en : 1; /**< Transmit Bit Stuffing on [7:0].
2253 Enables or disables bit stuffing on data[7:0]
2254 when bit-stuffing is enabled. */
2255 uint64_t loop_enb : 1; /**< PHY Loopback Test Enable.
2256 '1': During data transmission the receive is
2258 '0': During data transmission the receive is
2260 Must be '0' for normal operation. */
2261 uint64_t vtest_enb : 1; /**< Analog Test Pin Enable.
2262 '1' The PHY's analog_test pin is enabled for the
2263 input and output of applicable analog test signals.
2264 '0' THe analog_test pin is disabled. */
2265 uint64_t bist_enb : 1; /**< Built-In Self Test Enable.
2266 Used to activate BIST in the PHY. */
2267 uint64_t tdata_sel : 1; /**< Test Data Out Select.
2268 '1' test_data_out[3:0] (PHY) register contents
2269 are output. '0' internaly generated signals are
2271 uint64_t taddr_in : 4; /**< Mode Address for Test Interface.
2272 Specifies the register address for writing to or
2273 reading from the PHY test interface register. */
2274 uint64_t tdata_in : 8; /**< Internal Testing Register Input Data and Select
2275 This is a test bus. Data is present on [3:0],
2276 and its corresponding select (enable) is present
2278 uint64_t ate_reset : 1; /**< Reset input from automatic test equipment.
2279 This is a test signal. When the USB Core is
2280 powered up (not in Susned Mode), an automatic
2281 tester can use this to disable phy_clock and
2282 free_clk, then re-eanable them with an aligned
2284 '1': The phy_clk and free_clk outputs are
2285 disabled. "0": The phy_clock and free_clk outputs
2286 are available within a specific period after the
2289 uint64_t ate_reset : 1;
2290 uint64_t tdata_in : 8;
2291 uint64_t taddr_in : 4;
2292 uint64_t tdata_sel : 1;
2293 uint64_t bist_enb : 1;
2294 uint64_t vtest_enb : 1;
2295 uint64_t loop_enb : 1;
2296 uint64_t tx_bs_en : 1;
2297 uint64_t tx_bs_enh : 1;
2298 uint64_t reserved_19_22 : 4;
2299 uint64_t hst_mode : 1;
2300 uint64_t dm_pulld : 1;
2301 uint64_t dp_pulld : 1;
2303 uint64_t usbp_bist : 1;
2304 uint64_t usbc_end : 1;
2305 uint64_t dma_bmode : 1;
2306 uint64_t txpreemphasistune : 1;
2308 uint64_t tdata_out : 4;
2309 uint64_t bist_err : 1;
2310 uint64_t bist_done : 1;
2311 uint64_t hsbist : 1;
2312 uint64_t fsbist : 1;
2313 uint64_t lsbist : 1;
2314 uint64_t drvvbus : 1;
2315 uint64_t portreset : 1;
2316 uint64_t otgdisable : 1;
2317 uint64_t otgtune : 3;
2318 uint64_t compdistune : 3;
2319 uint64_t sqrxtune : 3;
2320 uint64_t txhsxvtune : 2;
2321 uint64_t txfslstune : 4;
2322 uint64_t txvreftune : 4;
2323 uint64_t txrisetune : 1;
2326 struct cvmx_usbnx_usbp_ctl_status_cn50xx cn52xxp1;
2327 struct cvmx_usbnx_usbp_ctl_status_cn52xx cn56xx;
2328 struct cvmx_usbnx_usbp_ctl_status_cn50xx cn56xxp1;
2330 typedef union cvmx_usbnx_usbp_ctl_status cvmx_usbnx_usbp_ctl_status_t;