RTEMS: bsps/arm/altera-cyclone-v/include/bsp/socal/alt_acpidmap.h Source File

| RTEMS 5.4-rc2

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