source: rtems/c/src/lib/libbsp/arm/altera-cyclone-v/hwlib/include/socal/alt_acpidmap.h @ 9907dde

4.115
Last change on this file since 9907dde was 9907dde, checked in by Sebastian Huber <sebastian.huber@…>, on 08/26/14 at 14:59:56

bsp/altera-cyclone-v: Update to hwlib 13.1

This version is distributed with SoC EDS 14.0.0.200.

  • Property mode set to 100644
File size: 170.2 KB
Line 
1/*******************************************************************************
2*                                                                              *
3* Copyright 2013 Altera Corporation. All Rights Reserved.                      *
4*                                                                              *
5* Redistribution and use in source and binary forms, with or without           *
6* modification, are permitted provided that the following conditions are met:  *
7*                                                                              *
8* 1. Redistributions of source code must retain the above copyright notice,    *
9*    this list of conditions and the following disclaimer.                     *
10*                                                                              *
11* 2. Redistributions in binary form must reproduce the above copyright notice, *
12*    this list of conditions and the following disclaimer in the documentation *
13*    and/or other materials provided with the distribution.                    *
14*                                                                              *
15* 3. The name of the author may not be used to endorse or promote products     *
16*    derived from this software without specific prior written permission.     *
17*                                                                              *
18* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR *
19* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF *
20* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO  *
21* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,       *
22* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, *
23* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;  *
24* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,     *
25* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR      *
26* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF       *
27* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                                   *
28*                                                                              *
29*******************************************************************************/
30
31/* Altera - ALT_ACPIDMAP */
32
33#ifndef __ALTERA_ALT_ACPIDMAP_H__
34#define __ALTERA_ALT_ACPIDMAP_H__
35
36#ifdef __cplusplus
37extern "C"
38{
39#endif  /* __cplusplus */
40
41/*
42 * Component : ACP ID Mapper Registers - ALT_ACPIDMAP
43 * ACP ID Mapper Registers
44 *
45 * Registers in the ACP ID Mapper module
46 *
47 */
48/*
49 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 2 - vid2rd
50 *
51 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID
52 * signals mapping values for particular transaction with 12-bit ID which locks the
53 * fixed 3-bit virtual ID.
54 *
55 * Register Layout
56 *
57 *  Bits    | Access | Reset | Description                 
58 * :--------|:-------|:------|:-----------------------------
59 *  [3:0]   | ???    | 0x0   | *UNDEFINED*                 
60 *  [8:4]   | RW     | 0x1   | ARUSER value to SCU for ID=2
61 *  [11:9]  | ???    | 0x0   | *UNDEFINED*                 
62 *  [13:12] | RW     | 0x0   | ARADDR 1GB Page Decoder     
63 *  [15:14] | ???    | 0x0   | *UNDEFINED*                 
64 *  [27:16] | RW     | 0x4   | Remap Master ID = DAP ID   
65 *  [30:28] | ???    | 0x0   | *UNDEFINED*                 
66 *  [31]    | RW     | 0x1   | Force Mapping for ID=2     
67 *
68 */
69/*
70 * Field : ARUSER value to SCU for ID=2 - user
71 *
72 * This value is propagated to SCU as ARUSERS.
73 *
74 * Field Access Macros:
75 *
76 */
77/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_USER register field. */
78#define ALT_ACPIDMAP_VID2RD_USER_LSB        4
79/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_USER register field. */
80#define ALT_ACPIDMAP_VID2RD_USER_MSB        8
81/* The width in bits of the ALT_ACPIDMAP_VID2RD_USER register field. */
82#define ALT_ACPIDMAP_VID2RD_USER_WIDTH      5
83/* The mask used to set the ALT_ACPIDMAP_VID2RD_USER register field value. */
84#define ALT_ACPIDMAP_VID2RD_USER_SET_MSK    0x000001f0
85/* The mask used to clear the ALT_ACPIDMAP_VID2RD_USER register field value. */
86#define ALT_ACPIDMAP_VID2RD_USER_CLR_MSK    0xfffffe0f
87/* The reset value of the ALT_ACPIDMAP_VID2RD_USER register field. */
88#define ALT_ACPIDMAP_VID2RD_USER_RESET      0x1
89/* Extracts the ALT_ACPIDMAP_VID2RD_USER field value from a register. */
90#define ALT_ACPIDMAP_VID2RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
91/* Produces a ALT_ACPIDMAP_VID2RD_USER register field value suitable for setting the register. */
92#define ALT_ACPIDMAP_VID2RD_USER_SET(value) (((value) << 4) & 0x000001f0)
93
94/*
95 * Field : ARADDR 1GB Page Decoder - page
96 *
97 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
98 *
99 * Field Access Macros:
100 *
101 */
102/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_PAGE register field. */
103#define ALT_ACPIDMAP_VID2RD_PAGE_LSB        12
104/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_PAGE register field. */
105#define ALT_ACPIDMAP_VID2RD_PAGE_MSB        13
106/* The width in bits of the ALT_ACPIDMAP_VID2RD_PAGE register field. */
107#define ALT_ACPIDMAP_VID2RD_PAGE_WIDTH      2
108/* The mask used to set the ALT_ACPIDMAP_VID2RD_PAGE register field value. */
109#define ALT_ACPIDMAP_VID2RD_PAGE_SET_MSK    0x00003000
110/* The mask used to clear the ALT_ACPIDMAP_VID2RD_PAGE register field value. */
111#define ALT_ACPIDMAP_VID2RD_PAGE_CLR_MSK    0xffffcfff
112/* The reset value of the ALT_ACPIDMAP_VID2RD_PAGE register field. */
113#define ALT_ACPIDMAP_VID2RD_PAGE_RESET      0x0
114/* Extracts the ALT_ACPIDMAP_VID2RD_PAGE field value from a register. */
115#define ALT_ACPIDMAP_VID2RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
116/* Produces a ALT_ACPIDMAP_VID2RD_PAGE register field value suitable for setting the register. */
117#define ALT_ACPIDMAP_VID2RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
118
119/*
120 * Field : Remap Master ID = DAP ID - mid
121 *
122 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
123 * ID to use.
124 *
125 * Field Access Macros:
126 *
127 */
128/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_MID register field. */
129#define ALT_ACPIDMAP_VID2RD_MID_LSB        16
130/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_MID register field. */
131#define ALT_ACPIDMAP_VID2RD_MID_MSB        27
132/* The width in bits of the ALT_ACPIDMAP_VID2RD_MID register field. */
133#define ALT_ACPIDMAP_VID2RD_MID_WIDTH      12
134/* The mask used to set the ALT_ACPIDMAP_VID2RD_MID register field value. */
135#define ALT_ACPIDMAP_VID2RD_MID_SET_MSK    0x0fff0000
136/* The mask used to clear the ALT_ACPIDMAP_VID2RD_MID register field value. */
137#define ALT_ACPIDMAP_VID2RD_MID_CLR_MSK    0xf000ffff
138/* The reset value of the ALT_ACPIDMAP_VID2RD_MID register field. */
139#define ALT_ACPIDMAP_VID2RD_MID_RESET      0x4
140/* Extracts the ALT_ACPIDMAP_VID2RD_MID field value from a register. */
141#define ALT_ACPIDMAP_VID2RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
142/* Produces a ALT_ACPIDMAP_VID2RD_MID register field value suitable for setting the register. */
143#define ALT_ACPIDMAP_VID2RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
144
145/*
146 * Field : Force Mapping for ID=2 - force
147 *
148 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
149 * to 0 to allow the 3-bit ID N to be dynamically allocated.
150 *
151 * Field Access Macros:
152 *
153 */
154/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_FORCE register field. */
155#define ALT_ACPIDMAP_VID2RD_FORCE_LSB        31
156/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_FORCE register field. */
157#define ALT_ACPIDMAP_VID2RD_FORCE_MSB        31
158/* The width in bits of the ALT_ACPIDMAP_VID2RD_FORCE register field. */
159#define ALT_ACPIDMAP_VID2RD_FORCE_WIDTH      1
160/* The mask used to set the ALT_ACPIDMAP_VID2RD_FORCE register field value. */
161#define ALT_ACPIDMAP_VID2RD_FORCE_SET_MSK    0x80000000
162/* The mask used to clear the ALT_ACPIDMAP_VID2RD_FORCE register field value. */
163#define ALT_ACPIDMAP_VID2RD_FORCE_CLR_MSK    0x7fffffff
164/* The reset value of the ALT_ACPIDMAP_VID2RD_FORCE register field. */
165#define ALT_ACPIDMAP_VID2RD_FORCE_RESET      0x1
166/* Extracts the ALT_ACPIDMAP_VID2RD_FORCE field value from a register. */
167#define ALT_ACPIDMAP_VID2RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
168/* Produces a ALT_ACPIDMAP_VID2RD_FORCE register field value suitable for setting the register. */
169#define ALT_ACPIDMAP_VID2RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
170
171#ifndef __ASSEMBLY__
172/*
173 * WARNING: The C register and register group struct declarations are provided for
174 * convenience and illustrative purposes. They should, however, be used with
175 * caution as the C language standard provides no guarantees about the alignment or
176 * atomicity of device memory accesses. The recommended practice for writing
177 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
178 * alt_write_word() functions.
179 *
180 * The struct declaration for register ALT_ACPIDMAP_VID2RD.
181 */
182struct ALT_ACPIDMAP_VID2RD_s
183{
184    uint32_t        :  4;  /* *UNDEFINED* */
185    uint32_t  user  :  5;  /* ARUSER value to SCU for ID=2 */
186    uint32_t        :  3;  /* *UNDEFINED* */
187    uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder */
188    uint32_t        :  2;  /* *UNDEFINED* */
189    uint32_t  mid   : 12;  /* Remap Master ID = DAP ID */
190    uint32_t        :  3;  /* *UNDEFINED* */
191    uint32_t  force :  1;  /* Force Mapping for ID=2 */
192};
193
194/* The typedef declaration for register ALT_ACPIDMAP_VID2RD. */
195typedef volatile struct ALT_ACPIDMAP_VID2RD_s  ALT_ACPIDMAP_VID2RD_t;
196#endif  /* __ASSEMBLY__ */
197
198/* The byte offset of the ALT_ACPIDMAP_VID2RD register from the beginning of the component. */
199#define ALT_ACPIDMAP_VID2RD_OFST        0x0
200
201/*
202 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 2 - vid2wr
203 *
204 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID
205 * signals mapping values for particular transaction with 12-bit ID which locks the
206 * fixed 3-bit virtual ID.
207 *
208 * Register Layout
209 *
210 *  Bits    | Access | Reset | Description                 
211 * :--------|:-------|:------|:-----------------------------
212 *  [3:0]   | ???    | 0x0   | *UNDEFINED*                 
213 *  [8:4]   | RW     | 0x1   | AWUSER value to SCU for ID=2
214 *  [11:9]  | ???    | 0x0   | *UNDEFINED*                 
215 *  [13:12] | RW     | 0x0   | AWADDR 1GB Page Decoder     
216 *  [15:14] | ???    | 0x0   | *UNDEFINED*                 
217 *  [27:16] | RW     | 0x4   | Remap Master ID = DAP ID   
218 *  [30:28] | ???    | 0x0   | *UNDEFINED*                 
219 *  [31]    | RW     | 0x1   | Force Mapping for ID=2     
220 *
221 */
222/*
223 * Field : AWUSER value to SCU for ID=2 - user
224 *
225 * This value is propagated to SCU as AWUSERS.
226 *
227 * Field Access Macros:
228 *
229 */
230/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_USER register field. */
231#define ALT_ACPIDMAP_VID2WR_USER_LSB        4
232/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_USER register field. */
233#define ALT_ACPIDMAP_VID2WR_USER_MSB        8
234/* The width in bits of the ALT_ACPIDMAP_VID2WR_USER register field. */
235#define ALT_ACPIDMAP_VID2WR_USER_WIDTH      5
236/* The mask used to set the ALT_ACPIDMAP_VID2WR_USER register field value. */
237#define ALT_ACPIDMAP_VID2WR_USER_SET_MSK    0x000001f0
238/* The mask used to clear the ALT_ACPIDMAP_VID2WR_USER register field value. */
239#define ALT_ACPIDMAP_VID2WR_USER_CLR_MSK    0xfffffe0f
240/* The reset value of the ALT_ACPIDMAP_VID2WR_USER register field. */
241#define ALT_ACPIDMAP_VID2WR_USER_RESET      0x1
242/* Extracts the ALT_ACPIDMAP_VID2WR_USER field value from a register. */
243#define ALT_ACPIDMAP_VID2WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
244/* Produces a ALT_ACPIDMAP_VID2WR_USER register field value suitable for setting the register. */
245#define ALT_ACPIDMAP_VID2WR_USER_SET(value) (((value) << 4) & 0x000001f0)
246
247/*
248 * Field : AWADDR 1GB Page Decoder - page
249 *
250 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
251 *
252 * Field Access Macros:
253 *
254 */
255/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_PAGE register field. */
256#define ALT_ACPIDMAP_VID2WR_PAGE_LSB        12
257/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_PAGE register field. */
258#define ALT_ACPIDMAP_VID2WR_PAGE_MSB        13
259/* The width in bits of the ALT_ACPIDMAP_VID2WR_PAGE register field. */
260#define ALT_ACPIDMAP_VID2WR_PAGE_WIDTH      2
261/* The mask used to set the ALT_ACPIDMAP_VID2WR_PAGE register field value. */
262#define ALT_ACPIDMAP_VID2WR_PAGE_SET_MSK    0x00003000
263/* The mask used to clear the ALT_ACPIDMAP_VID2WR_PAGE register field value. */
264#define ALT_ACPIDMAP_VID2WR_PAGE_CLR_MSK    0xffffcfff
265/* The reset value of the ALT_ACPIDMAP_VID2WR_PAGE register field. */
266#define ALT_ACPIDMAP_VID2WR_PAGE_RESET      0x0
267/* Extracts the ALT_ACPIDMAP_VID2WR_PAGE field value from a register. */
268#define ALT_ACPIDMAP_VID2WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
269/* Produces a ALT_ACPIDMAP_VID2WR_PAGE register field value suitable for setting the register. */
270#define ALT_ACPIDMAP_VID2WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
271
272/*
273 * Field : Remap Master ID = DAP ID - mid
274 *
275 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
276 * ID to use.
277 *
278 * Field Access Macros:
279 *
280 */
281/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_MID register field. */
282#define ALT_ACPIDMAP_VID2WR_MID_LSB        16
283/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_MID register field. */
284#define ALT_ACPIDMAP_VID2WR_MID_MSB        27
285/* The width in bits of the ALT_ACPIDMAP_VID2WR_MID register field. */
286#define ALT_ACPIDMAP_VID2WR_MID_WIDTH      12
287/* The mask used to set the ALT_ACPIDMAP_VID2WR_MID register field value. */
288#define ALT_ACPIDMAP_VID2WR_MID_SET_MSK    0x0fff0000
289/* The mask used to clear the ALT_ACPIDMAP_VID2WR_MID register field value. */
290#define ALT_ACPIDMAP_VID2WR_MID_CLR_MSK    0xf000ffff
291/* The reset value of the ALT_ACPIDMAP_VID2WR_MID register field. */
292#define ALT_ACPIDMAP_VID2WR_MID_RESET      0x4
293/* Extracts the ALT_ACPIDMAP_VID2WR_MID field value from a register. */
294#define ALT_ACPIDMAP_VID2WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
295/* Produces a ALT_ACPIDMAP_VID2WR_MID register field value suitable for setting the register. */
296#define ALT_ACPIDMAP_VID2WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
297
298/*
299 * Field : Force Mapping for ID=2 - force
300 *
301 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
302 * to 0 to allow the 3-bit ID N to be dynamically allocated.
303 *
304 * Field Access Macros:
305 *
306 */
307/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_FORCE register field. */
308#define ALT_ACPIDMAP_VID2WR_FORCE_LSB        31
309/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_FORCE register field. */
310#define ALT_ACPIDMAP_VID2WR_FORCE_MSB        31
311/* The width in bits of the ALT_ACPIDMAP_VID2WR_FORCE register field. */
312#define ALT_ACPIDMAP_VID2WR_FORCE_WIDTH      1
313/* The mask used to set the ALT_ACPIDMAP_VID2WR_FORCE register field value. */
314#define ALT_ACPIDMAP_VID2WR_FORCE_SET_MSK    0x80000000
315/* The mask used to clear the ALT_ACPIDMAP_VID2WR_FORCE register field value. */
316#define ALT_ACPIDMAP_VID2WR_FORCE_CLR_MSK    0x7fffffff
317/* The reset value of the ALT_ACPIDMAP_VID2WR_FORCE register field. */
318#define ALT_ACPIDMAP_VID2WR_FORCE_RESET      0x1
319/* Extracts the ALT_ACPIDMAP_VID2WR_FORCE field value from a register. */
320#define ALT_ACPIDMAP_VID2WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
321/* Produces a ALT_ACPIDMAP_VID2WR_FORCE register field value suitable for setting the register. */
322#define ALT_ACPIDMAP_VID2WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
323
324#ifndef __ASSEMBLY__
325/*
326 * WARNING: The C register and register group struct declarations are provided for
327 * convenience and illustrative purposes. They should, however, be used with
328 * caution as the C language standard provides no guarantees about the alignment or
329 * atomicity of device memory accesses. The recommended practice for writing
330 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
331 * alt_write_word() functions.
332 *
333 * The struct declaration for register ALT_ACPIDMAP_VID2WR.
334 */
335struct ALT_ACPIDMAP_VID2WR_s
336{
337    uint32_t        :  4;  /* *UNDEFINED* */
338    uint32_t  user  :  5;  /* AWUSER value to SCU for ID=2 */
339    uint32_t        :  3;  /* *UNDEFINED* */
340    uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder */
341    uint32_t        :  2;  /* *UNDEFINED* */
342    uint32_t  mid   : 12;  /* Remap Master ID = DAP ID */
343    uint32_t        :  3;  /* *UNDEFINED* */
344    uint32_t  force :  1;  /* Force Mapping for ID=2 */
345};
346
347/* The typedef declaration for register ALT_ACPIDMAP_VID2WR. */
348typedef volatile struct ALT_ACPIDMAP_VID2WR_s  ALT_ACPIDMAP_VID2WR_t;
349#endif  /* __ASSEMBLY__ */
350
351/* The byte offset of the ALT_ACPIDMAP_VID2WR register from the beginning of the component. */
352#define ALT_ACPIDMAP_VID2WR_OFST        0x4
353
354/*
355 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 3 - vid3rd
356 *
357 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID
358 * signals mapping values for particular transaction with 12-bit ID which locks the
359 * fixed 3-bit virtual ID.
360 *
361 * Register Layout
362 *
363 *  Bits    | Access | Reset | Description           
364 * :--------|:-------|:------|:------------------------
365 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
366 *  [8:4]   | RW     | 0x0   | ARUSER value to SCU   
367 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
368 *  [13:12] | RW     | 0x0   | ARADDR 1GB Page Decoder
369 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
370 *  [27:16] | RW     | 0x0   | Remap Master ID       
371 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
372 *  [31]    | RW     | 0x0   | Force Mapping         
373 *
374 */
375/*
376 * Field : ARUSER value to SCU - user
377 *
378 * This value is propagated to SCU as ARUSERS.
379 *
380 * Field Access Macros:
381 *
382 */
383/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_USER register field. */
384#define ALT_ACPIDMAP_VID3RD_USER_LSB        4
385/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_USER register field. */
386#define ALT_ACPIDMAP_VID3RD_USER_MSB        8
387/* The width in bits of the ALT_ACPIDMAP_VID3RD_USER register field. */
388#define ALT_ACPIDMAP_VID3RD_USER_WIDTH      5
389/* The mask used to set the ALT_ACPIDMAP_VID3RD_USER register field value. */
390#define ALT_ACPIDMAP_VID3RD_USER_SET_MSK    0x000001f0
391/* The mask used to clear the ALT_ACPIDMAP_VID3RD_USER register field value. */
392#define ALT_ACPIDMAP_VID3RD_USER_CLR_MSK    0xfffffe0f
393/* The reset value of the ALT_ACPIDMAP_VID3RD_USER register field. */
394#define ALT_ACPIDMAP_VID3RD_USER_RESET      0x0
395/* Extracts the ALT_ACPIDMAP_VID3RD_USER field value from a register. */
396#define ALT_ACPIDMAP_VID3RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
397/* Produces a ALT_ACPIDMAP_VID3RD_USER register field value suitable for setting the register. */
398#define ALT_ACPIDMAP_VID3RD_USER_SET(value) (((value) << 4) & 0x000001f0)
399
400/*
401 * Field : ARADDR 1GB Page Decoder - page
402 *
403 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
404 *
405 * Field Access Macros:
406 *
407 */
408/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_PAGE register field. */
409#define ALT_ACPIDMAP_VID3RD_PAGE_LSB        12
410/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_PAGE register field. */
411#define ALT_ACPIDMAP_VID3RD_PAGE_MSB        13
412/* The width in bits of the ALT_ACPIDMAP_VID3RD_PAGE register field. */
413#define ALT_ACPIDMAP_VID3RD_PAGE_WIDTH      2
414/* The mask used to set the ALT_ACPIDMAP_VID3RD_PAGE register field value. */
415#define ALT_ACPIDMAP_VID3RD_PAGE_SET_MSK    0x00003000
416/* The mask used to clear the ALT_ACPIDMAP_VID3RD_PAGE register field value. */
417#define ALT_ACPIDMAP_VID3RD_PAGE_CLR_MSK    0xffffcfff
418/* The reset value of the ALT_ACPIDMAP_VID3RD_PAGE register field. */
419#define ALT_ACPIDMAP_VID3RD_PAGE_RESET      0x0
420/* Extracts the ALT_ACPIDMAP_VID3RD_PAGE field value from a register. */
421#define ALT_ACPIDMAP_VID3RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
422/* Produces a ALT_ACPIDMAP_VID3RD_PAGE register field value suitable for setting the register. */
423#define ALT_ACPIDMAP_VID3RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
424
425/*
426 * Field : Remap Master ID - mid
427 *
428 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
429 * ID to use.
430 *
431 * Field Access Macros:
432 *
433 */
434/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_MID register field. */
435#define ALT_ACPIDMAP_VID3RD_MID_LSB        16
436/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_MID register field. */
437#define ALT_ACPIDMAP_VID3RD_MID_MSB        27
438/* The width in bits of the ALT_ACPIDMAP_VID3RD_MID register field. */
439#define ALT_ACPIDMAP_VID3RD_MID_WIDTH      12
440/* The mask used to set the ALT_ACPIDMAP_VID3RD_MID register field value. */
441#define ALT_ACPIDMAP_VID3RD_MID_SET_MSK    0x0fff0000
442/* The mask used to clear the ALT_ACPIDMAP_VID3RD_MID register field value. */
443#define ALT_ACPIDMAP_VID3RD_MID_CLR_MSK    0xf000ffff
444/* The reset value of the ALT_ACPIDMAP_VID3RD_MID register field. */
445#define ALT_ACPIDMAP_VID3RD_MID_RESET      0x0
446/* Extracts the ALT_ACPIDMAP_VID3RD_MID field value from a register. */
447#define ALT_ACPIDMAP_VID3RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
448/* Produces a ALT_ACPIDMAP_VID3RD_MID register field value suitable for setting the register. */
449#define ALT_ACPIDMAP_VID3RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
450
451/*
452 * Field : Force Mapping - force
453 *
454 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
455 * to 0 to allow the 3-bit ID N to be dynamically allocated.
456 *
457 * Field Access Macros:
458 *
459 */
460/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_FORCE register field. */
461#define ALT_ACPIDMAP_VID3RD_FORCE_LSB        31
462/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_FORCE register field. */
463#define ALT_ACPIDMAP_VID3RD_FORCE_MSB        31
464/* The width in bits of the ALT_ACPIDMAP_VID3RD_FORCE register field. */
465#define ALT_ACPIDMAP_VID3RD_FORCE_WIDTH      1
466/* The mask used to set the ALT_ACPIDMAP_VID3RD_FORCE register field value. */
467#define ALT_ACPIDMAP_VID3RD_FORCE_SET_MSK    0x80000000
468/* The mask used to clear the ALT_ACPIDMAP_VID3RD_FORCE register field value. */
469#define ALT_ACPIDMAP_VID3RD_FORCE_CLR_MSK    0x7fffffff
470/* The reset value of the ALT_ACPIDMAP_VID3RD_FORCE register field. */
471#define ALT_ACPIDMAP_VID3RD_FORCE_RESET      0x0
472/* Extracts the ALT_ACPIDMAP_VID3RD_FORCE field value from a register. */
473#define ALT_ACPIDMAP_VID3RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
474/* Produces a ALT_ACPIDMAP_VID3RD_FORCE register field value suitable for setting the register. */
475#define ALT_ACPIDMAP_VID3RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
476
477#ifndef __ASSEMBLY__
478/*
479 * WARNING: The C register and register group struct declarations are provided for
480 * convenience and illustrative purposes. They should, however, be used with
481 * caution as the C language standard provides no guarantees about the alignment or
482 * atomicity of device memory accesses. The recommended practice for writing
483 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
484 * alt_write_word() functions.
485 *
486 * The struct declaration for register ALT_ACPIDMAP_VID3RD.
487 */
488struct ALT_ACPIDMAP_VID3RD_s
489{
490    uint32_t        :  4;  /* *UNDEFINED* */
491    uint32_t  user  :  5;  /* ARUSER value to SCU */
492    uint32_t        :  3;  /* *UNDEFINED* */
493    uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder */
494    uint32_t        :  2;  /* *UNDEFINED* */
495    uint32_t  mid   : 12;  /* Remap Master ID */
496    uint32_t        :  3;  /* *UNDEFINED* */
497    uint32_t  force :  1;  /* Force Mapping */
498};
499
500/* The typedef declaration for register ALT_ACPIDMAP_VID3RD. */
501typedef volatile struct ALT_ACPIDMAP_VID3RD_s  ALT_ACPIDMAP_VID3RD_t;
502#endif  /* __ASSEMBLY__ */
503
504/* The byte offset of the ALT_ACPIDMAP_VID3RD register from the beginning of the component. */
505#define ALT_ACPIDMAP_VID3RD_OFST        0x8
506
507/*
508 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 3 - vid3wr
509 *
510 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID
511 * signals mapping values for particular transaction with 12-bit ID which locks the
512 * fixed 3-bit virtual ID.
513 *
514 * Register Layout
515 *
516 *  Bits    | Access | Reset | Description           
517 * :--------|:-------|:------|:------------------------
518 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
519 *  [8:4]   | RW     | 0x0   | AWUSER value to SCU   
520 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
521 *  [13:12] | RW     | 0x0   | AWADDR 1GB Page Decoder
522 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
523 *  [27:16] | RW     | 0x0   | Remap Master ID       
524 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
525 *  [31]    | RW     | 0x0   | Force Mapping         
526 *
527 */
528/*
529 * Field : AWUSER value to SCU - user
530 *
531 * This value is propagated to SCU as AWUSERS.
532 *
533 * Field Access Macros:
534 *
535 */
536/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_USER register field. */
537#define ALT_ACPIDMAP_VID3WR_USER_LSB        4
538/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_USER register field. */
539#define ALT_ACPIDMAP_VID3WR_USER_MSB        8
540/* The width in bits of the ALT_ACPIDMAP_VID3WR_USER register field. */
541#define ALT_ACPIDMAP_VID3WR_USER_WIDTH      5
542/* The mask used to set the ALT_ACPIDMAP_VID3WR_USER register field value. */
543#define ALT_ACPIDMAP_VID3WR_USER_SET_MSK    0x000001f0
544/* The mask used to clear the ALT_ACPIDMAP_VID3WR_USER register field value. */
545#define ALT_ACPIDMAP_VID3WR_USER_CLR_MSK    0xfffffe0f
546/* The reset value of the ALT_ACPIDMAP_VID3WR_USER register field. */
547#define ALT_ACPIDMAP_VID3WR_USER_RESET      0x0
548/* Extracts the ALT_ACPIDMAP_VID3WR_USER field value from a register. */
549#define ALT_ACPIDMAP_VID3WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
550/* Produces a ALT_ACPIDMAP_VID3WR_USER register field value suitable for setting the register. */
551#define ALT_ACPIDMAP_VID3WR_USER_SET(value) (((value) << 4) & 0x000001f0)
552
553/*
554 * Field : AWADDR 1GB Page Decoder - page
555 *
556 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
557 *
558 * Field Access Macros:
559 *
560 */
561/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_PAGE register field. */
562#define ALT_ACPIDMAP_VID3WR_PAGE_LSB        12
563/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_PAGE register field. */
564#define ALT_ACPIDMAP_VID3WR_PAGE_MSB        13
565/* The width in bits of the ALT_ACPIDMAP_VID3WR_PAGE register field. */
566#define ALT_ACPIDMAP_VID3WR_PAGE_WIDTH      2
567/* The mask used to set the ALT_ACPIDMAP_VID3WR_PAGE register field value. */
568#define ALT_ACPIDMAP_VID3WR_PAGE_SET_MSK    0x00003000
569/* The mask used to clear the ALT_ACPIDMAP_VID3WR_PAGE register field value. */
570#define ALT_ACPIDMAP_VID3WR_PAGE_CLR_MSK    0xffffcfff
571/* The reset value of the ALT_ACPIDMAP_VID3WR_PAGE register field. */
572#define ALT_ACPIDMAP_VID3WR_PAGE_RESET      0x0
573/* Extracts the ALT_ACPIDMAP_VID3WR_PAGE field value from a register. */
574#define ALT_ACPIDMAP_VID3WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
575/* Produces a ALT_ACPIDMAP_VID3WR_PAGE register field value suitable for setting the register. */
576#define ALT_ACPIDMAP_VID3WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
577
578/*
579 * Field : Remap Master ID - mid
580 *
581 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
582 * ID to use.
583 *
584 * Field Access Macros:
585 *
586 */
587/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_MID register field. */
588#define ALT_ACPIDMAP_VID3WR_MID_LSB        16
589/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_MID register field. */
590#define ALT_ACPIDMAP_VID3WR_MID_MSB        27
591/* The width in bits of the ALT_ACPIDMAP_VID3WR_MID register field. */
592#define ALT_ACPIDMAP_VID3WR_MID_WIDTH      12
593/* The mask used to set the ALT_ACPIDMAP_VID3WR_MID register field value. */
594#define ALT_ACPIDMAP_VID3WR_MID_SET_MSK    0x0fff0000
595/* The mask used to clear the ALT_ACPIDMAP_VID3WR_MID register field value. */
596#define ALT_ACPIDMAP_VID3WR_MID_CLR_MSK    0xf000ffff
597/* The reset value of the ALT_ACPIDMAP_VID3WR_MID register field. */
598#define ALT_ACPIDMAP_VID3WR_MID_RESET      0x0
599/* Extracts the ALT_ACPIDMAP_VID3WR_MID field value from a register. */
600#define ALT_ACPIDMAP_VID3WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
601/* Produces a ALT_ACPIDMAP_VID3WR_MID register field value suitable for setting the register. */
602#define ALT_ACPIDMAP_VID3WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
603
604/*
605 * Field : Force Mapping - force
606 *
607 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
608 * to 0 to allow the 3-bit ID N to be dynamically allocated.
609 *
610 * Field Access Macros:
611 *
612 */
613/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_FORCE register field. */
614#define ALT_ACPIDMAP_VID3WR_FORCE_LSB        31
615/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_FORCE register field. */
616#define ALT_ACPIDMAP_VID3WR_FORCE_MSB        31
617/* The width in bits of the ALT_ACPIDMAP_VID3WR_FORCE register field. */
618#define ALT_ACPIDMAP_VID3WR_FORCE_WIDTH      1
619/* The mask used to set the ALT_ACPIDMAP_VID3WR_FORCE register field value. */
620#define ALT_ACPIDMAP_VID3WR_FORCE_SET_MSK    0x80000000
621/* The mask used to clear the ALT_ACPIDMAP_VID3WR_FORCE register field value. */
622#define ALT_ACPIDMAP_VID3WR_FORCE_CLR_MSK    0x7fffffff
623/* The reset value of the ALT_ACPIDMAP_VID3WR_FORCE register field. */
624#define ALT_ACPIDMAP_VID3WR_FORCE_RESET      0x0
625/* Extracts the ALT_ACPIDMAP_VID3WR_FORCE field value from a register. */
626#define ALT_ACPIDMAP_VID3WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
627/* Produces a ALT_ACPIDMAP_VID3WR_FORCE register field value suitable for setting the register. */
628#define ALT_ACPIDMAP_VID3WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
629
630#ifndef __ASSEMBLY__
631/*
632 * WARNING: The C register and register group struct declarations are provided for
633 * convenience and illustrative purposes. They should, however, be used with
634 * caution as the C language standard provides no guarantees about the alignment or
635 * atomicity of device memory accesses. The recommended practice for writing
636 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
637 * alt_write_word() functions.
638 *
639 * The struct declaration for register ALT_ACPIDMAP_VID3WR.
640 */
641struct ALT_ACPIDMAP_VID3WR_s
642{
643    uint32_t        :  4;  /* *UNDEFINED* */
644    uint32_t  user  :  5;  /* AWUSER value to SCU */
645    uint32_t        :  3;  /* *UNDEFINED* */
646    uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder */
647    uint32_t        :  2;  /* *UNDEFINED* */
648    uint32_t  mid   : 12;  /* Remap Master ID */
649    uint32_t        :  3;  /* *UNDEFINED* */
650    uint32_t  force :  1;  /* Force Mapping */
651};
652
653/* The typedef declaration for register ALT_ACPIDMAP_VID3WR. */
654typedef volatile struct ALT_ACPIDMAP_VID3WR_s  ALT_ACPIDMAP_VID3WR_t;
655#endif  /* __ASSEMBLY__ */
656
657/* The byte offset of the ALT_ACPIDMAP_VID3WR register from the beginning of the component. */
658#define ALT_ACPIDMAP_VID3WR_OFST        0xc
659
660/*
661 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 4 - vid4rd
662 *
663 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID
664 * signals mapping values for particular transaction with 12-bit ID which locks the
665 * fixed 3-bit virtual ID.
666 *
667 * Register Layout
668 *
669 *  Bits    | Access | Reset | Description           
670 * :--------|:-------|:------|:------------------------
671 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
672 *  [8:4]   | RW     | 0x0   | ARUSER value to SCU   
673 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
674 *  [13:12] | RW     | 0x0   | ARADDR 1GB Page Decoder
675 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
676 *  [27:16] | RW     | 0x0   | Remap Master ID       
677 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
678 *  [31]    | RW     | 0x0   | Force Mapping         
679 *
680 */
681/*
682 * Field : ARUSER value to SCU - user
683 *
684 * This value is propagated to SCU as ARUSERS.
685 *
686 * Field Access Macros:
687 *
688 */
689/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_USER register field. */
690#define ALT_ACPIDMAP_VID4RD_USER_LSB        4
691/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_USER register field. */
692#define ALT_ACPIDMAP_VID4RD_USER_MSB        8
693/* The width in bits of the ALT_ACPIDMAP_VID4RD_USER register field. */
694#define ALT_ACPIDMAP_VID4RD_USER_WIDTH      5
695/* The mask used to set the ALT_ACPIDMAP_VID4RD_USER register field value. */
696#define ALT_ACPIDMAP_VID4RD_USER_SET_MSK    0x000001f0
697/* The mask used to clear the ALT_ACPIDMAP_VID4RD_USER register field value. */
698#define ALT_ACPIDMAP_VID4RD_USER_CLR_MSK    0xfffffe0f
699/* The reset value of the ALT_ACPIDMAP_VID4RD_USER register field. */
700#define ALT_ACPIDMAP_VID4RD_USER_RESET      0x0
701/* Extracts the ALT_ACPIDMAP_VID4RD_USER field value from a register. */
702#define ALT_ACPIDMAP_VID4RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
703/* Produces a ALT_ACPIDMAP_VID4RD_USER register field value suitable for setting the register. */
704#define ALT_ACPIDMAP_VID4RD_USER_SET(value) (((value) << 4) & 0x000001f0)
705
706/*
707 * Field : ARADDR 1GB Page Decoder - page
708 *
709 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
710 *
711 * Field Access Macros:
712 *
713 */
714/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_PAGE register field. */
715#define ALT_ACPIDMAP_VID4RD_PAGE_LSB        12
716/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_PAGE register field. */
717#define ALT_ACPIDMAP_VID4RD_PAGE_MSB        13
718/* The width in bits of the ALT_ACPIDMAP_VID4RD_PAGE register field. */
719#define ALT_ACPIDMAP_VID4RD_PAGE_WIDTH      2
720/* The mask used to set the ALT_ACPIDMAP_VID4RD_PAGE register field value. */
721#define ALT_ACPIDMAP_VID4RD_PAGE_SET_MSK    0x00003000
722/* The mask used to clear the ALT_ACPIDMAP_VID4RD_PAGE register field value. */
723#define ALT_ACPIDMAP_VID4RD_PAGE_CLR_MSK    0xffffcfff
724/* The reset value of the ALT_ACPIDMAP_VID4RD_PAGE register field. */
725#define ALT_ACPIDMAP_VID4RD_PAGE_RESET      0x0
726/* Extracts the ALT_ACPIDMAP_VID4RD_PAGE field value from a register. */
727#define ALT_ACPIDMAP_VID4RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
728/* Produces a ALT_ACPIDMAP_VID4RD_PAGE register field value suitable for setting the register. */
729#define ALT_ACPIDMAP_VID4RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
730
731/*
732 * Field : Remap Master ID - mid
733 *
734 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
735 * ID to use.
736 *
737 * Field Access Macros:
738 *
739 */
740/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_MID register field. */
741#define ALT_ACPIDMAP_VID4RD_MID_LSB        16
742/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_MID register field. */
743#define ALT_ACPIDMAP_VID4RD_MID_MSB        27
744/* The width in bits of the ALT_ACPIDMAP_VID4RD_MID register field. */
745#define ALT_ACPIDMAP_VID4RD_MID_WIDTH      12
746/* The mask used to set the ALT_ACPIDMAP_VID4RD_MID register field value. */
747#define ALT_ACPIDMAP_VID4RD_MID_SET_MSK    0x0fff0000
748/* The mask used to clear the ALT_ACPIDMAP_VID4RD_MID register field value. */
749#define ALT_ACPIDMAP_VID4RD_MID_CLR_MSK    0xf000ffff
750/* The reset value of the ALT_ACPIDMAP_VID4RD_MID register field. */
751#define ALT_ACPIDMAP_VID4RD_MID_RESET      0x0
752/* Extracts the ALT_ACPIDMAP_VID4RD_MID field value from a register. */
753#define ALT_ACPIDMAP_VID4RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
754/* Produces a ALT_ACPIDMAP_VID4RD_MID register field value suitable for setting the register. */
755#define ALT_ACPIDMAP_VID4RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
756
757/*
758 * Field : Force Mapping - force
759 *
760 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
761 * to 0 to allow the 3-bit ID N to be dynamically allocated.
762 *
763 * Field Access Macros:
764 *
765 */
766/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_FORCE register field. */
767#define ALT_ACPIDMAP_VID4RD_FORCE_LSB        31
768/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_FORCE register field. */
769#define ALT_ACPIDMAP_VID4RD_FORCE_MSB        31
770/* The width in bits of the ALT_ACPIDMAP_VID4RD_FORCE register field. */
771#define ALT_ACPIDMAP_VID4RD_FORCE_WIDTH      1
772/* The mask used to set the ALT_ACPIDMAP_VID4RD_FORCE register field value. */
773#define ALT_ACPIDMAP_VID4RD_FORCE_SET_MSK    0x80000000
774/* The mask used to clear the ALT_ACPIDMAP_VID4RD_FORCE register field value. */
775#define ALT_ACPIDMAP_VID4RD_FORCE_CLR_MSK    0x7fffffff
776/* The reset value of the ALT_ACPIDMAP_VID4RD_FORCE register field. */
777#define ALT_ACPIDMAP_VID4RD_FORCE_RESET      0x0
778/* Extracts the ALT_ACPIDMAP_VID4RD_FORCE field value from a register. */
779#define ALT_ACPIDMAP_VID4RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
780/* Produces a ALT_ACPIDMAP_VID4RD_FORCE register field value suitable for setting the register. */
781#define ALT_ACPIDMAP_VID4RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
782
783#ifndef __ASSEMBLY__
784/*
785 * WARNING: The C register and register group struct declarations are provided for
786 * convenience and illustrative purposes. They should, however, be used with
787 * caution as the C language standard provides no guarantees about the alignment or
788 * atomicity of device memory accesses. The recommended practice for writing
789 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
790 * alt_write_word() functions.
791 *
792 * The struct declaration for register ALT_ACPIDMAP_VID4RD.
793 */
794struct ALT_ACPIDMAP_VID4RD_s
795{
796    uint32_t        :  4;  /* *UNDEFINED* */
797    uint32_t  user  :  5;  /* ARUSER value to SCU */
798    uint32_t        :  3;  /* *UNDEFINED* */
799    uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder */
800    uint32_t        :  2;  /* *UNDEFINED* */
801    uint32_t  mid   : 12;  /* Remap Master ID */
802    uint32_t        :  3;  /* *UNDEFINED* */
803    uint32_t  force :  1;  /* Force Mapping */
804};
805
806/* The typedef declaration for register ALT_ACPIDMAP_VID4RD. */
807typedef volatile struct ALT_ACPIDMAP_VID4RD_s  ALT_ACPIDMAP_VID4RD_t;
808#endif  /* __ASSEMBLY__ */
809
810/* The byte offset of the ALT_ACPIDMAP_VID4RD register from the beginning of the component. */
811#define ALT_ACPIDMAP_VID4RD_OFST        0x10
812
813/*
814 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 4 - vid4wr
815 *
816 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID
817 * signals mapping values for particular transaction with 12-bit ID which locks the
818 * fixed 3-bit virtual ID.
819 *
820 * Register Layout
821 *
822 *  Bits    | Access | Reset | Description           
823 * :--------|:-------|:------|:------------------------
824 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
825 *  [8:4]   | RW     | 0x0   | AWUSER value to SCU   
826 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
827 *  [13:12] | RW     | 0x0   | AWADDR 1GB Page Decoder
828 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
829 *  [27:16] | RW     | 0x0   | Remap Master ID       
830 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
831 *  [31]    | RW     | 0x0   | Force Mapping         
832 *
833 */
834/*
835 * Field : AWUSER value to SCU - user
836 *
837 * This value is propagated to SCU as AWUSERS.
838 *
839 * Field Access Macros:
840 *
841 */
842/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_USER register field. */
843#define ALT_ACPIDMAP_VID4WR_USER_LSB        4
844/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_USER register field. */
845#define ALT_ACPIDMAP_VID4WR_USER_MSB        8
846/* The width in bits of the ALT_ACPIDMAP_VID4WR_USER register field. */
847#define ALT_ACPIDMAP_VID4WR_USER_WIDTH      5
848/* The mask used to set the ALT_ACPIDMAP_VID4WR_USER register field value. */
849#define ALT_ACPIDMAP_VID4WR_USER_SET_MSK    0x000001f0
850/* The mask used to clear the ALT_ACPIDMAP_VID4WR_USER register field value. */
851#define ALT_ACPIDMAP_VID4WR_USER_CLR_MSK    0xfffffe0f
852/* The reset value of the ALT_ACPIDMAP_VID4WR_USER register field. */
853#define ALT_ACPIDMAP_VID4WR_USER_RESET      0x0
854/* Extracts the ALT_ACPIDMAP_VID4WR_USER field value from a register. */
855#define ALT_ACPIDMAP_VID4WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
856/* Produces a ALT_ACPIDMAP_VID4WR_USER register field value suitable for setting the register. */
857#define ALT_ACPIDMAP_VID4WR_USER_SET(value) (((value) << 4) & 0x000001f0)
858
859/*
860 * Field : AWADDR 1GB Page Decoder - page
861 *
862 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
863 *
864 * Field Access Macros:
865 *
866 */
867/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_PAGE register field. */
868#define ALT_ACPIDMAP_VID4WR_PAGE_LSB        12
869/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_PAGE register field. */
870#define ALT_ACPIDMAP_VID4WR_PAGE_MSB        13
871/* The width in bits of the ALT_ACPIDMAP_VID4WR_PAGE register field. */
872#define ALT_ACPIDMAP_VID4WR_PAGE_WIDTH      2
873/* The mask used to set the ALT_ACPIDMAP_VID4WR_PAGE register field value. */
874#define ALT_ACPIDMAP_VID4WR_PAGE_SET_MSK    0x00003000
875/* The mask used to clear the ALT_ACPIDMAP_VID4WR_PAGE register field value. */
876#define ALT_ACPIDMAP_VID4WR_PAGE_CLR_MSK    0xffffcfff
877/* The reset value of the ALT_ACPIDMAP_VID4WR_PAGE register field. */
878#define ALT_ACPIDMAP_VID4WR_PAGE_RESET      0x0
879/* Extracts the ALT_ACPIDMAP_VID4WR_PAGE field value from a register. */
880#define ALT_ACPIDMAP_VID4WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
881/* Produces a ALT_ACPIDMAP_VID4WR_PAGE register field value suitable for setting the register. */
882#define ALT_ACPIDMAP_VID4WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
883
884/*
885 * Field : Remap Master ID - mid
886 *
887 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
888 * ID to use.
889 *
890 * Field Access Macros:
891 *
892 */
893/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_MID register field. */
894#define ALT_ACPIDMAP_VID4WR_MID_LSB        16
895/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_MID register field. */
896#define ALT_ACPIDMAP_VID4WR_MID_MSB        27
897/* The width in bits of the ALT_ACPIDMAP_VID4WR_MID register field. */
898#define ALT_ACPIDMAP_VID4WR_MID_WIDTH      12
899/* The mask used to set the ALT_ACPIDMAP_VID4WR_MID register field value. */
900#define ALT_ACPIDMAP_VID4WR_MID_SET_MSK    0x0fff0000
901/* The mask used to clear the ALT_ACPIDMAP_VID4WR_MID register field value. */
902#define ALT_ACPIDMAP_VID4WR_MID_CLR_MSK    0xf000ffff
903/* The reset value of the ALT_ACPIDMAP_VID4WR_MID register field. */
904#define ALT_ACPIDMAP_VID4WR_MID_RESET      0x0
905/* Extracts the ALT_ACPIDMAP_VID4WR_MID field value from a register. */
906#define ALT_ACPIDMAP_VID4WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
907/* Produces a ALT_ACPIDMAP_VID4WR_MID register field value suitable for setting the register. */
908#define ALT_ACPIDMAP_VID4WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
909
910/*
911 * Field : Force Mapping - force
912 *
913 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
914 * to 0 to allow the 3-bit ID N to be dynamically allocated.
915 *
916 * Field Access Macros:
917 *
918 */
919/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_FORCE register field. */
920#define ALT_ACPIDMAP_VID4WR_FORCE_LSB        31
921/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_FORCE register field. */
922#define ALT_ACPIDMAP_VID4WR_FORCE_MSB        31
923/* The width in bits of the ALT_ACPIDMAP_VID4WR_FORCE register field. */
924#define ALT_ACPIDMAP_VID4WR_FORCE_WIDTH      1
925/* The mask used to set the ALT_ACPIDMAP_VID4WR_FORCE register field value. */
926#define ALT_ACPIDMAP_VID4WR_FORCE_SET_MSK    0x80000000
927/* The mask used to clear the ALT_ACPIDMAP_VID4WR_FORCE register field value. */
928#define ALT_ACPIDMAP_VID4WR_FORCE_CLR_MSK    0x7fffffff
929/* The reset value of the ALT_ACPIDMAP_VID4WR_FORCE register field. */
930#define ALT_ACPIDMAP_VID4WR_FORCE_RESET      0x0
931/* Extracts the ALT_ACPIDMAP_VID4WR_FORCE field value from a register. */
932#define ALT_ACPIDMAP_VID4WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
933/* Produces a ALT_ACPIDMAP_VID4WR_FORCE register field value suitable for setting the register. */
934#define ALT_ACPIDMAP_VID4WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
935
936#ifndef __ASSEMBLY__
937/*
938 * WARNING: The C register and register group struct declarations are provided for
939 * convenience and illustrative purposes. They should, however, be used with
940 * caution as the C language standard provides no guarantees about the alignment or
941 * atomicity of device memory accesses. The recommended practice for writing
942 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
943 * alt_write_word() functions.
944 *
945 * The struct declaration for register ALT_ACPIDMAP_VID4WR.
946 */
947struct ALT_ACPIDMAP_VID4WR_s
948{
949    uint32_t        :  4;  /* *UNDEFINED* */
950    uint32_t  user  :  5;  /* AWUSER value to SCU */
951    uint32_t        :  3;  /* *UNDEFINED* */
952    uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder */
953    uint32_t        :  2;  /* *UNDEFINED* */
954    uint32_t  mid   : 12;  /* Remap Master ID */
955    uint32_t        :  3;  /* *UNDEFINED* */
956    uint32_t  force :  1;  /* Force Mapping */
957};
958
959/* The typedef declaration for register ALT_ACPIDMAP_VID4WR. */
960typedef volatile struct ALT_ACPIDMAP_VID4WR_s  ALT_ACPIDMAP_VID4WR_t;
961#endif  /* __ASSEMBLY__ */
962
963/* The byte offset of the ALT_ACPIDMAP_VID4WR register from the beginning of the component. */
964#define ALT_ACPIDMAP_VID4WR_OFST        0x14
965
966/*
967 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 5 - vid5rd
968 *
969 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID
970 * signals mapping values for particular transaction with 12-bit ID which locks the
971 * fixed 3-bit virtual ID.
972 *
973 * Register Layout
974 *
975 *  Bits    | Access | Reset | Description           
976 * :--------|:-------|:------|:------------------------
977 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
978 *  [8:4]   | RW     | 0x0   | ARUSER value to SCU   
979 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
980 *  [13:12] | RW     | 0x0   | ARADDR 1GB Page Decoder
981 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
982 *  [27:16] | RW     | 0x0   | Remap Master ID       
983 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
984 *  [31]    | RW     | 0x0   | Force Mapping         
985 *
986 */
987/*
988 * Field : ARUSER value to SCU - user
989 *
990 * This value is propagated to SCU as ARUSERS.
991 *
992 * Field Access Macros:
993 *
994 */
995/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_USER register field. */
996#define ALT_ACPIDMAP_VID5RD_USER_LSB        4
997/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_USER register field. */
998#define ALT_ACPIDMAP_VID5RD_USER_MSB        8
999/* The width in bits of the ALT_ACPIDMAP_VID5RD_USER register field. */
1000#define ALT_ACPIDMAP_VID5RD_USER_WIDTH      5
1001/* The mask used to set the ALT_ACPIDMAP_VID5RD_USER register field value. */
1002#define ALT_ACPIDMAP_VID5RD_USER_SET_MSK    0x000001f0
1003/* The mask used to clear the ALT_ACPIDMAP_VID5RD_USER register field value. */
1004#define ALT_ACPIDMAP_VID5RD_USER_CLR_MSK    0xfffffe0f
1005/* The reset value of the ALT_ACPIDMAP_VID5RD_USER register field. */
1006#define ALT_ACPIDMAP_VID5RD_USER_RESET      0x0
1007/* Extracts the ALT_ACPIDMAP_VID5RD_USER field value from a register. */
1008#define ALT_ACPIDMAP_VID5RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
1009/* Produces a ALT_ACPIDMAP_VID5RD_USER register field value suitable for setting the register. */
1010#define ALT_ACPIDMAP_VID5RD_USER_SET(value) (((value) << 4) & 0x000001f0)
1011
1012/*
1013 * Field : ARADDR 1GB Page Decoder - page
1014 *
1015 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1016 *
1017 * Field Access Macros:
1018 *
1019 */
1020/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_PAGE register field. */
1021#define ALT_ACPIDMAP_VID5RD_PAGE_LSB        12
1022/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_PAGE register field. */
1023#define ALT_ACPIDMAP_VID5RD_PAGE_MSB        13
1024/* The width in bits of the ALT_ACPIDMAP_VID5RD_PAGE register field. */
1025#define ALT_ACPIDMAP_VID5RD_PAGE_WIDTH      2
1026/* The mask used to set the ALT_ACPIDMAP_VID5RD_PAGE register field value. */
1027#define ALT_ACPIDMAP_VID5RD_PAGE_SET_MSK    0x00003000
1028/* The mask used to clear the ALT_ACPIDMAP_VID5RD_PAGE register field value. */
1029#define ALT_ACPIDMAP_VID5RD_PAGE_CLR_MSK    0xffffcfff
1030/* The reset value of the ALT_ACPIDMAP_VID5RD_PAGE register field. */
1031#define ALT_ACPIDMAP_VID5RD_PAGE_RESET      0x0
1032/* Extracts the ALT_ACPIDMAP_VID5RD_PAGE field value from a register. */
1033#define ALT_ACPIDMAP_VID5RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1034/* Produces a ALT_ACPIDMAP_VID5RD_PAGE register field value suitable for setting the register. */
1035#define ALT_ACPIDMAP_VID5RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
1036
1037/*
1038 * Field : Remap Master ID - mid
1039 *
1040 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
1041 * ID to use.
1042 *
1043 * Field Access Macros:
1044 *
1045 */
1046/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_MID register field. */
1047#define ALT_ACPIDMAP_VID5RD_MID_LSB        16
1048/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_MID register field. */
1049#define ALT_ACPIDMAP_VID5RD_MID_MSB        27
1050/* The width in bits of the ALT_ACPIDMAP_VID5RD_MID register field. */
1051#define ALT_ACPIDMAP_VID5RD_MID_WIDTH      12
1052/* The mask used to set the ALT_ACPIDMAP_VID5RD_MID register field value. */
1053#define ALT_ACPIDMAP_VID5RD_MID_SET_MSK    0x0fff0000
1054/* The mask used to clear the ALT_ACPIDMAP_VID5RD_MID register field value. */
1055#define ALT_ACPIDMAP_VID5RD_MID_CLR_MSK    0xf000ffff
1056/* The reset value of the ALT_ACPIDMAP_VID5RD_MID register field. */
1057#define ALT_ACPIDMAP_VID5RD_MID_RESET      0x0
1058/* Extracts the ALT_ACPIDMAP_VID5RD_MID field value from a register. */
1059#define ALT_ACPIDMAP_VID5RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1060/* Produces a ALT_ACPIDMAP_VID5RD_MID register field value suitable for setting the register. */
1061#define ALT_ACPIDMAP_VID5RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
1062
1063/*
1064 * Field : Force Mapping - force
1065 *
1066 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
1067 * to 0 to allow the 3-bit ID N to be dynamically allocated.
1068 *
1069 * Field Access Macros:
1070 *
1071 */
1072/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_FORCE register field. */
1073#define ALT_ACPIDMAP_VID5RD_FORCE_LSB        31
1074/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_FORCE register field. */
1075#define ALT_ACPIDMAP_VID5RD_FORCE_MSB        31
1076/* The width in bits of the ALT_ACPIDMAP_VID5RD_FORCE register field. */
1077#define ALT_ACPIDMAP_VID5RD_FORCE_WIDTH      1
1078/* The mask used to set the ALT_ACPIDMAP_VID5RD_FORCE register field value. */
1079#define ALT_ACPIDMAP_VID5RD_FORCE_SET_MSK    0x80000000
1080/* The mask used to clear the ALT_ACPIDMAP_VID5RD_FORCE register field value. */
1081#define ALT_ACPIDMAP_VID5RD_FORCE_CLR_MSK    0x7fffffff
1082/* The reset value of the ALT_ACPIDMAP_VID5RD_FORCE register field. */
1083#define ALT_ACPIDMAP_VID5RD_FORCE_RESET      0x0
1084/* Extracts the ALT_ACPIDMAP_VID5RD_FORCE field value from a register. */
1085#define ALT_ACPIDMAP_VID5RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1086/* Produces a ALT_ACPIDMAP_VID5RD_FORCE register field value suitable for setting the register. */
1087#define ALT_ACPIDMAP_VID5RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
1088
1089#ifndef __ASSEMBLY__
1090/*
1091 * WARNING: The C register and register group struct declarations are provided for
1092 * convenience and illustrative purposes. They should, however, be used with
1093 * caution as the C language standard provides no guarantees about the alignment or
1094 * atomicity of device memory accesses. The recommended practice for writing
1095 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1096 * alt_write_word() functions.
1097 *
1098 * The struct declaration for register ALT_ACPIDMAP_VID5RD.
1099 */
1100struct ALT_ACPIDMAP_VID5RD_s
1101{
1102    uint32_t        :  4;  /* *UNDEFINED* */
1103    uint32_t  user  :  5;  /* ARUSER value to SCU */
1104    uint32_t        :  3;  /* *UNDEFINED* */
1105    uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder */
1106    uint32_t        :  2;  /* *UNDEFINED* */
1107    uint32_t  mid   : 12;  /* Remap Master ID */
1108    uint32_t        :  3;  /* *UNDEFINED* */
1109    uint32_t  force :  1;  /* Force Mapping */
1110};
1111
1112/* The typedef declaration for register ALT_ACPIDMAP_VID5RD. */
1113typedef volatile struct ALT_ACPIDMAP_VID5RD_s  ALT_ACPIDMAP_VID5RD_t;
1114#endif  /* __ASSEMBLY__ */
1115
1116/* The byte offset of the ALT_ACPIDMAP_VID5RD register from the beginning of the component. */
1117#define ALT_ACPIDMAP_VID5RD_OFST        0x18
1118
1119/*
1120 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 5 - vid5wr
1121 *
1122 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID
1123 * signals mapping values for particular transaction with 12-bit ID which locks the
1124 * fixed 3-bit virtual ID.
1125 *
1126 * Register Layout
1127 *
1128 *  Bits    | Access | Reset | Description           
1129 * :--------|:-------|:------|:------------------------
1130 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
1131 *  [8:4]   | RW     | 0x0   | AWUSER value to SCU   
1132 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
1133 *  [13:12] | RW     | 0x0   | AWADDR 1GB Page Decoder
1134 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
1135 *  [27:16] | RW     | 0x0   | Remap Master ID       
1136 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
1137 *  [31]    | RW     | 0x0   | Force Mapping         
1138 *
1139 */
1140/*
1141 * Field : AWUSER value to SCU - user
1142 *
1143 * This value is propagated to SCU as AWUSERS.
1144 *
1145 * Field Access Macros:
1146 *
1147 */
1148/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_USER register field. */
1149#define ALT_ACPIDMAP_VID5WR_USER_LSB        4
1150/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_USER register field. */
1151#define ALT_ACPIDMAP_VID5WR_USER_MSB        8
1152/* The width in bits of the ALT_ACPIDMAP_VID5WR_USER register field. */
1153#define ALT_ACPIDMAP_VID5WR_USER_WIDTH      5
1154/* The mask used to set the ALT_ACPIDMAP_VID5WR_USER register field value. */
1155#define ALT_ACPIDMAP_VID5WR_USER_SET_MSK    0x000001f0
1156/* The mask used to clear the ALT_ACPIDMAP_VID5WR_USER register field value. */
1157#define ALT_ACPIDMAP_VID5WR_USER_CLR_MSK    0xfffffe0f
1158/* The reset value of the ALT_ACPIDMAP_VID5WR_USER register field. */
1159#define ALT_ACPIDMAP_VID5WR_USER_RESET      0x0
1160/* Extracts the ALT_ACPIDMAP_VID5WR_USER field value from a register. */
1161#define ALT_ACPIDMAP_VID5WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
1162/* Produces a ALT_ACPIDMAP_VID5WR_USER register field value suitable for setting the register. */
1163#define ALT_ACPIDMAP_VID5WR_USER_SET(value) (((value) << 4) & 0x000001f0)
1164
1165/*
1166 * Field : AWADDR 1GB Page Decoder - page
1167 *
1168 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1169 *
1170 * Field Access Macros:
1171 *
1172 */
1173/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_PAGE register field. */
1174#define ALT_ACPIDMAP_VID5WR_PAGE_LSB        12
1175/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_PAGE register field. */
1176#define ALT_ACPIDMAP_VID5WR_PAGE_MSB        13
1177/* The width in bits of the ALT_ACPIDMAP_VID5WR_PAGE register field. */
1178#define ALT_ACPIDMAP_VID5WR_PAGE_WIDTH      2
1179/* The mask used to set the ALT_ACPIDMAP_VID5WR_PAGE register field value. */
1180#define ALT_ACPIDMAP_VID5WR_PAGE_SET_MSK    0x00003000
1181/* The mask used to clear the ALT_ACPIDMAP_VID5WR_PAGE register field value. */
1182#define ALT_ACPIDMAP_VID5WR_PAGE_CLR_MSK    0xffffcfff
1183/* The reset value of the ALT_ACPIDMAP_VID5WR_PAGE register field. */
1184#define ALT_ACPIDMAP_VID5WR_PAGE_RESET      0x0
1185/* Extracts the ALT_ACPIDMAP_VID5WR_PAGE field value from a register. */
1186#define ALT_ACPIDMAP_VID5WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1187/* Produces a ALT_ACPIDMAP_VID5WR_PAGE register field value suitable for setting the register. */
1188#define ALT_ACPIDMAP_VID5WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
1189
1190/*
1191 * Field : Remap Master ID - mid
1192 *
1193 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
1194 * ID to use.
1195 *
1196 * Field Access Macros:
1197 *
1198 */
1199/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_MID register field. */
1200#define ALT_ACPIDMAP_VID5WR_MID_LSB        16
1201/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_MID register field. */
1202#define ALT_ACPIDMAP_VID5WR_MID_MSB        27
1203/* The width in bits of the ALT_ACPIDMAP_VID5WR_MID register field. */
1204#define ALT_ACPIDMAP_VID5WR_MID_WIDTH      12
1205/* The mask used to set the ALT_ACPIDMAP_VID5WR_MID register field value. */
1206#define ALT_ACPIDMAP_VID5WR_MID_SET_MSK    0x0fff0000
1207/* The mask used to clear the ALT_ACPIDMAP_VID5WR_MID register field value. */
1208#define ALT_ACPIDMAP_VID5WR_MID_CLR_MSK    0xf000ffff
1209/* The reset value of the ALT_ACPIDMAP_VID5WR_MID register field. */
1210#define ALT_ACPIDMAP_VID5WR_MID_RESET      0x0
1211/* Extracts the ALT_ACPIDMAP_VID5WR_MID field value from a register. */
1212#define ALT_ACPIDMAP_VID5WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1213/* Produces a ALT_ACPIDMAP_VID5WR_MID register field value suitable for setting the register. */
1214#define ALT_ACPIDMAP_VID5WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
1215
1216/*
1217 * Field : Force Mapping - force
1218 *
1219 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
1220 * to 0 to allow the 3-bit ID N to be dynamically allocated.
1221 *
1222 * Field Access Macros:
1223 *
1224 */
1225/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_FORCE register field. */
1226#define ALT_ACPIDMAP_VID5WR_FORCE_LSB        31
1227/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_FORCE register field. */
1228#define ALT_ACPIDMAP_VID5WR_FORCE_MSB        31
1229/* The width in bits of the ALT_ACPIDMAP_VID5WR_FORCE register field. */
1230#define ALT_ACPIDMAP_VID5WR_FORCE_WIDTH      1
1231/* The mask used to set the ALT_ACPIDMAP_VID5WR_FORCE register field value. */
1232#define ALT_ACPIDMAP_VID5WR_FORCE_SET_MSK    0x80000000
1233/* The mask used to clear the ALT_ACPIDMAP_VID5WR_FORCE register field value. */
1234#define ALT_ACPIDMAP_VID5WR_FORCE_CLR_MSK    0x7fffffff
1235/* The reset value of the ALT_ACPIDMAP_VID5WR_FORCE register field. */
1236#define ALT_ACPIDMAP_VID5WR_FORCE_RESET      0x0
1237/* Extracts the ALT_ACPIDMAP_VID5WR_FORCE field value from a register. */
1238#define ALT_ACPIDMAP_VID5WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1239/* Produces a ALT_ACPIDMAP_VID5WR_FORCE register field value suitable for setting the register. */
1240#define ALT_ACPIDMAP_VID5WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
1241
1242#ifndef __ASSEMBLY__
1243/*
1244 * WARNING: The C register and register group struct declarations are provided for
1245 * convenience and illustrative purposes. They should, however, be used with
1246 * caution as the C language standard provides no guarantees about the alignment or
1247 * atomicity of device memory accesses. The recommended practice for writing
1248 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1249 * alt_write_word() functions.
1250 *
1251 * The struct declaration for register ALT_ACPIDMAP_VID5WR.
1252 */
1253struct ALT_ACPIDMAP_VID5WR_s
1254{
1255    uint32_t        :  4;  /* *UNDEFINED* */
1256    uint32_t  user  :  5;  /* AWUSER value to SCU */
1257    uint32_t        :  3;  /* *UNDEFINED* */
1258    uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder */
1259    uint32_t        :  2;  /* *UNDEFINED* */
1260    uint32_t  mid   : 12;  /* Remap Master ID */
1261    uint32_t        :  3;  /* *UNDEFINED* */
1262    uint32_t  force :  1;  /* Force Mapping */
1263};
1264
1265/* The typedef declaration for register ALT_ACPIDMAP_VID5WR. */
1266typedef volatile struct ALT_ACPIDMAP_VID5WR_s  ALT_ACPIDMAP_VID5WR_t;
1267#endif  /* __ASSEMBLY__ */
1268
1269/* The byte offset of the ALT_ACPIDMAP_VID5WR register from the beginning of the component. */
1270#define ALT_ACPIDMAP_VID5WR_OFST        0x1c
1271
1272/*
1273 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 6 - vid6rd
1274 *
1275 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID
1276 * signals mapping values for particular transaction with 12-bit ID which locks the
1277 * fixed 3-bit virtual ID.
1278 *
1279 * Register Layout
1280 *
1281 *  Bits    | Access | Reset | Description           
1282 * :--------|:-------|:------|:------------------------
1283 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
1284 *  [8:4]   | RW     | 0x0   | ARUSER value to SCU   
1285 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
1286 *  [13:12] | RW     | 0x0   | ARADDR 1GB Page Decoder
1287 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
1288 *  [27:16] | RW     | 0x0   | Remap Master ID       
1289 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
1290 *  [31]    | RW     | 0x0   | Force Mapping         
1291 *
1292 */
1293/*
1294 * Field : ARUSER value to SCU - user
1295 *
1296 * This value is propagated to SCU as ARUSERS.
1297 *
1298 * Field Access Macros:
1299 *
1300 */
1301/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_USER register field. */
1302#define ALT_ACPIDMAP_VID6RD_USER_LSB        4
1303/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_USER register field. */
1304#define ALT_ACPIDMAP_VID6RD_USER_MSB        8
1305/* The width in bits of the ALT_ACPIDMAP_VID6RD_USER register field. */
1306#define ALT_ACPIDMAP_VID6RD_USER_WIDTH      5
1307/* The mask used to set the ALT_ACPIDMAP_VID6RD_USER register field value. */
1308#define ALT_ACPIDMAP_VID6RD_USER_SET_MSK    0x000001f0
1309/* The mask used to clear the ALT_ACPIDMAP_VID6RD_USER register field value. */
1310#define ALT_ACPIDMAP_VID6RD_USER_CLR_MSK    0xfffffe0f
1311/* The reset value of the ALT_ACPIDMAP_VID6RD_USER register field. */
1312#define ALT_ACPIDMAP_VID6RD_USER_RESET      0x0
1313/* Extracts the ALT_ACPIDMAP_VID6RD_USER field value from a register. */
1314#define ALT_ACPIDMAP_VID6RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
1315/* Produces a ALT_ACPIDMAP_VID6RD_USER register field value suitable for setting the register. */
1316#define ALT_ACPIDMAP_VID6RD_USER_SET(value) (((value) << 4) & 0x000001f0)
1317
1318/*
1319 * Field : ARADDR 1GB Page Decoder - page
1320 *
1321 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1322 *
1323 * Field Access Macros:
1324 *
1325 */
1326/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_PAGE register field. */
1327#define ALT_ACPIDMAP_VID6RD_PAGE_LSB        12
1328/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_PAGE register field. */
1329#define ALT_ACPIDMAP_VID6RD_PAGE_MSB        13
1330/* The width in bits of the ALT_ACPIDMAP_VID6RD_PAGE register field. */
1331#define ALT_ACPIDMAP_VID6RD_PAGE_WIDTH      2
1332/* The mask used to set the ALT_ACPIDMAP_VID6RD_PAGE register field value. */
1333#define ALT_ACPIDMAP_VID6RD_PAGE_SET_MSK    0x00003000
1334/* The mask used to clear the ALT_ACPIDMAP_VID6RD_PAGE register field value. */
1335#define ALT_ACPIDMAP_VID6RD_PAGE_CLR_MSK    0xffffcfff
1336/* The reset value of the ALT_ACPIDMAP_VID6RD_PAGE register field. */
1337#define ALT_ACPIDMAP_VID6RD_PAGE_RESET      0x0
1338/* Extracts the ALT_ACPIDMAP_VID6RD_PAGE field value from a register. */
1339#define ALT_ACPIDMAP_VID6RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1340/* Produces a ALT_ACPIDMAP_VID6RD_PAGE register field value suitable for setting the register. */
1341#define ALT_ACPIDMAP_VID6RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
1342
1343/*
1344 * Field : Remap Master ID - mid
1345 *
1346 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
1347 * ID to use.
1348 *
1349 * Field Access Macros:
1350 *
1351 */
1352/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_MID register field. */
1353#define ALT_ACPIDMAP_VID6RD_MID_LSB        16
1354/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_MID register field. */
1355#define ALT_ACPIDMAP_VID6RD_MID_MSB        27
1356/* The width in bits of the ALT_ACPIDMAP_VID6RD_MID register field. */
1357#define ALT_ACPIDMAP_VID6RD_MID_WIDTH      12
1358/* The mask used to set the ALT_ACPIDMAP_VID6RD_MID register field value. */
1359#define ALT_ACPIDMAP_VID6RD_MID_SET_MSK    0x0fff0000
1360/* The mask used to clear the ALT_ACPIDMAP_VID6RD_MID register field value. */
1361#define ALT_ACPIDMAP_VID6RD_MID_CLR_MSK    0xf000ffff
1362/* The reset value of the ALT_ACPIDMAP_VID6RD_MID register field. */
1363#define ALT_ACPIDMAP_VID6RD_MID_RESET      0x0
1364/* Extracts the ALT_ACPIDMAP_VID6RD_MID field value from a register. */
1365#define ALT_ACPIDMAP_VID6RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1366/* Produces a ALT_ACPIDMAP_VID6RD_MID register field value suitable for setting the register. */
1367#define ALT_ACPIDMAP_VID6RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
1368
1369/*
1370 * Field : Force Mapping - force
1371 *
1372 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
1373 * to 0 to allow the 3-bit ID N to be dynamically allocated.
1374 *
1375 * Field Access Macros:
1376 *
1377 */
1378/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_FORCE register field. */
1379#define ALT_ACPIDMAP_VID6RD_FORCE_LSB        31
1380/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_FORCE register field. */
1381#define ALT_ACPIDMAP_VID6RD_FORCE_MSB        31
1382/* The width in bits of the ALT_ACPIDMAP_VID6RD_FORCE register field. */
1383#define ALT_ACPIDMAP_VID6RD_FORCE_WIDTH      1
1384/* The mask used to set the ALT_ACPIDMAP_VID6RD_FORCE register field value. */
1385#define ALT_ACPIDMAP_VID6RD_FORCE_SET_MSK    0x80000000
1386/* The mask used to clear the ALT_ACPIDMAP_VID6RD_FORCE register field value. */
1387#define ALT_ACPIDMAP_VID6RD_FORCE_CLR_MSK    0x7fffffff
1388/* The reset value of the ALT_ACPIDMAP_VID6RD_FORCE register field. */
1389#define ALT_ACPIDMAP_VID6RD_FORCE_RESET      0x0
1390/* Extracts the ALT_ACPIDMAP_VID6RD_FORCE field value from a register. */
1391#define ALT_ACPIDMAP_VID6RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1392/* Produces a ALT_ACPIDMAP_VID6RD_FORCE register field value suitable for setting the register. */
1393#define ALT_ACPIDMAP_VID6RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
1394
1395#ifndef __ASSEMBLY__
1396/*
1397 * WARNING: The C register and register group struct declarations are provided for
1398 * convenience and illustrative purposes. They should, however, be used with
1399 * caution as the C language standard provides no guarantees about the alignment or
1400 * atomicity of device memory accesses. The recommended practice for writing
1401 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1402 * alt_write_word() functions.
1403 *
1404 * The struct declaration for register ALT_ACPIDMAP_VID6RD.
1405 */
1406struct ALT_ACPIDMAP_VID6RD_s
1407{
1408    uint32_t        :  4;  /* *UNDEFINED* */
1409    uint32_t  user  :  5;  /* ARUSER value to SCU */
1410    uint32_t        :  3;  /* *UNDEFINED* */
1411    uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder */
1412    uint32_t        :  2;  /* *UNDEFINED* */
1413    uint32_t  mid   : 12;  /* Remap Master ID */
1414    uint32_t        :  3;  /* *UNDEFINED* */
1415    uint32_t  force :  1;  /* Force Mapping */
1416};
1417
1418/* The typedef declaration for register ALT_ACPIDMAP_VID6RD. */
1419typedef volatile struct ALT_ACPIDMAP_VID6RD_s  ALT_ACPIDMAP_VID6RD_t;
1420#endif  /* __ASSEMBLY__ */
1421
1422/* The byte offset of the ALT_ACPIDMAP_VID6RD register from the beginning of the component. */
1423#define ALT_ACPIDMAP_VID6RD_OFST        0x20
1424
1425/*
1426 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 6 - vid6wr
1427 *
1428 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID
1429 * signals mapping values for particular transaction with 12-bit ID which locks the
1430 * fixed 3-bit virtual ID.
1431 *
1432 * Register Layout
1433 *
1434 *  Bits    | Access | Reset | Description           
1435 * :--------|:-------|:------|:------------------------
1436 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
1437 *  [8:4]   | RW     | 0x0   | AWUSER value to SCU   
1438 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
1439 *  [13:12] | RW     | 0x0   | AWADDR 1GB Page Decoder
1440 *  [15:14] | ???    | 0x0   | *UNDEFINED*           
1441 *  [27:16] | RW     | 0x0   | Remap Master ID       
1442 *  [30:28] | ???    | 0x0   | *UNDEFINED*           
1443 *  [31]    | RW     | 0x0   | Force Mapping         
1444 *
1445 */
1446/*
1447 * Field : AWUSER value to SCU - user
1448 *
1449 * This value is propagated to SCU as AWUSERS.
1450 *
1451 * Field Access Macros:
1452 *
1453 */
1454/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_USER register field. */
1455#define ALT_ACPIDMAP_VID6WR_USER_LSB        4
1456/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_USER register field. */
1457#define ALT_ACPIDMAP_VID6WR_USER_MSB        8
1458/* The width in bits of the ALT_ACPIDMAP_VID6WR_USER register field. */
1459#define ALT_ACPIDMAP_VID6WR_USER_WIDTH      5
1460/* The mask used to set the ALT_ACPIDMAP_VID6WR_USER register field value. */
1461#define ALT_ACPIDMAP_VID6WR_USER_SET_MSK    0x000001f0
1462/* The mask used to clear the ALT_ACPIDMAP_VID6WR_USER register field value. */
1463#define ALT_ACPIDMAP_VID6WR_USER_CLR_MSK    0xfffffe0f
1464/* The reset value of the ALT_ACPIDMAP_VID6WR_USER register field. */
1465#define ALT_ACPIDMAP_VID6WR_USER_RESET      0x0
1466/* Extracts the ALT_ACPIDMAP_VID6WR_USER field value from a register. */
1467#define ALT_ACPIDMAP_VID6WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
1468/* Produces a ALT_ACPIDMAP_VID6WR_USER register field value suitable for setting the register. */
1469#define ALT_ACPIDMAP_VID6WR_USER_SET(value) (((value) << 4) & 0x000001f0)
1470
1471/*
1472 * Field : AWADDR 1GB Page Decoder - page
1473 *
1474 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1475 *
1476 * Field Access Macros:
1477 *
1478 */
1479/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_PAGE register field. */
1480#define ALT_ACPIDMAP_VID6WR_PAGE_LSB        12
1481/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_PAGE register field. */
1482#define ALT_ACPIDMAP_VID6WR_PAGE_MSB        13
1483/* The width in bits of the ALT_ACPIDMAP_VID6WR_PAGE register field. */
1484#define ALT_ACPIDMAP_VID6WR_PAGE_WIDTH      2
1485/* The mask used to set the ALT_ACPIDMAP_VID6WR_PAGE register field value. */
1486#define ALT_ACPIDMAP_VID6WR_PAGE_SET_MSK    0x00003000
1487/* The mask used to clear the ALT_ACPIDMAP_VID6WR_PAGE register field value. */
1488#define ALT_ACPIDMAP_VID6WR_PAGE_CLR_MSK    0xffffcfff
1489/* The reset value of the ALT_ACPIDMAP_VID6WR_PAGE register field. */
1490#define ALT_ACPIDMAP_VID6WR_PAGE_RESET      0x0
1491/* Extracts the ALT_ACPIDMAP_VID6WR_PAGE field value from a register. */
1492#define ALT_ACPIDMAP_VID6WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1493/* Produces a ALT_ACPIDMAP_VID6WR_PAGE register field value suitable for setting the register. */
1494#define ALT_ACPIDMAP_VID6WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
1495
1496/*
1497 * Field : Remap Master ID - mid
1498 *
1499 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
1500 * ID to use.
1501 *
1502 * Field Access Macros:
1503 *
1504 */
1505/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_MID register field. */
1506#define ALT_ACPIDMAP_VID6WR_MID_LSB        16
1507/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_MID register field. */
1508#define ALT_ACPIDMAP_VID6WR_MID_MSB        27
1509/* The width in bits of the ALT_ACPIDMAP_VID6WR_MID register field. */
1510#define ALT_ACPIDMAP_VID6WR_MID_WIDTH      12
1511/* The mask used to set the ALT_ACPIDMAP_VID6WR_MID register field value. */
1512#define ALT_ACPIDMAP_VID6WR_MID_SET_MSK    0x0fff0000
1513/* The mask used to clear the ALT_ACPIDMAP_VID6WR_MID register field value. */
1514#define ALT_ACPIDMAP_VID6WR_MID_CLR_MSK    0xf000ffff
1515/* The reset value of the ALT_ACPIDMAP_VID6WR_MID register field. */
1516#define ALT_ACPIDMAP_VID6WR_MID_RESET      0x0
1517/* Extracts the ALT_ACPIDMAP_VID6WR_MID field value from a register. */
1518#define ALT_ACPIDMAP_VID6WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1519/* Produces a ALT_ACPIDMAP_VID6WR_MID register field value suitable for setting the register. */
1520#define ALT_ACPIDMAP_VID6WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
1521
1522/*
1523 * Field : Force Mapping - force
1524 *
1525 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
1526 * to 0 to allow the 3-bit ID N to be dynamically allocated.
1527 *
1528 * Field Access Macros:
1529 *
1530 */
1531/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_FORCE register field. */
1532#define ALT_ACPIDMAP_VID6WR_FORCE_LSB        31
1533/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_FORCE register field. */
1534#define ALT_ACPIDMAP_VID6WR_FORCE_MSB        31
1535/* The width in bits of the ALT_ACPIDMAP_VID6WR_FORCE register field. */
1536#define ALT_ACPIDMAP_VID6WR_FORCE_WIDTH      1
1537/* The mask used to set the ALT_ACPIDMAP_VID6WR_FORCE register field value. */
1538#define ALT_ACPIDMAP_VID6WR_FORCE_SET_MSK    0x80000000
1539/* The mask used to clear the ALT_ACPIDMAP_VID6WR_FORCE register field value. */
1540#define ALT_ACPIDMAP_VID6WR_FORCE_CLR_MSK    0x7fffffff
1541/* The reset value of the ALT_ACPIDMAP_VID6WR_FORCE register field. */
1542#define ALT_ACPIDMAP_VID6WR_FORCE_RESET      0x0
1543/* Extracts the ALT_ACPIDMAP_VID6WR_FORCE field value from a register. */
1544#define ALT_ACPIDMAP_VID6WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1545/* Produces a ALT_ACPIDMAP_VID6WR_FORCE register field value suitable for setting the register. */
1546#define ALT_ACPIDMAP_VID6WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
1547
1548#ifndef __ASSEMBLY__
1549/*
1550 * WARNING: The C register and register group struct declarations are provided for
1551 * convenience and illustrative purposes. They should, however, be used with
1552 * caution as the C language standard provides no guarantees about the alignment or
1553 * atomicity of device memory accesses. The recommended practice for writing
1554 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1555 * alt_write_word() functions.
1556 *
1557 * The struct declaration for register ALT_ACPIDMAP_VID6WR.
1558 */
1559struct ALT_ACPIDMAP_VID6WR_s
1560{
1561    uint32_t        :  4;  /* *UNDEFINED* */
1562    uint32_t  user  :  5;  /* AWUSER value to SCU */
1563    uint32_t        :  3;  /* *UNDEFINED* */
1564    uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder */
1565    uint32_t        :  2;  /* *UNDEFINED* */
1566    uint32_t  mid   : 12;  /* Remap Master ID */
1567    uint32_t        :  3;  /* *UNDEFINED* */
1568    uint32_t  force :  1;  /* Force Mapping */
1569};
1570
1571/* The typedef declaration for register ALT_ACPIDMAP_VID6WR. */
1572typedef volatile struct ALT_ACPIDMAP_VID6WR_s  ALT_ACPIDMAP_VID6WR_t;
1573#endif  /* __ASSEMBLY__ */
1574
1575/* The byte offset of the ALT_ACPIDMAP_VID6WR register from the beginning of the component. */
1576#define ALT_ACPIDMAP_VID6WR_OFST        0x24
1577
1578/*
1579 * Register : Read AXI Master Mapping Register for Dynamic Virtual ID Remap - dynrd
1580 *
1581 * The Read AXI Master Mapping Register contains the USER, and ADDR page signals
1582 * mapping values for transaction that dynamically remapped to one of the available
1583 * 3-bit virtual IDs.
1584 *
1585 * Register Layout
1586 *
1587 *  Bits    | Access | Reset | Description           
1588 * :--------|:-------|:------|:------------------------
1589 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
1590 *  [8:4]   | RW     | 0x0   | ARUSER value to SCU   
1591 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
1592 *  [13:12] | RW     | 0x0   | ARADDR 1GB Page Decoder
1593 *  [31:14] | ???    | 0x0   | *UNDEFINED*           
1594 *
1595 */
1596/*
1597 * Field : ARUSER value to SCU - user
1598 *
1599 * This value is propagated to SCU as ARUSERS.
1600 *
1601 * Field Access Macros:
1602 *
1603 */
1604/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNRD_USER register field. */
1605#define ALT_ACPIDMAP_DYNRD_USER_LSB        4
1606/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNRD_USER register field. */
1607#define ALT_ACPIDMAP_DYNRD_USER_MSB        8
1608/* The width in bits of the ALT_ACPIDMAP_DYNRD_USER register field. */
1609#define ALT_ACPIDMAP_DYNRD_USER_WIDTH      5
1610/* The mask used to set the ALT_ACPIDMAP_DYNRD_USER register field value. */
1611#define ALT_ACPIDMAP_DYNRD_USER_SET_MSK    0x000001f0
1612/* The mask used to clear the ALT_ACPIDMAP_DYNRD_USER register field value. */
1613#define ALT_ACPIDMAP_DYNRD_USER_CLR_MSK    0xfffffe0f
1614/* The reset value of the ALT_ACPIDMAP_DYNRD_USER register field. */
1615#define ALT_ACPIDMAP_DYNRD_USER_RESET      0x0
1616/* Extracts the ALT_ACPIDMAP_DYNRD_USER field value from a register. */
1617#define ALT_ACPIDMAP_DYNRD_USER_GET(value) (((value) & 0x000001f0) >> 4)
1618/* Produces a ALT_ACPIDMAP_DYNRD_USER register field value suitable for setting the register. */
1619#define ALT_ACPIDMAP_DYNRD_USER_SET(value) (((value) << 4) & 0x000001f0)
1620
1621/*
1622 * Field : ARADDR 1GB Page Decoder - page
1623 *
1624 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1625 *
1626 * Field Access Macros:
1627 *
1628 */
1629/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNRD_PAGE register field. */
1630#define ALT_ACPIDMAP_DYNRD_PAGE_LSB        12
1631/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNRD_PAGE register field. */
1632#define ALT_ACPIDMAP_DYNRD_PAGE_MSB        13
1633/* The width in bits of the ALT_ACPIDMAP_DYNRD_PAGE register field. */
1634#define ALT_ACPIDMAP_DYNRD_PAGE_WIDTH      2
1635/* The mask used to set the ALT_ACPIDMAP_DYNRD_PAGE register field value. */
1636#define ALT_ACPIDMAP_DYNRD_PAGE_SET_MSK    0x00003000
1637/* The mask used to clear the ALT_ACPIDMAP_DYNRD_PAGE register field value. */
1638#define ALT_ACPIDMAP_DYNRD_PAGE_CLR_MSK    0xffffcfff
1639/* The reset value of the ALT_ACPIDMAP_DYNRD_PAGE register field. */
1640#define ALT_ACPIDMAP_DYNRD_PAGE_RESET      0x0
1641/* Extracts the ALT_ACPIDMAP_DYNRD_PAGE field value from a register. */
1642#define ALT_ACPIDMAP_DYNRD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1643/* Produces a ALT_ACPIDMAP_DYNRD_PAGE register field value suitable for setting the register. */
1644#define ALT_ACPIDMAP_DYNRD_PAGE_SET(value) (((value) << 12) & 0x00003000)
1645
1646#ifndef __ASSEMBLY__
1647/*
1648 * WARNING: The C register and register group struct declarations are provided for
1649 * convenience and illustrative purposes. They should, however, be used with
1650 * caution as the C language standard provides no guarantees about the alignment or
1651 * atomicity of device memory accesses. The recommended practice for writing
1652 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1653 * alt_write_word() functions.
1654 *
1655 * The struct declaration for register ALT_ACPIDMAP_DYNRD.
1656 */
1657struct ALT_ACPIDMAP_DYNRD_s
1658{
1659    uint32_t       :  4;  /* *UNDEFINED* */
1660    uint32_t  user :  5;  /* ARUSER value to SCU */
1661    uint32_t       :  3;  /* *UNDEFINED* */
1662    uint32_t  page :  2;  /* ARADDR 1GB Page Decoder */
1663    uint32_t       : 18;  /* *UNDEFINED* */
1664};
1665
1666/* The typedef declaration for register ALT_ACPIDMAP_DYNRD. */
1667typedef volatile struct ALT_ACPIDMAP_DYNRD_s  ALT_ACPIDMAP_DYNRD_t;
1668#endif  /* __ASSEMBLY__ */
1669
1670/* The byte offset of the ALT_ACPIDMAP_DYNRD register from the beginning of the component. */
1671#define ALT_ACPIDMAP_DYNRD_OFST        0x28
1672
1673/*
1674 * Register : Write AXI Master Mapping Register for Dynamic Virtual ID Remap - dynwr
1675 *
1676 * The Write AXI Master Mapping Register contains the USER, and ADDR page signals
1677 * mapping values for transaction that dynamically remapped to one of the available
1678 * 3-bit virtual IDs.
1679 *
1680 * Register Layout
1681 *
1682 *  Bits    | Access | Reset | Description           
1683 * :--------|:-------|:------|:------------------------
1684 *  [3:0]   | ???    | 0x0   | *UNDEFINED*           
1685 *  [8:4]   | RW     | 0x0   | AWUSER value to SCU   
1686 *  [11:9]  | ???    | 0x0   | *UNDEFINED*           
1687 *  [13:12] | RW     | 0x0   | AWADDR 1GB Page Decoder
1688 *  [31:14] | ???    | 0x0   | *UNDEFINED*           
1689 *
1690 */
1691/*
1692 * Field : AWUSER value to SCU - user
1693 *
1694 * This value is propagated to SCU as AWUSERS.
1695 *
1696 * Field Access Macros:
1697 *
1698 */
1699/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNWR_USER register field. */
1700#define ALT_ACPIDMAP_DYNWR_USER_LSB        4
1701/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNWR_USER register field. */
1702#define ALT_ACPIDMAP_DYNWR_USER_MSB        8
1703/* The width in bits of the ALT_ACPIDMAP_DYNWR_USER register field. */
1704#define ALT_ACPIDMAP_DYNWR_USER_WIDTH      5
1705/* The mask used to set the ALT_ACPIDMAP_DYNWR_USER register field value. */
1706#define ALT_ACPIDMAP_DYNWR_USER_SET_MSK    0x000001f0
1707/* The mask used to clear the ALT_ACPIDMAP_DYNWR_USER register field value. */
1708#define ALT_ACPIDMAP_DYNWR_USER_CLR_MSK    0xfffffe0f
1709/* The reset value of the ALT_ACPIDMAP_DYNWR_USER register field. */
1710#define ALT_ACPIDMAP_DYNWR_USER_RESET      0x0
1711/* Extracts the ALT_ACPIDMAP_DYNWR_USER field value from a register. */
1712#define ALT_ACPIDMAP_DYNWR_USER_GET(value) (((value) & 0x000001f0) >> 4)
1713/* Produces a ALT_ACPIDMAP_DYNWR_USER register field value suitable for setting the register. */
1714#define ALT_ACPIDMAP_DYNWR_USER_SET(value) (((value) << 4) & 0x000001f0)
1715
1716/*
1717 * Field : AWADDR 1GB Page Decoder - page
1718 *
1719 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1720 *
1721 * Field Access Macros:
1722 *
1723 */
1724/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNWR_PAGE register field. */
1725#define ALT_ACPIDMAP_DYNWR_PAGE_LSB        12
1726/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNWR_PAGE register field. */
1727#define ALT_ACPIDMAP_DYNWR_PAGE_MSB        13
1728/* The width in bits of the ALT_ACPIDMAP_DYNWR_PAGE register field. */
1729#define ALT_ACPIDMAP_DYNWR_PAGE_WIDTH      2
1730/* The mask used to set the ALT_ACPIDMAP_DYNWR_PAGE register field value. */
1731#define ALT_ACPIDMAP_DYNWR_PAGE_SET_MSK    0x00003000
1732/* The mask used to clear the ALT_ACPIDMAP_DYNWR_PAGE register field value. */
1733#define ALT_ACPIDMAP_DYNWR_PAGE_CLR_MSK    0xffffcfff
1734/* The reset value of the ALT_ACPIDMAP_DYNWR_PAGE register field. */
1735#define ALT_ACPIDMAP_DYNWR_PAGE_RESET      0x0
1736/* Extracts the ALT_ACPIDMAP_DYNWR_PAGE field value from a register. */
1737#define ALT_ACPIDMAP_DYNWR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1738/* Produces a ALT_ACPIDMAP_DYNWR_PAGE register field value suitable for setting the register. */
1739#define ALT_ACPIDMAP_DYNWR_PAGE_SET(value) (((value) << 12) & 0x00003000)
1740
1741#ifndef __ASSEMBLY__
1742/*
1743 * WARNING: The C register and register group struct declarations are provided for
1744 * convenience and illustrative purposes. They should, however, be used with
1745 * caution as the C language standard provides no guarantees about the alignment or
1746 * atomicity of device memory accesses. The recommended practice for writing
1747 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1748 * alt_write_word() functions.
1749 *
1750 * The struct declaration for register ALT_ACPIDMAP_DYNWR.
1751 */
1752struct ALT_ACPIDMAP_DYNWR_s
1753{
1754    uint32_t       :  4;  /* *UNDEFINED* */
1755    uint32_t  user :  5;  /* AWUSER value to SCU */
1756    uint32_t       :  3;  /* *UNDEFINED* */
1757    uint32_t  page :  2;  /* AWADDR 1GB Page Decoder */
1758    uint32_t       : 18;  /* *UNDEFINED* */
1759};
1760
1761/* The typedef declaration for register ALT_ACPIDMAP_DYNWR. */
1762typedef volatile struct ALT_ACPIDMAP_DYNWR_s  ALT_ACPIDMAP_DYNWR_t;
1763#endif  /* __ASSEMBLY__ */
1764
1765/* The byte offset of the ALT_ACPIDMAP_DYNWR register from the beginning of the component. */
1766#define ALT_ACPIDMAP_DYNWR_OFST        0x2c
1767
1768/*
1769 * Register : Read AXI Master Mapping Status Register for Fixed Virtual ID 2 - vid2rd_s
1770 *
1771 * The Read AXI Master Mapping Status Register contains the configured USER, ADDR
1772 * page, and ID signals mapping values for particular transaction with 12-bit ID
1773 * which locks the fixed 3-bit virtual ID.
1774 *
1775 * Register Layout
1776 *
1777 *  Bits    | Access | Reset   | Description                         
1778 * :--------|:-------|:--------|:--------------------------------------
1779 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                         
1780 *  [8:4]   | R      | 0x1     | ARUSER value to SCU for ID=2 (Status)
1781 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                         
1782 *  [13:12] | R      | Unknown | ARADDR 1GB Page Decoder (Status)     
1783 *  [15:14] | ???    | 0x0     | *UNDEFINED*                         
1784 *  [27:16] | R      | 0x4     | Remap Master ID = DAP ID (Status)   
1785 *  [30:28] | ???    | 0x0     | *UNDEFINED*                         
1786 *  [31]    | R      | 0x1     | Force Mapping for ID=2 (Status)     
1787 *
1788 */
1789/*
1790 * Field : ARUSER value to SCU for ID=2 (Status) - user
1791 *
1792 * This value is propagated to SCU as ARUSERS.
1793 *
1794 * Field Access Macros:
1795 *
1796 */
1797/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_S_USER register field. */
1798#define ALT_ACPIDMAP_VID2RD_S_USER_LSB        4
1799/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_S_USER register field. */
1800#define ALT_ACPIDMAP_VID2RD_S_USER_MSB        8
1801/* The width in bits of the ALT_ACPIDMAP_VID2RD_S_USER register field. */
1802#define ALT_ACPIDMAP_VID2RD_S_USER_WIDTH      5
1803/* The mask used to set the ALT_ACPIDMAP_VID2RD_S_USER register field value. */
1804#define ALT_ACPIDMAP_VID2RD_S_USER_SET_MSK    0x000001f0
1805/* The mask used to clear the ALT_ACPIDMAP_VID2RD_S_USER register field value. */
1806#define ALT_ACPIDMAP_VID2RD_S_USER_CLR_MSK    0xfffffe0f
1807/* The reset value of the ALT_ACPIDMAP_VID2RD_S_USER register field. */
1808#define ALT_ACPIDMAP_VID2RD_S_USER_RESET      0x1
1809/* Extracts the ALT_ACPIDMAP_VID2RD_S_USER field value from a register. */
1810#define ALT_ACPIDMAP_VID2RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
1811/* Produces a ALT_ACPIDMAP_VID2RD_S_USER register field value suitable for setting the register. */
1812#define ALT_ACPIDMAP_VID2RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
1813
1814/*
1815 * Field : ARADDR 1GB Page Decoder (Status) - page
1816 *
1817 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1818 *
1819 * Field Access Macros:
1820 *
1821 */
1822/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_S_PAGE register field. */
1823#define ALT_ACPIDMAP_VID2RD_S_PAGE_LSB        12
1824/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_S_PAGE register field. */
1825#define ALT_ACPIDMAP_VID2RD_S_PAGE_MSB        13
1826/* The width in bits of the ALT_ACPIDMAP_VID2RD_S_PAGE register field. */
1827#define ALT_ACPIDMAP_VID2RD_S_PAGE_WIDTH      2
1828/* The mask used to set the ALT_ACPIDMAP_VID2RD_S_PAGE register field value. */
1829#define ALT_ACPIDMAP_VID2RD_S_PAGE_SET_MSK    0x00003000
1830/* The mask used to clear the ALT_ACPIDMAP_VID2RD_S_PAGE register field value. */
1831#define ALT_ACPIDMAP_VID2RD_S_PAGE_CLR_MSK    0xffffcfff
1832/* The reset value of the ALT_ACPIDMAP_VID2RD_S_PAGE register field is UNKNOWN. */
1833#define ALT_ACPIDMAP_VID2RD_S_PAGE_RESET      0x0
1834/* Extracts the ALT_ACPIDMAP_VID2RD_S_PAGE field value from a register. */
1835#define ALT_ACPIDMAP_VID2RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1836/* Produces a ALT_ACPIDMAP_VID2RD_S_PAGE register field value suitable for setting the register. */
1837#define ALT_ACPIDMAP_VID2RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
1838
1839/*
1840 * Field : Remap Master ID = DAP ID (Status) - mid
1841 *
1842 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
1843 * ID to use.
1844 *
1845 * Field Access Macros:
1846 *
1847 */
1848/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_S_MID register field. */
1849#define ALT_ACPIDMAP_VID2RD_S_MID_LSB        16
1850/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_S_MID register field. */
1851#define ALT_ACPIDMAP_VID2RD_S_MID_MSB        27
1852/* The width in bits of the ALT_ACPIDMAP_VID2RD_S_MID register field. */
1853#define ALT_ACPIDMAP_VID2RD_S_MID_WIDTH      12
1854/* The mask used to set the ALT_ACPIDMAP_VID2RD_S_MID register field value. */
1855#define ALT_ACPIDMAP_VID2RD_S_MID_SET_MSK    0x0fff0000
1856/* The mask used to clear the ALT_ACPIDMAP_VID2RD_S_MID register field value. */
1857#define ALT_ACPIDMAP_VID2RD_S_MID_CLR_MSK    0xf000ffff
1858/* The reset value of the ALT_ACPIDMAP_VID2RD_S_MID register field. */
1859#define ALT_ACPIDMAP_VID2RD_S_MID_RESET      0x4
1860/* Extracts the ALT_ACPIDMAP_VID2RD_S_MID field value from a register. */
1861#define ALT_ACPIDMAP_VID2RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1862/* Produces a ALT_ACPIDMAP_VID2RD_S_MID register field value suitable for setting the register. */
1863#define ALT_ACPIDMAP_VID2RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
1864
1865/*
1866 * Field : Force Mapping for ID=2 (Status) - force
1867 *
1868 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
1869 * to 0 to allow the 3-bit ID N to be dynamically allocated.
1870 *
1871 * Field Access Macros:
1872 *
1873 */
1874/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_S_FORCE register field. */
1875#define ALT_ACPIDMAP_VID2RD_S_FORCE_LSB        31
1876/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_S_FORCE register field. */
1877#define ALT_ACPIDMAP_VID2RD_S_FORCE_MSB        31
1878/* The width in bits of the ALT_ACPIDMAP_VID2RD_S_FORCE register field. */
1879#define ALT_ACPIDMAP_VID2RD_S_FORCE_WIDTH      1
1880/* The mask used to set the ALT_ACPIDMAP_VID2RD_S_FORCE register field value. */
1881#define ALT_ACPIDMAP_VID2RD_S_FORCE_SET_MSK    0x80000000
1882/* The mask used to clear the ALT_ACPIDMAP_VID2RD_S_FORCE register field value. */
1883#define ALT_ACPIDMAP_VID2RD_S_FORCE_CLR_MSK    0x7fffffff
1884/* The reset value of the ALT_ACPIDMAP_VID2RD_S_FORCE register field. */
1885#define ALT_ACPIDMAP_VID2RD_S_FORCE_RESET      0x1
1886/* Extracts the ALT_ACPIDMAP_VID2RD_S_FORCE field value from a register. */
1887#define ALT_ACPIDMAP_VID2RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1888/* Produces a ALT_ACPIDMAP_VID2RD_S_FORCE register field value suitable for setting the register. */
1889#define ALT_ACPIDMAP_VID2RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
1890
1891#ifndef __ASSEMBLY__
1892/*
1893 * WARNING: The C register and register group struct declarations are provided for
1894 * convenience and illustrative purposes. They should, however, be used with
1895 * caution as the C language standard provides no guarantees about the alignment or
1896 * atomicity of device memory accesses. The recommended practice for writing
1897 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
1898 * alt_write_word() functions.
1899 *
1900 * The struct declaration for register ALT_ACPIDMAP_VID2RD_S.
1901 */
1902struct ALT_ACPIDMAP_VID2RD_S_s
1903{
1904    uint32_t              :  4;  /* *UNDEFINED* */
1905    const uint32_t  user  :  5;  /* ARUSER value to SCU for ID=2 (Status) */
1906    uint32_t              :  3;  /* *UNDEFINED* */
1907    const uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder (Status) */
1908    uint32_t              :  2;  /* *UNDEFINED* */
1909    const uint32_t  mid   : 12;  /* Remap Master ID = DAP ID (Status) */
1910    uint32_t              :  3;  /* *UNDEFINED* */
1911    const uint32_t  force :  1;  /* Force Mapping for ID=2 (Status) */
1912};
1913
1914/* The typedef declaration for register ALT_ACPIDMAP_VID2RD_S. */
1915typedef volatile struct ALT_ACPIDMAP_VID2RD_S_s  ALT_ACPIDMAP_VID2RD_S_t;
1916#endif  /* __ASSEMBLY__ */
1917
1918/* The byte offset of the ALT_ACPIDMAP_VID2RD_S register from the beginning of the component. */
1919#define ALT_ACPIDMAP_VID2RD_S_OFST        0x30
1920
1921/*
1922 * Register : Write AXI Master Mapping Status Register for Fixed Virtual ID 2 - vid2wr_s
1923 *
1924 * The Write AXI Master Mapping Status Register contains the configured USER, ADDR
1925 * page, and ID signals mapping values for particular transaction with 12-bit ID
1926 * which locks the fixed 3-bit virtual ID.
1927 *
1928 * Register Layout
1929 *
1930 *  Bits    | Access | Reset   | Description                         
1931 * :--------|:-------|:--------|:--------------------------------------
1932 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                         
1933 *  [8:4]   | R      | 0x1     | AWUSER value to SCU for ID=2 (Status)
1934 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                         
1935 *  [13:12] | R      | Unknown | AWADDR 1GB Page Decoder (Status)     
1936 *  [15:14] | ???    | 0x0     | *UNDEFINED*                         
1937 *  [27:16] | R      | 0x4     | Remap Master ID = DAP ID (Status)   
1938 *  [30:28] | ???    | 0x0     | *UNDEFINED*                         
1939 *  [31]    | R      | 0x1     | Force Mapping for ID=2 (Status)     
1940 *
1941 */
1942/*
1943 * Field : AWUSER value to SCU for ID=2 (Status) - user
1944 *
1945 * This value is propagated to SCU as AWUSERS.
1946 *
1947 * Field Access Macros:
1948 *
1949 */
1950/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_S_USER register field. */
1951#define ALT_ACPIDMAP_VID2WR_S_USER_LSB        4
1952/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_S_USER register field. */
1953#define ALT_ACPIDMAP_VID2WR_S_USER_MSB        8
1954/* The width in bits of the ALT_ACPIDMAP_VID2WR_S_USER register field. */
1955#define ALT_ACPIDMAP_VID2WR_S_USER_WIDTH      5
1956/* The mask used to set the ALT_ACPIDMAP_VID2WR_S_USER register field value. */
1957#define ALT_ACPIDMAP_VID2WR_S_USER_SET_MSK    0x000001f0
1958/* The mask used to clear the ALT_ACPIDMAP_VID2WR_S_USER register field value. */
1959#define ALT_ACPIDMAP_VID2WR_S_USER_CLR_MSK    0xfffffe0f
1960/* The reset value of the ALT_ACPIDMAP_VID2WR_S_USER register field. */
1961#define ALT_ACPIDMAP_VID2WR_S_USER_RESET      0x1
1962/* Extracts the ALT_ACPIDMAP_VID2WR_S_USER field value from a register. */
1963#define ALT_ACPIDMAP_VID2WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
1964/* Produces a ALT_ACPIDMAP_VID2WR_S_USER register field value suitable for setting the register. */
1965#define ALT_ACPIDMAP_VID2WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
1966
1967/*
1968 * Field : AWADDR 1GB Page Decoder (Status) - page
1969 *
1970 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
1971 *
1972 * Field Access Macros:
1973 *
1974 */
1975/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_S_PAGE register field. */
1976#define ALT_ACPIDMAP_VID2WR_S_PAGE_LSB        12
1977/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_S_PAGE register field. */
1978#define ALT_ACPIDMAP_VID2WR_S_PAGE_MSB        13
1979/* The width in bits of the ALT_ACPIDMAP_VID2WR_S_PAGE register field. */
1980#define ALT_ACPIDMAP_VID2WR_S_PAGE_WIDTH      2
1981/* The mask used to set the ALT_ACPIDMAP_VID2WR_S_PAGE register field value. */
1982#define ALT_ACPIDMAP_VID2WR_S_PAGE_SET_MSK    0x00003000
1983/* The mask used to clear the ALT_ACPIDMAP_VID2WR_S_PAGE register field value. */
1984#define ALT_ACPIDMAP_VID2WR_S_PAGE_CLR_MSK    0xffffcfff
1985/* The reset value of the ALT_ACPIDMAP_VID2WR_S_PAGE register field is UNKNOWN. */
1986#define ALT_ACPIDMAP_VID2WR_S_PAGE_RESET      0x0
1987/* Extracts the ALT_ACPIDMAP_VID2WR_S_PAGE field value from a register. */
1988#define ALT_ACPIDMAP_VID2WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1989/* Produces a ALT_ACPIDMAP_VID2WR_S_PAGE register field value suitable for setting the register. */
1990#define ALT_ACPIDMAP_VID2WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
1991
1992/*
1993 * Field : Remap Master ID = DAP ID (Status) - mid
1994 *
1995 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
1996 * ID to use.
1997 *
1998 * Field Access Macros:
1999 *
2000 */
2001/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_S_MID register field. */
2002#define ALT_ACPIDMAP_VID2WR_S_MID_LSB        16
2003/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_S_MID register field. */
2004#define ALT_ACPIDMAP_VID2WR_S_MID_MSB        27
2005/* The width in bits of the ALT_ACPIDMAP_VID2WR_S_MID register field. */
2006#define ALT_ACPIDMAP_VID2WR_S_MID_WIDTH      12
2007/* The mask used to set the ALT_ACPIDMAP_VID2WR_S_MID register field value. */
2008#define ALT_ACPIDMAP_VID2WR_S_MID_SET_MSK    0x0fff0000
2009/* The mask used to clear the ALT_ACPIDMAP_VID2WR_S_MID register field value. */
2010#define ALT_ACPIDMAP_VID2WR_S_MID_CLR_MSK    0xf000ffff
2011/* The reset value of the ALT_ACPIDMAP_VID2WR_S_MID register field. */
2012#define ALT_ACPIDMAP_VID2WR_S_MID_RESET      0x4
2013/* Extracts the ALT_ACPIDMAP_VID2WR_S_MID field value from a register. */
2014#define ALT_ACPIDMAP_VID2WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2015/* Produces a ALT_ACPIDMAP_VID2WR_S_MID register field value suitable for setting the register. */
2016#define ALT_ACPIDMAP_VID2WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2017
2018/*
2019 * Field : Force Mapping for ID=2 (Status) - force
2020 *
2021 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2022 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2023 *
2024 * Field Access Macros:
2025 *
2026 */
2027/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_S_FORCE register field. */
2028#define ALT_ACPIDMAP_VID2WR_S_FORCE_LSB        31
2029/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_S_FORCE register field. */
2030#define ALT_ACPIDMAP_VID2WR_S_FORCE_MSB        31
2031/* The width in bits of the ALT_ACPIDMAP_VID2WR_S_FORCE register field. */
2032#define ALT_ACPIDMAP_VID2WR_S_FORCE_WIDTH      1
2033/* The mask used to set the ALT_ACPIDMAP_VID2WR_S_FORCE register field value. */
2034#define ALT_ACPIDMAP_VID2WR_S_FORCE_SET_MSK    0x80000000
2035/* The mask used to clear the ALT_ACPIDMAP_VID2WR_S_FORCE register field value. */
2036#define ALT_ACPIDMAP_VID2WR_S_FORCE_CLR_MSK    0x7fffffff
2037/* The reset value of the ALT_ACPIDMAP_VID2WR_S_FORCE register field. */
2038#define ALT_ACPIDMAP_VID2WR_S_FORCE_RESET      0x1
2039/* Extracts the ALT_ACPIDMAP_VID2WR_S_FORCE field value from a register. */
2040#define ALT_ACPIDMAP_VID2WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2041/* Produces a ALT_ACPIDMAP_VID2WR_S_FORCE register field value suitable for setting the register. */
2042#define ALT_ACPIDMAP_VID2WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2043
2044#ifndef __ASSEMBLY__
2045/*
2046 * WARNING: The C register and register group struct declarations are provided for
2047 * convenience and illustrative purposes. They should, however, be used with
2048 * caution as the C language standard provides no guarantees about the alignment or
2049 * atomicity of device memory accesses. The recommended practice for writing
2050 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2051 * alt_write_word() functions.
2052 *
2053 * The struct declaration for register ALT_ACPIDMAP_VID2WR_S.
2054 */
2055struct ALT_ACPIDMAP_VID2WR_S_s
2056{
2057    uint32_t              :  4;  /* *UNDEFINED* */
2058    const uint32_t  user  :  5;  /* AWUSER value to SCU for ID=2 (Status) */
2059    uint32_t              :  3;  /* *UNDEFINED* */
2060    const uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder (Status) */
2061    uint32_t              :  2;  /* *UNDEFINED* */
2062    const uint32_t  mid   : 12;  /* Remap Master ID = DAP ID (Status) */
2063    uint32_t              :  3;  /* *UNDEFINED* */
2064    const uint32_t  force :  1;  /* Force Mapping for ID=2 (Status) */
2065};
2066
2067/* The typedef declaration for register ALT_ACPIDMAP_VID2WR_S. */
2068typedef volatile struct ALT_ACPIDMAP_VID2WR_S_s  ALT_ACPIDMAP_VID2WR_S_t;
2069#endif  /* __ASSEMBLY__ */
2070
2071/* The byte offset of the ALT_ACPIDMAP_VID2WR_S register from the beginning of the component. */
2072#define ALT_ACPIDMAP_VID2WR_S_OFST        0x34
2073
2074/*
2075 * Register : Read AXI Master Mapping Status Register for Fixed Virtual ID 3 - vid3rd_s
2076 *
2077 * The Read AXI Master Mapping Status Register contains the configured USER, ADDR
2078 * page, and ID signals mapping values for particular transaction with 12-bit ID
2079 * which locks the fixed 3-bit virtual ID.
2080 *
2081 * Register Layout
2082 *
2083 *  Bits    | Access | Reset   | Description                     
2084 * :--------|:-------|:--------|:---------------------------------
2085 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
2086 *  [8:4]   | R      | Unknown | ARUSER value to SCU (Status)   
2087 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
2088 *  [13:12] | R      | Unknown | ARADDR 1GB Page Decoder (Status)
2089 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
2090 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
2091 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
2092 *  [31]    | R      | Unknown | Force Mapping (Status)         
2093 *
2094 */
2095/*
2096 * Field : ARUSER value to SCU (Status) - user
2097 *
2098 * This value is propagated to SCU as ARUSERS.
2099 *
2100 * Field Access Macros:
2101 *
2102 */
2103/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_S_USER register field. */
2104#define ALT_ACPIDMAP_VID3RD_S_USER_LSB        4
2105/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_S_USER register field. */
2106#define ALT_ACPIDMAP_VID3RD_S_USER_MSB        8
2107/* The width in bits of the ALT_ACPIDMAP_VID3RD_S_USER register field. */
2108#define ALT_ACPIDMAP_VID3RD_S_USER_WIDTH      5
2109/* The mask used to set the ALT_ACPIDMAP_VID3RD_S_USER register field value. */
2110#define ALT_ACPIDMAP_VID3RD_S_USER_SET_MSK    0x000001f0
2111/* The mask used to clear the ALT_ACPIDMAP_VID3RD_S_USER register field value. */
2112#define ALT_ACPIDMAP_VID3RD_S_USER_CLR_MSK    0xfffffe0f
2113/* The reset value of the ALT_ACPIDMAP_VID3RD_S_USER register field is UNKNOWN. */
2114#define ALT_ACPIDMAP_VID3RD_S_USER_RESET      0x0
2115/* Extracts the ALT_ACPIDMAP_VID3RD_S_USER field value from a register. */
2116#define ALT_ACPIDMAP_VID3RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2117/* Produces a ALT_ACPIDMAP_VID3RD_S_USER register field value suitable for setting the register. */
2118#define ALT_ACPIDMAP_VID3RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2119
2120/*
2121 * Field : ARADDR 1GB Page Decoder (Status) - page
2122 *
2123 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
2124 *
2125 * Field Access Macros:
2126 *
2127 */
2128/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_S_PAGE register field. */
2129#define ALT_ACPIDMAP_VID3RD_S_PAGE_LSB        12
2130/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_S_PAGE register field. */
2131#define ALT_ACPIDMAP_VID3RD_S_PAGE_MSB        13
2132/* The width in bits of the ALT_ACPIDMAP_VID3RD_S_PAGE register field. */
2133#define ALT_ACPIDMAP_VID3RD_S_PAGE_WIDTH      2
2134/* The mask used to set the ALT_ACPIDMAP_VID3RD_S_PAGE register field value. */
2135#define ALT_ACPIDMAP_VID3RD_S_PAGE_SET_MSK    0x00003000
2136/* The mask used to clear the ALT_ACPIDMAP_VID3RD_S_PAGE register field value. */
2137#define ALT_ACPIDMAP_VID3RD_S_PAGE_CLR_MSK    0xffffcfff
2138/* The reset value of the ALT_ACPIDMAP_VID3RD_S_PAGE register field is UNKNOWN. */
2139#define ALT_ACPIDMAP_VID3RD_S_PAGE_RESET      0x0
2140/* Extracts the ALT_ACPIDMAP_VID3RD_S_PAGE field value from a register. */
2141#define ALT_ACPIDMAP_VID3RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2142/* Produces a ALT_ACPIDMAP_VID3RD_S_PAGE register field value suitable for setting the register. */
2143#define ALT_ACPIDMAP_VID3RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2144
2145/*
2146 * Field : Remap Master ID (Status) - mid
2147 *
2148 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
2149 * ID to use.
2150 *
2151 * Field Access Macros:
2152 *
2153 */
2154/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_S_MID register field. */
2155#define ALT_ACPIDMAP_VID3RD_S_MID_LSB        16
2156/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_S_MID register field. */
2157#define ALT_ACPIDMAP_VID3RD_S_MID_MSB        27
2158/* The width in bits of the ALT_ACPIDMAP_VID3RD_S_MID register field. */
2159#define ALT_ACPIDMAP_VID3RD_S_MID_WIDTH      12
2160/* The mask used to set the ALT_ACPIDMAP_VID3RD_S_MID register field value. */
2161#define ALT_ACPIDMAP_VID3RD_S_MID_SET_MSK    0x0fff0000
2162/* The mask used to clear the ALT_ACPIDMAP_VID3RD_S_MID register field value. */
2163#define ALT_ACPIDMAP_VID3RD_S_MID_CLR_MSK    0xf000ffff
2164/* The reset value of the ALT_ACPIDMAP_VID3RD_S_MID register field is UNKNOWN. */
2165#define ALT_ACPIDMAP_VID3RD_S_MID_RESET      0x0
2166/* Extracts the ALT_ACPIDMAP_VID3RD_S_MID field value from a register. */
2167#define ALT_ACPIDMAP_VID3RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2168/* Produces a ALT_ACPIDMAP_VID3RD_S_MID register field value suitable for setting the register. */
2169#define ALT_ACPIDMAP_VID3RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2170
2171/*
2172 * Field : Force Mapping (Status) - force
2173 *
2174 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2175 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2176 *
2177 * Field Access Macros:
2178 *
2179 */
2180/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_S_FORCE register field. */
2181#define ALT_ACPIDMAP_VID3RD_S_FORCE_LSB        31
2182/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_S_FORCE register field. */
2183#define ALT_ACPIDMAP_VID3RD_S_FORCE_MSB        31
2184/* The width in bits of the ALT_ACPIDMAP_VID3RD_S_FORCE register field. */
2185#define ALT_ACPIDMAP_VID3RD_S_FORCE_WIDTH      1
2186/* The mask used to set the ALT_ACPIDMAP_VID3RD_S_FORCE register field value. */
2187#define ALT_ACPIDMAP_VID3RD_S_FORCE_SET_MSK    0x80000000
2188/* The mask used to clear the ALT_ACPIDMAP_VID3RD_S_FORCE register field value. */
2189#define ALT_ACPIDMAP_VID3RD_S_FORCE_CLR_MSK    0x7fffffff
2190/* The reset value of the ALT_ACPIDMAP_VID3RD_S_FORCE register field is UNKNOWN. */
2191#define ALT_ACPIDMAP_VID3RD_S_FORCE_RESET      0x0
2192/* Extracts the ALT_ACPIDMAP_VID3RD_S_FORCE field value from a register. */
2193#define ALT_ACPIDMAP_VID3RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2194/* Produces a ALT_ACPIDMAP_VID3RD_S_FORCE register field value suitable for setting the register. */
2195#define ALT_ACPIDMAP_VID3RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2196
2197#ifndef __ASSEMBLY__
2198/*
2199 * WARNING: The C register and register group struct declarations are provided for
2200 * convenience and illustrative purposes. They should, however, be used with
2201 * caution as the C language standard provides no guarantees about the alignment or
2202 * atomicity of device memory accesses. The recommended practice for writing
2203 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2204 * alt_write_word() functions.
2205 *
2206 * The struct declaration for register ALT_ACPIDMAP_VID3RD_S.
2207 */
2208struct ALT_ACPIDMAP_VID3RD_S_s
2209{
2210    uint32_t              :  4;  /* *UNDEFINED* */
2211    const uint32_t  user  :  5;  /* ARUSER value to SCU (Status) */
2212    uint32_t              :  3;  /* *UNDEFINED* */
2213    const uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder (Status) */
2214    uint32_t              :  2;  /* *UNDEFINED* */
2215    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
2216    uint32_t              :  3;  /* *UNDEFINED* */
2217    const uint32_t  force :  1;  /* Force Mapping (Status) */
2218};
2219
2220/* The typedef declaration for register ALT_ACPIDMAP_VID3RD_S. */
2221typedef volatile struct ALT_ACPIDMAP_VID3RD_S_s  ALT_ACPIDMAP_VID3RD_S_t;
2222#endif  /* __ASSEMBLY__ */
2223
2224/* The byte offset of the ALT_ACPIDMAP_VID3RD_S register from the beginning of the component. */
2225#define ALT_ACPIDMAP_VID3RD_S_OFST        0x38
2226
2227/*
2228 * Register : Write AXI Master Mapping Status Register for Fixed Virtual ID 3 - vid3wr_s
2229 *
2230 * The Write AXI Master Mapping Status Register contains the configured USER, ADDR
2231 * page, and ID signals mapping values for particular transaction with 12-bit ID
2232 * which locks the fixed 3-bit virtual ID.
2233 *
2234 * Register Layout
2235 *
2236 *  Bits    | Access | Reset   | Description                     
2237 * :--------|:-------|:--------|:---------------------------------
2238 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
2239 *  [8:4]   | R      | Unknown | AWUSER value to SCU (Status)   
2240 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
2241 *  [13:12] | R      | Unknown | AWADDR 1GB Page Decoder (Status)
2242 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
2243 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
2244 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
2245 *  [31]    | R      | Unknown | Force Mapping (Status)         
2246 *
2247 */
2248/*
2249 * Field : AWUSER value to SCU (Status) - user
2250 *
2251 * This value is propagated to SCU as AWUSERS.
2252 *
2253 * Field Access Macros:
2254 *
2255 */
2256/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_S_USER register field. */
2257#define ALT_ACPIDMAP_VID3WR_S_USER_LSB        4
2258/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_S_USER register field. */
2259#define ALT_ACPIDMAP_VID3WR_S_USER_MSB        8
2260/* The width in bits of the ALT_ACPIDMAP_VID3WR_S_USER register field. */
2261#define ALT_ACPIDMAP_VID3WR_S_USER_WIDTH      5
2262/* The mask used to set the ALT_ACPIDMAP_VID3WR_S_USER register field value. */
2263#define ALT_ACPIDMAP_VID3WR_S_USER_SET_MSK    0x000001f0
2264/* The mask used to clear the ALT_ACPIDMAP_VID3WR_S_USER register field value. */
2265#define ALT_ACPIDMAP_VID3WR_S_USER_CLR_MSK    0xfffffe0f
2266/* The reset value of the ALT_ACPIDMAP_VID3WR_S_USER register field is UNKNOWN. */
2267#define ALT_ACPIDMAP_VID3WR_S_USER_RESET      0x0
2268/* Extracts the ALT_ACPIDMAP_VID3WR_S_USER field value from a register. */
2269#define ALT_ACPIDMAP_VID3WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2270/* Produces a ALT_ACPIDMAP_VID3WR_S_USER register field value suitable for setting the register. */
2271#define ALT_ACPIDMAP_VID3WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2272
2273/*
2274 * Field : AWADDR 1GB Page Decoder (Status) - page
2275 *
2276 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
2277 *
2278 * Field Access Macros:
2279 *
2280 */
2281/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_S_PAGE register field. */
2282#define ALT_ACPIDMAP_VID3WR_S_PAGE_LSB        12
2283/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_S_PAGE register field. */
2284#define ALT_ACPIDMAP_VID3WR_S_PAGE_MSB        13
2285/* The width in bits of the ALT_ACPIDMAP_VID3WR_S_PAGE register field. */
2286#define ALT_ACPIDMAP_VID3WR_S_PAGE_WIDTH      2
2287/* The mask used to set the ALT_ACPIDMAP_VID3WR_S_PAGE register field value. */
2288#define ALT_ACPIDMAP_VID3WR_S_PAGE_SET_MSK    0x00003000
2289/* The mask used to clear the ALT_ACPIDMAP_VID3WR_S_PAGE register field value. */
2290#define ALT_ACPIDMAP_VID3WR_S_PAGE_CLR_MSK    0xffffcfff
2291/* The reset value of the ALT_ACPIDMAP_VID3WR_S_PAGE register field is UNKNOWN. */
2292#define ALT_ACPIDMAP_VID3WR_S_PAGE_RESET      0x0
2293/* Extracts the ALT_ACPIDMAP_VID3WR_S_PAGE field value from a register. */
2294#define ALT_ACPIDMAP_VID3WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2295/* Produces a ALT_ACPIDMAP_VID3WR_S_PAGE register field value suitable for setting the register. */
2296#define ALT_ACPIDMAP_VID3WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2297
2298/*
2299 * Field : Remap Master ID (Status) - mid
2300 *
2301 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
2302 * ID to use.
2303 *
2304 * Field Access Macros:
2305 *
2306 */
2307/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_S_MID register field. */
2308#define ALT_ACPIDMAP_VID3WR_S_MID_LSB        16
2309/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_S_MID register field. */
2310#define ALT_ACPIDMAP_VID3WR_S_MID_MSB        27
2311/* The width in bits of the ALT_ACPIDMAP_VID3WR_S_MID register field. */
2312#define ALT_ACPIDMAP_VID3WR_S_MID_WIDTH      12
2313/* The mask used to set the ALT_ACPIDMAP_VID3WR_S_MID register field value. */
2314#define ALT_ACPIDMAP_VID3WR_S_MID_SET_MSK    0x0fff0000
2315/* The mask used to clear the ALT_ACPIDMAP_VID3WR_S_MID register field value. */
2316#define ALT_ACPIDMAP_VID3WR_S_MID_CLR_MSK    0xf000ffff
2317/* The reset value of the ALT_ACPIDMAP_VID3WR_S_MID register field is UNKNOWN. */
2318#define ALT_ACPIDMAP_VID3WR_S_MID_RESET      0x0
2319/* Extracts the ALT_ACPIDMAP_VID3WR_S_MID field value from a register. */
2320#define ALT_ACPIDMAP_VID3WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2321/* Produces a ALT_ACPIDMAP_VID3WR_S_MID register field value suitable for setting the register. */
2322#define ALT_ACPIDMAP_VID3WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2323
2324/*
2325 * Field : Force Mapping (Status) - force
2326 *
2327 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2328 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2329 *
2330 * Field Access Macros:
2331 *
2332 */
2333/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_S_FORCE register field. */
2334#define ALT_ACPIDMAP_VID3WR_S_FORCE_LSB        31
2335/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_S_FORCE register field. */
2336#define ALT_ACPIDMAP_VID3WR_S_FORCE_MSB        31
2337/* The width in bits of the ALT_ACPIDMAP_VID3WR_S_FORCE register field. */
2338#define ALT_ACPIDMAP_VID3WR_S_FORCE_WIDTH      1
2339/* The mask used to set the ALT_ACPIDMAP_VID3WR_S_FORCE register field value. */
2340#define ALT_ACPIDMAP_VID3WR_S_FORCE_SET_MSK    0x80000000
2341/* The mask used to clear the ALT_ACPIDMAP_VID3WR_S_FORCE register field value. */
2342#define ALT_ACPIDMAP_VID3WR_S_FORCE_CLR_MSK    0x7fffffff
2343/* The reset value of the ALT_ACPIDMAP_VID3WR_S_FORCE register field is UNKNOWN. */
2344#define ALT_ACPIDMAP_VID3WR_S_FORCE_RESET      0x0
2345/* Extracts the ALT_ACPIDMAP_VID3WR_S_FORCE field value from a register. */
2346#define ALT_ACPIDMAP_VID3WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2347/* Produces a ALT_ACPIDMAP_VID3WR_S_FORCE register field value suitable for setting the register. */
2348#define ALT_ACPIDMAP_VID3WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2349
2350#ifndef __ASSEMBLY__
2351/*
2352 * WARNING: The C register and register group struct declarations are provided for
2353 * convenience and illustrative purposes. They should, however, be used with
2354 * caution as the C language standard provides no guarantees about the alignment or
2355 * atomicity of device memory accesses. The recommended practice for writing
2356 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2357 * alt_write_word() functions.
2358 *
2359 * The struct declaration for register ALT_ACPIDMAP_VID3WR_S.
2360 */
2361struct ALT_ACPIDMAP_VID3WR_S_s
2362{
2363    uint32_t              :  4;  /* *UNDEFINED* */
2364    const uint32_t  user  :  5;  /* AWUSER value to SCU (Status) */
2365    uint32_t              :  3;  /* *UNDEFINED* */
2366    const uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder (Status) */
2367    uint32_t              :  2;  /* *UNDEFINED* */
2368    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
2369    uint32_t              :  3;  /* *UNDEFINED* */
2370    const uint32_t  force :  1;  /* Force Mapping (Status) */
2371};
2372
2373/* The typedef declaration for register ALT_ACPIDMAP_VID3WR_S. */
2374typedef volatile struct ALT_ACPIDMAP_VID3WR_S_s  ALT_ACPIDMAP_VID3WR_S_t;
2375#endif  /* __ASSEMBLY__ */
2376
2377/* The byte offset of the ALT_ACPIDMAP_VID3WR_S register from the beginning of the component. */
2378#define ALT_ACPIDMAP_VID3WR_S_OFST        0x3c
2379
2380/*
2381 * Register : Read AXI Master Mapping Status Register for Fixed Virtual ID 4 - vid4rd_s
2382 *
2383 * The Read AXI Master Mapping Status Register contains the configured USER, ADDR
2384 * page, and ID signals mapping values for particular transaction with 12-bit ID
2385 * which locks the fixed 3-bit virtual ID.
2386 *
2387 * Register Layout
2388 *
2389 *  Bits    | Access | Reset   | Description                     
2390 * :--------|:-------|:--------|:---------------------------------
2391 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
2392 *  [8:4]   | R      | Unknown | ARUSER value to SCU (Status)   
2393 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
2394 *  [13:12] | R      | Unknown | ARADDR 1GB Page Decoder (Status)
2395 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
2396 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
2397 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
2398 *  [31]    | R      | Unknown | Force Mapping (Status)         
2399 *
2400 */
2401/*
2402 * Field : ARUSER value to SCU (Status) - user
2403 *
2404 * This value is propagated to SCU as ARUSERS.
2405 *
2406 * Field Access Macros:
2407 *
2408 */
2409/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_S_USER register field. */
2410#define ALT_ACPIDMAP_VID4RD_S_USER_LSB        4
2411/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_S_USER register field. */
2412#define ALT_ACPIDMAP_VID4RD_S_USER_MSB        8
2413/* The width in bits of the ALT_ACPIDMAP_VID4RD_S_USER register field. */
2414#define ALT_ACPIDMAP_VID4RD_S_USER_WIDTH      5
2415/* The mask used to set the ALT_ACPIDMAP_VID4RD_S_USER register field value. */
2416#define ALT_ACPIDMAP_VID4RD_S_USER_SET_MSK    0x000001f0
2417/* The mask used to clear the ALT_ACPIDMAP_VID4RD_S_USER register field value. */
2418#define ALT_ACPIDMAP_VID4RD_S_USER_CLR_MSK    0xfffffe0f
2419/* The reset value of the ALT_ACPIDMAP_VID4RD_S_USER register field is UNKNOWN. */
2420#define ALT_ACPIDMAP_VID4RD_S_USER_RESET      0x0
2421/* Extracts the ALT_ACPIDMAP_VID4RD_S_USER field value from a register. */
2422#define ALT_ACPIDMAP_VID4RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2423/* Produces a ALT_ACPIDMAP_VID4RD_S_USER register field value suitable for setting the register. */
2424#define ALT_ACPIDMAP_VID4RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2425
2426/*
2427 * Field : ARADDR 1GB Page Decoder (Status) - page
2428 *
2429 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
2430 *
2431 * Field Access Macros:
2432 *
2433 */
2434/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_S_PAGE register field. */
2435#define ALT_ACPIDMAP_VID4RD_S_PAGE_LSB        12
2436/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_S_PAGE register field. */
2437#define ALT_ACPIDMAP_VID4RD_S_PAGE_MSB        13
2438/* The width in bits of the ALT_ACPIDMAP_VID4RD_S_PAGE register field. */
2439#define ALT_ACPIDMAP_VID4RD_S_PAGE_WIDTH      2
2440/* The mask used to set the ALT_ACPIDMAP_VID4RD_S_PAGE register field value. */
2441#define ALT_ACPIDMAP_VID4RD_S_PAGE_SET_MSK    0x00003000
2442/* The mask used to clear the ALT_ACPIDMAP_VID4RD_S_PAGE register field value. */
2443#define ALT_ACPIDMAP_VID4RD_S_PAGE_CLR_MSK    0xffffcfff
2444/* The reset value of the ALT_ACPIDMAP_VID4RD_S_PAGE register field is UNKNOWN. */
2445#define ALT_ACPIDMAP_VID4RD_S_PAGE_RESET      0x0
2446/* Extracts the ALT_ACPIDMAP_VID4RD_S_PAGE field value from a register. */
2447#define ALT_ACPIDMAP_VID4RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2448/* Produces a ALT_ACPIDMAP_VID4RD_S_PAGE register field value suitable for setting the register. */
2449#define ALT_ACPIDMAP_VID4RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2450
2451/*
2452 * Field : Remap Master ID (Status) - mid
2453 *
2454 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
2455 * ID to use.
2456 *
2457 * Field Access Macros:
2458 *
2459 */
2460/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_S_MID register field. */
2461#define ALT_ACPIDMAP_VID4RD_S_MID_LSB        16
2462/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_S_MID register field. */
2463#define ALT_ACPIDMAP_VID4RD_S_MID_MSB        27
2464/* The width in bits of the ALT_ACPIDMAP_VID4RD_S_MID register field. */
2465#define ALT_ACPIDMAP_VID4RD_S_MID_WIDTH      12
2466/* The mask used to set the ALT_ACPIDMAP_VID4RD_S_MID register field value. */
2467#define ALT_ACPIDMAP_VID4RD_S_MID_SET_MSK    0x0fff0000
2468/* The mask used to clear the ALT_ACPIDMAP_VID4RD_S_MID register field value. */
2469#define ALT_ACPIDMAP_VID4RD_S_MID_CLR_MSK    0xf000ffff
2470/* The reset value of the ALT_ACPIDMAP_VID4RD_S_MID register field is UNKNOWN. */
2471#define ALT_ACPIDMAP_VID4RD_S_MID_RESET      0x0
2472/* Extracts the ALT_ACPIDMAP_VID4RD_S_MID field value from a register. */
2473#define ALT_ACPIDMAP_VID4RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2474/* Produces a ALT_ACPIDMAP_VID4RD_S_MID register field value suitable for setting the register. */
2475#define ALT_ACPIDMAP_VID4RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2476
2477/*
2478 * Field : Force Mapping (Status) - force
2479 *
2480 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2481 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2482 *
2483 * Field Access Macros:
2484 *
2485 */
2486/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_S_FORCE register field. */
2487#define ALT_ACPIDMAP_VID4RD_S_FORCE_LSB        31
2488/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_S_FORCE register field. */
2489#define ALT_ACPIDMAP_VID4RD_S_FORCE_MSB        31
2490/* The width in bits of the ALT_ACPIDMAP_VID4RD_S_FORCE register field. */
2491#define ALT_ACPIDMAP_VID4RD_S_FORCE_WIDTH      1
2492/* The mask used to set the ALT_ACPIDMAP_VID4RD_S_FORCE register field value. */
2493#define ALT_ACPIDMAP_VID4RD_S_FORCE_SET_MSK    0x80000000
2494/* The mask used to clear the ALT_ACPIDMAP_VID4RD_S_FORCE register field value. */
2495#define ALT_ACPIDMAP_VID4RD_S_FORCE_CLR_MSK    0x7fffffff
2496/* The reset value of the ALT_ACPIDMAP_VID4RD_S_FORCE register field is UNKNOWN. */
2497#define ALT_ACPIDMAP_VID4RD_S_FORCE_RESET      0x0
2498/* Extracts the ALT_ACPIDMAP_VID4RD_S_FORCE field value from a register. */
2499#define ALT_ACPIDMAP_VID4RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2500/* Produces a ALT_ACPIDMAP_VID4RD_S_FORCE register field value suitable for setting the register. */
2501#define ALT_ACPIDMAP_VID4RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2502
2503#ifndef __ASSEMBLY__
2504/*
2505 * WARNING: The C register and register group struct declarations are provided for
2506 * convenience and illustrative purposes. They should, however, be used with
2507 * caution as the C language standard provides no guarantees about the alignment or
2508 * atomicity of device memory accesses. The recommended practice for writing
2509 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2510 * alt_write_word() functions.
2511 *
2512 * The struct declaration for register ALT_ACPIDMAP_VID4RD_S.
2513 */
2514struct ALT_ACPIDMAP_VID4RD_S_s
2515{
2516    uint32_t              :  4;  /* *UNDEFINED* */
2517    const uint32_t  user  :  5;  /* ARUSER value to SCU (Status) */
2518    uint32_t              :  3;  /* *UNDEFINED* */
2519    const uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder (Status) */
2520    uint32_t              :  2;  /* *UNDEFINED* */
2521    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
2522    uint32_t              :  3;  /* *UNDEFINED* */
2523    const uint32_t  force :  1;  /* Force Mapping (Status) */
2524};
2525
2526/* The typedef declaration for register ALT_ACPIDMAP_VID4RD_S. */
2527typedef volatile struct ALT_ACPIDMAP_VID4RD_S_s  ALT_ACPIDMAP_VID4RD_S_t;
2528#endif  /* __ASSEMBLY__ */
2529
2530/* The byte offset of the ALT_ACPIDMAP_VID4RD_S register from the beginning of the component. */
2531#define ALT_ACPIDMAP_VID4RD_S_OFST        0x40
2532
2533/*
2534 * Register : Write AXI Master Mapping Status Register for Fixed Virtual ID 4 - vid4wr_s
2535 *
2536 * The Write AXI Master Mapping Status Register contains the configured USER, ADDR
2537 * page, and ID signals mapping values for particular transaction with 12-bit ID
2538 * which locks the fixed 3-bit virtual ID.
2539 *
2540 * Register Layout
2541 *
2542 *  Bits    | Access | Reset   | Description                     
2543 * :--------|:-------|:--------|:---------------------------------
2544 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
2545 *  [8:4]   | R      | Unknown | AWUSER value to SCU (Status)   
2546 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
2547 *  [13:12] | R      | Unknown | AWADDR 1GB Page Decoder (Status)
2548 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
2549 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
2550 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
2551 *  [31]    | R      | Unknown | Force Mapping (Status)         
2552 *
2553 */
2554/*
2555 * Field : AWUSER value to SCU (Status) - user
2556 *
2557 * This value is propagated to SCU as AWUSERS.
2558 *
2559 * Field Access Macros:
2560 *
2561 */
2562/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_S_USER register field. */
2563#define ALT_ACPIDMAP_VID4WR_S_USER_LSB        4
2564/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_S_USER register field. */
2565#define ALT_ACPIDMAP_VID4WR_S_USER_MSB        8
2566/* The width in bits of the ALT_ACPIDMAP_VID4WR_S_USER register field. */
2567#define ALT_ACPIDMAP_VID4WR_S_USER_WIDTH      5
2568/* The mask used to set the ALT_ACPIDMAP_VID4WR_S_USER register field value. */
2569#define ALT_ACPIDMAP_VID4WR_S_USER_SET_MSK    0x000001f0
2570/* The mask used to clear the ALT_ACPIDMAP_VID4WR_S_USER register field value. */
2571#define ALT_ACPIDMAP_VID4WR_S_USER_CLR_MSK    0xfffffe0f
2572/* The reset value of the ALT_ACPIDMAP_VID4WR_S_USER register field is UNKNOWN. */
2573#define ALT_ACPIDMAP_VID4WR_S_USER_RESET      0x0
2574/* Extracts the ALT_ACPIDMAP_VID4WR_S_USER field value from a register. */
2575#define ALT_ACPIDMAP_VID4WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2576/* Produces a ALT_ACPIDMAP_VID4WR_S_USER register field value suitable for setting the register. */
2577#define ALT_ACPIDMAP_VID4WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2578
2579/*
2580 * Field : AWADDR 1GB Page Decoder (Status) - page
2581 *
2582 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
2583 *
2584 * Field Access Macros:
2585 *
2586 */
2587/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_S_PAGE register field. */
2588#define ALT_ACPIDMAP_VID4WR_S_PAGE_LSB        12
2589/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_S_PAGE register field. */
2590#define ALT_ACPIDMAP_VID4WR_S_PAGE_MSB        13
2591/* The width in bits of the ALT_ACPIDMAP_VID4WR_S_PAGE register field. */
2592#define ALT_ACPIDMAP_VID4WR_S_PAGE_WIDTH      2
2593/* The mask used to set the ALT_ACPIDMAP_VID4WR_S_PAGE register field value. */
2594#define ALT_ACPIDMAP_VID4WR_S_PAGE_SET_MSK    0x00003000
2595/* The mask used to clear the ALT_ACPIDMAP_VID4WR_S_PAGE register field value. */
2596#define ALT_ACPIDMAP_VID4WR_S_PAGE_CLR_MSK    0xffffcfff
2597/* The reset value of the ALT_ACPIDMAP_VID4WR_S_PAGE register field is UNKNOWN. */
2598#define ALT_ACPIDMAP_VID4WR_S_PAGE_RESET      0x0
2599/* Extracts the ALT_ACPIDMAP_VID4WR_S_PAGE field value from a register. */
2600#define ALT_ACPIDMAP_VID4WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2601/* Produces a ALT_ACPIDMAP_VID4WR_S_PAGE register field value suitable for setting the register. */
2602#define ALT_ACPIDMAP_VID4WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2603
2604/*
2605 * Field : Remap Master ID (Status) - mid
2606 *
2607 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
2608 * ID to use.
2609 *
2610 * Field Access Macros:
2611 *
2612 */
2613/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_S_MID register field. */
2614#define ALT_ACPIDMAP_VID4WR_S_MID_LSB        16
2615/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_S_MID register field. */
2616#define ALT_ACPIDMAP_VID4WR_S_MID_MSB        27
2617/* The width in bits of the ALT_ACPIDMAP_VID4WR_S_MID register field. */
2618#define ALT_ACPIDMAP_VID4WR_S_MID_WIDTH      12
2619/* The mask used to set the ALT_ACPIDMAP_VID4WR_S_MID register field value. */
2620#define ALT_ACPIDMAP_VID4WR_S_MID_SET_MSK    0x0fff0000
2621/* The mask used to clear the ALT_ACPIDMAP_VID4WR_S_MID register field value. */
2622#define ALT_ACPIDMAP_VID4WR_S_MID_CLR_MSK    0xf000ffff
2623/* The reset value of the ALT_ACPIDMAP_VID4WR_S_MID register field is UNKNOWN. */
2624#define ALT_ACPIDMAP_VID4WR_S_MID_RESET      0x0
2625/* Extracts the ALT_ACPIDMAP_VID4WR_S_MID field value from a register. */
2626#define ALT_ACPIDMAP_VID4WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2627/* Produces a ALT_ACPIDMAP_VID4WR_S_MID register field value suitable for setting the register. */
2628#define ALT_ACPIDMAP_VID4WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2629
2630/*
2631 * Field : Force Mapping (Status) - force
2632 *
2633 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2634 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2635 *
2636 * Field Access Macros:
2637 *
2638 */
2639/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_S_FORCE register field. */
2640#define ALT_ACPIDMAP_VID4WR_S_FORCE_LSB        31
2641/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_S_FORCE register field. */
2642#define ALT_ACPIDMAP_VID4WR_S_FORCE_MSB        31
2643/* The width in bits of the ALT_ACPIDMAP_VID4WR_S_FORCE register field. */
2644#define ALT_ACPIDMAP_VID4WR_S_FORCE_WIDTH      1
2645/* The mask used to set the ALT_ACPIDMAP_VID4WR_S_FORCE register field value. */
2646#define ALT_ACPIDMAP_VID4WR_S_FORCE_SET_MSK    0x80000000
2647/* The mask used to clear the ALT_ACPIDMAP_VID4WR_S_FORCE register field value. */
2648#define ALT_ACPIDMAP_VID4WR_S_FORCE_CLR_MSK    0x7fffffff
2649/* The reset value of the ALT_ACPIDMAP_VID4WR_S_FORCE register field is UNKNOWN. */
2650#define ALT_ACPIDMAP_VID4WR_S_FORCE_RESET      0x0
2651/* Extracts the ALT_ACPIDMAP_VID4WR_S_FORCE field value from a register. */
2652#define ALT_ACPIDMAP_VID4WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2653/* Produces a ALT_ACPIDMAP_VID4WR_S_FORCE register field value suitable for setting the register. */
2654#define ALT_ACPIDMAP_VID4WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2655
2656#ifndef __ASSEMBLY__
2657/*
2658 * WARNING: The C register and register group struct declarations are provided for
2659 * convenience and illustrative purposes. They should, however, be used with
2660 * caution as the C language standard provides no guarantees about the alignment or
2661 * atomicity of device memory accesses. The recommended practice for writing
2662 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2663 * alt_write_word() functions.
2664 *
2665 * The struct declaration for register ALT_ACPIDMAP_VID4WR_S.
2666 */
2667struct ALT_ACPIDMAP_VID4WR_S_s
2668{
2669    uint32_t              :  4;  /* *UNDEFINED* */
2670    const uint32_t  user  :  5;  /* AWUSER value to SCU (Status) */
2671    uint32_t              :  3;  /* *UNDEFINED* */
2672    const uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder (Status) */
2673    uint32_t              :  2;  /* *UNDEFINED* */
2674    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
2675    uint32_t              :  3;  /* *UNDEFINED* */
2676    const uint32_t  force :  1;  /* Force Mapping (Status) */
2677};
2678
2679/* The typedef declaration for register ALT_ACPIDMAP_VID4WR_S. */
2680typedef volatile struct ALT_ACPIDMAP_VID4WR_S_s  ALT_ACPIDMAP_VID4WR_S_t;
2681#endif  /* __ASSEMBLY__ */
2682
2683/* The byte offset of the ALT_ACPIDMAP_VID4WR_S register from the beginning of the component. */
2684#define ALT_ACPIDMAP_VID4WR_S_OFST        0x44
2685
2686/*
2687 * Register : Read AXI Master Mapping Status Register for Fixed Virtual ID 5 - vid5rd_s
2688 *
2689 * The Read AXI Master Mapping Status Register contains the configured USER, ADDR
2690 * page, and ID signals mapping values for particular transaction with 12-bit ID
2691 * which locks the fixed 3-bit virtual ID.
2692 *
2693 * Register Layout
2694 *
2695 *  Bits    | Access | Reset   | Description                     
2696 * :--------|:-------|:--------|:---------------------------------
2697 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
2698 *  [8:4]   | R      | Unknown | ARUSER value to SCU (Status)   
2699 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
2700 *  [13:12] | R      | Unknown | ARADDR 1GB Page Decoder (Status)
2701 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
2702 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
2703 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
2704 *  [31]    | R      | Unknown | Force Mapping (Status)         
2705 *
2706 */
2707/*
2708 * Field : ARUSER value to SCU (Status) - user
2709 *
2710 * This value is propagated to SCU as ARUSERS.
2711 *
2712 * Field Access Macros:
2713 *
2714 */
2715/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_S_USER register field. */
2716#define ALT_ACPIDMAP_VID5RD_S_USER_LSB        4
2717/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_S_USER register field. */
2718#define ALT_ACPIDMAP_VID5RD_S_USER_MSB        8
2719/* The width in bits of the ALT_ACPIDMAP_VID5RD_S_USER register field. */
2720#define ALT_ACPIDMAP_VID5RD_S_USER_WIDTH      5
2721/* The mask used to set the ALT_ACPIDMAP_VID5RD_S_USER register field value. */
2722#define ALT_ACPIDMAP_VID5RD_S_USER_SET_MSK    0x000001f0
2723/* The mask used to clear the ALT_ACPIDMAP_VID5RD_S_USER register field value. */
2724#define ALT_ACPIDMAP_VID5RD_S_USER_CLR_MSK    0xfffffe0f
2725/* The reset value of the ALT_ACPIDMAP_VID5RD_S_USER register field is UNKNOWN. */
2726#define ALT_ACPIDMAP_VID5RD_S_USER_RESET      0x0
2727/* Extracts the ALT_ACPIDMAP_VID5RD_S_USER field value from a register. */
2728#define ALT_ACPIDMAP_VID5RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2729/* Produces a ALT_ACPIDMAP_VID5RD_S_USER register field value suitable for setting the register. */
2730#define ALT_ACPIDMAP_VID5RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2731
2732/*
2733 * Field : ARADDR 1GB Page Decoder (Status) - page
2734 *
2735 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
2736 *
2737 * Field Access Macros:
2738 *
2739 */
2740/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_S_PAGE register field. */
2741#define ALT_ACPIDMAP_VID5RD_S_PAGE_LSB        12
2742/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_S_PAGE register field. */
2743#define ALT_ACPIDMAP_VID5RD_S_PAGE_MSB        13
2744/* The width in bits of the ALT_ACPIDMAP_VID5RD_S_PAGE register field. */
2745#define ALT_ACPIDMAP_VID5RD_S_PAGE_WIDTH      2
2746/* The mask used to set the ALT_ACPIDMAP_VID5RD_S_PAGE register field value. */
2747#define ALT_ACPIDMAP_VID5RD_S_PAGE_SET_MSK    0x00003000
2748/* The mask used to clear the ALT_ACPIDMAP_VID5RD_S_PAGE register field value. */
2749#define ALT_ACPIDMAP_VID5RD_S_PAGE_CLR_MSK    0xffffcfff
2750/* The reset value of the ALT_ACPIDMAP_VID5RD_S_PAGE register field is UNKNOWN. */
2751#define ALT_ACPIDMAP_VID5RD_S_PAGE_RESET      0x0
2752/* Extracts the ALT_ACPIDMAP_VID5RD_S_PAGE field value from a register. */
2753#define ALT_ACPIDMAP_VID5RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2754/* Produces a ALT_ACPIDMAP_VID5RD_S_PAGE register field value suitable for setting the register. */
2755#define ALT_ACPIDMAP_VID5RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2756
2757/*
2758 * Field : Remap Master ID (Status) - mid
2759 *
2760 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
2761 * ID to use.
2762 *
2763 * Field Access Macros:
2764 *
2765 */
2766/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_S_MID register field. */
2767#define ALT_ACPIDMAP_VID5RD_S_MID_LSB        16
2768/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_S_MID register field. */
2769#define ALT_ACPIDMAP_VID5RD_S_MID_MSB        27
2770/* The width in bits of the ALT_ACPIDMAP_VID5RD_S_MID register field. */
2771#define ALT_ACPIDMAP_VID5RD_S_MID_WIDTH      12
2772/* The mask used to set the ALT_ACPIDMAP_VID5RD_S_MID register field value. */
2773#define ALT_ACPIDMAP_VID5RD_S_MID_SET_MSK    0x0fff0000
2774/* The mask used to clear the ALT_ACPIDMAP_VID5RD_S_MID register field value. */
2775#define ALT_ACPIDMAP_VID5RD_S_MID_CLR_MSK    0xf000ffff
2776/* The reset value of the ALT_ACPIDMAP_VID5RD_S_MID register field is UNKNOWN. */
2777#define ALT_ACPIDMAP_VID5RD_S_MID_RESET      0x0
2778/* Extracts the ALT_ACPIDMAP_VID5RD_S_MID field value from a register. */
2779#define ALT_ACPIDMAP_VID5RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2780/* Produces a ALT_ACPIDMAP_VID5RD_S_MID register field value suitable for setting the register. */
2781#define ALT_ACPIDMAP_VID5RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2782
2783/*
2784 * Field : Force Mapping (Status) - force
2785 *
2786 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2787 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2788 *
2789 * Field Access Macros:
2790 *
2791 */
2792/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5RD_S_FORCE register field. */
2793#define ALT_ACPIDMAP_VID5RD_S_FORCE_LSB        31
2794/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5RD_S_FORCE register field. */
2795#define ALT_ACPIDMAP_VID5RD_S_FORCE_MSB        31
2796/* The width in bits of the ALT_ACPIDMAP_VID5RD_S_FORCE register field. */
2797#define ALT_ACPIDMAP_VID5RD_S_FORCE_WIDTH      1
2798/* The mask used to set the ALT_ACPIDMAP_VID5RD_S_FORCE register field value. */
2799#define ALT_ACPIDMAP_VID5RD_S_FORCE_SET_MSK    0x80000000
2800/* The mask used to clear the ALT_ACPIDMAP_VID5RD_S_FORCE register field value. */
2801#define ALT_ACPIDMAP_VID5RD_S_FORCE_CLR_MSK    0x7fffffff
2802/* The reset value of the ALT_ACPIDMAP_VID5RD_S_FORCE register field is UNKNOWN. */
2803#define ALT_ACPIDMAP_VID5RD_S_FORCE_RESET      0x0
2804/* Extracts the ALT_ACPIDMAP_VID5RD_S_FORCE field value from a register. */
2805#define ALT_ACPIDMAP_VID5RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2806/* Produces a ALT_ACPIDMAP_VID5RD_S_FORCE register field value suitable for setting the register. */
2807#define ALT_ACPIDMAP_VID5RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2808
2809#ifndef __ASSEMBLY__
2810/*
2811 * WARNING: The C register and register group struct declarations are provided for
2812 * convenience and illustrative purposes. They should, however, be used with
2813 * caution as the C language standard provides no guarantees about the alignment or
2814 * atomicity of device memory accesses. The recommended practice for writing
2815 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2816 * alt_write_word() functions.
2817 *
2818 * The struct declaration for register ALT_ACPIDMAP_VID5RD_S.
2819 */
2820struct ALT_ACPIDMAP_VID5RD_S_s
2821{
2822    uint32_t              :  4;  /* *UNDEFINED* */
2823    const uint32_t  user  :  5;  /* ARUSER value to SCU (Status) */
2824    uint32_t              :  3;  /* *UNDEFINED* */
2825    const uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder (Status) */
2826    uint32_t              :  2;  /* *UNDEFINED* */
2827    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
2828    uint32_t              :  3;  /* *UNDEFINED* */
2829    const uint32_t  force :  1;  /* Force Mapping (Status) */
2830};
2831
2832/* The typedef declaration for register ALT_ACPIDMAP_VID5RD_S. */
2833typedef volatile struct ALT_ACPIDMAP_VID5RD_S_s  ALT_ACPIDMAP_VID5RD_S_t;
2834#endif  /* __ASSEMBLY__ */
2835
2836/* The byte offset of the ALT_ACPIDMAP_VID5RD_S register from the beginning of the component. */
2837#define ALT_ACPIDMAP_VID5RD_S_OFST        0x48
2838
2839/*
2840 * Register : Write AXI Master Mapping Status Register for Fixed Virtual ID 5 - vid5wr_s
2841 *
2842 * The Write AXI Master Mapping Status Register contains the configured USER, ADDR
2843 * page, and ID signals mapping values for particular transaction with 12-bit ID
2844 * which locks the fixed 3-bit virtual ID.
2845 *
2846 * Register Layout
2847 *
2848 *  Bits    | Access | Reset   | Description                     
2849 * :--------|:-------|:--------|:---------------------------------
2850 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
2851 *  [8:4]   | R      | Unknown | AWUSER value to SCU (Status)   
2852 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
2853 *  [13:12] | R      | Unknown | AWADDR 1GB Page Decoder (Status)
2854 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
2855 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
2856 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
2857 *  [31]    | R      | Unknown | Force Mapping (Status)         
2858 *
2859 */
2860/*
2861 * Field : AWUSER value to SCU (Status) - user
2862 *
2863 * This value is propagated to SCU as AWUSERS.
2864 *
2865 * Field Access Macros:
2866 *
2867 */
2868/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_S_USER register field. */
2869#define ALT_ACPIDMAP_VID5WR_S_USER_LSB        4
2870/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_S_USER register field. */
2871#define ALT_ACPIDMAP_VID5WR_S_USER_MSB        8
2872/* The width in bits of the ALT_ACPIDMAP_VID5WR_S_USER register field. */
2873#define ALT_ACPIDMAP_VID5WR_S_USER_WIDTH      5
2874/* The mask used to set the ALT_ACPIDMAP_VID5WR_S_USER register field value. */
2875#define ALT_ACPIDMAP_VID5WR_S_USER_SET_MSK    0x000001f0
2876/* The mask used to clear the ALT_ACPIDMAP_VID5WR_S_USER register field value. */
2877#define ALT_ACPIDMAP_VID5WR_S_USER_CLR_MSK    0xfffffe0f
2878/* The reset value of the ALT_ACPIDMAP_VID5WR_S_USER register field is UNKNOWN. */
2879#define ALT_ACPIDMAP_VID5WR_S_USER_RESET      0x0
2880/* Extracts the ALT_ACPIDMAP_VID5WR_S_USER field value from a register. */
2881#define ALT_ACPIDMAP_VID5WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2882/* Produces a ALT_ACPIDMAP_VID5WR_S_USER register field value suitable for setting the register. */
2883#define ALT_ACPIDMAP_VID5WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2884
2885/*
2886 * Field : AWADDR 1GB Page Decoder (Status) - page
2887 *
2888 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
2889 *
2890 * Field Access Macros:
2891 *
2892 */
2893/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_S_PAGE register field. */
2894#define ALT_ACPIDMAP_VID5WR_S_PAGE_LSB        12
2895/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_S_PAGE register field. */
2896#define ALT_ACPIDMAP_VID5WR_S_PAGE_MSB        13
2897/* The width in bits of the ALT_ACPIDMAP_VID5WR_S_PAGE register field. */
2898#define ALT_ACPIDMAP_VID5WR_S_PAGE_WIDTH      2
2899/* The mask used to set the ALT_ACPIDMAP_VID5WR_S_PAGE register field value. */
2900#define ALT_ACPIDMAP_VID5WR_S_PAGE_SET_MSK    0x00003000
2901/* The mask used to clear the ALT_ACPIDMAP_VID5WR_S_PAGE register field value. */
2902#define ALT_ACPIDMAP_VID5WR_S_PAGE_CLR_MSK    0xffffcfff
2903/* The reset value of the ALT_ACPIDMAP_VID5WR_S_PAGE register field is UNKNOWN. */
2904#define ALT_ACPIDMAP_VID5WR_S_PAGE_RESET      0x0
2905/* Extracts the ALT_ACPIDMAP_VID5WR_S_PAGE field value from a register. */
2906#define ALT_ACPIDMAP_VID5WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2907/* Produces a ALT_ACPIDMAP_VID5WR_S_PAGE register field value suitable for setting the register. */
2908#define ALT_ACPIDMAP_VID5WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2909
2910/*
2911 * Field : Remap Master ID (Status) - mid
2912 *
2913 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
2914 * ID to use.
2915 *
2916 * Field Access Macros:
2917 *
2918 */
2919/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_S_MID register field. */
2920#define ALT_ACPIDMAP_VID5WR_S_MID_LSB        16
2921/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_S_MID register field. */
2922#define ALT_ACPIDMAP_VID5WR_S_MID_MSB        27
2923/* The width in bits of the ALT_ACPIDMAP_VID5WR_S_MID register field. */
2924#define ALT_ACPIDMAP_VID5WR_S_MID_WIDTH      12
2925/* The mask used to set the ALT_ACPIDMAP_VID5WR_S_MID register field value. */
2926#define ALT_ACPIDMAP_VID5WR_S_MID_SET_MSK    0x0fff0000
2927/* The mask used to clear the ALT_ACPIDMAP_VID5WR_S_MID register field value. */
2928#define ALT_ACPIDMAP_VID5WR_S_MID_CLR_MSK    0xf000ffff
2929/* The reset value of the ALT_ACPIDMAP_VID5WR_S_MID register field is UNKNOWN. */
2930#define ALT_ACPIDMAP_VID5WR_S_MID_RESET      0x0
2931/* Extracts the ALT_ACPIDMAP_VID5WR_S_MID field value from a register. */
2932#define ALT_ACPIDMAP_VID5WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2933/* Produces a ALT_ACPIDMAP_VID5WR_S_MID register field value suitable for setting the register. */
2934#define ALT_ACPIDMAP_VID5WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2935
2936/*
2937 * Field : Force Mapping (Status) - force
2938 *
2939 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
2940 * to 0 to allow the 3-bit ID N to be dynamically allocated.
2941 *
2942 * Field Access Macros:
2943 *
2944 */
2945/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID5WR_S_FORCE register field. */
2946#define ALT_ACPIDMAP_VID5WR_S_FORCE_LSB        31
2947/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID5WR_S_FORCE register field. */
2948#define ALT_ACPIDMAP_VID5WR_S_FORCE_MSB        31
2949/* The width in bits of the ALT_ACPIDMAP_VID5WR_S_FORCE register field. */
2950#define ALT_ACPIDMAP_VID5WR_S_FORCE_WIDTH      1
2951/* The mask used to set the ALT_ACPIDMAP_VID5WR_S_FORCE register field value. */
2952#define ALT_ACPIDMAP_VID5WR_S_FORCE_SET_MSK    0x80000000
2953/* The mask used to clear the ALT_ACPIDMAP_VID5WR_S_FORCE register field value. */
2954#define ALT_ACPIDMAP_VID5WR_S_FORCE_CLR_MSK    0x7fffffff
2955/* The reset value of the ALT_ACPIDMAP_VID5WR_S_FORCE register field is UNKNOWN. */
2956#define ALT_ACPIDMAP_VID5WR_S_FORCE_RESET      0x0
2957/* Extracts the ALT_ACPIDMAP_VID5WR_S_FORCE field value from a register. */
2958#define ALT_ACPIDMAP_VID5WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2959/* Produces a ALT_ACPIDMAP_VID5WR_S_FORCE register field value suitable for setting the register. */
2960#define ALT_ACPIDMAP_VID5WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2961
2962#ifndef __ASSEMBLY__
2963/*
2964 * WARNING: The C register and register group struct declarations are provided for
2965 * convenience and illustrative purposes. They should, however, be used with
2966 * caution as the C language standard provides no guarantees about the alignment or
2967 * atomicity of device memory accesses. The recommended practice for writing
2968 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
2969 * alt_write_word() functions.
2970 *
2971 * The struct declaration for register ALT_ACPIDMAP_VID5WR_S.
2972 */
2973struct ALT_ACPIDMAP_VID5WR_S_s
2974{
2975    uint32_t              :  4;  /* *UNDEFINED* */
2976    const uint32_t  user  :  5;  /* AWUSER value to SCU (Status) */
2977    uint32_t              :  3;  /* *UNDEFINED* */
2978    const uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder (Status) */
2979    uint32_t              :  2;  /* *UNDEFINED* */
2980    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
2981    uint32_t              :  3;  /* *UNDEFINED* */
2982    const uint32_t  force :  1;  /* Force Mapping (Status) */
2983};
2984
2985/* The typedef declaration for register ALT_ACPIDMAP_VID5WR_S. */
2986typedef volatile struct ALT_ACPIDMAP_VID5WR_S_s  ALT_ACPIDMAP_VID5WR_S_t;
2987#endif  /* __ASSEMBLY__ */
2988
2989/* The byte offset of the ALT_ACPIDMAP_VID5WR_S register from the beginning of the component. */
2990#define ALT_ACPIDMAP_VID5WR_S_OFST        0x4c
2991
2992/*
2993 * Register : Read AXI Master Mapping Status Register for Fixed Virtual ID 6 - vid6rd_s
2994 *
2995 * The Read AXI Master Mapping Status Register contains the configured USER, ADDR
2996 * page, and ID signals mapping values for particular transaction with 12-bit ID
2997 * which locks the fixed 3-bit virtual ID.
2998 *
2999 * Register Layout
3000 *
3001 *  Bits    | Access | Reset   | Description                     
3002 * :--------|:-------|:--------|:---------------------------------
3003 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
3004 *  [8:4]   | R      | Unknown | ARUSER value to SCU (Status)   
3005 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
3006 *  [13:12] | R      | Unknown | ARADDR 1GB Page Decoder (Status)
3007 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
3008 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
3009 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
3010 *  [31]    | R      | Unknown | Force Mapping (Status)         
3011 *
3012 */
3013/*
3014 * Field : ARUSER value to SCU (Status) - user
3015 *
3016 * This value is propagated to SCU as ARUSERS.
3017 *
3018 * Field Access Macros:
3019 *
3020 */
3021/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_S_USER register field. */
3022#define ALT_ACPIDMAP_VID6RD_S_USER_LSB        4
3023/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_S_USER register field. */
3024#define ALT_ACPIDMAP_VID6RD_S_USER_MSB        8
3025/* The width in bits of the ALT_ACPIDMAP_VID6RD_S_USER register field. */
3026#define ALT_ACPIDMAP_VID6RD_S_USER_WIDTH      5
3027/* The mask used to set the ALT_ACPIDMAP_VID6RD_S_USER register field value. */
3028#define ALT_ACPIDMAP_VID6RD_S_USER_SET_MSK    0x000001f0
3029/* The mask used to clear the ALT_ACPIDMAP_VID6RD_S_USER register field value. */
3030#define ALT_ACPIDMAP_VID6RD_S_USER_CLR_MSK    0xfffffe0f
3031/* The reset value of the ALT_ACPIDMAP_VID6RD_S_USER register field is UNKNOWN. */
3032#define ALT_ACPIDMAP_VID6RD_S_USER_RESET      0x0
3033/* Extracts the ALT_ACPIDMAP_VID6RD_S_USER field value from a register. */
3034#define ALT_ACPIDMAP_VID6RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3035/* Produces a ALT_ACPIDMAP_VID6RD_S_USER register field value suitable for setting the register. */
3036#define ALT_ACPIDMAP_VID6RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3037
3038/*
3039 * Field : ARADDR 1GB Page Decoder (Status) - page
3040 *
3041 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
3042 *
3043 * Field Access Macros:
3044 *
3045 */
3046/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_S_PAGE register field. */
3047#define ALT_ACPIDMAP_VID6RD_S_PAGE_LSB        12
3048/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_S_PAGE register field. */
3049#define ALT_ACPIDMAP_VID6RD_S_PAGE_MSB        13
3050/* The width in bits of the ALT_ACPIDMAP_VID6RD_S_PAGE register field. */
3051#define ALT_ACPIDMAP_VID6RD_S_PAGE_WIDTH      2
3052/* The mask used to set the ALT_ACPIDMAP_VID6RD_S_PAGE register field value. */
3053#define ALT_ACPIDMAP_VID6RD_S_PAGE_SET_MSK    0x00003000
3054/* The mask used to clear the ALT_ACPIDMAP_VID6RD_S_PAGE register field value. */
3055#define ALT_ACPIDMAP_VID6RD_S_PAGE_CLR_MSK    0xffffcfff
3056/* The reset value of the ALT_ACPIDMAP_VID6RD_S_PAGE register field is UNKNOWN. */
3057#define ALT_ACPIDMAP_VID6RD_S_PAGE_RESET      0x0
3058/* Extracts the ALT_ACPIDMAP_VID6RD_S_PAGE field value from a register. */
3059#define ALT_ACPIDMAP_VID6RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3060/* Produces a ALT_ACPIDMAP_VID6RD_S_PAGE register field value suitable for setting the register. */
3061#define ALT_ACPIDMAP_VID6RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3062
3063/*
3064 * Field : Remap Master ID (Status) - mid
3065 *
3066 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
3067 * ID to use.
3068 *
3069 * Field Access Macros:
3070 *
3071 */
3072/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_S_MID register field. */
3073#define ALT_ACPIDMAP_VID6RD_S_MID_LSB        16
3074/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_S_MID register field. */
3075#define ALT_ACPIDMAP_VID6RD_S_MID_MSB        27
3076/* The width in bits of the ALT_ACPIDMAP_VID6RD_S_MID register field. */
3077#define ALT_ACPIDMAP_VID6RD_S_MID_WIDTH      12
3078/* The mask used to set the ALT_ACPIDMAP_VID6RD_S_MID register field value. */
3079#define ALT_ACPIDMAP_VID6RD_S_MID_SET_MSK    0x0fff0000
3080/* The mask used to clear the ALT_ACPIDMAP_VID6RD_S_MID register field value. */
3081#define ALT_ACPIDMAP_VID6RD_S_MID_CLR_MSK    0xf000ffff
3082/* The reset value of the ALT_ACPIDMAP_VID6RD_S_MID register field is UNKNOWN. */
3083#define ALT_ACPIDMAP_VID6RD_S_MID_RESET      0x0
3084/* Extracts the ALT_ACPIDMAP_VID6RD_S_MID field value from a register. */
3085#define ALT_ACPIDMAP_VID6RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
3086/* Produces a ALT_ACPIDMAP_VID6RD_S_MID register field value suitable for setting the register. */
3087#define ALT_ACPIDMAP_VID6RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
3088
3089/*
3090 * Field : Force Mapping (Status) - force
3091 *
3092 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
3093 * to 0 to allow the 3-bit ID N to be dynamically allocated.
3094 *
3095 * Field Access Macros:
3096 *
3097 */
3098/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6RD_S_FORCE register field. */
3099#define ALT_ACPIDMAP_VID6RD_S_FORCE_LSB        31
3100/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6RD_S_FORCE register field. */
3101#define ALT_ACPIDMAP_VID6RD_S_FORCE_MSB        31
3102/* The width in bits of the ALT_ACPIDMAP_VID6RD_S_FORCE register field. */
3103#define ALT_ACPIDMAP_VID6RD_S_FORCE_WIDTH      1
3104/* The mask used to set the ALT_ACPIDMAP_VID6RD_S_FORCE register field value. */
3105#define ALT_ACPIDMAP_VID6RD_S_FORCE_SET_MSK    0x80000000
3106/* The mask used to clear the ALT_ACPIDMAP_VID6RD_S_FORCE register field value. */
3107#define ALT_ACPIDMAP_VID6RD_S_FORCE_CLR_MSK    0x7fffffff
3108/* The reset value of the ALT_ACPIDMAP_VID6RD_S_FORCE register field is UNKNOWN. */
3109#define ALT_ACPIDMAP_VID6RD_S_FORCE_RESET      0x0
3110/* Extracts the ALT_ACPIDMAP_VID6RD_S_FORCE field value from a register. */
3111#define ALT_ACPIDMAP_VID6RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
3112/* Produces a ALT_ACPIDMAP_VID6RD_S_FORCE register field value suitable for setting the register. */
3113#define ALT_ACPIDMAP_VID6RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
3114
3115#ifndef __ASSEMBLY__
3116/*
3117 * WARNING: The C register and register group struct declarations are provided for
3118 * convenience and illustrative purposes. They should, however, be used with
3119 * caution as the C language standard provides no guarantees about the alignment or
3120 * atomicity of device memory accesses. The recommended practice for writing
3121 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
3122 * alt_write_word() functions.
3123 *
3124 * The struct declaration for register ALT_ACPIDMAP_VID6RD_S.
3125 */
3126struct ALT_ACPIDMAP_VID6RD_S_s
3127{
3128    uint32_t              :  4;  /* *UNDEFINED* */
3129    const uint32_t  user  :  5;  /* ARUSER value to SCU (Status) */
3130    uint32_t              :  3;  /* *UNDEFINED* */
3131    const uint32_t  page  :  2;  /* ARADDR 1GB Page Decoder (Status) */
3132    uint32_t              :  2;  /* *UNDEFINED* */
3133    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
3134    uint32_t              :  3;  /* *UNDEFINED* */
3135    const uint32_t  force :  1;  /* Force Mapping (Status) */
3136};
3137
3138/* The typedef declaration for register ALT_ACPIDMAP_VID6RD_S. */
3139typedef volatile struct ALT_ACPIDMAP_VID6RD_S_s  ALT_ACPIDMAP_VID6RD_S_t;
3140#endif  /* __ASSEMBLY__ */
3141
3142/* The byte offset of the ALT_ACPIDMAP_VID6RD_S register from the beginning of the component. */
3143#define ALT_ACPIDMAP_VID6RD_S_OFST        0x50
3144
3145/*
3146 * Register : Write AXI Master Mapping Status Register for Fixed Virtual ID 6 - vid6wr_s
3147 *
3148 * The Write AXI Master Mapping Status Register contains the configured USER, ADDR
3149 * page, and ID signals mapping values for particular transaction with 12-bit ID
3150 * which locks the fixed 3-bit virtual ID.
3151 *
3152 * Register Layout
3153 *
3154 *  Bits    | Access | Reset   | Description                     
3155 * :--------|:-------|:--------|:---------------------------------
3156 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
3157 *  [8:4]   | R      | Unknown | AWUSER value to SCU (Status)   
3158 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
3159 *  [13:12] | R      | Unknown | AWADDR 1GB Page Decoder (Status)
3160 *  [15:14] | ???    | 0x0     | *UNDEFINED*                     
3161 *  [27:16] | R      | Unknown | Remap Master ID (Status)       
3162 *  [30:28] | ???    | 0x0     | *UNDEFINED*                     
3163 *  [31]    | R      | Unknown | Force Mapping (Status)         
3164 *
3165 */
3166/*
3167 * Field : AWUSER value to SCU (Status) - user
3168 *
3169 * This value is propagated to SCU as AWUSERS.
3170 *
3171 * Field Access Macros:
3172 *
3173 */
3174/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_S_USER register field. */
3175#define ALT_ACPIDMAP_VID6WR_S_USER_LSB        4
3176/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_S_USER register field. */
3177#define ALT_ACPIDMAP_VID6WR_S_USER_MSB        8
3178/* The width in bits of the ALT_ACPIDMAP_VID6WR_S_USER register field. */
3179#define ALT_ACPIDMAP_VID6WR_S_USER_WIDTH      5
3180/* The mask used to set the ALT_ACPIDMAP_VID6WR_S_USER register field value. */
3181#define ALT_ACPIDMAP_VID6WR_S_USER_SET_MSK    0x000001f0
3182/* The mask used to clear the ALT_ACPIDMAP_VID6WR_S_USER register field value. */
3183#define ALT_ACPIDMAP_VID6WR_S_USER_CLR_MSK    0xfffffe0f
3184/* The reset value of the ALT_ACPIDMAP_VID6WR_S_USER register field is UNKNOWN. */
3185#define ALT_ACPIDMAP_VID6WR_S_USER_RESET      0x0
3186/* Extracts the ALT_ACPIDMAP_VID6WR_S_USER field value from a register. */
3187#define ALT_ACPIDMAP_VID6WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3188/* Produces a ALT_ACPIDMAP_VID6WR_S_USER register field value suitable for setting the register. */
3189#define ALT_ACPIDMAP_VID6WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3190
3191/*
3192 * Field : AWADDR 1GB Page Decoder (Status) - page
3193 *
3194 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
3195 *
3196 * Field Access Macros:
3197 *
3198 */
3199/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_S_PAGE register field. */
3200#define ALT_ACPIDMAP_VID6WR_S_PAGE_LSB        12
3201/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_S_PAGE register field. */
3202#define ALT_ACPIDMAP_VID6WR_S_PAGE_MSB        13
3203/* The width in bits of the ALT_ACPIDMAP_VID6WR_S_PAGE register field. */
3204#define ALT_ACPIDMAP_VID6WR_S_PAGE_WIDTH      2
3205/* The mask used to set the ALT_ACPIDMAP_VID6WR_S_PAGE register field value. */
3206#define ALT_ACPIDMAP_VID6WR_S_PAGE_SET_MSK    0x00003000
3207/* The mask used to clear the ALT_ACPIDMAP_VID6WR_S_PAGE register field value. */
3208#define ALT_ACPIDMAP_VID6WR_S_PAGE_CLR_MSK    0xffffcfff
3209/* The reset value of the ALT_ACPIDMAP_VID6WR_S_PAGE register field is UNKNOWN. */
3210#define ALT_ACPIDMAP_VID6WR_S_PAGE_RESET      0x0
3211/* Extracts the ALT_ACPIDMAP_VID6WR_S_PAGE field value from a register. */
3212#define ALT_ACPIDMAP_VID6WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3213/* Produces a ALT_ACPIDMAP_VID6WR_S_PAGE register field value suitable for setting the register. */
3214#define ALT_ACPIDMAP_VID6WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3215
3216/*
3217 * Field : Remap Master ID (Status) - mid
3218 *
3219 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit
3220 * ID to use.
3221 *
3222 * Field Access Macros:
3223 *
3224 */
3225/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_S_MID register field. */
3226#define ALT_ACPIDMAP_VID6WR_S_MID_LSB        16
3227/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_S_MID register field. */
3228#define ALT_ACPIDMAP_VID6WR_S_MID_MSB        27
3229/* The width in bits of the ALT_ACPIDMAP_VID6WR_S_MID register field. */
3230#define ALT_ACPIDMAP_VID6WR_S_MID_WIDTH      12
3231/* The mask used to set the ALT_ACPIDMAP_VID6WR_S_MID register field value. */
3232#define ALT_ACPIDMAP_VID6WR_S_MID_SET_MSK    0x0fff0000
3233/* The mask used to clear the ALT_ACPIDMAP_VID6WR_S_MID register field value. */
3234#define ALT_ACPIDMAP_VID6WR_S_MID_CLR_MSK    0xf000ffff
3235/* The reset value of the ALT_ACPIDMAP_VID6WR_S_MID register field is UNKNOWN. */
3236#define ALT_ACPIDMAP_VID6WR_S_MID_RESET      0x0
3237/* Extracts the ALT_ACPIDMAP_VID6WR_S_MID field value from a register. */
3238#define ALT_ACPIDMAP_VID6WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
3239/* Produces a ALT_ACPIDMAP_VID6WR_S_MID register field value suitable for setting the register. */
3240#define ALT_ACPIDMAP_VID6WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
3241
3242/*
3243 * Field : Force Mapping (Status) - force
3244 *
3245 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set
3246 * to 0 to allow the 3-bit ID N to be dynamically allocated.
3247 *
3248 * Field Access Macros:
3249 *
3250 */
3251/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID6WR_S_FORCE register field. */
3252#define ALT_ACPIDMAP_VID6WR_S_FORCE_LSB        31
3253/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID6WR_S_FORCE register field. */
3254#define ALT_ACPIDMAP_VID6WR_S_FORCE_MSB        31
3255/* The width in bits of the ALT_ACPIDMAP_VID6WR_S_FORCE register field. */
3256#define ALT_ACPIDMAP_VID6WR_S_FORCE_WIDTH      1
3257/* The mask used to set the ALT_ACPIDMAP_VID6WR_S_FORCE register field value. */
3258#define ALT_ACPIDMAP_VID6WR_S_FORCE_SET_MSK    0x80000000
3259/* The mask used to clear the ALT_ACPIDMAP_VID6WR_S_FORCE register field value. */
3260#define ALT_ACPIDMAP_VID6WR_S_FORCE_CLR_MSK    0x7fffffff
3261/* The reset value of the ALT_ACPIDMAP_VID6WR_S_FORCE register field is UNKNOWN. */
3262#define ALT_ACPIDMAP_VID6WR_S_FORCE_RESET      0x0
3263/* Extracts the ALT_ACPIDMAP_VID6WR_S_FORCE field value from a register. */
3264#define ALT_ACPIDMAP_VID6WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
3265/* Produces a ALT_ACPIDMAP_VID6WR_S_FORCE register field value suitable for setting the register. */
3266#define ALT_ACPIDMAP_VID6WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
3267
3268#ifndef __ASSEMBLY__
3269/*
3270 * WARNING: The C register and register group struct declarations are provided for
3271 * convenience and illustrative purposes. They should, however, be used with
3272 * caution as the C language standard provides no guarantees about the alignment or
3273 * atomicity of device memory accesses. The recommended practice for writing
3274 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
3275 * alt_write_word() functions.
3276 *
3277 * The struct declaration for register ALT_ACPIDMAP_VID6WR_S.
3278 */
3279struct ALT_ACPIDMAP_VID6WR_S_s
3280{
3281    uint32_t              :  4;  /* *UNDEFINED* */
3282    const uint32_t  user  :  5;  /* AWUSER value to SCU (Status) */
3283    uint32_t              :  3;  /* *UNDEFINED* */
3284    const uint32_t  page  :  2;  /* AWADDR 1GB Page Decoder (Status) */
3285    uint32_t              :  2;  /* *UNDEFINED* */
3286    const uint32_t  mid   : 12;  /* Remap Master ID (Status) */
3287    uint32_t              :  3;  /* *UNDEFINED* */
3288    const uint32_t  force :  1;  /* Force Mapping (Status) */
3289};
3290
3291/* The typedef declaration for register ALT_ACPIDMAP_VID6WR_S. */
3292typedef volatile struct ALT_ACPIDMAP_VID6WR_S_s  ALT_ACPIDMAP_VID6WR_S_t;
3293#endif  /* __ASSEMBLY__ */
3294
3295/* The byte offset of the ALT_ACPIDMAP_VID6WR_S register from the beginning of the component. */
3296#define ALT_ACPIDMAP_VID6WR_S_OFST        0x54
3297
3298/*
3299 * Register : Read AXI Master Mapping Status Register for Dynamic Virtual ID Remap - dynrd_s
3300 *
3301 * The Read AXI Master Mapping Status Register contains the configured USER, and
3302 * ADDR page signals mapping values for transaction that dynamically remapped to
3303 * one of the available 3-bit virtual IDs.
3304 *
3305 * Register Layout
3306 *
3307 *  Bits    | Access | Reset   | Description                     
3308 * :--------|:-------|:--------|:---------------------------------
3309 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
3310 *  [8:4]   | R      | Unknown | ARUSER value to SCU (Status)   
3311 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
3312 *  [13:12] | R      | Unknown | ARADDR 1GB Page Decoder (Status)
3313 *  [31:14] | ???    | 0x0     | *UNDEFINED*                     
3314 *
3315 */
3316/*
3317 * Field : ARUSER value to SCU (Status) - user
3318 *
3319 * This value is propagated to SCU as ARUSERS.
3320 *
3321 * Field Access Macros:
3322 *
3323 */
3324/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNRD_S_USER register field. */
3325#define ALT_ACPIDMAP_DYNRD_S_USER_LSB        4
3326/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNRD_S_USER register field. */
3327#define ALT_ACPIDMAP_DYNRD_S_USER_MSB        8
3328/* The width in bits of the ALT_ACPIDMAP_DYNRD_S_USER register field. */
3329#define ALT_ACPIDMAP_DYNRD_S_USER_WIDTH      5
3330/* The mask used to set the ALT_ACPIDMAP_DYNRD_S_USER register field value. */
3331#define ALT_ACPIDMAP_DYNRD_S_USER_SET_MSK    0x000001f0
3332/* The mask used to clear the ALT_ACPIDMAP_DYNRD_S_USER register field value. */
3333#define ALT_ACPIDMAP_DYNRD_S_USER_CLR_MSK    0xfffffe0f
3334/* The reset value of the ALT_ACPIDMAP_DYNRD_S_USER register field is UNKNOWN. */
3335#define ALT_ACPIDMAP_DYNRD_S_USER_RESET      0x0
3336/* Extracts the ALT_ACPIDMAP_DYNRD_S_USER field value from a register. */
3337#define ALT_ACPIDMAP_DYNRD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3338/* Produces a ALT_ACPIDMAP_DYNRD_S_USER register field value suitable for setting the register. */
3339#define ALT_ACPIDMAP_DYNRD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3340
3341/*
3342 * Field : ARADDR 1GB Page Decoder (Status) - page
3343 *
3344 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
3345 *
3346 * Field Access Macros:
3347 *
3348 */
3349/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNRD_S_PAGE register field. */
3350#define ALT_ACPIDMAP_DYNRD_S_PAGE_LSB        12
3351/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNRD_S_PAGE register field. */
3352#define ALT_ACPIDMAP_DYNRD_S_PAGE_MSB        13
3353/* The width in bits of the ALT_ACPIDMAP_DYNRD_S_PAGE register field. */
3354#define ALT_ACPIDMAP_DYNRD_S_PAGE_WIDTH      2
3355/* The mask used to set the ALT_ACPIDMAP_DYNRD_S_PAGE register field value. */
3356#define ALT_ACPIDMAP_DYNRD_S_PAGE_SET_MSK    0x00003000
3357/* The mask used to clear the ALT_ACPIDMAP_DYNRD_S_PAGE register field value. */
3358#define ALT_ACPIDMAP_DYNRD_S_PAGE_CLR_MSK    0xffffcfff
3359/* The reset value of the ALT_ACPIDMAP_DYNRD_S_PAGE register field is UNKNOWN. */
3360#define ALT_ACPIDMAP_DYNRD_S_PAGE_RESET      0x0
3361/* Extracts the ALT_ACPIDMAP_DYNRD_S_PAGE field value from a register. */
3362#define ALT_ACPIDMAP_DYNRD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3363/* Produces a ALT_ACPIDMAP_DYNRD_S_PAGE register field value suitable for setting the register. */
3364#define ALT_ACPIDMAP_DYNRD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3365
3366#ifndef __ASSEMBLY__
3367/*
3368 * WARNING: The C register and register group struct declarations are provided for
3369 * convenience and illustrative purposes. They should, however, be used with
3370 * caution as the C language standard provides no guarantees about the alignment or
3371 * atomicity of device memory accesses. The recommended practice for writing
3372 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
3373 * alt_write_word() functions.
3374 *
3375 * The struct declaration for register ALT_ACPIDMAP_DYNRD_S.
3376 */
3377struct ALT_ACPIDMAP_DYNRD_S_s
3378{
3379    uint32_t             :  4;  /* *UNDEFINED* */
3380    const uint32_t  user :  5;  /* ARUSER value to SCU (Status) */
3381    uint32_t             :  3;  /* *UNDEFINED* */
3382    const uint32_t  page :  2;  /* ARADDR 1GB Page Decoder (Status) */
3383    uint32_t             : 18;  /* *UNDEFINED* */
3384};
3385
3386/* The typedef declaration for register ALT_ACPIDMAP_DYNRD_S. */
3387typedef volatile struct ALT_ACPIDMAP_DYNRD_S_s  ALT_ACPIDMAP_DYNRD_S_t;
3388#endif  /* __ASSEMBLY__ */
3389
3390/* The byte offset of the ALT_ACPIDMAP_DYNRD_S register from the beginning of the component. */
3391#define ALT_ACPIDMAP_DYNRD_S_OFST        0x58
3392
3393/*
3394 * Register : Write AXI Master Mapping Status Register for Dynamic Virtual ID Remap - dynwr_s
3395 *
3396 * The Write AXI Master Mapping Status Register contains the configured USER, and
3397 * ADDR page signals mapping values for transaction that dynamically remapped to
3398 * one of the available 3-bit virtual IDs.
3399 *
3400 * Register Layout
3401 *
3402 *  Bits    | Access | Reset   | Description                     
3403 * :--------|:-------|:--------|:---------------------------------
3404 *  [3:0]   | ???    | 0x0     | *UNDEFINED*                     
3405 *  [8:4]   | R      | Unknown | AWUSER value to SCU (Status)   
3406 *  [11:9]  | ???    | 0x0     | *UNDEFINED*                     
3407 *  [13:12] | R      | Unknown | AWADDR 1GB Page Decoder (Status)
3408 *  [31:14] | ???    | 0x0     | *UNDEFINED*                     
3409 *
3410 */
3411/*
3412 * Field : AWUSER value to SCU (Status) - user
3413 *
3414 * This value is propagated to SCU as AWUSERS.
3415 *
3416 * Field Access Macros:
3417 *
3418 */
3419/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNWR_S_USER register field. */
3420#define ALT_ACPIDMAP_DYNWR_S_USER_LSB        4
3421/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNWR_S_USER register field. */
3422#define ALT_ACPIDMAP_DYNWR_S_USER_MSB        8
3423/* The width in bits of the ALT_ACPIDMAP_DYNWR_S_USER register field. */
3424#define ALT_ACPIDMAP_DYNWR_S_USER_WIDTH      5
3425/* The mask used to set the ALT_ACPIDMAP_DYNWR_S_USER register field value. */
3426#define ALT_ACPIDMAP_DYNWR_S_USER_SET_MSK    0x000001f0
3427/* The mask used to clear the ALT_ACPIDMAP_DYNWR_S_USER register field value. */
3428#define ALT_ACPIDMAP_DYNWR_S_USER_CLR_MSK    0xfffffe0f
3429/* The reset value of the ALT_ACPIDMAP_DYNWR_S_USER register field is UNKNOWN. */
3430#define ALT_ACPIDMAP_DYNWR_S_USER_RESET      0x0
3431/* Extracts the ALT_ACPIDMAP_DYNWR_S_USER field value from a register. */
3432#define ALT_ACPIDMAP_DYNWR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3433/* Produces a ALT_ACPIDMAP_DYNWR_S_USER register field value suitable for setting the register. */
3434#define ALT_ACPIDMAP_DYNWR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3435
3436/*
3437 * Field : AWADDR 1GB Page Decoder (Status) - page
3438 *
3439 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region.
3440 *
3441 * Field Access Macros:
3442 *
3443 */
3444/* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_DYNWR_S_PAGE register field. */
3445#define ALT_ACPIDMAP_DYNWR_S_PAGE_LSB        12
3446/* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_DYNWR_S_PAGE register field. */
3447#define ALT_ACPIDMAP_DYNWR_S_PAGE_MSB        13
3448/* The width in bits of the ALT_ACPIDMAP_DYNWR_S_PAGE register field. */
3449#define ALT_ACPIDMAP_DYNWR_S_PAGE_WIDTH      2
3450/* The mask used to set the ALT_ACPIDMAP_DYNWR_S_PAGE register field value. */
3451#define ALT_ACPIDMAP_DYNWR_S_PAGE_SET_MSK    0x00003000
3452/* The mask used to clear the ALT_ACPIDMAP_DYNWR_S_PAGE register field value. */
3453#define ALT_ACPIDMAP_DYNWR_S_PAGE_CLR_MSK    0xffffcfff
3454/* The reset value of the ALT_ACPIDMAP_DYNWR_S_PAGE register field is UNKNOWN. */
3455#define ALT_ACPIDMAP_DYNWR_S_PAGE_RESET      0x0
3456/* Extracts the ALT_ACPIDMAP_DYNWR_S_PAGE field value from a register. */
3457#define ALT_ACPIDMAP_DYNWR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3458/* Produces a ALT_ACPIDMAP_DYNWR_S_PAGE register field value suitable for setting the register. */
3459#define ALT_ACPIDMAP_DYNWR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3460
3461#ifndef __ASSEMBLY__
3462/*
3463 * WARNING: The C register and register group struct declarations are provided for
3464 * convenience and illustrative purposes. They should, however, be used with
3465 * caution as the C language standard provides no guarantees about the alignment or
3466 * atomicity of device memory accesses. The recommended practice for writing
3467 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
3468 * alt_write_word() functions.
3469 *
3470 * The struct declaration for register ALT_ACPIDMAP_DYNWR_S.
3471 */
3472struct ALT_ACPIDMAP_DYNWR_S_s
3473{
3474    uint32_t             :  4;  /* *UNDEFINED* */
3475    const uint32_t  user :  5;  /* AWUSER value to SCU (Status) */
3476    uint32_t             :  3;  /* *UNDEFINED* */
3477    const uint32_t  page :  2;  /* AWADDR 1GB Page Decoder (Status) */
3478    uint32_t             : 18;  /* *UNDEFINED* */
3479};
3480
3481/* The typedef declaration for register ALT_ACPIDMAP_DYNWR_S. */
3482typedef volatile struct ALT_ACPIDMAP_DYNWR_S_s  ALT_ACPIDMAP_DYNWR_S_t;
3483#endif  /* __ASSEMBLY__ */
3484
3485/* The byte offset of the ALT_ACPIDMAP_DYNWR_S register from the beginning of the component. */
3486#define ALT_ACPIDMAP_DYNWR_S_OFST        0x5c
3487
3488#ifndef __ASSEMBLY__
3489/*
3490 * WARNING: The C register and register group struct declarations are provided for
3491 * convenience and illustrative purposes. They should, however, be used with
3492 * caution as the C language standard provides no guarantees about the alignment or
3493 * atomicity of device memory accesses. The recommended practice for writing
3494 * hardware drivers is to use the SoCAL access macros and alt_read_word() and
3495 * alt_write_word() functions.
3496 *
3497 * The struct declaration for register group ALT_ACPIDMAP.
3498 */
3499struct ALT_ACPIDMAP_s
3500{
3501    volatile ALT_ACPIDMAP_VID2RD_t    vid2rd;                  /* ALT_ACPIDMAP_VID2RD */
3502    volatile ALT_ACPIDMAP_VID2WR_t    vid2wr;                  /* ALT_ACPIDMAP_VID2WR */
3503    volatile ALT_ACPIDMAP_VID3RD_t    vid3rd;                  /* ALT_ACPIDMAP_VID3RD */
3504    volatile ALT_ACPIDMAP_VID3WR_t    vid3wr;                  /* ALT_ACPIDMAP_VID3WR */
3505    volatile ALT_ACPIDMAP_VID4RD_t    vid4rd;                  /* ALT_ACPIDMAP_VID4RD */
3506    volatile ALT_ACPIDMAP_VID4WR_t    vid4wr;                  /* ALT_ACPIDMAP_VID4WR */
3507    volatile ALT_ACPIDMAP_VID5RD_t    vid5rd;                  /* ALT_ACPIDMAP_VID5RD */
3508    volatile ALT_ACPIDMAP_VID5WR_t    vid5wr;                  /* ALT_ACPIDMAP_VID5WR */
3509    volatile ALT_ACPIDMAP_VID6RD_t    vid6rd;                  /* ALT_ACPIDMAP_VID6RD */
3510    volatile ALT_ACPIDMAP_VID6WR_t    vid6wr;                  /* ALT_ACPIDMAP_VID6WR */
3511    volatile ALT_ACPIDMAP_DYNRD_t     dynrd;                   /* ALT_ACPIDMAP_DYNRD */
3512    volatile ALT_ACPIDMAP_DYNWR_t     dynwr;                   /* ALT_ACPIDMAP_DYNWR */
3513    volatile ALT_ACPIDMAP_VID2RD_S_t  vid2rd_s;                /* ALT_ACPIDMAP_VID2RD_S */
3514    volatile ALT_ACPIDMAP_VID2WR_S_t  vid2wr_s;                /* ALT_ACPIDMAP_VID2WR_S */
3515    volatile ALT_ACPIDMAP_VID3RD_S_t  vid3rd_s;                /* ALT_ACPIDMAP_VID3RD_S */
3516    volatile ALT_ACPIDMAP_VID3WR_S_t  vid3wr_s;                /* ALT_ACPIDMAP_VID3WR_S */
3517    volatile ALT_ACPIDMAP_VID4RD_S_t  vid4rd_s;                /* ALT_ACPIDMAP_VID4RD_S */
3518    volatile ALT_ACPIDMAP_VID4WR_S_t  vid4wr_s;                /* ALT_ACPIDMAP_VID4WR_S */
3519    volatile ALT_ACPIDMAP_VID5RD_S_t  vid5rd_s;                /* ALT_ACPIDMAP_VID5RD_S */
3520    volatile ALT_ACPIDMAP_VID5WR_S_t  vid5wr_s;                /* ALT_ACPIDMAP_VID5WR_S */
3521    volatile ALT_ACPIDMAP_VID6RD_S_t  vid6rd_s;                /* ALT_ACPIDMAP_VID6RD_S */
3522    volatile ALT_ACPIDMAP_VID6WR_S_t  vid6wr_s;                /* ALT_ACPIDMAP_VID6WR_S */
3523    volatile ALT_ACPIDMAP_DYNRD_S_t   dynrd_s;                 /* ALT_ACPIDMAP_DYNRD_S */
3524    volatile ALT_ACPIDMAP_DYNWR_S_t   dynwr_s;                 /* ALT_ACPIDMAP_DYNWR_S */
3525    volatile uint32_t                 _pad_0x60_0x1000[1000];  /* *UNDEFINED* */
3526};
3527
3528/* The typedef declaration for register group ALT_ACPIDMAP. */
3529typedef volatile struct ALT_ACPIDMAP_s  ALT_ACPIDMAP_t;
3530/* The struct declaration for the raw register contents of register group ALT_ACPIDMAP. */
3531struct ALT_ACPIDMAP_raw_s
3532{
3533    volatile uint32_t  vid2rd;                  /* ALT_ACPIDMAP_VID2RD */
3534    volatile uint32_t  vid2wr;                  /* ALT_ACPIDMAP_VID2WR */
3535    volatile uint32_t  vid3rd;                  /* ALT_ACPIDMAP_VID3RD */
3536    volatile uint32_t  vid3wr;                  /* ALT_ACPIDMAP_VID3WR */
3537    volatile uint32_t  vid4rd;                  /* ALT_ACPIDMAP_VID4RD */
3538    volatile uint32_t  vid4wr;                  /* ALT_ACPIDMAP_VID4WR */
3539    volatile uint32_t  vid5rd;                  /* ALT_ACPIDMAP_VID5RD */
3540    volatile uint32_t  vid5wr;                  /* ALT_ACPIDMAP_VID5WR */
3541    volatile uint32_t  vid6rd;                  /* ALT_ACPIDMAP_VID6RD */
3542    volatile uint32_t  vid6wr;                  /* ALT_ACPIDMAP_VID6WR */
3543    volatile uint32_t  dynrd;                   /* ALT_ACPIDMAP_DYNRD */
3544    volatile uint32_t  dynwr;                   /* ALT_ACPIDMAP_DYNWR */
3545    volatile uint32_t  vid2rd_s;                /* ALT_ACPIDMAP_VID2RD_S */
3546    volatile uint32_t  vid2wr_s;                /* ALT_ACPIDMAP_VID2WR_S */
3547    volatile uint32_t  vid3rd_s;                /* ALT_ACPIDMAP_VID3RD_S */
3548    volatile uint32_t  vid3wr_s;                /* ALT_ACPIDMAP_VID3WR_S */
3549    volatile uint32_t  vid4rd_s;                /* ALT_ACPIDMAP_VID4RD_S */
3550    volatile uint32_t  vid4wr_s;                /* ALT_ACPIDMAP_VID4WR_S */
3551    volatile uint32_t  vid5rd_s;                /* ALT_ACPIDMAP_VID5RD_S */
3552    volatile uint32_t  vid5wr_s;                /* ALT_ACPIDMAP_VID5WR_S */
3553    volatile uint32_t  vid6rd_s;                /* ALT_ACPIDMAP_VID6RD_S */
3554    volatile uint32_t  vid6wr_s;                /* ALT_ACPIDMAP_VID6WR_S */
3555    volatile uint32_t  dynrd_s;                 /* ALT_ACPIDMAP_DYNRD_S */
3556    volatile uint32_t  dynwr_s;                 /* ALT_ACPIDMAP_DYNWR_S */
3557    volatile uint32_t  _pad_0x60_0x1000[1000];  /* *UNDEFINED* */
3558};
3559
3560/* The typedef declaration for the raw register contents of register group ALT_ACPIDMAP. */
3561typedef volatile struct ALT_ACPIDMAP_raw_s  ALT_ACPIDMAP_raw_t;
3562#endif  /* __ASSEMBLY__ */
3563
3564
3565#ifdef __cplusplus
3566}
3567#endif  /* __cplusplus */
3568#endif  /* __ALTERA_ALT_ACPIDMAP_H__ */
3569
Note: See TracBrowser for help on using the repository browser.