Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
alt_acpidmap.h
1 /***********************************************************************************
2 * *
3 * Copyright 2013-2015 Altera Corporation. All Rights Reserved. *
4 * *
5 * Redistribution and use in source and binary forms, with or without *
6 * modification, are permitted provided that the following conditions are met: *
7 * *
8 * 1. Redistributions of source code must retain the above copyright notice, *
9 * this list of conditions and the following disclaimer. *
10 * *
11 * 2. Redistributions in binary form must reproduce the above copyright notice, *
12 * this list of conditions and the following disclaimer in the documentation *
13 * and/or other materials provided with the distribution. *
14 * *
15 * 3. Neither the name of the copyright holder nor the names of its contributors *
16 * may be used to endorse or promote products derived from this software without *
17 * specific prior written permission. *
18 * *
19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" *
20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE *
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE *
23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR *
24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
29 * POSSIBILITY OF SUCH DAMAGE. *
30 * *
31 ***********************************************************************************/
32 
35 #ifndef __ALTERA_ALT_ACPIDMAP_H__
36 #define __ALTERA_ALT_ACPIDMAP_H__
37 
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif /* __cplusplus */
42 
80 #define ALT_ACPIDMAP_VID2RD_USER_LSB 4
81 
82 #define ALT_ACPIDMAP_VID2RD_USER_MSB 8
83 
84 #define ALT_ACPIDMAP_VID2RD_USER_WIDTH 5
85 
86 #define ALT_ACPIDMAP_VID2RD_USER_SET_MSK 0x000001f0
87 
88 #define ALT_ACPIDMAP_VID2RD_USER_CLR_MSK 0xfffffe0f
89 
90 #define ALT_ACPIDMAP_VID2RD_USER_RESET 0x1
91 
92 #define ALT_ACPIDMAP_VID2RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
93 
94 #define ALT_ACPIDMAP_VID2RD_USER_SET(value) (((value) << 4) & 0x000001f0)
95 
105 #define ALT_ACPIDMAP_VID2RD_PAGE_LSB 12
106 
107 #define ALT_ACPIDMAP_VID2RD_PAGE_MSB 13
108 
109 #define ALT_ACPIDMAP_VID2RD_PAGE_WIDTH 2
110 
111 #define ALT_ACPIDMAP_VID2RD_PAGE_SET_MSK 0x00003000
112 
113 #define ALT_ACPIDMAP_VID2RD_PAGE_CLR_MSK 0xffffcfff
114 
115 #define ALT_ACPIDMAP_VID2RD_PAGE_RESET 0x0
116 
117 #define ALT_ACPIDMAP_VID2RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
118 
119 #define ALT_ACPIDMAP_VID2RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
120 
131 #define ALT_ACPIDMAP_VID2RD_MID_LSB 16
132 
133 #define ALT_ACPIDMAP_VID2RD_MID_MSB 27
134 
135 #define ALT_ACPIDMAP_VID2RD_MID_WIDTH 12
136 
137 #define ALT_ACPIDMAP_VID2RD_MID_SET_MSK 0x0fff0000
138 
139 #define ALT_ACPIDMAP_VID2RD_MID_CLR_MSK 0xf000ffff
140 
141 #define ALT_ACPIDMAP_VID2RD_MID_RESET 0x4
142 
143 #define ALT_ACPIDMAP_VID2RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
144 
145 #define ALT_ACPIDMAP_VID2RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
146 
157 #define ALT_ACPIDMAP_VID2RD_FORCE_LSB 31
158 
159 #define ALT_ACPIDMAP_VID2RD_FORCE_MSB 31
160 
161 #define ALT_ACPIDMAP_VID2RD_FORCE_WIDTH 1
162 
163 #define ALT_ACPIDMAP_VID2RD_FORCE_SET_MSK 0x80000000
164 
165 #define ALT_ACPIDMAP_VID2RD_FORCE_CLR_MSK 0x7fffffff
166 
167 #define ALT_ACPIDMAP_VID2RD_FORCE_RESET 0x1
168 
169 #define ALT_ACPIDMAP_VID2RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
170 
171 #define ALT_ACPIDMAP_VID2RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
172 
173 #ifndef __ASSEMBLY__
174 
185 {
186  uint32_t : 4;
187  uint32_t user : 5;
188  uint32_t : 3;
189  uint32_t page : 2;
190  uint32_t : 2;
191  uint32_t mid : 12;
192  uint32_t : 3;
193  uint32_t force : 1;
194 };
195 
198 #endif /* __ASSEMBLY__ */
199 
201 #define ALT_ACPIDMAP_VID2RD_OFST 0x0
202 
233 #define ALT_ACPIDMAP_VID2WR_USER_LSB 4
234 
235 #define ALT_ACPIDMAP_VID2WR_USER_MSB 8
236 
237 #define ALT_ACPIDMAP_VID2WR_USER_WIDTH 5
238 
239 #define ALT_ACPIDMAP_VID2WR_USER_SET_MSK 0x000001f0
240 
241 #define ALT_ACPIDMAP_VID2WR_USER_CLR_MSK 0xfffffe0f
242 
243 #define ALT_ACPIDMAP_VID2WR_USER_RESET 0x1
244 
245 #define ALT_ACPIDMAP_VID2WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
246 
247 #define ALT_ACPIDMAP_VID2WR_USER_SET(value) (((value) << 4) & 0x000001f0)
248 
258 #define ALT_ACPIDMAP_VID2WR_PAGE_LSB 12
259 
260 #define ALT_ACPIDMAP_VID2WR_PAGE_MSB 13
261 
262 #define ALT_ACPIDMAP_VID2WR_PAGE_WIDTH 2
263 
264 #define ALT_ACPIDMAP_VID2WR_PAGE_SET_MSK 0x00003000
265 
266 #define ALT_ACPIDMAP_VID2WR_PAGE_CLR_MSK 0xffffcfff
267 
268 #define ALT_ACPIDMAP_VID2WR_PAGE_RESET 0x0
269 
270 #define ALT_ACPIDMAP_VID2WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
271 
272 #define ALT_ACPIDMAP_VID2WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
273 
284 #define ALT_ACPIDMAP_VID2WR_MID_LSB 16
285 
286 #define ALT_ACPIDMAP_VID2WR_MID_MSB 27
287 
288 #define ALT_ACPIDMAP_VID2WR_MID_WIDTH 12
289 
290 #define ALT_ACPIDMAP_VID2WR_MID_SET_MSK 0x0fff0000
291 
292 #define ALT_ACPIDMAP_VID2WR_MID_CLR_MSK 0xf000ffff
293 
294 #define ALT_ACPIDMAP_VID2WR_MID_RESET 0x4
295 
296 #define ALT_ACPIDMAP_VID2WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
297 
298 #define ALT_ACPIDMAP_VID2WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
299 
310 #define ALT_ACPIDMAP_VID2WR_FORCE_LSB 31
311 
312 #define ALT_ACPIDMAP_VID2WR_FORCE_MSB 31
313 
314 #define ALT_ACPIDMAP_VID2WR_FORCE_WIDTH 1
315 
316 #define ALT_ACPIDMAP_VID2WR_FORCE_SET_MSK 0x80000000
317 
318 #define ALT_ACPIDMAP_VID2WR_FORCE_CLR_MSK 0x7fffffff
319 
320 #define ALT_ACPIDMAP_VID2WR_FORCE_RESET 0x1
321 
322 #define ALT_ACPIDMAP_VID2WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
323 
324 #define ALT_ACPIDMAP_VID2WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
325 
326 #ifndef __ASSEMBLY__
327 
338 {
339  uint32_t : 4;
340  uint32_t user : 5;
341  uint32_t : 3;
342  uint32_t page : 2;
343  uint32_t : 2;
344  uint32_t mid : 12;
345  uint32_t : 3;
346  uint32_t force : 1;
347 };
348 
351 #endif /* __ASSEMBLY__ */
352 
354 #define ALT_ACPIDMAP_VID2WR_OFST 0x4
355 
386 #define ALT_ACPIDMAP_VID3RD_USER_LSB 4
387 
388 #define ALT_ACPIDMAP_VID3RD_USER_MSB 8
389 
390 #define ALT_ACPIDMAP_VID3RD_USER_WIDTH 5
391 
392 #define ALT_ACPIDMAP_VID3RD_USER_SET_MSK 0x000001f0
393 
394 #define ALT_ACPIDMAP_VID3RD_USER_CLR_MSK 0xfffffe0f
395 
396 #define ALT_ACPIDMAP_VID3RD_USER_RESET 0x0
397 
398 #define ALT_ACPIDMAP_VID3RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
399 
400 #define ALT_ACPIDMAP_VID3RD_USER_SET(value) (((value) << 4) & 0x000001f0)
401 
411 #define ALT_ACPIDMAP_VID3RD_PAGE_LSB 12
412 
413 #define ALT_ACPIDMAP_VID3RD_PAGE_MSB 13
414 
415 #define ALT_ACPIDMAP_VID3RD_PAGE_WIDTH 2
416 
417 #define ALT_ACPIDMAP_VID3RD_PAGE_SET_MSK 0x00003000
418 
419 #define ALT_ACPIDMAP_VID3RD_PAGE_CLR_MSK 0xffffcfff
420 
421 #define ALT_ACPIDMAP_VID3RD_PAGE_RESET 0x0
422 
423 #define ALT_ACPIDMAP_VID3RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
424 
425 #define ALT_ACPIDMAP_VID3RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
426 
437 #define ALT_ACPIDMAP_VID3RD_MID_LSB 16
438 
439 #define ALT_ACPIDMAP_VID3RD_MID_MSB 27
440 
441 #define ALT_ACPIDMAP_VID3RD_MID_WIDTH 12
442 
443 #define ALT_ACPIDMAP_VID3RD_MID_SET_MSK 0x0fff0000
444 
445 #define ALT_ACPIDMAP_VID3RD_MID_CLR_MSK 0xf000ffff
446 
447 #define ALT_ACPIDMAP_VID3RD_MID_RESET 0x0
448 
449 #define ALT_ACPIDMAP_VID3RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
450 
451 #define ALT_ACPIDMAP_VID3RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
452 
463 #define ALT_ACPIDMAP_VID3RD_FORCE_LSB 31
464 
465 #define ALT_ACPIDMAP_VID3RD_FORCE_MSB 31
466 
467 #define ALT_ACPIDMAP_VID3RD_FORCE_WIDTH 1
468 
469 #define ALT_ACPIDMAP_VID3RD_FORCE_SET_MSK 0x80000000
470 
471 #define ALT_ACPIDMAP_VID3RD_FORCE_CLR_MSK 0x7fffffff
472 
473 #define ALT_ACPIDMAP_VID3RD_FORCE_RESET 0x0
474 
475 #define ALT_ACPIDMAP_VID3RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
476 
477 #define ALT_ACPIDMAP_VID3RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
478 
479 #ifndef __ASSEMBLY__
480 
491 {
492  uint32_t : 4;
493  uint32_t user : 5;
494  uint32_t : 3;
495  uint32_t page : 2;
496  uint32_t : 2;
497  uint32_t mid : 12;
498  uint32_t : 3;
499  uint32_t force : 1;
500 };
501 
504 #endif /* __ASSEMBLY__ */
505 
507 #define ALT_ACPIDMAP_VID3RD_OFST 0x8
508 
539 #define ALT_ACPIDMAP_VID3WR_USER_LSB 4
540 
541 #define ALT_ACPIDMAP_VID3WR_USER_MSB 8
542 
543 #define ALT_ACPIDMAP_VID3WR_USER_WIDTH 5
544 
545 #define ALT_ACPIDMAP_VID3WR_USER_SET_MSK 0x000001f0
546 
547 #define ALT_ACPIDMAP_VID3WR_USER_CLR_MSK 0xfffffe0f
548 
549 #define ALT_ACPIDMAP_VID3WR_USER_RESET 0x0
550 
551 #define ALT_ACPIDMAP_VID3WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
552 
553 #define ALT_ACPIDMAP_VID3WR_USER_SET(value) (((value) << 4) & 0x000001f0)
554 
564 #define ALT_ACPIDMAP_VID3WR_PAGE_LSB 12
565 
566 #define ALT_ACPIDMAP_VID3WR_PAGE_MSB 13
567 
568 #define ALT_ACPIDMAP_VID3WR_PAGE_WIDTH 2
569 
570 #define ALT_ACPIDMAP_VID3WR_PAGE_SET_MSK 0x00003000
571 
572 #define ALT_ACPIDMAP_VID3WR_PAGE_CLR_MSK 0xffffcfff
573 
574 #define ALT_ACPIDMAP_VID3WR_PAGE_RESET 0x0
575 
576 #define ALT_ACPIDMAP_VID3WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
577 
578 #define ALT_ACPIDMAP_VID3WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
579 
590 #define ALT_ACPIDMAP_VID3WR_MID_LSB 16
591 
592 #define ALT_ACPIDMAP_VID3WR_MID_MSB 27
593 
594 #define ALT_ACPIDMAP_VID3WR_MID_WIDTH 12
595 
596 #define ALT_ACPIDMAP_VID3WR_MID_SET_MSK 0x0fff0000
597 
598 #define ALT_ACPIDMAP_VID3WR_MID_CLR_MSK 0xf000ffff
599 
600 #define ALT_ACPIDMAP_VID3WR_MID_RESET 0x0
601 
602 #define ALT_ACPIDMAP_VID3WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
603 
604 #define ALT_ACPIDMAP_VID3WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
605 
616 #define ALT_ACPIDMAP_VID3WR_FORCE_LSB 31
617 
618 #define ALT_ACPIDMAP_VID3WR_FORCE_MSB 31
619 
620 #define ALT_ACPIDMAP_VID3WR_FORCE_WIDTH 1
621 
622 #define ALT_ACPIDMAP_VID3WR_FORCE_SET_MSK 0x80000000
623 
624 #define ALT_ACPIDMAP_VID3WR_FORCE_CLR_MSK 0x7fffffff
625 
626 #define ALT_ACPIDMAP_VID3WR_FORCE_RESET 0x0
627 
628 #define ALT_ACPIDMAP_VID3WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
629 
630 #define ALT_ACPIDMAP_VID3WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
631 
632 #ifndef __ASSEMBLY__
633 
644 {
645  uint32_t : 4;
646  uint32_t user : 5;
647  uint32_t : 3;
648  uint32_t page : 2;
649  uint32_t : 2;
650  uint32_t mid : 12;
651  uint32_t : 3;
652  uint32_t force : 1;
653 };
654 
657 #endif /* __ASSEMBLY__ */
658 
660 #define ALT_ACPIDMAP_VID3WR_OFST 0xc
661 
692 #define ALT_ACPIDMAP_VID4RD_USER_LSB 4
693 
694 #define ALT_ACPIDMAP_VID4RD_USER_MSB 8
695 
696 #define ALT_ACPIDMAP_VID4RD_USER_WIDTH 5
697 
698 #define ALT_ACPIDMAP_VID4RD_USER_SET_MSK 0x000001f0
699 
700 #define ALT_ACPIDMAP_VID4RD_USER_CLR_MSK 0xfffffe0f
701 
702 #define ALT_ACPIDMAP_VID4RD_USER_RESET 0x0
703 
704 #define ALT_ACPIDMAP_VID4RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
705 
706 #define ALT_ACPIDMAP_VID4RD_USER_SET(value) (((value) << 4) & 0x000001f0)
707 
717 #define ALT_ACPIDMAP_VID4RD_PAGE_LSB 12
718 
719 #define ALT_ACPIDMAP_VID4RD_PAGE_MSB 13
720 
721 #define ALT_ACPIDMAP_VID4RD_PAGE_WIDTH 2
722 
723 #define ALT_ACPIDMAP_VID4RD_PAGE_SET_MSK 0x00003000
724 
725 #define ALT_ACPIDMAP_VID4RD_PAGE_CLR_MSK 0xffffcfff
726 
727 #define ALT_ACPIDMAP_VID4RD_PAGE_RESET 0x0
728 
729 #define ALT_ACPIDMAP_VID4RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
730 
731 #define ALT_ACPIDMAP_VID4RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
732 
743 #define ALT_ACPIDMAP_VID4RD_MID_LSB 16
744 
745 #define ALT_ACPIDMAP_VID4RD_MID_MSB 27
746 
747 #define ALT_ACPIDMAP_VID4RD_MID_WIDTH 12
748 
749 #define ALT_ACPIDMAP_VID4RD_MID_SET_MSK 0x0fff0000
750 
751 #define ALT_ACPIDMAP_VID4RD_MID_CLR_MSK 0xf000ffff
752 
753 #define ALT_ACPIDMAP_VID4RD_MID_RESET 0x0
754 
755 #define ALT_ACPIDMAP_VID4RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
756 
757 #define ALT_ACPIDMAP_VID4RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
758 
769 #define ALT_ACPIDMAP_VID4RD_FORCE_LSB 31
770 
771 #define ALT_ACPIDMAP_VID4RD_FORCE_MSB 31
772 
773 #define ALT_ACPIDMAP_VID4RD_FORCE_WIDTH 1
774 
775 #define ALT_ACPIDMAP_VID4RD_FORCE_SET_MSK 0x80000000
776 
777 #define ALT_ACPIDMAP_VID4RD_FORCE_CLR_MSK 0x7fffffff
778 
779 #define ALT_ACPIDMAP_VID4RD_FORCE_RESET 0x0
780 
781 #define ALT_ACPIDMAP_VID4RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
782 
783 #define ALT_ACPIDMAP_VID4RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
784 
785 #ifndef __ASSEMBLY__
786 
797 {
798  uint32_t : 4;
799  uint32_t user : 5;
800  uint32_t : 3;
801  uint32_t page : 2;
802  uint32_t : 2;
803  uint32_t mid : 12;
804  uint32_t : 3;
805  uint32_t force : 1;
806 };
807 
810 #endif /* __ASSEMBLY__ */
811 
813 #define ALT_ACPIDMAP_VID4RD_OFST 0x10
814 
845 #define ALT_ACPIDMAP_VID4WR_USER_LSB 4
846 
847 #define ALT_ACPIDMAP_VID4WR_USER_MSB 8
848 
849 #define ALT_ACPIDMAP_VID4WR_USER_WIDTH 5
850 
851 #define ALT_ACPIDMAP_VID4WR_USER_SET_MSK 0x000001f0
852 
853 #define ALT_ACPIDMAP_VID4WR_USER_CLR_MSK 0xfffffe0f
854 
855 #define ALT_ACPIDMAP_VID4WR_USER_RESET 0x0
856 
857 #define ALT_ACPIDMAP_VID4WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
858 
859 #define ALT_ACPIDMAP_VID4WR_USER_SET(value) (((value) << 4) & 0x000001f0)
860 
870 #define ALT_ACPIDMAP_VID4WR_PAGE_LSB 12
871 
872 #define ALT_ACPIDMAP_VID4WR_PAGE_MSB 13
873 
874 #define ALT_ACPIDMAP_VID4WR_PAGE_WIDTH 2
875 
876 #define ALT_ACPIDMAP_VID4WR_PAGE_SET_MSK 0x00003000
877 
878 #define ALT_ACPIDMAP_VID4WR_PAGE_CLR_MSK 0xffffcfff
879 
880 #define ALT_ACPIDMAP_VID4WR_PAGE_RESET 0x0
881 
882 #define ALT_ACPIDMAP_VID4WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
883 
884 #define ALT_ACPIDMAP_VID4WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
885 
896 #define ALT_ACPIDMAP_VID4WR_MID_LSB 16
897 
898 #define ALT_ACPIDMAP_VID4WR_MID_MSB 27
899 
900 #define ALT_ACPIDMAP_VID4WR_MID_WIDTH 12
901 
902 #define ALT_ACPIDMAP_VID4WR_MID_SET_MSK 0x0fff0000
903 
904 #define ALT_ACPIDMAP_VID4WR_MID_CLR_MSK 0xf000ffff
905 
906 #define ALT_ACPIDMAP_VID4WR_MID_RESET 0x0
907 
908 #define ALT_ACPIDMAP_VID4WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
909 
910 #define ALT_ACPIDMAP_VID4WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
911 
922 #define ALT_ACPIDMAP_VID4WR_FORCE_LSB 31
923 
924 #define ALT_ACPIDMAP_VID4WR_FORCE_MSB 31
925 
926 #define ALT_ACPIDMAP_VID4WR_FORCE_WIDTH 1
927 
928 #define ALT_ACPIDMAP_VID4WR_FORCE_SET_MSK 0x80000000
929 
930 #define ALT_ACPIDMAP_VID4WR_FORCE_CLR_MSK 0x7fffffff
931 
932 #define ALT_ACPIDMAP_VID4WR_FORCE_RESET 0x0
933 
934 #define ALT_ACPIDMAP_VID4WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
935 
936 #define ALT_ACPIDMAP_VID4WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
937 
938 #ifndef __ASSEMBLY__
939 
950 {
951  uint32_t : 4;
952  uint32_t user : 5;
953  uint32_t : 3;
954  uint32_t page : 2;
955  uint32_t : 2;
956  uint32_t mid : 12;
957  uint32_t : 3;
958  uint32_t force : 1;
959 };
960 
963 #endif /* __ASSEMBLY__ */
964 
966 #define ALT_ACPIDMAP_VID4WR_OFST 0x14
967 
998 #define ALT_ACPIDMAP_VID5RD_USER_LSB 4
999 
1000 #define ALT_ACPIDMAP_VID5RD_USER_MSB 8
1001 
1002 #define ALT_ACPIDMAP_VID5RD_USER_WIDTH 5
1003 
1004 #define ALT_ACPIDMAP_VID5RD_USER_SET_MSK 0x000001f0
1005 
1006 #define ALT_ACPIDMAP_VID5RD_USER_CLR_MSK 0xfffffe0f
1007 
1008 #define ALT_ACPIDMAP_VID5RD_USER_RESET 0x0
1009 
1010 #define ALT_ACPIDMAP_VID5RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
1011 
1012 #define ALT_ACPIDMAP_VID5RD_USER_SET(value) (((value) << 4) & 0x000001f0)
1013 
1023 #define ALT_ACPIDMAP_VID5RD_PAGE_LSB 12
1024 
1025 #define ALT_ACPIDMAP_VID5RD_PAGE_MSB 13
1026 
1027 #define ALT_ACPIDMAP_VID5RD_PAGE_WIDTH 2
1028 
1029 #define ALT_ACPIDMAP_VID5RD_PAGE_SET_MSK 0x00003000
1030 
1031 #define ALT_ACPIDMAP_VID5RD_PAGE_CLR_MSK 0xffffcfff
1032 
1033 #define ALT_ACPIDMAP_VID5RD_PAGE_RESET 0x0
1034 
1035 #define ALT_ACPIDMAP_VID5RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1036 
1037 #define ALT_ACPIDMAP_VID5RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
1038 
1049 #define ALT_ACPIDMAP_VID5RD_MID_LSB 16
1050 
1051 #define ALT_ACPIDMAP_VID5RD_MID_MSB 27
1052 
1053 #define ALT_ACPIDMAP_VID5RD_MID_WIDTH 12
1054 
1055 #define ALT_ACPIDMAP_VID5RD_MID_SET_MSK 0x0fff0000
1056 
1057 #define ALT_ACPIDMAP_VID5RD_MID_CLR_MSK 0xf000ffff
1058 
1059 #define ALT_ACPIDMAP_VID5RD_MID_RESET 0x0
1060 
1061 #define ALT_ACPIDMAP_VID5RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1062 
1063 #define ALT_ACPIDMAP_VID5RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
1064 
1075 #define ALT_ACPIDMAP_VID5RD_FORCE_LSB 31
1076 
1077 #define ALT_ACPIDMAP_VID5RD_FORCE_MSB 31
1078 
1079 #define ALT_ACPIDMAP_VID5RD_FORCE_WIDTH 1
1080 
1081 #define ALT_ACPIDMAP_VID5RD_FORCE_SET_MSK 0x80000000
1082 
1083 #define ALT_ACPIDMAP_VID5RD_FORCE_CLR_MSK 0x7fffffff
1084 
1085 #define ALT_ACPIDMAP_VID5RD_FORCE_RESET 0x0
1086 
1087 #define ALT_ACPIDMAP_VID5RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1088 
1089 #define ALT_ACPIDMAP_VID5RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
1090 
1091 #ifndef __ASSEMBLY__
1092 
1103 {
1104  uint32_t : 4;
1105  uint32_t user : 5;
1106  uint32_t : 3;
1107  uint32_t page : 2;
1108  uint32_t : 2;
1109  uint32_t mid : 12;
1110  uint32_t : 3;
1111  uint32_t force : 1;
1112 };
1113 
1116 #endif /* __ASSEMBLY__ */
1117 
1119 #define ALT_ACPIDMAP_VID5RD_OFST 0x18
1120 
1151 #define ALT_ACPIDMAP_VID5WR_USER_LSB 4
1152 
1153 #define ALT_ACPIDMAP_VID5WR_USER_MSB 8
1154 
1155 #define ALT_ACPIDMAP_VID5WR_USER_WIDTH 5
1156 
1157 #define ALT_ACPIDMAP_VID5WR_USER_SET_MSK 0x000001f0
1158 
1159 #define ALT_ACPIDMAP_VID5WR_USER_CLR_MSK 0xfffffe0f
1160 
1161 #define ALT_ACPIDMAP_VID5WR_USER_RESET 0x0
1162 
1163 #define ALT_ACPIDMAP_VID5WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
1164 
1165 #define ALT_ACPIDMAP_VID5WR_USER_SET(value) (((value) << 4) & 0x000001f0)
1166 
1176 #define ALT_ACPIDMAP_VID5WR_PAGE_LSB 12
1177 
1178 #define ALT_ACPIDMAP_VID5WR_PAGE_MSB 13
1179 
1180 #define ALT_ACPIDMAP_VID5WR_PAGE_WIDTH 2
1181 
1182 #define ALT_ACPIDMAP_VID5WR_PAGE_SET_MSK 0x00003000
1183 
1184 #define ALT_ACPIDMAP_VID5WR_PAGE_CLR_MSK 0xffffcfff
1185 
1186 #define ALT_ACPIDMAP_VID5WR_PAGE_RESET 0x0
1187 
1188 #define ALT_ACPIDMAP_VID5WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1189 
1190 #define ALT_ACPIDMAP_VID5WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
1191 
1202 #define ALT_ACPIDMAP_VID5WR_MID_LSB 16
1203 
1204 #define ALT_ACPIDMAP_VID5WR_MID_MSB 27
1205 
1206 #define ALT_ACPIDMAP_VID5WR_MID_WIDTH 12
1207 
1208 #define ALT_ACPIDMAP_VID5WR_MID_SET_MSK 0x0fff0000
1209 
1210 #define ALT_ACPIDMAP_VID5WR_MID_CLR_MSK 0xf000ffff
1211 
1212 #define ALT_ACPIDMAP_VID5WR_MID_RESET 0x0
1213 
1214 #define ALT_ACPIDMAP_VID5WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1215 
1216 #define ALT_ACPIDMAP_VID5WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
1217 
1228 #define ALT_ACPIDMAP_VID5WR_FORCE_LSB 31
1229 
1230 #define ALT_ACPIDMAP_VID5WR_FORCE_MSB 31
1231 
1232 #define ALT_ACPIDMAP_VID5WR_FORCE_WIDTH 1
1233 
1234 #define ALT_ACPIDMAP_VID5WR_FORCE_SET_MSK 0x80000000
1235 
1236 #define ALT_ACPIDMAP_VID5WR_FORCE_CLR_MSK 0x7fffffff
1237 
1238 #define ALT_ACPIDMAP_VID5WR_FORCE_RESET 0x0
1239 
1240 #define ALT_ACPIDMAP_VID5WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1241 
1242 #define ALT_ACPIDMAP_VID5WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
1243 
1244 #ifndef __ASSEMBLY__
1245 
1256 {
1257  uint32_t : 4;
1258  uint32_t user : 5;
1259  uint32_t : 3;
1260  uint32_t page : 2;
1261  uint32_t : 2;
1262  uint32_t mid : 12;
1263  uint32_t : 3;
1264  uint32_t force : 1;
1265 };
1266 
1269 #endif /* __ASSEMBLY__ */
1270 
1272 #define ALT_ACPIDMAP_VID5WR_OFST 0x1c
1273 
1304 #define ALT_ACPIDMAP_VID6RD_USER_LSB 4
1305 
1306 #define ALT_ACPIDMAP_VID6RD_USER_MSB 8
1307 
1308 #define ALT_ACPIDMAP_VID6RD_USER_WIDTH 5
1309 
1310 #define ALT_ACPIDMAP_VID6RD_USER_SET_MSK 0x000001f0
1311 
1312 #define ALT_ACPIDMAP_VID6RD_USER_CLR_MSK 0xfffffe0f
1313 
1314 #define ALT_ACPIDMAP_VID6RD_USER_RESET 0x0
1315 
1316 #define ALT_ACPIDMAP_VID6RD_USER_GET(value) (((value) & 0x000001f0) >> 4)
1317 
1318 #define ALT_ACPIDMAP_VID6RD_USER_SET(value) (((value) << 4) & 0x000001f0)
1319 
1329 #define ALT_ACPIDMAP_VID6RD_PAGE_LSB 12
1330 
1331 #define ALT_ACPIDMAP_VID6RD_PAGE_MSB 13
1332 
1333 #define ALT_ACPIDMAP_VID6RD_PAGE_WIDTH 2
1334 
1335 #define ALT_ACPIDMAP_VID6RD_PAGE_SET_MSK 0x00003000
1336 
1337 #define ALT_ACPIDMAP_VID6RD_PAGE_CLR_MSK 0xffffcfff
1338 
1339 #define ALT_ACPIDMAP_VID6RD_PAGE_RESET 0x0
1340 
1341 #define ALT_ACPIDMAP_VID6RD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1342 
1343 #define ALT_ACPIDMAP_VID6RD_PAGE_SET(value) (((value) << 12) & 0x00003000)
1344 
1355 #define ALT_ACPIDMAP_VID6RD_MID_LSB 16
1356 
1357 #define ALT_ACPIDMAP_VID6RD_MID_MSB 27
1358 
1359 #define ALT_ACPIDMAP_VID6RD_MID_WIDTH 12
1360 
1361 #define ALT_ACPIDMAP_VID6RD_MID_SET_MSK 0x0fff0000
1362 
1363 #define ALT_ACPIDMAP_VID6RD_MID_CLR_MSK 0xf000ffff
1364 
1365 #define ALT_ACPIDMAP_VID6RD_MID_RESET 0x0
1366 
1367 #define ALT_ACPIDMAP_VID6RD_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1368 
1369 #define ALT_ACPIDMAP_VID6RD_MID_SET(value) (((value) << 16) & 0x0fff0000)
1370 
1381 #define ALT_ACPIDMAP_VID6RD_FORCE_LSB 31
1382 
1383 #define ALT_ACPIDMAP_VID6RD_FORCE_MSB 31
1384 
1385 #define ALT_ACPIDMAP_VID6RD_FORCE_WIDTH 1
1386 
1387 #define ALT_ACPIDMAP_VID6RD_FORCE_SET_MSK 0x80000000
1388 
1389 #define ALT_ACPIDMAP_VID6RD_FORCE_CLR_MSK 0x7fffffff
1390 
1391 #define ALT_ACPIDMAP_VID6RD_FORCE_RESET 0x0
1392 
1393 #define ALT_ACPIDMAP_VID6RD_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1394 
1395 #define ALT_ACPIDMAP_VID6RD_FORCE_SET(value) (((value) << 31) & 0x80000000)
1396 
1397 #ifndef __ASSEMBLY__
1398 
1409 {
1410  uint32_t : 4;
1411  uint32_t user : 5;
1412  uint32_t : 3;
1413  uint32_t page : 2;
1414  uint32_t : 2;
1415  uint32_t mid : 12;
1416  uint32_t : 3;
1417  uint32_t force : 1;
1418 };
1419 
1422 #endif /* __ASSEMBLY__ */
1423 
1425 #define ALT_ACPIDMAP_VID6RD_OFST 0x20
1426 
1457 #define ALT_ACPIDMAP_VID6WR_USER_LSB 4
1458 
1459 #define ALT_ACPIDMAP_VID6WR_USER_MSB 8
1460 
1461 #define ALT_ACPIDMAP_VID6WR_USER_WIDTH 5
1462 
1463 #define ALT_ACPIDMAP_VID6WR_USER_SET_MSK 0x000001f0
1464 
1465 #define ALT_ACPIDMAP_VID6WR_USER_CLR_MSK 0xfffffe0f
1466 
1467 #define ALT_ACPIDMAP_VID6WR_USER_RESET 0x0
1468 
1469 #define ALT_ACPIDMAP_VID6WR_USER_GET(value) (((value) & 0x000001f0) >> 4)
1470 
1471 #define ALT_ACPIDMAP_VID6WR_USER_SET(value) (((value) << 4) & 0x000001f0)
1472 
1482 #define ALT_ACPIDMAP_VID6WR_PAGE_LSB 12
1483 
1484 #define ALT_ACPIDMAP_VID6WR_PAGE_MSB 13
1485 
1486 #define ALT_ACPIDMAP_VID6WR_PAGE_WIDTH 2
1487 
1488 #define ALT_ACPIDMAP_VID6WR_PAGE_SET_MSK 0x00003000
1489 
1490 #define ALT_ACPIDMAP_VID6WR_PAGE_CLR_MSK 0xffffcfff
1491 
1492 #define ALT_ACPIDMAP_VID6WR_PAGE_RESET 0x0
1493 
1494 #define ALT_ACPIDMAP_VID6WR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1495 
1496 #define ALT_ACPIDMAP_VID6WR_PAGE_SET(value) (((value) << 12) & 0x00003000)
1497 
1508 #define ALT_ACPIDMAP_VID6WR_MID_LSB 16
1509 
1510 #define ALT_ACPIDMAP_VID6WR_MID_MSB 27
1511 
1512 #define ALT_ACPIDMAP_VID6WR_MID_WIDTH 12
1513 
1514 #define ALT_ACPIDMAP_VID6WR_MID_SET_MSK 0x0fff0000
1515 
1516 #define ALT_ACPIDMAP_VID6WR_MID_CLR_MSK 0xf000ffff
1517 
1518 #define ALT_ACPIDMAP_VID6WR_MID_RESET 0x0
1519 
1520 #define ALT_ACPIDMAP_VID6WR_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1521 
1522 #define ALT_ACPIDMAP_VID6WR_MID_SET(value) (((value) << 16) & 0x0fff0000)
1523 
1534 #define ALT_ACPIDMAP_VID6WR_FORCE_LSB 31
1535 
1536 #define ALT_ACPIDMAP_VID6WR_FORCE_MSB 31
1537 
1538 #define ALT_ACPIDMAP_VID6WR_FORCE_WIDTH 1
1539 
1540 #define ALT_ACPIDMAP_VID6WR_FORCE_SET_MSK 0x80000000
1541 
1542 #define ALT_ACPIDMAP_VID6WR_FORCE_CLR_MSK 0x7fffffff
1543 
1544 #define ALT_ACPIDMAP_VID6WR_FORCE_RESET 0x0
1545 
1546 #define ALT_ACPIDMAP_VID6WR_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1547 
1548 #define ALT_ACPIDMAP_VID6WR_FORCE_SET(value) (((value) << 31) & 0x80000000)
1549 
1550 #ifndef __ASSEMBLY__
1551 
1562 {
1563  uint32_t : 4;
1564  uint32_t user : 5;
1565  uint32_t : 3;
1566  uint32_t page : 2;
1567  uint32_t : 2;
1568  uint32_t mid : 12;
1569  uint32_t : 3;
1570  uint32_t force : 1;
1571 };
1572 
1575 #endif /* __ASSEMBLY__ */
1576 
1578 #define ALT_ACPIDMAP_VID6WR_OFST 0x24
1579 
1607 #define ALT_ACPIDMAP_DYNRD_USER_LSB 4
1608 
1609 #define ALT_ACPIDMAP_DYNRD_USER_MSB 8
1610 
1611 #define ALT_ACPIDMAP_DYNRD_USER_WIDTH 5
1612 
1613 #define ALT_ACPIDMAP_DYNRD_USER_SET_MSK 0x000001f0
1614 
1615 #define ALT_ACPIDMAP_DYNRD_USER_CLR_MSK 0xfffffe0f
1616 
1617 #define ALT_ACPIDMAP_DYNRD_USER_RESET 0x0
1618 
1619 #define ALT_ACPIDMAP_DYNRD_USER_GET(value) (((value) & 0x000001f0) >> 4)
1620 
1621 #define ALT_ACPIDMAP_DYNRD_USER_SET(value) (((value) << 4) & 0x000001f0)
1622 
1632 #define ALT_ACPIDMAP_DYNRD_PAGE_LSB 12
1633 
1634 #define ALT_ACPIDMAP_DYNRD_PAGE_MSB 13
1635 
1636 #define ALT_ACPIDMAP_DYNRD_PAGE_WIDTH 2
1637 
1638 #define ALT_ACPIDMAP_DYNRD_PAGE_SET_MSK 0x00003000
1639 
1640 #define ALT_ACPIDMAP_DYNRD_PAGE_CLR_MSK 0xffffcfff
1641 
1642 #define ALT_ACPIDMAP_DYNRD_PAGE_RESET 0x0
1643 
1644 #define ALT_ACPIDMAP_DYNRD_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1645 
1646 #define ALT_ACPIDMAP_DYNRD_PAGE_SET(value) (((value) << 12) & 0x00003000)
1647 
1648 #ifndef __ASSEMBLY__
1649 
1660 {
1661  uint32_t : 4;
1662  uint32_t user : 5;
1663  uint32_t : 3;
1664  uint32_t page : 2;
1665  uint32_t : 18;
1666 };
1667 
1670 #endif /* __ASSEMBLY__ */
1671 
1673 #define ALT_ACPIDMAP_DYNRD_OFST 0x28
1674 
1702 #define ALT_ACPIDMAP_DYNWR_USER_LSB 4
1703 
1704 #define ALT_ACPIDMAP_DYNWR_USER_MSB 8
1705 
1706 #define ALT_ACPIDMAP_DYNWR_USER_WIDTH 5
1707 
1708 #define ALT_ACPIDMAP_DYNWR_USER_SET_MSK 0x000001f0
1709 
1710 #define ALT_ACPIDMAP_DYNWR_USER_CLR_MSK 0xfffffe0f
1711 
1712 #define ALT_ACPIDMAP_DYNWR_USER_RESET 0x0
1713 
1714 #define ALT_ACPIDMAP_DYNWR_USER_GET(value) (((value) & 0x000001f0) >> 4)
1715 
1716 #define ALT_ACPIDMAP_DYNWR_USER_SET(value) (((value) << 4) & 0x000001f0)
1717 
1727 #define ALT_ACPIDMAP_DYNWR_PAGE_LSB 12
1728 
1729 #define ALT_ACPIDMAP_DYNWR_PAGE_MSB 13
1730 
1731 #define ALT_ACPIDMAP_DYNWR_PAGE_WIDTH 2
1732 
1733 #define ALT_ACPIDMAP_DYNWR_PAGE_SET_MSK 0x00003000
1734 
1735 #define ALT_ACPIDMAP_DYNWR_PAGE_CLR_MSK 0xffffcfff
1736 
1737 #define ALT_ACPIDMAP_DYNWR_PAGE_RESET 0x0
1738 
1739 #define ALT_ACPIDMAP_DYNWR_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1740 
1741 #define ALT_ACPIDMAP_DYNWR_PAGE_SET(value) (((value) << 12) & 0x00003000)
1742 
1743 #ifndef __ASSEMBLY__
1744 
1755 {
1756  uint32_t : 4;
1757  uint32_t user : 5;
1758  uint32_t : 3;
1759  uint32_t page : 2;
1760  uint32_t : 18;
1761 };
1762 
1765 #endif /* __ASSEMBLY__ */
1766 
1768 #define ALT_ACPIDMAP_DYNWR_OFST 0x2c
1769 
1800 #define ALT_ACPIDMAP_VID2RD_S_USER_LSB 4
1801 
1802 #define ALT_ACPIDMAP_VID2RD_S_USER_MSB 8
1803 
1804 #define ALT_ACPIDMAP_VID2RD_S_USER_WIDTH 5
1805 
1806 #define ALT_ACPIDMAP_VID2RD_S_USER_SET_MSK 0x000001f0
1807 
1808 #define ALT_ACPIDMAP_VID2RD_S_USER_CLR_MSK 0xfffffe0f
1809 
1810 #define ALT_ACPIDMAP_VID2RD_S_USER_RESET 0x1
1811 
1812 #define ALT_ACPIDMAP_VID2RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
1813 
1814 #define ALT_ACPIDMAP_VID2RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
1815 
1825 #define ALT_ACPIDMAP_VID2RD_S_PAGE_LSB 12
1826 
1827 #define ALT_ACPIDMAP_VID2RD_S_PAGE_MSB 13
1828 
1829 #define ALT_ACPIDMAP_VID2RD_S_PAGE_WIDTH 2
1830 
1831 #define ALT_ACPIDMAP_VID2RD_S_PAGE_SET_MSK 0x00003000
1832 
1833 #define ALT_ACPIDMAP_VID2RD_S_PAGE_CLR_MSK 0xffffcfff
1834 
1835 #define ALT_ACPIDMAP_VID2RD_S_PAGE_RESET 0x0
1836 
1837 #define ALT_ACPIDMAP_VID2RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1838 
1839 #define ALT_ACPIDMAP_VID2RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
1840 
1851 #define ALT_ACPIDMAP_VID2RD_S_MID_LSB 16
1852 
1853 #define ALT_ACPIDMAP_VID2RD_S_MID_MSB 27
1854 
1855 #define ALT_ACPIDMAP_VID2RD_S_MID_WIDTH 12
1856 
1857 #define ALT_ACPIDMAP_VID2RD_S_MID_SET_MSK 0x0fff0000
1858 
1859 #define ALT_ACPIDMAP_VID2RD_S_MID_CLR_MSK 0xf000ffff
1860 
1861 #define ALT_ACPIDMAP_VID2RD_S_MID_RESET 0x4
1862 
1863 #define ALT_ACPIDMAP_VID2RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
1864 
1865 #define ALT_ACPIDMAP_VID2RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
1866 
1877 #define ALT_ACPIDMAP_VID2RD_S_FORCE_LSB 31
1878 
1879 #define ALT_ACPIDMAP_VID2RD_S_FORCE_MSB 31
1880 
1881 #define ALT_ACPIDMAP_VID2RD_S_FORCE_WIDTH 1
1882 
1883 #define ALT_ACPIDMAP_VID2RD_S_FORCE_SET_MSK 0x80000000
1884 
1885 #define ALT_ACPIDMAP_VID2RD_S_FORCE_CLR_MSK 0x7fffffff
1886 
1887 #define ALT_ACPIDMAP_VID2RD_S_FORCE_RESET 0x1
1888 
1889 #define ALT_ACPIDMAP_VID2RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
1890 
1891 #define ALT_ACPIDMAP_VID2RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
1892 
1893 #ifndef __ASSEMBLY__
1894 
1905 {
1906  uint32_t : 4;
1907  const uint32_t user : 5;
1908  uint32_t : 3;
1909  const uint32_t page : 2;
1910  uint32_t : 2;
1911  const uint32_t mid : 12;
1912  uint32_t : 3;
1913  const uint32_t force : 1;
1914 };
1915 
1918 #endif /* __ASSEMBLY__ */
1919 
1921 #define ALT_ACPIDMAP_VID2RD_S_OFST 0x30
1922 
1953 #define ALT_ACPIDMAP_VID2WR_S_USER_LSB 4
1954 
1955 #define ALT_ACPIDMAP_VID2WR_S_USER_MSB 8
1956 
1957 #define ALT_ACPIDMAP_VID2WR_S_USER_WIDTH 5
1958 
1959 #define ALT_ACPIDMAP_VID2WR_S_USER_SET_MSK 0x000001f0
1960 
1961 #define ALT_ACPIDMAP_VID2WR_S_USER_CLR_MSK 0xfffffe0f
1962 
1963 #define ALT_ACPIDMAP_VID2WR_S_USER_RESET 0x1
1964 
1965 #define ALT_ACPIDMAP_VID2WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
1966 
1967 #define ALT_ACPIDMAP_VID2WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
1968 
1978 #define ALT_ACPIDMAP_VID2WR_S_PAGE_LSB 12
1979 
1980 #define ALT_ACPIDMAP_VID2WR_S_PAGE_MSB 13
1981 
1982 #define ALT_ACPIDMAP_VID2WR_S_PAGE_WIDTH 2
1983 
1984 #define ALT_ACPIDMAP_VID2WR_S_PAGE_SET_MSK 0x00003000
1985 
1986 #define ALT_ACPIDMAP_VID2WR_S_PAGE_CLR_MSK 0xffffcfff
1987 
1988 #define ALT_ACPIDMAP_VID2WR_S_PAGE_RESET 0x0
1989 
1990 #define ALT_ACPIDMAP_VID2WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
1991 
1992 #define ALT_ACPIDMAP_VID2WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
1993 
2004 #define ALT_ACPIDMAP_VID2WR_S_MID_LSB 16
2005 
2006 #define ALT_ACPIDMAP_VID2WR_S_MID_MSB 27
2007 
2008 #define ALT_ACPIDMAP_VID2WR_S_MID_WIDTH 12
2009 
2010 #define ALT_ACPIDMAP_VID2WR_S_MID_SET_MSK 0x0fff0000
2011 
2012 #define ALT_ACPIDMAP_VID2WR_S_MID_CLR_MSK 0xf000ffff
2013 
2014 #define ALT_ACPIDMAP_VID2WR_S_MID_RESET 0x4
2015 
2016 #define ALT_ACPIDMAP_VID2WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2017 
2018 #define ALT_ACPIDMAP_VID2WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2019 
2030 #define ALT_ACPIDMAP_VID2WR_S_FORCE_LSB 31
2031 
2032 #define ALT_ACPIDMAP_VID2WR_S_FORCE_MSB 31
2033 
2034 #define ALT_ACPIDMAP_VID2WR_S_FORCE_WIDTH 1
2035 
2036 #define ALT_ACPIDMAP_VID2WR_S_FORCE_SET_MSK 0x80000000
2037 
2038 #define ALT_ACPIDMAP_VID2WR_S_FORCE_CLR_MSK 0x7fffffff
2039 
2040 #define ALT_ACPIDMAP_VID2WR_S_FORCE_RESET 0x1
2041 
2042 #define ALT_ACPIDMAP_VID2WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2043 
2044 #define ALT_ACPIDMAP_VID2WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2045 
2046 #ifndef __ASSEMBLY__
2047 
2058 {
2059  uint32_t : 4;
2060  const uint32_t user : 5;
2061  uint32_t : 3;
2062  const uint32_t page : 2;
2063  uint32_t : 2;
2064  const uint32_t mid : 12;
2065  uint32_t : 3;
2066  const uint32_t force : 1;
2067 };
2068 
2071 #endif /* __ASSEMBLY__ */
2072 
2074 #define ALT_ACPIDMAP_VID2WR_S_OFST 0x34
2075 
2106 #define ALT_ACPIDMAP_VID3RD_S_USER_LSB 4
2107 
2108 #define ALT_ACPIDMAP_VID3RD_S_USER_MSB 8
2109 
2110 #define ALT_ACPIDMAP_VID3RD_S_USER_WIDTH 5
2111 
2112 #define ALT_ACPIDMAP_VID3RD_S_USER_SET_MSK 0x000001f0
2113 
2114 #define ALT_ACPIDMAP_VID3RD_S_USER_CLR_MSK 0xfffffe0f
2115 
2116 #define ALT_ACPIDMAP_VID3RD_S_USER_RESET 0x0
2117 
2118 #define ALT_ACPIDMAP_VID3RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2119 
2120 #define ALT_ACPIDMAP_VID3RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2121 
2131 #define ALT_ACPIDMAP_VID3RD_S_PAGE_LSB 12
2132 
2133 #define ALT_ACPIDMAP_VID3RD_S_PAGE_MSB 13
2134 
2135 #define ALT_ACPIDMAP_VID3RD_S_PAGE_WIDTH 2
2136 
2137 #define ALT_ACPIDMAP_VID3RD_S_PAGE_SET_MSK 0x00003000
2138 
2139 #define ALT_ACPIDMAP_VID3RD_S_PAGE_CLR_MSK 0xffffcfff
2140 
2141 #define ALT_ACPIDMAP_VID3RD_S_PAGE_RESET 0x0
2142 
2143 #define ALT_ACPIDMAP_VID3RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2144 
2145 #define ALT_ACPIDMAP_VID3RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2146 
2157 #define ALT_ACPIDMAP_VID3RD_S_MID_LSB 16
2158 
2159 #define ALT_ACPIDMAP_VID3RD_S_MID_MSB 27
2160 
2161 #define ALT_ACPIDMAP_VID3RD_S_MID_WIDTH 12
2162 
2163 #define ALT_ACPIDMAP_VID3RD_S_MID_SET_MSK 0x0fff0000
2164 
2165 #define ALT_ACPIDMAP_VID3RD_S_MID_CLR_MSK 0xf000ffff
2166 
2167 #define ALT_ACPIDMAP_VID3RD_S_MID_RESET 0x0
2168 
2169 #define ALT_ACPIDMAP_VID3RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2170 
2171 #define ALT_ACPIDMAP_VID3RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2172 
2183 #define ALT_ACPIDMAP_VID3RD_S_FORCE_LSB 31
2184 
2185 #define ALT_ACPIDMAP_VID3RD_S_FORCE_MSB 31
2186 
2187 #define ALT_ACPIDMAP_VID3RD_S_FORCE_WIDTH 1
2188 
2189 #define ALT_ACPIDMAP_VID3RD_S_FORCE_SET_MSK 0x80000000
2190 
2191 #define ALT_ACPIDMAP_VID3RD_S_FORCE_CLR_MSK 0x7fffffff
2192 
2193 #define ALT_ACPIDMAP_VID3RD_S_FORCE_RESET 0x0
2194 
2195 #define ALT_ACPIDMAP_VID3RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2196 
2197 #define ALT_ACPIDMAP_VID3RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2198 
2199 #ifndef __ASSEMBLY__
2200 
2211 {
2212  uint32_t : 4;
2213  const uint32_t user : 5;
2214  uint32_t : 3;
2215  const uint32_t page : 2;
2216  uint32_t : 2;
2217  const uint32_t mid : 12;
2218  uint32_t : 3;
2219  const uint32_t force : 1;
2220 };
2221 
2224 #endif /* __ASSEMBLY__ */
2225 
2227 #define ALT_ACPIDMAP_VID3RD_S_OFST 0x38
2228 
2259 #define ALT_ACPIDMAP_VID3WR_S_USER_LSB 4
2260 
2261 #define ALT_ACPIDMAP_VID3WR_S_USER_MSB 8
2262 
2263 #define ALT_ACPIDMAP_VID3WR_S_USER_WIDTH 5
2264 
2265 #define ALT_ACPIDMAP_VID3WR_S_USER_SET_MSK 0x000001f0
2266 
2267 #define ALT_ACPIDMAP_VID3WR_S_USER_CLR_MSK 0xfffffe0f
2268 
2269 #define ALT_ACPIDMAP_VID3WR_S_USER_RESET 0x0
2270 
2271 #define ALT_ACPIDMAP_VID3WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2272 
2273 #define ALT_ACPIDMAP_VID3WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2274 
2284 #define ALT_ACPIDMAP_VID3WR_S_PAGE_LSB 12
2285 
2286 #define ALT_ACPIDMAP_VID3WR_S_PAGE_MSB 13
2287 
2288 #define ALT_ACPIDMAP_VID3WR_S_PAGE_WIDTH 2
2289 
2290 #define ALT_ACPIDMAP_VID3WR_S_PAGE_SET_MSK 0x00003000
2291 
2292 #define ALT_ACPIDMAP_VID3WR_S_PAGE_CLR_MSK 0xffffcfff
2293 
2294 #define ALT_ACPIDMAP_VID3WR_S_PAGE_RESET 0x0
2295 
2296 #define ALT_ACPIDMAP_VID3WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2297 
2298 #define ALT_ACPIDMAP_VID3WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2299 
2310 #define ALT_ACPIDMAP_VID3WR_S_MID_LSB 16
2311 
2312 #define ALT_ACPIDMAP_VID3WR_S_MID_MSB 27
2313 
2314 #define ALT_ACPIDMAP_VID3WR_S_MID_WIDTH 12
2315 
2316 #define ALT_ACPIDMAP_VID3WR_S_MID_SET_MSK 0x0fff0000
2317 
2318 #define ALT_ACPIDMAP_VID3WR_S_MID_CLR_MSK 0xf000ffff
2319 
2320 #define ALT_ACPIDMAP_VID3WR_S_MID_RESET 0x0
2321 
2322 #define ALT_ACPIDMAP_VID3WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2323 
2324 #define ALT_ACPIDMAP_VID3WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2325 
2336 #define ALT_ACPIDMAP_VID3WR_S_FORCE_LSB 31
2337 
2338 #define ALT_ACPIDMAP_VID3WR_S_FORCE_MSB 31
2339 
2340 #define ALT_ACPIDMAP_VID3WR_S_FORCE_WIDTH 1
2341 
2342 #define ALT_ACPIDMAP_VID3WR_S_FORCE_SET_MSK 0x80000000
2343 
2344 #define ALT_ACPIDMAP_VID3WR_S_FORCE_CLR_MSK 0x7fffffff
2345 
2346 #define ALT_ACPIDMAP_VID3WR_S_FORCE_RESET 0x0
2347 
2348 #define ALT_ACPIDMAP_VID3WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2349 
2350 #define ALT_ACPIDMAP_VID3WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2351 
2352 #ifndef __ASSEMBLY__
2353 
2364 {
2365  uint32_t : 4;
2366  const uint32_t user : 5;
2367  uint32_t : 3;
2368  const uint32_t page : 2;
2369  uint32_t : 2;
2370  const uint32_t mid : 12;
2371  uint32_t : 3;
2372  const uint32_t force : 1;
2373 };
2374 
2377 #endif /* __ASSEMBLY__ */
2378 
2380 #define ALT_ACPIDMAP_VID3WR_S_OFST 0x3c
2381 
2412 #define ALT_ACPIDMAP_VID4RD_S_USER_LSB 4
2413 
2414 #define ALT_ACPIDMAP_VID4RD_S_USER_MSB 8
2415 
2416 #define ALT_ACPIDMAP_VID4RD_S_USER_WIDTH 5
2417 
2418 #define ALT_ACPIDMAP_VID4RD_S_USER_SET_MSK 0x000001f0
2419 
2420 #define ALT_ACPIDMAP_VID4RD_S_USER_CLR_MSK 0xfffffe0f
2421 
2422 #define ALT_ACPIDMAP_VID4RD_S_USER_RESET 0x0
2423 
2424 #define ALT_ACPIDMAP_VID4RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2425 
2426 #define ALT_ACPIDMAP_VID4RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2427 
2437 #define ALT_ACPIDMAP_VID4RD_S_PAGE_LSB 12
2438 
2439 #define ALT_ACPIDMAP_VID4RD_S_PAGE_MSB 13
2440 
2441 #define ALT_ACPIDMAP_VID4RD_S_PAGE_WIDTH 2
2442 
2443 #define ALT_ACPIDMAP_VID4RD_S_PAGE_SET_MSK 0x00003000
2444 
2445 #define ALT_ACPIDMAP_VID4RD_S_PAGE_CLR_MSK 0xffffcfff
2446 
2447 #define ALT_ACPIDMAP_VID4RD_S_PAGE_RESET 0x0
2448 
2449 #define ALT_ACPIDMAP_VID4RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2450 
2451 #define ALT_ACPIDMAP_VID4RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2452 
2463 #define ALT_ACPIDMAP_VID4RD_S_MID_LSB 16
2464 
2465 #define ALT_ACPIDMAP_VID4RD_S_MID_MSB 27
2466 
2467 #define ALT_ACPIDMAP_VID4RD_S_MID_WIDTH 12
2468 
2469 #define ALT_ACPIDMAP_VID4RD_S_MID_SET_MSK 0x0fff0000
2470 
2471 #define ALT_ACPIDMAP_VID4RD_S_MID_CLR_MSK 0xf000ffff
2472 
2473 #define ALT_ACPIDMAP_VID4RD_S_MID_RESET 0x0
2474 
2475 #define ALT_ACPIDMAP_VID4RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2476 
2477 #define ALT_ACPIDMAP_VID4RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2478 
2489 #define ALT_ACPIDMAP_VID4RD_S_FORCE_LSB 31
2490 
2491 #define ALT_ACPIDMAP_VID4RD_S_FORCE_MSB 31
2492 
2493 #define ALT_ACPIDMAP_VID4RD_S_FORCE_WIDTH 1
2494 
2495 #define ALT_ACPIDMAP_VID4RD_S_FORCE_SET_MSK 0x80000000
2496 
2497 #define ALT_ACPIDMAP_VID4RD_S_FORCE_CLR_MSK 0x7fffffff
2498 
2499 #define ALT_ACPIDMAP_VID4RD_S_FORCE_RESET 0x0
2500 
2501 #define ALT_ACPIDMAP_VID4RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2502 
2503 #define ALT_ACPIDMAP_VID4RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2504 
2505 #ifndef __ASSEMBLY__
2506 
2517 {
2518  uint32_t : 4;
2519  const uint32_t user : 5;
2520  uint32_t : 3;
2521  const uint32_t page : 2;
2522  uint32_t : 2;
2523  const uint32_t mid : 12;
2524  uint32_t : 3;
2525  const uint32_t force : 1;
2526 };
2527 
2530 #endif /* __ASSEMBLY__ */
2531 
2533 #define ALT_ACPIDMAP_VID4RD_S_OFST 0x40
2534 
2565 #define ALT_ACPIDMAP_VID4WR_S_USER_LSB 4
2566 
2567 #define ALT_ACPIDMAP_VID4WR_S_USER_MSB 8
2568 
2569 #define ALT_ACPIDMAP_VID4WR_S_USER_WIDTH 5
2570 
2571 #define ALT_ACPIDMAP_VID4WR_S_USER_SET_MSK 0x000001f0
2572 
2573 #define ALT_ACPIDMAP_VID4WR_S_USER_CLR_MSK 0xfffffe0f
2574 
2575 #define ALT_ACPIDMAP_VID4WR_S_USER_RESET 0x0
2576 
2577 #define ALT_ACPIDMAP_VID4WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2578 
2579 #define ALT_ACPIDMAP_VID4WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2580 
2590 #define ALT_ACPIDMAP_VID4WR_S_PAGE_LSB 12
2591 
2592 #define ALT_ACPIDMAP_VID4WR_S_PAGE_MSB 13
2593 
2594 #define ALT_ACPIDMAP_VID4WR_S_PAGE_WIDTH 2
2595 
2596 #define ALT_ACPIDMAP_VID4WR_S_PAGE_SET_MSK 0x00003000
2597 
2598 #define ALT_ACPIDMAP_VID4WR_S_PAGE_CLR_MSK 0xffffcfff
2599 
2600 #define ALT_ACPIDMAP_VID4WR_S_PAGE_RESET 0x0
2601 
2602 #define ALT_ACPIDMAP_VID4WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2603 
2604 #define ALT_ACPIDMAP_VID4WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2605 
2616 #define ALT_ACPIDMAP_VID4WR_S_MID_LSB 16
2617 
2618 #define ALT_ACPIDMAP_VID4WR_S_MID_MSB 27
2619 
2620 #define ALT_ACPIDMAP_VID4WR_S_MID_WIDTH 12
2621 
2622 #define ALT_ACPIDMAP_VID4WR_S_MID_SET_MSK 0x0fff0000
2623 
2624 #define ALT_ACPIDMAP_VID4WR_S_MID_CLR_MSK 0xf000ffff
2625 
2626 #define ALT_ACPIDMAP_VID4WR_S_MID_RESET 0x0
2627 
2628 #define ALT_ACPIDMAP_VID4WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2629 
2630 #define ALT_ACPIDMAP_VID4WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2631 
2642 #define ALT_ACPIDMAP_VID4WR_S_FORCE_LSB 31
2643 
2644 #define ALT_ACPIDMAP_VID4WR_S_FORCE_MSB 31
2645 
2646 #define ALT_ACPIDMAP_VID4WR_S_FORCE_WIDTH 1
2647 
2648 #define ALT_ACPIDMAP_VID4WR_S_FORCE_SET_MSK 0x80000000
2649 
2650 #define ALT_ACPIDMAP_VID4WR_S_FORCE_CLR_MSK 0x7fffffff
2651 
2652 #define ALT_ACPIDMAP_VID4WR_S_FORCE_RESET 0x0
2653 
2654 #define ALT_ACPIDMAP_VID4WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2655 
2656 #define ALT_ACPIDMAP_VID4WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2657 
2658 #ifndef __ASSEMBLY__
2659 
2670 {
2671  uint32_t : 4;
2672  const uint32_t user : 5;
2673  uint32_t : 3;
2674  const uint32_t page : 2;
2675  uint32_t : 2;
2676  const uint32_t mid : 12;
2677  uint32_t : 3;
2678  const uint32_t force : 1;
2679 };
2680 
2683 #endif /* __ASSEMBLY__ */
2684 
2686 #define ALT_ACPIDMAP_VID4WR_S_OFST 0x44
2687 
2718 #define ALT_ACPIDMAP_VID5RD_S_USER_LSB 4
2719 
2720 #define ALT_ACPIDMAP_VID5RD_S_USER_MSB 8
2721 
2722 #define ALT_ACPIDMAP_VID5RD_S_USER_WIDTH 5
2723 
2724 #define ALT_ACPIDMAP_VID5RD_S_USER_SET_MSK 0x000001f0
2725 
2726 #define ALT_ACPIDMAP_VID5RD_S_USER_CLR_MSK 0xfffffe0f
2727 
2728 #define ALT_ACPIDMAP_VID5RD_S_USER_RESET 0x0
2729 
2730 #define ALT_ACPIDMAP_VID5RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2731 
2732 #define ALT_ACPIDMAP_VID5RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2733 
2743 #define ALT_ACPIDMAP_VID5RD_S_PAGE_LSB 12
2744 
2745 #define ALT_ACPIDMAP_VID5RD_S_PAGE_MSB 13
2746 
2747 #define ALT_ACPIDMAP_VID5RD_S_PAGE_WIDTH 2
2748 
2749 #define ALT_ACPIDMAP_VID5RD_S_PAGE_SET_MSK 0x00003000
2750 
2751 #define ALT_ACPIDMAP_VID5RD_S_PAGE_CLR_MSK 0xffffcfff
2752 
2753 #define ALT_ACPIDMAP_VID5RD_S_PAGE_RESET 0x0
2754 
2755 #define ALT_ACPIDMAP_VID5RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2756 
2757 #define ALT_ACPIDMAP_VID5RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2758 
2769 #define ALT_ACPIDMAP_VID5RD_S_MID_LSB 16
2770 
2771 #define ALT_ACPIDMAP_VID5RD_S_MID_MSB 27
2772 
2773 #define ALT_ACPIDMAP_VID5RD_S_MID_WIDTH 12
2774 
2775 #define ALT_ACPIDMAP_VID5RD_S_MID_SET_MSK 0x0fff0000
2776 
2777 #define ALT_ACPIDMAP_VID5RD_S_MID_CLR_MSK 0xf000ffff
2778 
2779 #define ALT_ACPIDMAP_VID5RD_S_MID_RESET 0x0
2780 
2781 #define ALT_ACPIDMAP_VID5RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2782 
2783 #define ALT_ACPIDMAP_VID5RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2784 
2795 #define ALT_ACPIDMAP_VID5RD_S_FORCE_LSB 31
2796 
2797 #define ALT_ACPIDMAP_VID5RD_S_FORCE_MSB 31
2798 
2799 #define ALT_ACPIDMAP_VID5RD_S_FORCE_WIDTH 1
2800 
2801 #define ALT_ACPIDMAP_VID5RD_S_FORCE_SET_MSK 0x80000000
2802 
2803 #define ALT_ACPIDMAP_VID5RD_S_FORCE_CLR_MSK 0x7fffffff
2804 
2805 #define ALT_ACPIDMAP_VID5RD_S_FORCE_RESET 0x0
2806 
2807 #define ALT_ACPIDMAP_VID5RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2808 
2809 #define ALT_ACPIDMAP_VID5RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2810 
2811 #ifndef __ASSEMBLY__
2812 
2823 {
2824  uint32_t : 4;
2825  const uint32_t user : 5;
2826  uint32_t : 3;
2827  const uint32_t page : 2;
2828  uint32_t : 2;
2829  const uint32_t mid : 12;
2830  uint32_t : 3;
2831  const uint32_t force : 1;
2832 };
2833 
2836 #endif /* __ASSEMBLY__ */
2837 
2839 #define ALT_ACPIDMAP_VID5RD_S_OFST 0x48
2840 
2871 #define ALT_ACPIDMAP_VID5WR_S_USER_LSB 4
2872 
2873 #define ALT_ACPIDMAP_VID5WR_S_USER_MSB 8
2874 
2875 #define ALT_ACPIDMAP_VID5WR_S_USER_WIDTH 5
2876 
2877 #define ALT_ACPIDMAP_VID5WR_S_USER_SET_MSK 0x000001f0
2878 
2879 #define ALT_ACPIDMAP_VID5WR_S_USER_CLR_MSK 0xfffffe0f
2880 
2881 #define ALT_ACPIDMAP_VID5WR_S_USER_RESET 0x0
2882 
2883 #define ALT_ACPIDMAP_VID5WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
2884 
2885 #define ALT_ACPIDMAP_VID5WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
2886 
2896 #define ALT_ACPIDMAP_VID5WR_S_PAGE_LSB 12
2897 
2898 #define ALT_ACPIDMAP_VID5WR_S_PAGE_MSB 13
2899 
2900 #define ALT_ACPIDMAP_VID5WR_S_PAGE_WIDTH 2
2901 
2902 #define ALT_ACPIDMAP_VID5WR_S_PAGE_SET_MSK 0x00003000
2903 
2904 #define ALT_ACPIDMAP_VID5WR_S_PAGE_CLR_MSK 0xffffcfff
2905 
2906 #define ALT_ACPIDMAP_VID5WR_S_PAGE_RESET 0x0
2907 
2908 #define ALT_ACPIDMAP_VID5WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
2909 
2910 #define ALT_ACPIDMAP_VID5WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
2911 
2922 #define ALT_ACPIDMAP_VID5WR_S_MID_LSB 16
2923 
2924 #define ALT_ACPIDMAP_VID5WR_S_MID_MSB 27
2925 
2926 #define ALT_ACPIDMAP_VID5WR_S_MID_WIDTH 12
2927 
2928 #define ALT_ACPIDMAP_VID5WR_S_MID_SET_MSK 0x0fff0000
2929 
2930 #define ALT_ACPIDMAP_VID5WR_S_MID_CLR_MSK 0xf000ffff
2931 
2932 #define ALT_ACPIDMAP_VID5WR_S_MID_RESET 0x0
2933 
2934 #define ALT_ACPIDMAP_VID5WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
2935 
2936 #define ALT_ACPIDMAP_VID5WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
2937 
2948 #define ALT_ACPIDMAP_VID5WR_S_FORCE_LSB 31
2949 
2950 #define ALT_ACPIDMAP_VID5WR_S_FORCE_MSB 31
2951 
2952 #define ALT_ACPIDMAP_VID5WR_S_FORCE_WIDTH 1
2953 
2954 #define ALT_ACPIDMAP_VID5WR_S_FORCE_SET_MSK 0x80000000
2955 
2956 #define ALT_ACPIDMAP_VID5WR_S_FORCE_CLR_MSK 0x7fffffff
2957 
2958 #define ALT_ACPIDMAP_VID5WR_S_FORCE_RESET 0x0
2959 
2960 #define ALT_ACPIDMAP_VID5WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
2961 
2962 #define ALT_ACPIDMAP_VID5WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
2963 
2964 #ifndef __ASSEMBLY__
2965 
2976 {
2977  uint32_t : 4;
2978  const uint32_t user : 5;
2979  uint32_t : 3;
2980  const uint32_t page : 2;
2981  uint32_t : 2;
2982  const uint32_t mid : 12;
2983  uint32_t : 3;
2984  const uint32_t force : 1;
2985 };
2986 
2989 #endif /* __ASSEMBLY__ */
2990 
2992 #define ALT_ACPIDMAP_VID5WR_S_OFST 0x4c
2993 
3024 #define ALT_ACPIDMAP_VID6RD_S_USER_LSB 4
3025 
3026 #define ALT_ACPIDMAP_VID6RD_S_USER_MSB 8
3027 
3028 #define ALT_ACPIDMAP_VID6RD_S_USER_WIDTH 5
3029 
3030 #define ALT_ACPIDMAP_VID6RD_S_USER_SET_MSK 0x000001f0
3031 
3032 #define ALT_ACPIDMAP_VID6RD_S_USER_CLR_MSK 0xfffffe0f
3033 
3034 #define ALT_ACPIDMAP_VID6RD_S_USER_RESET 0x0
3035 
3036 #define ALT_ACPIDMAP_VID6RD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3037 
3038 #define ALT_ACPIDMAP_VID6RD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3039 
3049 #define ALT_ACPIDMAP_VID6RD_S_PAGE_LSB 12
3050 
3051 #define ALT_ACPIDMAP_VID6RD_S_PAGE_MSB 13
3052 
3053 #define ALT_ACPIDMAP_VID6RD_S_PAGE_WIDTH 2
3054 
3055 #define ALT_ACPIDMAP_VID6RD_S_PAGE_SET_MSK 0x00003000
3056 
3057 #define ALT_ACPIDMAP_VID6RD_S_PAGE_CLR_MSK 0xffffcfff
3058 
3059 #define ALT_ACPIDMAP_VID6RD_S_PAGE_RESET 0x0
3060 
3061 #define ALT_ACPIDMAP_VID6RD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3062 
3063 #define ALT_ACPIDMAP_VID6RD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3064 
3075 #define ALT_ACPIDMAP_VID6RD_S_MID_LSB 16
3076 
3077 #define ALT_ACPIDMAP_VID6RD_S_MID_MSB 27
3078 
3079 #define ALT_ACPIDMAP_VID6RD_S_MID_WIDTH 12
3080 
3081 #define ALT_ACPIDMAP_VID6RD_S_MID_SET_MSK 0x0fff0000
3082 
3083 #define ALT_ACPIDMAP_VID6RD_S_MID_CLR_MSK 0xf000ffff
3084 
3085 #define ALT_ACPIDMAP_VID6RD_S_MID_RESET 0x0
3086 
3087 #define ALT_ACPIDMAP_VID6RD_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
3088 
3089 #define ALT_ACPIDMAP_VID6RD_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
3090 
3101 #define ALT_ACPIDMAP_VID6RD_S_FORCE_LSB 31
3102 
3103 #define ALT_ACPIDMAP_VID6RD_S_FORCE_MSB 31
3104 
3105 #define ALT_ACPIDMAP_VID6RD_S_FORCE_WIDTH 1
3106 
3107 #define ALT_ACPIDMAP_VID6RD_S_FORCE_SET_MSK 0x80000000
3108 
3109 #define ALT_ACPIDMAP_VID6RD_S_FORCE_CLR_MSK 0x7fffffff
3110 
3111 #define ALT_ACPIDMAP_VID6RD_S_FORCE_RESET 0x0
3112 
3113 #define ALT_ACPIDMAP_VID6RD_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
3114 
3115 #define ALT_ACPIDMAP_VID6RD_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
3116 
3117 #ifndef __ASSEMBLY__
3118 
3129 {
3130  uint32_t : 4;
3131  const uint32_t user : 5;
3132  uint32_t : 3;
3133  const uint32_t page : 2;
3134  uint32_t : 2;
3135  const uint32_t mid : 12;
3136  uint32_t : 3;
3137  const uint32_t force : 1;
3138 };
3139 
3142 #endif /* __ASSEMBLY__ */
3143 
3145 #define ALT_ACPIDMAP_VID6RD_S_OFST 0x50
3146 
3177 #define ALT_ACPIDMAP_VID6WR_S_USER_LSB 4
3178 
3179 #define ALT_ACPIDMAP_VID6WR_S_USER_MSB 8
3180 
3181 #define ALT_ACPIDMAP_VID6WR_S_USER_WIDTH 5
3182 
3183 #define ALT_ACPIDMAP_VID6WR_S_USER_SET_MSK 0x000001f0
3184 
3185 #define ALT_ACPIDMAP_VID6WR_S_USER_CLR_MSK 0xfffffe0f
3186 
3187 #define ALT_ACPIDMAP_VID6WR_S_USER_RESET 0x0
3188 
3189 #define ALT_ACPIDMAP_VID6WR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3190 
3191 #define ALT_ACPIDMAP_VID6WR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3192 
3202 #define ALT_ACPIDMAP_VID6WR_S_PAGE_LSB 12
3203 
3204 #define ALT_ACPIDMAP_VID6WR_S_PAGE_MSB 13
3205 
3206 #define ALT_ACPIDMAP_VID6WR_S_PAGE_WIDTH 2
3207 
3208 #define ALT_ACPIDMAP_VID6WR_S_PAGE_SET_MSK 0x00003000
3209 
3210 #define ALT_ACPIDMAP_VID6WR_S_PAGE_CLR_MSK 0xffffcfff
3211 
3212 #define ALT_ACPIDMAP_VID6WR_S_PAGE_RESET 0x0
3213 
3214 #define ALT_ACPIDMAP_VID6WR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3215 
3216 #define ALT_ACPIDMAP_VID6WR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3217 
3228 #define ALT_ACPIDMAP_VID6WR_S_MID_LSB 16
3229 
3230 #define ALT_ACPIDMAP_VID6WR_S_MID_MSB 27
3231 
3232 #define ALT_ACPIDMAP_VID6WR_S_MID_WIDTH 12
3233 
3234 #define ALT_ACPIDMAP_VID6WR_S_MID_SET_MSK 0x0fff0000
3235 
3236 #define ALT_ACPIDMAP_VID6WR_S_MID_CLR_MSK 0xf000ffff
3237 
3238 #define ALT_ACPIDMAP_VID6WR_S_MID_RESET 0x0
3239 
3240 #define ALT_ACPIDMAP_VID6WR_S_MID_GET(value) (((value) & 0x0fff0000) >> 16)
3241 
3242 #define ALT_ACPIDMAP_VID6WR_S_MID_SET(value) (((value) << 16) & 0x0fff0000)
3243 
3254 #define ALT_ACPIDMAP_VID6WR_S_FORCE_LSB 31
3255 
3256 #define ALT_ACPIDMAP_VID6WR_S_FORCE_MSB 31
3257 
3258 #define ALT_ACPIDMAP_VID6WR_S_FORCE_WIDTH 1
3259 
3260 #define ALT_ACPIDMAP_VID6WR_S_FORCE_SET_MSK 0x80000000
3261 
3262 #define ALT_ACPIDMAP_VID6WR_S_FORCE_CLR_MSK 0x7fffffff
3263 
3264 #define ALT_ACPIDMAP_VID6WR_S_FORCE_RESET 0x0
3265 
3266 #define ALT_ACPIDMAP_VID6WR_S_FORCE_GET(value) (((value) & 0x80000000) >> 31)
3267 
3268 #define ALT_ACPIDMAP_VID6WR_S_FORCE_SET(value) (((value) << 31) & 0x80000000)
3269 
3270 #ifndef __ASSEMBLY__
3271 
3282 {
3283  uint32_t : 4;
3284  const uint32_t user : 5;
3285  uint32_t : 3;
3286  const uint32_t page : 2;
3287  uint32_t : 2;
3288  const uint32_t mid : 12;
3289  uint32_t : 3;
3290  const uint32_t force : 1;
3291 };
3292 
3295 #endif /* __ASSEMBLY__ */
3296 
3298 #define ALT_ACPIDMAP_VID6WR_S_OFST 0x54
3299 
3327 #define ALT_ACPIDMAP_DYNRD_S_USER_LSB 4
3328 
3329 #define ALT_ACPIDMAP_DYNRD_S_USER_MSB 8
3330 
3331 #define ALT_ACPIDMAP_DYNRD_S_USER_WIDTH 5
3332 
3333 #define ALT_ACPIDMAP_DYNRD_S_USER_SET_MSK 0x000001f0
3334 
3335 #define ALT_ACPIDMAP_DYNRD_S_USER_CLR_MSK 0xfffffe0f
3336 
3337 #define ALT_ACPIDMAP_DYNRD_S_USER_RESET 0x0
3338 
3339 #define ALT_ACPIDMAP_DYNRD_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3340 
3341 #define ALT_ACPIDMAP_DYNRD_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3342 
3352 #define ALT_ACPIDMAP_DYNRD_S_PAGE_LSB 12
3353 
3354 #define ALT_ACPIDMAP_DYNRD_S_PAGE_MSB 13
3355 
3356 #define ALT_ACPIDMAP_DYNRD_S_PAGE_WIDTH 2
3357 
3358 #define ALT_ACPIDMAP_DYNRD_S_PAGE_SET_MSK 0x00003000
3359 
3360 #define ALT_ACPIDMAP_DYNRD_S_PAGE_CLR_MSK 0xffffcfff
3361 
3362 #define ALT_ACPIDMAP_DYNRD_S_PAGE_RESET 0x0
3363 
3364 #define ALT_ACPIDMAP_DYNRD_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3365 
3366 #define ALT_ACPIDMAP_DYNRD_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3367 
3368 #ifndef __ASSEMBLY__
3369 
3380 {
3381  uint32_t : 4;
3382  const uint32_t user : 5;
3383  uint32_t : 3;
3384  const uint32_t page : 2;
3385  uint32_t : 18;
3386 };
3387 
3390 #endif /* __ASSEMBLY__ */
3391 
3393 #define ALT_ACPIDMAP_DYNRD_S_OFST 0x58
3394 
3422 #define ALT_ACPIDMAP_DYNWR_S_USER_LSB 4
3423 
3424 #define ALT_ACPIDMAP_DYNWR_S_USER_MSB 8
3425 
3426 #define ALT_ACPIDMAP_DYNWR_S_USER_WIDTH 5
3427 
3428 #define ALT_ACPIDMAP_DYNWR_S_USER_SET_MSK 0x000001f0
3429 
3430 #define ALT_ACPIDMAP_DYNWR_S_USER_CLR_MSK 0xfffffe0f
3431 
3432 #define ALT_ACPIDMAP_DYNWR_S_USER_RESET 0x0
3433 
3434 #define ALT_ACPIDMAP_DYNWR_S_USER_GET(value) (((value) & 0x000001f0) >> 4)
3435 
3436 #define ALT_ACPIDMAP_DYNWR_S_USER_SET(value) (((value) << 4) & 0x000001f0)
3437 
3447 #define ALT_ACPIDMAP_DYNWR_S_PAGE_LSB 12
3448 
3449 #define ALT_ACPIDMAP_DYNWR_S_PAGE_MSB 13
3450 
3451 #define ALT_ACPIDMAP_DYNWR_S_PAGE_WIDTH 2
3452 
3453 #define ALT_ACPIDMAP_DYNWR_S_PAGE_SET_MSK 0x00003000
3454 
3455 #define ALT_ACPIDMAP_DYNWR_S_PAGE_CLR_MSK 0xffffcfff
3456 
3457 #define ALT_ACPIDMAP_DYNWR_S_PAGE_RESET 0x0
3458 
3459 #define ALT_ACPIDMAP_DYNWR_S_PAGE_GET(value) (((value) & 0x00003000) >> 12)
3460 
3461 #define ALT_ACPIDMAP_DYNWR_S_PAGE_SET(value) (((value) << 12) & 0x00003000)
3462 
3463 #ifndef __ASSEMBLY__
3464 
3475 {
3476  uint32_t : 4;
3477  const uint32_t user : 5;
3478  uint32_t : 3;
3479  const uint32_t page : 2;
3480  uint32_t : 18;
3481 };
3482 
3485 #endif /* __ASSEMBLY__ */
3486 
3488 #define ALT_ACPIDMAP_DYNWR_S_OFST 0x5c
3489 
3490 #ifndef __ASSEMBLY__
3491 
3502 {
3527  volatile uint32_t _pad_0x60_0x1000[1000];
3528 };
3529 
3531 typedef volatile struct ALT_ACPIDMAP_s ALT_ACPIDMAP_t;
3534 {
3535  volatile uint32_t vid2rd;
3536  volatile uint32_t vid2wr;
3537  volatile uint32_t vid3rd;
3538  volatile uint32_t vid3wr;
3539  volatile uint32_t vid4rd;
3540  volatile uint32_t vid4wr;
3541  volatile uint32_t vid5rd;
3542  volatile uint32_t vid5wr;
3543  volatile uint32_t vid6rd;
3544  volatile uint32_t vid6wr;
3545  volatile uint32_t dynrd;
3546  volatile uint32_t dynwr;
3547  volatile uint32_t vid2rd_s;
3548  volatile uint32_t vid2wr_s;
3549  volatile uint32_t vid3rd_s;
3550  volatile uint32_t vid3wr_s;
3551  volatile uint32_t vid4rd_s;
3552  volatile uint32_t vid4wr_s;
3553  volatile uint32_t vid5rd_s;
3554  volatile uint32_t vid5wr_s;
3555  volatile uint32_t vid6rd_s;
3556  volatile uint32_t vid6wr_s;
3557  volatile uint32_t dynrd_s;
3558  volatile uint32_t dynwr_s;
3559  volatile uint32_t _pad_0x60_0x1000[1000];
3560 };
3561 
3563 typedef volatile struct ALT_ACPIDMAP_raw_s ALT_ACPIDMAP_raw_t;
3564 #endif /* __ASSEMBLY__ */
3565 
3567 #ifdef __cplusplus
3568 }
3569 #endif /* __cplusplus */
3570 #endif /* __ALTERA_ALT_ACPIDMAP_H__ */
3571