![]() |
|
|||
File indexing completed on 2025-05-11 08:22:43
0001 /** 0002 * @file 0003 * 0004 * @ingroup RTEMSBSPsARMCycVContrib 0005 */ 0006 0007 /******************************************************************************* 0008 * * 0009 * Copyright 2013 Altera Corporation. All Rights Reserved. * 0010 * * 0011 * Redistribution and use in source and binary forms, with or without * 0012 * modification, are permitted provided that the following conditions are met: * 0013 * * 0014 * 1. Redistributions of source code must retain the above copyright notice, * 0015 * this list of conditions and the following disclaimer. * 0016 * * 0017 * 2. Redistributions in binary form must reproduce the above copyright notice, * 0018 * this list of conditions and the following disclaimer in the documentation * 0019 * and/or other materials provided with the distribution. * 0020 * * 0021 * 3. The name of the author may not be used to endorse or promote products * 0022 * derived from this software without specific prior written permission. * 0023 * * 0024 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR * 0025 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * 0026 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO * 0027 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * 0028 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * 0029 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; * 0030 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, * 0031 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * 0032 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * 0033 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 0034 * * 0035 *******************************************************************************/ 0036 0037 /* Altera - ALT_ACPIDMAP */ 0038 0039 #ifndef __ALTERA_ALT_ACPIDMAP_H__ 0040 #define __ALTERA_ALT_ACPIDMAP_H__ 0041 0042 #ifdef __cplusplus 0043 extern "C" 0044 { 0045 #endif /* __cplusplus */ 0046 0047 /* 0048 * Component : ACP ID Mapper Registers - ALT_ACPIDMAP 0049 * ACP ID Mapper Registers 0050 * 0051 * Registers in the ACP ID Mapper module 0052 * 0053 */ 0054 /* 0055 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 2 - vid2rd 0056 * 0057 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID 0058 * signals mapping values for particular transaction with 12-bit ID which locks the 0059 * fixed 3-bit virtual ID. 0060 * 0061 * Register Layout 0062 * 0063 * Bits | Access | Reset | Description 0064 * :--------|:-------|:------|:----------------------------- 0065 * [3:0] | ??? | 0x0 | *UNDEFINED* 0066 * [8:4] | RW | 0x1 | ARUSER value to SCU for ID=2 0067 * [11:9] | ??? | 0x0 | *UNDEFINED* 0068 * [13:12] | RW | 0x0 | ARADDR 1GB Page Decoder 0069 * [15:14] | ??? | 0x0 | *UNDEFINED* 0070 * [27:16] | RW | 0x4 | Remap Master ID = DAP ID 0071 * [30:28] | ??? | 0x0 | *UNDEFINED* 0072 * [31] | RW | 0x1 | Force Mapping for ID=2 0073 * 0074 */ 0075 /* 0076 * Field : ARUSER value to SCU for ID=2 - user 0077 * 0078 * This value is propagated to SCU as ARUSERS. 0079 * 0080 * Field Access Macros: 0081 * 0082 */ 0083 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_USER register field. */ 0084 #define ALT_ACPIDMAP_VID2RD_USER_LSB 4 0085 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_USER register field. */ 0086 #define ALT_ACPIDMAP_VID2RD_USER_MSB 8 0087 /* The width in bits of the ALT_ACPIDMAP_VID2RD_USER register field. */ 0088 #define ALT_ACPIDMAP_VID2RD_USER_WIDTH 5 0089 /* The mask used to set the ALT_ACPIDMAP_VID2RD_USER register field value. */ 0090 #define ALT_ACPIDMAP_VID2RD_USER_SET_MSK 0x000001f0 0091 /* The mask used to clear the ALT_ACPIDMAP_VID2RD_USER register field value. */ 0092 #define ALT_ACPIDMAP_VID2RD_USER_CLR_MSK 0xfffffe0f 0093 /* The reset value of the ALT_ACPIDMAP_VID2RD_USER register field. */ 0094 #define ALT_ACPIDMAP_VID2RD_USER_RESET 0x1 0095 /* Extracts the ALT_ACPIDMAP_VID2RD_USER field value from a register. */ 0096 #define ALT_ACPIDMAP_VID2RD_USER_GET(value) (((value) & 0x000001f0) >> 4) 0097 /* Produces a ALT_ACPIDMAP_VID2RD_USER register field value suitable for setting the register. */ 0098 #define ALT_ACPIDMAP_VID2RD_USER_SET(value) (((value) << 4) & 0x000001f0) 0099 0100 /* 0101 * Field : ARADDR 1GB Page Decoder - page 0102 * 0103 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. 0104 * 0105 * Field Access Macros: 0106 * 0107 */ 0108 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_PAGE register field. */ 0109 #define ALT_ACPIDMAP_VID2RD_PAGE_LSB 12 0110 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_PAGE register field. */ 0111 #define ALT_ACPIDMAP_VID2RD_PAGE_MSB 13 0112 /* The width in bits of the ALT_ACPIDMAP_VID2RD_PAGE register field. */ 0113 #define ALT_ACPIDMAP_VID2RD_PAGE_WIDTH 2 0114 /* The mask used to set the ALT_ACPIDMAP_VID2RD_PAGE register field value. */ 0115 #define ALT_ACPIDMAP_VID2RD_PAGE_SET_MSK 0x00003000 0116 /* The mask used to clear the ALT_ACPIDMAP_VID2RD_PAGE register field value. */ 0117 #define ALT_ACPIDMAP_VID2RD_PAGE_CLR_MSK 0xffffcfff 0118 /* The reset value of the ALT_ACPIDMAP_VID2RD_PAGE register field. */ 0119 #define ALT_ACPIDMAP_VID2RD_PAGE_RESET 0x0 0120 /* Extracts the ALT_ACPIDMAP_VID2RD_PAGE field value from a register. */ 0121 #define ALT_ACPIDMAP_VID2RD_PAGE_GET(value) (((value) & 0x00003000) >> 12) 0122 /* Produces a ALT_ACPIDMAP_VID2RD_PAGE register field value suitable for setting the register. */ 0123 #define ALT_ACPIDMAP_VID2RD_PAGE_SET(value) (((value) << 12) & 0x00003000) 0124 0125 /* 0126 * Field : Remap Master ID = DAP ID - mid 0127 * 0128 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit 0129 * ID to use. 0130 * 0131 * Field Access Macros: 0132 * 0133 */ 0134 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_MID register field. */ 0135 #define ALT_ACPIDMAP_VID2RD_MID_LSB 16 0136 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_MID register field. */ 0137 #define ALT_ACPIDMAP_VID2RD_MID_MSB 27 0138 /* The width in bits of the ALT_ACPIDMAP_VID2RD_MID register field. */ 0139 #define ALT_ACPIDMAP_VID2RD_MID_WIDTH 12 0140 /* The mask used to set the ALT_ACPIDMAP_VID2RD_MID register field value. */ 0141 #define ALT_ACPIDMAP_VID2RD_MID_SET_MSK 0x0fff0000 0142 /* The mask used to clear the ALT_ACPIDMAP_VID2RD_MID register field value. */ 0143 #define ALT_ACPIDMAP_VID2RD_MID_CLR_MSK 0xf000ffff 0144 /* The reset value of the ALT_ACPIDMAP_VID2RD_MID register field. */ 0145 #define ALT_ACPIDMAP_VID2RD_MID_RESET 0x4 0146 /* Extracts the ALT_ACPIDMAP_VID2RD_MID field value from a register. */ 0147 #define ALT_ACPIDMAP_VID2RD_MID_GET(value) (((value) & 0x0fff0000) >> 16) 0148 /* Produces a ALT_ACPIDMAP_VID2RD_MID register field value suitable for setting the register. */ 0149 #define ALT_ACPIDMAP_VID2RD_MID_SET(value) (((value) << 16) & 0x0fff0000) 0150 0151 /* 0152 * Field : Force Mapping for ID=2 - force 0153 * 0154 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set 0155 * to 0 to allow the 3-bit ID N to be dynamically allocated. 0156 * 0157 * Field Access Macros: 0158 * 0159 */ 0160 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2RD_FORCE register field. */ 0161 #define ALT_ACPIDMAP_VID2RD_FORCE_LSB 31 0162 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2RD_FORCE register field. */ 0163 #define ALT_ACPIDMAP_VID2RD_FORCE_MSB 31 0164 /* The width in bits of the ALT_ACPIDMAP_VID2RD_FORCE register field. */ 0165 #define ALT_ACPIDMAP_VID2RD_FORCE_WIDTH 1 0166 /* The mask used to set the ALT_ACPIDMAP_VID2RD_FORCE register field value. */ 0167 #define ALT_ACPIDMAP_VID2RD_FORCE_SET_MSK 0x80000000 0168 /* The mask used to clear the ALT_ACPIDMAP_VID2RD_FORCE register field value. */ 0169 #define ALT_ACPIDMAP_VID2RD_FORCE_CLR_MSK 0x7fffffff 0170 /* The reset value of the ALT_ACPIDMAP_VID2RD_FORCE register field. */ 0171 #define ALT_ACPIDMAP_VID2RD_FORCE_RESET 0x1 0172 /* Extracts the ALT_ACPIDMAP_VID2RD_FORCE field value from a register. */ 0173 #define ALT_ACPIDMAP_VID2RD_FORCE_GET(value) (((value) & 0x80000000) >> 31) 0174 /* Produces a ALT_ACPIDMAP_VID2RD_FORCE register field value suitable for setting the register. */ 0175 #define ALT_ACPIDMAP_VID2RD_FORCE_SET(value) (((value) << 31) & 0x80000000) 0176 0177 #ifndef __ASSEMBLY__ 0178 /* 0179 * WARNING: The C register and register group struct declarations are provided for 0180 * convenience and illustrative purposes. They should, however, be used with 0181 * caution as the C language standard provides no guarantees about the alignment or 0182 * atomicity of device memory accesses. The recommended practice for writing 0183 * hardware drivers is to use the SoCAL access macros and alt_read_word() and 0184 * alt_write_word() functions. 0185 * 0186 * The struct declaration for register ALT_ACPIDMAP_VID2RD. 0187 */ 0188 struct ALT_ACPIDMAP_VID2RD_s 0189 { 0190 uint32_t : 4; /* *UNDEFINED* */ 0191 uint32_t user : 5; /* ARUSER value to SCU for ID=2 */ 0192 uint32_t : 3; /* *UNDEFINED* */ 0193 uint32_t page : 2; /* ARADDR 1GB Page Decoder */ 0194 uint32_t : 2; /* *UNDEFINED* */ 0195 uint32_t mid : 12; /* Remap Master ID = DAP ID */ 0196 uint32_t : 3; /* *UNDEFINED* */ 0197 uint32_t force : 1; /* Force Mapping for ID=2 */ 0198 }; 0199 0200 /* The typedef declaration for register ALT_ACPIDMAP_VID2RD. */ 0201 typedef volatile struct ALT_ACPIDMAP_VID2RD_s ALT_ACPIDMAP_VID2RD_t; 0202 #endif /* __ASSEMBLY__ */ 0203 0204 /* The byte offset of the ALT_ACPIDMAP_VID2RD register from the beginning of the component. */ 0205 #define ALT_ACPIDMAP_VID2RD_OFST 0x0 0206 0207 /* 0208 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 2 - vid2wr 0209 * 0210 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID 0211 * signals mapping values for particular transaction with 12-bit ID which locks the 0212 * fixed 3-bit virtual ID. 0213 * 0214 * Register Layout 0215 * 0216 * Bits | Access | Reset | Description 0217 * :--------|:-------|:------|:----------------------------- 0218 * [3:0] | ??? | 0x0 | *UNDEFINED* 0219 * [8:4] | RW | 0x1 | AWUSER value to SCU for ID=2 0220 * [11:9] | ??? | 0x0 | *UNDEFINED* 0221 * [13:12] | RW | 0x0 | AWADDR 1GB Page Decoder 0222 * [15:14] | ??? | 0x0 | *UNDEFINED* 0223 * [27:16] | RW | 0x4 | Remap Master ID = DAP ID 0224 * [30:28] | ??? | 0x0 | *UNDEFINED* 0225 * [31] | RW | 0x1 | Force Mapping for ID=2 0226 * 0227 */ 0228 /* 0229 * Field : AWUSER value to SCU for ID=2 - user 0230 * 0231 * This value is propagated to SCU as AWUSERS. 0232 * 0233 * Field Access Macros: 0234 * 0235 */ 0236 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_USER register field. */ 0237 #define ALT_ACPIDMAP_VID2WR_USER_LSB 4 0238 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_USER register field. */ 0239 #define ALT_ACPIDMAP_VID2WR_USER_MSB 8 0240 /* The width in bits of the ALT_ACPIDMAP_VID2WR_USER register field. */ 0241 #define ALT_ACPIDMAP_VID2WR_USER_WIDTH 5 0242 /* The mask used to set the ALT_ACPIDMAP_VID2WR_USER register field value. */ 0243 #define ALT_ACPIDMAP_VID2WR_USER_SET_MSK 0x000001f0 0244 /* The mask used to clear the ALT_ACPIDMAP_VID2WR_USER register field value. */ 0245 #define ALT_ACPIDMAP_VID2WR_USER_CLR_MSK 0xfffffe0f 0246 /* The reset value of the ALT_ACPIDMAP_VID2WR_USER register field. */ 0247 #define ALT_ACPIDMAP_VID2WR_USER_RESET 0x1 0248 /* Extracts the ALT_ACPIDMAP_VID2WR_USER field value from a register. */ 0249 #define ALT_ACPIDMAP_VID2WR_USER_GET(value) (((value) & 0x000001f0) >> 4) 0250 /* Produces a ALT_ACPIDMAP_VID2WR_USER register field value suitable for setting the register. */ 0251 #define ALT_ACPIDMAP_VID2WR_USER_SET(value) (((value) << 4) & 0x000001f0) 0252 0253 /* 0254 * Field : AWADDR 1GB Page Decoder - page 0255 * 0256 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. 0257 * 0258 * Field Access Macros: 0259 * 0260 */ 0261 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_PAGE register field. */ 0262 #define ALT_ACPIDMAP_VID2WR_PAGE_LSB 12 0263 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_PAGE register field. */ 0264 #define ALT_ACPIDMAP_VID2WR_PAGE_MSB 13 0265 /* The width in bits of the ALT_ACPIDMAP_VID2WR_PAGE register field. */ 0266 #define ALT_ACPIDMAP_VID2WR_PAGE_WIDTH 2 0267 /* The mask used to set the ALT_ACPIDMAP_VID2WR_PAGE register field value. */ 0268 #define ALT_ACPIDMAP_VID2WR_PAGE_SET_MSK 0x00003000 0269 /* The mask used to clear the ALT_ACPIDMAP_VID2WR_PAGE register field value. */ 0270 #define ALT_ACPIDMAP_VID2WR_PAGE_CLR_MSK 0xffffcfff 0271 /* The reset value of the ALT_ACPIDMAP_VID2WR_PAGE register field. */ 0272 #define ALT_ACPIDMAP_VID2WR_PAGE_RESET 0x0 0273 /* Extracts the ALT_ACPIDMAP_VID2WR_PAGE field value from a register. */ 0274 #define ALT_ACPIDMAP_VID2WR_PAGE_GET(value) (((value) & 0x00003000) >> 12) 0275 /* Produces a ALT_ACPIDMAP_VID2WR_PAGE register field value suitable for setting the register. */ 0276 #define ALT_ACPIDMAP_VID2WR_PAGE_SET(value) (((value) << 12) & 0x00003000) 0277 0278 /* 0279 * Field : Remap Master ID = DAP ID - mid 0280 * 0281 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit 0282 * ID to use. 0283 * 0284 * Field Access Macros: 0285 * 0286 */ 0287 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_MID register field. */ 0288 #define ALT_ACPIDMAP_VID2WR_MID_LSB 16 0289 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_MID register field. */ 0290 #define ALT_ACPIDMAP_VID2WR_MID_MSB 27 0291 /* The width in bits of the ALT_ACPIDMAP_VID2WR_MID register field. */ 0292 #define ALT_ACPIDMAP_VID2WR_MID_WIDTH 12 0293 /* The mask used to set the ALT_ACPIDMAP_VID2WR_MID register field value. */ 0294 #define ALT_ACPIDMAP_VID2WR_MID_SET_MSK 0x0fff0000 0295 /* The mask used to clear the ALT_ACPIDMAP_VID2WR_MID register field value. */ 0296 #define ALT_ACPIDMAP_VID2WR_MID_CLR_MSK 0xf000ffff 0297 /* The reset value of the ALT_ACPIDMAP_VID2WR_MID register field. */ 0298 #define ALT_ACPIDMAP_VID2WR_MID_RESET 0x4 0299 /* Extracts the ALT_ACPIDMAP_VID2WR_MID field value from a register. */ 0300 #define ALT_ACPIDMAP_VID2WR_MID_GET(value) (((value) & 0x0fff0000) >> 16) 0301 /* Produces a ALT_ACPIDMAP_VID2WR_MID register field value suitable for setting the register. */ 0302 #define ALT_ACPIDMAP_VID2WR_MID_SET(value) (((value) << 16) & 0x0fff0000) 0303 0304 /* 0305 * Field : Force Mapping for ID=2 - force 0306 * 0307 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set 0308 * to 0 to allow the 3-bit ID N to be dynamically allocated. 0309 * 0310 * Field Access Macros: 0311 * 0312 */ 0313 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID2WR_FORCE register field. */ 0314 #define ALT_ACPIDMAP_VID2WR_FORCE_LSB 31 0315 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID2WR_FORCE register field. */ 0316 #define ALT_ACPIDMAP_VID2WR_FORCE_MSB 31 0317 /* The width in bits of the ALT_ACPIDMAP_VID2WR_FORCE register field. */ 0318 #define ALT_ACPIDMAP_VID2WR_FORCE_WIDTH 1 0319 /* The mask used to set the ALT_ACPIDMAP_VID2WR_FORCE register field value. */ 0320 #define ALT_ACPIDMAP_VID2WR_FORCE_SET_MSK 0x80000000 0321 /* The mask used to clear the ALT_ACPIDMAP_VID2WR_FORCE register field value. */ 0322 #define ALT_ACPIDMAP_VID2WR_FORCE_CLR_MSK 0x7fffffff 0323 /* The reset value of the ALT_ACPIDMAP_VID2WR_FORCE register field. */ 0324 #define ALT_ACPIDMAP_VID2WR_FORCE_RESET 0x1 0325 /* Extracts the ALT_ACPIDMAP_VID2WR_FORCE field value from a register. */ 0326 #define ALT_ACPIDMAP_VID2WR_FORCE_GET(value) (((value) & 0x80000000) >> 31) 0327 /* Produces a ALT_ACPIDMAP_VID2WR_FORCE register field value suitable for setting the register. */ 0328 #define ALT_ACPIDMAP_VID2WR_FORCE_SET(value) (((value) << 31) & 0x80000000) 0329 0330 #ifndef __ASSEMBLY__ 0331 /* 0332 * WARNING: The C register and register group struct declarations are provided for 0333 * convenience and illustrative purposes. They should, however, be used with 0334 * caution as the C language standard provides no guarantees about the alignment or 0335 * atomicity of device memory accesses. The recommended practice for writing 0336 * hardware drivers is to use the SoCAL access macros and alt_read_word() and 0337 * alt_write_word() functions. 0338 * 0339 * The struct declaration for register ALT_ACPIDMAP_VID2WR. 0340 */ 0341 struct ALT_ACPIDMAP_VID2WR_s 0342 { 0343 uint32_t : 4; /* *UNDEFINED* */ 0344 uint32_t user : 5; /* AWUSER value to SCU for ID=2 */ 0345 uint32_t : 3; /* *UNDEFINED* */ 0346 uint32_t page : 2; /* AWADDR 1GB Page Decoder */ 0347 uint32_t : 2; /* *UNDEFINED* */ 0348 uint32_t mid : 12; /* Remap Master ID = DAP ID */ 0349 uint32_t : 3; /* *UNDEFINED* */ 0350 uint32_t force : 1; /* Force Mapping for ID=2 */ 0351 }; 0352 0353 /* The typedef declaration for register ALT_ACPIDMAP_VID2WR. */ 0354 typedef volatile struct ALT_ACPIDMAP_VID2WR_s ALT_ACPIDMAP_VID2WR_t; 0355 #endif /* __ASSEMBLY__ */ 0356 0357 /* The byte offset of the ALT_ACPIDMAP_VID2WR register from the beginning of the component. */ 0358 #define ALT_ACPIDMAP_VID2WR_OFST 0x4 0359 0360 /* 0361 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 3 - vid3rd 0362 * 0363 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID 0364 * signals mapping values for particular transaction with 12-bit ID which locks the 0365 * fixed 3-bit virtual ID. 0366 * 0367 * Register Layout 0368 * 0369 * Bits | Access | Reset | Description 0370 * :--------|:-------|:------|:------------------------ 0371 * [3:0] | ??? | 0x0 | *UNDEFINED* 0372 * [8:4] | RW | 0x0 | ARUSER value to SCU 0373 * [11:9] | ??? | 0x0 | *UNDEFINED* 0374 * [13:12] | RW | 0x0 | ARADDR 1GB Page Decoder 0375 * [15:14] | ??? | 0x0 | *UNDEFINED* 0376 * [27:16] | RW | 0x0 | Remap Master ID 0377 * [30:28] | ??? | 0x0 | *UNDEFINED* 0378 * [31] | RW | 0x0 | Force Mapping 0379 * 0380 */ 0381 /* 0382 * Field : ARUSER value to SCU - user 0383 * 0384 * This value is propagated to SCU as ARUSERS. 0385 * 0386 * Field Access Macros: 0387 * 0388 */ 0389 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_USER register field. */ 0390 #define ALT_ACPIDMAP_VID3RD_USER_LSB 4 0391 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_USER register field. */ 0392 #define ALT_ACPIDMAP_VID3RD_USER_MSB 8 0393 /* The width in bits of the ALT_ACPIDMAP_VID3RD_USER register field. */ 0394 #define ALT_ACPIDMAP_VID3RD_USER_WIDTH 5 0395 /* The mask used to set the ALT_ACPIDMAP_VID3RD_USER register field value. */ 0396 #define ALT_ACPIDMAP_VID3RD_USER_SET_MSK 0x000001f0 0397 /* The mask used to clear the ALT_ACPIDMAP_VID3RD_USER register field value. */ 0398 #define ALT_ACPIDMAP_VID3RD_USER_CLR_MSK 0xfffffe0f 0399 /* The reset value of the ALT_ACPIDMAP_VID3RD_USER register field. */ 0400 #define ALT_ACPIDMAP_VID3RD_USER_RESET 0x0 0401 /* Extracts the ALT_ACPIDMAP_VID3RD_USER field value from a register. */ 0402 #define ALT_ACPIDMAP_VID3RD_USER_GET(value) (((value) & 0x000001f0) >> 4) 0403 /* Produces a ALT_ACPIDMAP_VID3RD_USER register field value suitable for setting the register. */ 0404 #define ALT_ACPIDMAP_VID3RD_USER_SET(value) (((value) << 4) & 0x000001f0) 0405 0406 /* 0407 * Field : ARADDR 1GB Page Decoder - page 0408 * 0409 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. 0410 * 0411 * Field Access Macros: 0412 * 0413 */ 0414 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_PAGE register field. */ 0415 #define ALT_ACPIDMAP_VID3RD_PAGE_LSB 12 0416 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_PAGE register field. */ 0417 #define ALT_ACPIDMAP_VID3RD_PAGE_MSB 13 0418 /* The width in bits of the ALT_ACPIDMAP_VID3RD_PAGE register field. */ 0419 #define ALT_ACPIDMAP_VID3RD_PAGE_WIDTH 2 0420 /* The mask used to set the ALT_ACPIDMAP_VID3RD_PAGE register field value. */ 0421 #define ALT_ACPIDMAP_VID3RD_PAGE_SET_MSK 0x00003000 0422 /* The mask used to clear the ALT_ACPIDMAP_VID3RD_PAGE register field value. */ 0423 #define ALT_ACPIDMAP_VID3RD_PAGE_CLR_MSK 0xffffcfff 0424 /* The reset value of the ALT_ACPIDMAP_VID3RD_PAGE register field. */ 0425 #define ALT_ACPIDMAP_VID3RD_PAGE_RESET 0x0 0426 /* Extracts the ALT_ACPIDMAP_VID3RD_PAGE field value from a register. */ 0427 #define ALT_ACPIDMAP_VID3RD_PAGE_GET(value) (((value) & 0x00003000) >> 12) 0428 /* Produces a ALT_ACPIDMAP_VID3RD_PAGE register field value suitable for setting the register. */ 0429 #define ALT_ACPIDMAP_VID3RD_PAGE_SET(value) (((value) << 12) & 0x00003000) 0430 0431 /* 0432 * Field : Remap Master ID - mid 0433 * 0434 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit 0435 * ID to use. 0436 * 0437 * Field Access Macros: 0438 * 0439 */ 0440 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_MID register field. */ 0441 #define ALT_ACPIDMAP_VID3RD_MID_LSB 16 0442 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_MID register field. */ 0443 #define ALT_ACPIDMAP_VID3RD_MID_MSB 27 0444 /* The width in bits of the ALT_ACPIDMAP_VID3RD_MID register field. */ 0445 #define ALT_ACPIDMAP_VID3RD_MID_WIDTH 12 0446 /* The mask used to set the ALT_ACPIDMAP_VID3RD_MID register field value. */ 0447 #define ALT_ACPIDMAP_VID3RD_MID_SET_MSK 0x0fff0000 0448 /* The mask used to clear the ALT_ACPIDMAP_VID3RD_MID register field value. */ 0449 #define ALT_ACPIDMAP_VID3RD_MID_CLR_MSK 0xf000ffff 0450 /* The reset value of the ALT_ACPIDMAP_VID3RD_MID register field. */ 0451 #define ALT_ACPIDMAP_VID3RD_MID_RESET 0x0 0452 /* Extracts the ALT_ACPIDMAP_VID3RD_MID field value from a register. */ 0453 #define ALT_ACPIDMAP_VID3RD_MID_GET(value) (((value) & 0x0fff0000) >> 16) 0454 /* Produces a ALT_ACPIDMAP_VID3RD_MID register field value suitable for setting the register. */ 0455 #define ALT_ACPIDMAP_VID3RD_MID_SET(value) (((value) << 16) & 0x0fff0000) 0456 0457 /* 0458 * Field : Force Mapping - force 0459 * 0460 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set 0461 * to 0 to allow the 3-bit ID N to be dynamically allocated. 0462 * 0463 * Field Access Macros: 0464 * 0465 */ 0466 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3RD_FORCE register field. */ 0467 #define ALT_ACPIDMAP_VID3RD_FORCE_LSB 31 0468 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3RD_FORCE register field. */ 0469 #define ALT_ACPIDMAP_VID3RD_FORCE_MSB 31 0470 /* The width in bits of the ALT_ACPIDMAP_VID3RD_FORCE register field. */ 0471 #define ALT_ACPIDMAP_VID3RD_FORCE_WIDTH 1 0472 /* The mask used to set the ALT_ACPIDMAP_VID3RD_FORCE register field value. */ 0473 #define ALT_ACPIDMAP_VID3RD_FORCE_SET_MSK 0x80000000 0474 /* The mask used to clear the ALT_ACPIDMAP_VID3RD_FORCE register field value. */ 0475 #define ALT_ACPIDMAP_VID3RD_FORCE_CLR_MSK 0x7fffffff 0476 /* The reset value of the ALT_ACPIDMAP_VID3RD_FORCE register field. */ 0477 #define ALT_ACPIDMAP_VID3RD_FORCE_RESET 0x0 0478 /* Extracts the ALT_ACPIDMAP_VID3RD_FORCE field value from a register. */ 0479 #define ALT_ACPIDMAP_VID3RD_FORCE_GET(value) (((value) & 0x80000000) >> 31) 0480 /* Produces a ALT_ACPIDMAP_VID3RD_FORCE register field value suitable for setting the register. */ 0481 #define ALT_ACPIDMAP_VID3RD_FORCE_SET(value) (((value) << 31) & 0x80000000) 0482 0483 #ifndef __ASSEMBLY__ 0484 /* 0485 * WARNING: The C register and register group struct declarations are provided for 0486 * convenience and illustrative purposes. They should, however, be used with 0487 * caution as the C language standard provides no guarantees about the alignment or 0488 * atomicity of device memory accesses. The recommended practice for writing 0489 * hardware drivers is to use the SoCAL access macros and alt_read_word() and 0490 * alt_write_word() functions. 0491 * 0492 * The struct declaration for register ALT_ACPIDMAP_VID3RD. 0493 */ 0494 struct ALT_ACPIDMAP_VID3RD_s 0495 { 0496 uint32_t : 4; /* *UNDEFINED* */ 0497 uint32_t user : 5; /* ARUSER value to SCU */ 0498 uint32_t : 3; /* *UNDEFINED* */ 0499 uint32_t page : 2; /* ARADDR 1GB Page Decoder */ 0500 uint32_t : 2; /* *UNDEFINED* */ 0501 uint32_t mid : 12; /* Remap Master ID */ 0502 uint32_t : 3; /* *UNDEFINED* */ 0503 uint32_t force : 1; /* Force Mapping */ 0504 }; 0505 0506 /* The typedef declaration for register ALT_ACPIDMAP_VID3RD. */ 0507 typedef volatile struct ALT_ACPIDMAP_VID3RD_s ALT_ACPIDMAP_VID3RD_t; 0508 #endif /* __ASSEMBLY__ */ 0509 0510 /* The byte offset of the ALT_ACPIDMAP_VID3RD register from the beginning of the component. */ 0511 #define ALT_ACPIDMAP_VID3RD_OFST 0x8 0512 0513 /* 0514 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 3 - vid3wr 0515 * 0516 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID 0517 * signals mapping values for particular transaction with 12-bit ID which locks the 0518 * fixed 3-bit virtual ID. 0519 * 0520 * Register Layout 0521 * 0522 * Bits | Access | Reset | Description 0523 * :--------|:-------|:------|:------------------------ 0524 * [3:0] | ??? | 0x0 | *UNDEFINED* 0525 * [8:4] | RW | 0x0 | AWUSER value to SCU 0526 * [11:9] | ??? | 0x0 | *UNDEFINED* 0527 * [13:12] | RW | 0x0 | AWADDR 1GB Page Decoder 0528 * [15:14] | ??? | 0x0 | *UNDEFINED* 0529 * [27:16] | RW | 0x0 | Remap Master ID 0530 * [30:28] | ??? | 0x0 | *UNDEFINED* 0531 * [31] | RW | 0x0 | Force Mapping 0532 * 0533 */ 0534 /* 0535 * Field : AWUSER value to SCU - user 0536 * 0537 * This value is propagated to SCU as AWUSERS. 0538 * 0539 * Field Access Macros: 0540 * 0541 */ 0542 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_USER register field. */ 0543 #define ALT_ACPIDMAP_VID3WR_USER_LSB 4 0544 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_USER register field. */ 0545 #define ALT_ACPIDMAP_VID3WR_USER_MSB 8 0546 /* The width in bits of the ALT_ACPIDMAP_VID3WR_USER register field. */ 0547 #define ALT_ACPIDMAP_VID3WR_USER_WIDTH 5 0548 /* The mask used to set the ALT_ACPIDMAP_VID3WR_USER register field value. */ 0549 #define ALT_ACPIDMAP_VID3WR_USER_SET_MSK 0x000001f0 0550 /* The mask used to clear the ALT_ACPIDMAP_VID3WR_USER register field value. */ 0551 #define ALT_ACPIDMAP_VID3WR_USER_CLR_MSK 0xfffffe0f 0552 /* The reset value of the ALT_ACPIDMAP_VID3WR_USER register field. */ 0553 #define ALT_ACPIDMAP_VID3WR_USER_RESET 0x0 0554 /* Extracts the ALT_ACPIDMAP_VID3WR_USER field value from a register. */ 0555 #define ALT_ACPIDMAP_VID3WR_USER_GET(value) (((value) & 0x000001f0) >> 4) 0556 /* Produces a ALT_ACPIDMAP_VID3WR_USER register field value suitable for setting the register. */ 0557 #define ALT_ACPIDMAP_VID3WR_USER_SET(value) (((value) << 4) & 0x000001f0) 0558 0559 /* 0560 * Field : AWADDR 1GB Page Decoder - page 0561 * 0562 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. 0563 * 0564 * Field Access Macros: 0565 * 0566 */ 0567 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_PAGE register field. */ 0568 #define ALT_ACPIDMAP_VID3WR_PAGE_LSB 12 0569 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_PAGE register field. */ 0570 #define ALT_ACPIDMAP_VID3WR_PAGE_MSB 13 0571 /* The width in bits of the ALT_ACPIDMAP_VID3WR_PAGE register field. */ 0572 #define ALT_ACPIDMAP_VID3WR_PAGE_WIDTH 2 0573 /* The mask used to set the ALT_ACPIDMAP_VID3WR_PAGE register field value. */ 0574 #define ALT_ACPIDMAP_VID3WR_PAGE_SET_MSK 0x00003000 0575 /* The mask used to clear the ALT_ACPIDMAP_VID3WR_PAGE register field value. */ 0576 #define ALT_ACPIDMAP_VID3WR_PAGE_CLR_MSK 0xffffcfff 0577 /* The reset value of the ALT_ACPIDMAP_VID3WR_PAGE register field. */ 0578 #define ALT_ACPIDMAP_VID3WR_PAGE_RESET 0x0 0579 /* Extracts the ALT_ACPIDMAP_VID3WR_PAGE field value from a register. */ 0580 #define ALT_ACPIDMAP_VID3WR_PAGE_GET(value) (((value) & 0x00003000) >> 12) 0581 /* Produces a ALT_ACPIDMAP_VID3WR_PAGE register field value suitable for setting the register. */ 0582 #define ALT_ACPIDMAP_VID3WR_PAGE_SET(value) (((value) << 12) & 0x00003000) 0583 0584 /* 0585 * Field : Remap Master ID - mid 0586 * 0587 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit 0588 * ID to use. 0589 * 0590 * Field Access Macros: 0591 * 0592 */ 0593 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_MID register field. */ 0594 #define ALT_ACPIDMAP_VID3WR_MID_LSB 16 0595 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_MID register field. */ 0596 #define ALT_ACPIDMAP_VID3WR_MID_MSB 27 0597 /* The width in bits of the ALT_ACPIDMAP_VID3WR_MID register field. */ 0598 #define ALT_ACPIDMAP_VID3WR_MID_WIDTH 12 0599 /* The mask used to set the ALT_ACPIDMAP_VID3WR_MID register field value. */ 0600 #define ALT_ACPIDMAP_VID3WR_MID_SET_MSK 0x0fff0000 0601 /* The mask used to clear the ALT_ACPIDMAP_VID3WR_MID register field value. */ 0602 #define ALT_ACPIDMAP_VID3WR_MID_CLR_MSK 0xf000ffff 0603 /* The reset value of the ALT_ACPIDMAP_VID3WR_MID register field. */ 0604 #define ALT_ACPIDMAP_VID3WR_MID_RESET 0x0 0605 /* Extracts the ALT_ACPIDMAP_VID3WR_MID field value from a register. */ 0606 #define ALT_ACPIDMAP_VID3WR_MID_GET(value) (((value) & 0x0fff0000) >> 16) 0607 /* Produces a ALT_ACPIDMAP_VID3WR_MID register field value suitable for setting the register. */ 0608 #define ALT_ACPIDMAP_VID3WR_MID_SET(value) (((value) << 16) & 0x0fff0000) 0609 0610 /* 0611 * Field : Force Mapping - force 0612 * 0613 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set 0614 * to 0 to allow the 3-bit ID N to be dynamically allocated. 0615 * 0616 * Field Access Macros: 0617 * 0618 */ 0619 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID3WR_FORCE register field. */ 0620 #define ALT_ACPIDMAP_VID3WR_FORCE_LSB 31 0621 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID3WR_FORCE register field. */ 0622 #define ALT_ACPIDMAP_VID3WR_FORCE_MSB 31 0623 /* The width in bits of the ALT_ACPIDMAP_VID3WR_FORCE register field. */ 0624 #define ALT_ACPIDMAP_VID3WR_FORCE_WIDTH 1 0625 /* The mask used to set the ALT_ACPIDMAP_VID3WR_FORCE register field value. */ 0626 #define ALT_ACPIDMAP_VID3WR_FORCE_SET_MSK 0x80000000 0627 /* The mask used to clear the ALT_ACPIDMAP_VID3WR_FORCE register field value. */ 0628 #define ALT_ACPIDMAP_VID3WR_FORCE_CLR_MSK 0x7fffffff 0629 /* The reset value of the ALT_ACPIDMAP_VID3WR_FORCE register field. */ 0630 #define ALT_ACPIDMAP_VID3WR_FORCE_RESET 0x0 0631 /* Extracts the ALT_ACPIDMAP_VID3WR_FORCE field value from a register. */ 0632 #define ALT_ACPIDMAP_VID3WR_FORCE_GET(value) (((value) & 0x80000000) >> 31) 0633 /* Produces a ALT_ACPIDMAP_VID3WR_FORCE register field value suitable for setting the register. */ 0634 #define ALT_ACPIDMAP_VID3WR_FORCE_SET(value) (((value) << 31) & 0x80000000) 0635 0636 #ifndef __ASSEMBLY__ 0637 /* 0638 * WARNING: The C register and register group struct declarations are provided for 0639 * convenience and illustrative purposes. They should, however, be used with 0640 * caution as the C language standard provides no guarantees about the alignment or 0641 * atomicity of device memory accesses. The recommended practice for writing 0642 * hardware drivers is to use the SoCAL access macros and alt_read_word() and 0643 * alt_write_word() functions. 0644 * 0645 * The struct declaration for register ALT_ACPIDMAP_VID3WR. 0646 */ 0647 struct ALT_ACPIDMAP_VID3WR_s 0648 { 0649 uint32_t : 4; /* *UNDEFINED* */ 0650 uint32_t user : 5; /* AWUSER value to SCU */ 0651 uint32_t : 3; /* *UNDEFINED* */ 0652 uint32_t page : 2; /* AWADDR 1GB Page Decoder */ 0653 uint32_t : 2; /* *UNDEFINED* */ 0654 uint32_t mid : 12; /* Remap Master ID */ 0655 uint32_t : 3; /* *UNDEFINED* */ 0656 uint32_t force : 1; /* Force Mapping */ 0657 }; 0658 0659 /* The typedef declaration for register ALT_ACPIDMAP_VID3WR. */ 0660 typedef volatile struct ALT_ACPIDMAP_VID3WR_s ALT_ACPIDMAP_VID3WR_t; 0661 #endif /* __ASSEMBLY__ */ 0662 0663 /* The byte offset of the ALT_ACPIDMAP_VID3WR register from the beginning of the component. */ 0664 #define ALT_ACPIDMAP_VID3WR_OFST 0xc 0665 0666 /* 0667 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 4 - vid4rd 0668 * 0669 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID 0670 * signals mapping values for particular transaction with 12-bit ID which locks the 0671 * fixed 3-bit virtual ID. 0672 * 0673 * Register Layout 0674 * 0675 * Bits | Access | Reset | Description 0676 * :--------|:-------|:------|:------------------------ 0677 * [3:0] | ??? | 0x0 | *UNDEFINED* 0678 * [8:4] | RW | 0x0 | ARUSER value to SCU 0679 * [11:9] | ??? | 0x0 | *UNDEFINED* 0680 * [13:12] | RW | 0x0 | ARADDR 1GB Page Decoder 0681 * [15:14] | ??? | 0x0 | *UNDEFINED* 0682 * [27:16] | RW | 0x0 | Remap Master ID 0683 * [30:28] | ??? | 0x0 | *UNDEFINED* 0684 * [31] | RW | 0x0 | Force Mapping 0685 * 0686 */ 0687 /* 0688 * Field : ARUSER value to SCU - user 0689 * 0690 * This value is propagated to SCU as ARUSERS. 0691 * 0692 * Field Access Macros: 0693 * 0694 */ 0695 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_USER register field. */ 0696 #define ALT_ACPIDMAP_VID4RD_USER_LSB 4 0697 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_USER register field. */ 0698 #define ALT_ACPIDMAP_VID4RD_USER_MSB 8 0699 /* The width in bits of the ALT_ACPIDMAP_VID4RD_USER register field. */ 0700 #define ALT_ACPIDMAP_VID4RD_USER_WIDTH 5 0701 /* The mask used to set the ALT_ACPIDMAP_VID4RD_USER register field value. */ 0702 #define ALT_ACPIDMAP_VID4RD_USER_SET_MSK 0x000001f0 0703 /* The mask used to clear the ALT_ACPIDMAP_VID4RD_USER register field value. */ 0704 #define ALT_ACPIDMAP_VID4RD_USER_CLR_MSK 0xfffffe0f 0705 /* The reset value of the ALT_ACPIDMAP_VID4RD_USER register field. */ 0706 #define ALT_ACPIDMAP_VID4RD_USER_RESET 0x0 0707 /* Extracts the ALT_ACPIDMAP_VID4RD_USER field value from a register. */ 0708 #define ALT_ACPIDMAP_VID4RD_USER_GET(value) (((value) & 0x000001f0) >> 4) 0709 /* Produces a ALT_ACPIDMAP_VID4RD_USER register field value suitable for setting the register. */ 0710 #define ALT_ACPIDMAP_VID4RD_USER_SET(value) (((value) << 4) & 0x000001f0) 0711 0712 /* 0713 * Field : ARADDR 1GB Page Decoder - page 0714 * 0715 * ARADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. 0716 * 0717 * Field Access Macros: 0718 * 0719 */ 0720 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_PAGE register field. */ 0721 #define ALT_ACPIDMAP_VID4RD_PAGE_LSB 12 0722 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_PAGE register field. */ 0723 #define ALT_ACPIDMAP_VID4RD_PAGE_MSB 13 0724 /* The width in bits of the ALT_ACPIDMAP_VID4RD_PAGE register field. */ 0725 #define ALT_ACPIDMAP_VID4RD_PAGE_WIDTH 2 0726 /* The mask used to set the ALT_ACPIDMAP_VID4RD_PAGE register field value. */ 0727 #define ALT_ACPIDMAP_VID4RD_PAGE_SET_MSK 0x00003000 0728 /* The mask used to clear the ALT_ACPIDMAP_VID4RD_PAGE register field value. */ 0729 #define ALT_ACPIDMAP_VID4RD_PAGE_CLR_MSK 0xffffcfff 0730 /* The reset value of the ALT_ACPIDMAP_VID4RD_PAGE register field. */ 0731 #define ALT_ACPIDMAP_VID4RD_PAGE_RESET 0x0 0732 /* Extracts the ALT_ACPIDMAP_VID4RD_PAGE field value from a register. */ 0733 #define ALT_ACPIDMAP_VID4RD_PAGE_GET(value) (((value) & 0x00003000) >> 12) 0734 /* Produces a ALT_ACPIDMAP_VID4RD_PAGE register field value suitable for setting the register. */ 0735 #define ALT_ACPIDMAP_VID4RD_PAGE_SET(value) (((value) << 12) & 0x00003000) 0736 0737 /* 0738 * Field : Remap Master ID - mid 0739 * 0740 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit 0741 * ID to use. 0742 * 0743 * Field Access Macros: 0744 * 0745 */ 0746 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_MID register field. */ 0747 #define ALT_ACPIDMAP_VID4RD_MID_LSB 16 0748 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_MID register field. */ 0749 #define ALT_ACPIDMAP_VID4RD_MID_MSB 27 0750 /* The width in bits of the ALT_ACPIDMAP_VID4RD_MID register field. */ 0751 #define ALT_ACPIDMAP_VID4RD_MID_WIDTH 12 0752 /* The mask used to set the ALT_ACPIDMAP_VID4RD_MID register field value. */ 0753 #define ALT_ACPIDMAP_VID4RD_MID_SET_MSK 0x0fff0000 0754 /* The mask used to clear the ALT_ACPIDMAP_VID4RD_MID register field value. */ 0755 #define ALT_ACPIDMAP_VID4RD_MID_CLR_MSK 0xf000ffff 0756 /* The reset value of the ALT_ACPIDMAP_VID4RD_MID register field. */ 0757 #define ALT_ACPIDMAP_VID4RD_MID_RESET 0x0 0758 /* Extracts the ALT_ACPIDMAP_VID4RD_MID field value from a register. */ 0759 #define ALT_ACPIDMAP_VID4RD_MID_GET(value) (((value) & 0x0fff0000) >> 16) 0760 /* Produces a ALT_ACPIDMAP_VID4RD_MID register field value suitable for setting the register. */ 0761 #define ALT_ACPIDMAP_VID4RD_MID_SET(value) (((value) << 16) & 0x0fff0000) 0762 0763 /* 0764 * Field : Force Mapping - force 0765 * 0766 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set 0767 * to 0 to allow the 3-bit ID N to be dynamically allocated. 0768 * 0769 * Field Access Macros: 0770 * 0771 */ 0772 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4RD_FORCE register field. */ 0773 #define ALT_ACPIDMAP_VID4RD_FORCE_LSB 31 0774 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4RD_FORCE register field. */ 0775 #define ALT_ACPIDMAP_VID4RD_FORCE_MSB 31 0776 /* The width in bits of the ALT_ACPIDMAP_VID4RD_FORCE register field. */ 0777 #define ALT_ACPIDMAP_VID4RD_FORCE_WIDTH 1 0778 /* The mask used to set the ALT_ACPIDMAP_VID4RD_FORCE register field value. */ 0779 #define ALT_ACPIDMAP_VID4RD_FORCE_SET_MSK 0x80000000 0780 /* The mask used to clear the ALT_ACPIDMAP_VID4RD_FORCE register field value. */ 0781 #define ALT_ACPIDMAP_VID4RD_FORCE_CLR_MSK 0x7fffffff 0782 /* The reset value of the ALT_ACPIDMAP_VID4RD_FORCE register field. */ 0783 #define ALT_ACPIDMAP_VID4RD_FORCE_RESET 0x0 0784 /* Extracts the ALT_ACPIDMAP_VID4RD_FORCE field value from a register. */ 0785 #define ALT_ACPIDMAP_VID4RD_FORCE_GET(value) (((value) & 0x80000000) >> 31) 0786 /* Produces a ALT_ACPIDMAP_VID4RD_FORCE register field value suitable for setting the register. */ 0787 #define ALT_ACPIDMAP_VID4RD_FORCE_SET(value) (((value) << 31) & 0x80000000) 0788 0789 #ifndef __ASSEMBLY__ 0790 /* 0791 * WARNING: The C register and register group struct declarations are provided for 0792 * convenience and illustrative purposes. They should, however, be used with 0793 * caution as the C language standard provides no guarantees about the alignment or 0794 * atomicity of device memory accesses. The recommended practice for writing 0795 * hardware drivers is to use the SoCAL access macros and alt_read_word() and 0796 * alt_write_word() functions. 0797 * 0798 * The struct declaration for register ALT_ACPIDMAP_VID4RD. 0799 */ 0800 struct ALT_ACPIDMAP_VID4RD_s 0801 { 0802 uint32_t : 4; /* *UNDEFINED* */ 0803 uint32_t user : 5; /* ARUSER value to SCU */ 0804 uint32_t : 3; /* *UNDEFINED* */ 0805 uint32_t page : 2; /* ARADDR 1GB Page Decoder */ 0806 uint32_t : 2; /* *UNDEFINED* */ 0807 uint32_t mid : 12; /* Remap Master ID */ 0808 uint32_t : 3; /* *UNDEFINED* */ 0809 uint32_t force : 1; /* Force Mapping */ 0810 }; 0811 0812 /* The typedef declaration for register ALT_ACPIDMAP_VID4RD. */ 0813 typedef volatile struct ALT_ACPIDMAP_VID4RD_s ALT_ACPIDMAP_VID4RD_t; 0814 #endif /* __ASSEMBLY__ */ 0815 0816 /* The byte offset of the ALT_ACPIDMAP_VID4RD register from the beginning of the component. */ 0817 #define ALT_ACPIDMAP_VID4RD_OFST 0x10 0818 0819 /* 0820 * Register : Write AXI Master Mapping Register for Fixed Virtual ID 4 - vid4wr 0821 * 0822 * The Write AXI Master Mapping Register contains the USER, ADDR page, and ID 0823 * signals mapping values for particular transaction with 12-bit ID which locks the 0824 * fixed 3-bit virtual ID. 0825 * 0826 * Register Layout 0827 * 0828 * Bits | Access | Reset | Description 0829 * :--------|:-------|:------|:------------------------ 0830 * [3:0] | ??? | 0x0 | *UNDEFINED* 0831 * [8:4] | RW | 0x0 | AWUSER value to SCU 0832 * [11:9] | ??? | 0x0 | *UNDEFINED* 0833 * [13:12] | RW | 0x0 | AWADDR 1GB Page Decoder 0834 * [15:14] | ??? | 0x0 | *UNDEFINED* 0835 * [27:16] | RW | 0x0 | Remap Master ID 0836 * [30:28] | ??? | 0x0 | *UNDEFINED* 0837 * [31] | RW | 0x0 | Force Mapping 0838 * 0839 */ 0840 /* 0841 * Field : AWUSER value to SCU - user 0842 * 0843 * This value is propagated to SCU as AWUSERS. 0844 * 0845 * Field Access Macros: 0846 * 0847 */ 0848 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_USER register field. */ 0849 #define ALT_ACPIDMAP_VID4WR_USER_LSB 4 0850 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_USER register field. */ 0851 #define ALT_ACPIDMAP_VID4WR_USER_MSB 8 0852 /* The width in bits of the ALT_ACPIDMAP_VID4WR_USER register field. */ 0853 #define ALT_ACPIDMAP_VID4WR_USER_WIDTH 5 0854 /* The mask used to set the ALT_ACPIDMAP_VID4WR_USER register field value. */ 0855 #define ALT_ACPIDMAP_VID4WR_USER_SET_MSK 0x000001f0 0856 /* The mask used to clear the ALT_ACPIDMAP_VID4WR_USER register field value. */ 0857 #define ALT_ACPIDMAP_VID4WR_USER_CLR_MSK 0xfffffe0f 0858 /* The reset value of the ALT_ACPIDMAP_VID4WR_USER register field. */ 0859 #define ALT_ACPIDMAP_VID4WR_USER_RESET 0x0 0860 /* Extracts the ALT_ACPIDMAP_VID4WR_USER field value from a register. */ 0861 #define ALT_ACPIDMAP_VID4WR_USER_GET(value) (((value) & 0x000001f0) >> 4) 0862 /* Produces a ALT_ACPIDMAP_VID4WR_USER register field value suitable for setting the register. */ 0863 #define ALT_ACPIDMAP_VID4WR_USER_SET(value) (((value) << 4) & 0x000001f0) 0864 0865 /* 0866 * Field : AWADDR 1GB Page Decoder - page 0867 * 0868 * AWADDR remap to 1st, 2nd, 3rd, or 4th 1GB memory region. 0869 * 0870 * Field Access Macros: 0871 * 0872 */ 0873 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_PAGE register field. */ 0874 #define ALT_ACPIDMAP_VID4WR_PAGE_LSB 12 0875 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_PAGE register field. */ 0876 #define ALT_ACPIDMAP_VID4WR_PAGE_MSB 13 0877 /* The width in bits of the ALT_ACPIDMAP_VID4WR_PAGE register field. */ 0878 #define ALT_ACPIDMAP_VID4WR_PAGE_WIDTH 2 0879 /* The mask used to set the ALT_ACPIDMAP_VID4WR_PAGE register field value. */ 0880 #define ALT_ACPIDMAP_VID4WR_PAGE_SET_MSK 0x00003000 0881 /* The mask used to clear the ALT_ACPIDMAP_VID4WR_PAGE register field value. */ 0882 #define ALT_ACPIDMAP_VID4WR_PAGE_CLR_MSK 0xffffcfff 0883 /* The reset value of the ALT_ACPIDMAP_VID4WR_PAGE register field. */ 0884 #define ALT_ACPIDMAP_VID4WR_PAGE_RESET 0x0 0885 /* Extracts the ALT_ACPIDMAP_VID4WR_PAGE field value from a register. */ 0886 #define ALT_ACPIDMAP_VID4WR_PAGE_GET(value) (((value) & 0x00003000) >> 12) 0887 /* Produces a ALT_ACPIDMAP_VID4WR_PAGE register field value suitable for setting the register. */ 0888 #define ALT_ACPIDMAP_VID4WR_PAGE_SET(value) (((value) << 12) & 0x00003000) 0889 0890 /* 0891 * Field : Remap Master ID - mid 0892 * 0893 * The 12-bit ID of the master to remap to 3-bit virtual ID N, where N is the 3-bit 0894 * ID to use. 0895 * 0896 * Field Access Macros: 0897 * 0898 */ 0899 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_MID register field. */ 0900 #define ALT_ACPIDMAP_VID4WR_MID_LSB 16 0901 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_MID register field. */ 0902 #define ALT_ACPIDMAP_VID4WR_MID_MSB 27 0903 /* The width in bits of the ALT_ACPIDMAP_VID4WR_MID register field. */ 0904 #define ALT_ACPIDMAP_VID4WR_MID_WIDTH 12 0905 /* The mask used to set the ALT_ACPIDMAP_VID4WR_MID register field value. */ 0906 #define ALT_ACPIDMAP_VID4WR_MID_SET_MSK 0x0fff0000 0907 /* The mask used to clear the ALT_ACPIDMAP_VID4WR_MID register field value. */ 0908 #define ALT_ACPIDMAP_VID4WR_MID_CLR_MSK 0xf000ffff 0909 /* The reset value of the ALT_ACPIDMAP_VID4WR_MID register field. */ 0910 #define ALT_ACPIDMAP_VID4WR_MID_RESET 0x0 0911 /* Extracts the ALT_ACPIDMAP_VID4WR_MID field value from a register. */ 0912 #define ALT_ACPIDMAP_VID4WR_MID_GET(value) (((value) & 0x0fff0000) >> 16) 0913 /* Produces a ALT_ACPIDMAP_VID4WR_MID register field value suitable for setting the register. */ 0914 #define ALT_ACPIDMAP_VID4WR_MID_SET(value) (((value) << 16) & 0x0fff0000) 0915 0916 /* 0917 * Field : Force Mapping - force 0918 * 0919 * Set to 1 to force the mapping between the 12-bit ID and 3-bit virtual ID N. Set 0920 * to 0 to allow the 3-bit ID N to be dynamically allocated. 0921 * 0922 * Field Access Macros: 0923 * 0924 */ 0925 /* The Least Significant Bit (LSB) position of the ALT_ACPIDMAP_VID4WR_FORCE register field. */ 0926 #define ALT_ACPIDMAP_VID4WR_FORCE_LSB 31 0927 /* The Most Significant Bit (MSB) position of the ALT_ACPIDMAP_VID4WR_FORCE register field. */ 0928 #define ALT_ACPIDMAP_VID4WR_FORCE_MSB 31 0929 /* The width in bits of the ALT_ACPIDMAP_VID4WR_FORCE register field. */ 0930 #define ALT_ACPIDMAP_VID4WR_FORCE_WIDTH 1 0931 /* The mask used to set the ALT_ACPIDMAP_VID4WR_FORCE register field value. */ 0932 #define ALT_ACPIDMAP_VID4WR_FORCE_SET_MSK 0x80000000 0933 /* The mask used to clear the ALT_ACPIDMAP_VID4WR_FORCE register field value. */ 0934 #define ALT_ACPIDMAP_VID4WR_FORCE_CLR_MSK 0x7fffffff 0935 /* The reset value of the ALT_ACPIDMAP_VID4WR_FORCE register field. */ 0936 #define ALT_ACPIDMAP_VID4WR_FORCE_RESET 0x0 0937 /* Extracts the ALT_ACPIDMAP_VID4WR_FORCE field value from a register. */ 0938 #define ALT_ACPIDMAP_VID4WR_FORCE_GET(value) (((value) & 0x80000000) >> 31) 0939 /* Produces a ALT_ACPIDMAP_VID4WR_FORCE register field value suitable for setting the register. */ 0940 #define ALT_ACPIDMAP_VID4WR_FORCE_SET(value) (((value) << 31) & 0x80000000) 0941 0942 #ifndef __ASSEMBLY__ 0943 /* 0944 * WARNING: The C register and register group struct declarations are provided for 0945 * convenience and illustrative purposes. They should, however, be used with 0946 * caution as the C language standard provides no guarantees about the alignment or 0947 * atomicity of device memory accesses. The recommended practice for writing 0948 * hardware drivers is to use the SoCAL access macros and alt_read_word() and 0949 * alt_write_word() functions. 0950 * 0951 * The struct declaration for register ALT_ACPIDMAP_VID4WR. 0952 */ 0953 struct ALT_ACPIDMAP_VID4WR_s 0954 { 0955 uint32_t : 4; /* *UNDEFINED* */ 0956 uint32_t user : 5; /* AWUSER value to SCU */ 0957 uint32_t : 3; /* *UNDEFINED* */ 0958 uint32_t page : 2; /* AWADDR 1GB Page Decoder */ 0959 uint32_t : 2; /* *UNDEFINED* */ 0960 uint32_t mid : 12; /* Remap Master ID */ 0961 uint32_t : 3; /* *UNDEFINED* */ 0962 uint32_t force : 1; /* Force Mapping */ 0963 }; 0964 0965 /* The typedef declaration for register ALT_ACPIDMAP_VID4WR. */ 0966 typedef volatile struct ALT_ACPIDMAP_VID4WR_s ALT_ACPIDMAP_VID4WR_t; 0967 #endif /* __ASSEMBLY__ */ 0968 0969 /* The byte offset of the ALT_ACPIDMAP_VID4WR register from the beginning of the component. */ 0970 #define ALT_ACPIDMAP_VID4WR_OFST 0x14 0971 0972 /* 0973 * Register : Read AXI Master Mapping Register for Fixed Virtual ID 5 - vid5rd 0974 * 0975 * The Read AXI Master Mapping Register contains the USER, ADDR page, and ID 0976 * signals mapping values for particular transaction with 12-bit ID which locks the 0977 * fixed 3-bit virtual ID. 0978 * 0979 * Register Layout 0980 * 0981 * Bits | Access | Reset | Description 0982 * :--------|:-------|:------|:------------------------ 0983 * [3:0] | ??? | 0x0 | *UNDEFINED* 0984 * [8:4] | RW | 0x0 | ARUSER value to SCU 0985 * [11:9] | ??? | 0x0 | *UNDEFINED* 0986 * [13:12] | RW | 0x0 | ARADDR 1GB Page Decoder 0987 * [15:14] | ??? | 0x0 | *UNDEFINED* 0988 * [27:16] | RW | 0x0 | Remap Master ID 0989 * [30:28] | ??? | 0x0 | *UNDEFINED* 0990 * [31] | RW | 0x0 | Force Mapping 0991 * 0992 */ 0993 /* 0994 * Field : ARUSER value to SCU - user 0995 * 0996 * This value is propagated to SCU as ARUSERS. 0997 * 0998 * Field Access Macros: 0999 * 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. */ 1119 typedef 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. */ 1272 typedef 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. */ 1425 typedef 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. */ 1578 typedef 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. */ 1673 typedef 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. */ 1768 typedef 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. */ 1921 typedef 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. */ 2074 typedef 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. */ 2227 typedef 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. */ 2380 typedef 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. */ 2533 typedef 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. */ 2686 typedef 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. */ 2839 typedef 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. */ 2992 typedef 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. */ 3145 typedef 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. */ 3298 typedef 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. */ 3393 typedef 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. */ 3488 typedef 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. */ 3535 typedef 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. */ 3567 typedef 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
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |