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