18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 38c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 48c2ecf20Sopenharmony_ci * for more details. 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * SGI UV MMR definitions 78c2ecf20Sopenharmony_ci * 88c2ecf20Sopenharmony_ci * Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifndef _ASM_IA64_UV_UV_MMRS_H 128c2ecf20Sopenharmony_ci#define _ASM_IA64_UV_UV_MMRS_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define UV_MMR_ENABLE (1UL << 63) 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci/* ========================================================================= */ 178c2ecf20Sopenharmony_ci/* UVH_BAU_DATA_CONFIG */ 188c2ecf20Sopenharmony_ci/* ========================================================================= */ 198c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG 0x61680UL 208c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_32 0x0438 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_VECTOR_SHFT 0 238c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_VECTOR_MASK 0x00000000000000ffUL 248c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_DM_SHFT 8 258c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_DM_MASK 0x0000000000000700UL 268c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_DESTMODE_SHFT 11 278c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_DESTMODE_MASK 0x0000000000000800UL 288c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_STATUS_SHFT 12 298c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_STATUS_MASK 0x0000000000001000UL 308c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_P_SHFT 13 318c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_P_MASK 0x0000000000002000UL 328c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_T_SHFT 15 338c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_T_MASK 0x0000000000008000UL 348c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_M_SHFT 16 358c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_M_MASK 0x0000000000010000UL 368c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_APIC_ID_SHFT 32 378c2ecf20Sopenharmony_ci#define UVH_BAU_DATA_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciunion uvh_bau_data_config_u { 408c2ecf20Sopenharmony_ci unsigned long v; 418c2ecf20Sopenharmony_ci struct uvh_bau_data_config_s { 428c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 438c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 448c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 458c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 468c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 478c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 488c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 498c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 508c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 518c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 528c2ecf20Sopenharmony_ci } s; 538c2ecf20Sopenharmony_ci}; 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci/* ========================================================================= */ 568c2ecf20Sopenharmony_ci/* UVH_EVENT_OCCURRED0 */ 578c2ecf20Sopenharmony_ci/* ========================================================================= */ 588c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0 0x70000UL 598c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_32 0x005e8 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_HCERR_SHFT 0 628c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_HCERR_MASK 0x0000000000000001UL 638c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR0_HCERR_SHFT 1 648c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR0_HCERR_MASK 0x0000000000000002UL 658c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR1_HCERR_SHFT 2 668c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR1_HCERR_MASK 0x0000000000000004UL 678c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LH_HCERR_SHFT 3 688c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LH_HCERR_MASK 0x0000000000000008UL 698c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_HCERR_SHFT 4 708c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_HCERR_MASK 0x0000000000000010UL 718c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_XN_HCERR_SHFT 5 728c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_XN_HCERR_MASK 0x0000000000000020UL 738c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SI_HCERR_SHFT 6 748c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SI_HCERR_MASK 0x0000000000000040UL 758c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_AOERR0_SHFT 7 768c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_AOERR0_MASK 0x0000000000000080UL 778c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR0_AOERR0_SHFT 8 788c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR0_AOERR0_MASK 0x0000000000000100UL 798c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR1_AOERR0_SHFT 9 808c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR1_AOERR0_MASK 0x0000000000000200UL 818c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LH_AOERR0_SHFT 10 828c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LH_AOERR0_MASK 0x0000000000000400UL 838c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_AOERR0_SHFT 11 848c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_AOERR0_MASK 0x0000000000000800UL 858c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_XN_AOERR0_SHFT 12 868c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_XN_AOERR0_MASK 0x0000000000001000UL 878c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SI_AOERR0_SHFT 13 888c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SI_AOERR0_MASK 0x0000000000002000UL 898c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_AOERR1_SHFT 14 908c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_AOERR1_MASK 0x0000000000004000UL 918c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR0_AOERR1_SHFT 15 928c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR0_AOERR1_MASK 0x0000000000008000UL 938c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR1_AOERR1_SHFT 16 948c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_GR1_AOERR1_MASK 0x0000000000010000UL 958c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LH_AOERR1_SHFT 17 968c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LH_AOERR1_MASK 0x0000000000020000UL 978c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_AOERR1_SHFT 18 988c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_AOERR1_MASK 0x0000000000040000UL 998c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_XN_AOERR1_SHFT 19 1008c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_XN_AOERR1_MASK 0x0000000000080000UL 1018c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SI_AOERR1_SHFT 20 1028c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SI_AOERR1_MASK 0x0000000000100000UL 1038c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_VPI_INT_SHFT 21 1048c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RH_VPI_INT_MASK 0x0000000000200000UL 1058c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_SHFT 22 1068c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_SYSTEM_SHUTDOWN_INT_MASK 0x0000000000400000UL 1078c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_0_SHFT 23 1088c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_0_MASK 0x0000000000800000UL 1098c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_1_SHFT 24 1108c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_1_MASK 0x0000000001000000UL 1118c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_2_SHFT 25 1128c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_2_MASK 0x0000000002000000UL 1138c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_3_SHFT 26 1148c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_3_MASK 0x0000000004000000UL 1158c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_4_SHFT 27 1168c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_4_MASK 0x0000000008000000UL 1178c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_5_SHFT 28 1188c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_5_MASK 0x0000000010000000UL 1198c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_6_SHFT 29 1208c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_6_MASK 0x0000000020000000UL 1218c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_7_SHFT 30 1228c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_7_MASK 0x0000000040000000UL 1238c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_8_SHFT 31 1248c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_8_MASK 0x0000000080000000UL 1258c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_9_SHFT 32 1268c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_9_MASK 0x0000000100000000UL 1278c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_10_SHFT 33 1288c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_10_MASK 0x0000000200000000UL 1298c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_11_SHFT 34 1308c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_11_MASK 0x0000000400000000UL 1318c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_12_SHFT 35 1328c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_12_MASK 0x0000000800000000UL 1338c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_13_SHFT 36 1348c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_13_MASK 0x0000001000000000UL 1358c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_14_SHFT 37 1368c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_14_MASK 0x0000002000000000UL 1378c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_15_SHFT 38 1388c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LB_IRQ_INT_15_MASK 0x0000004000000000UL 1398c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_L1_NMI_INT_SHFT 39 1408c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_L1_NMI_INT_MASK 0x0000008000000000UL 1418c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_STOP_CLOCK_SHFT 40 1428c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_STOP_CLOCK_MASK 0x0000010000000000UL 1438c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_ASIC_TO_L1_SHFT 41 1448c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_ASIC_TO_L1_MASK 0x0000020000000000UL 1458c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_L1_TO_ASIC_SHFT 42 1468c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_L1_TO_ASIC_MASK 0x0000040000000000UL 1478c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LTC_INT_SHFT 43 1488c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LTC_INT_MASK 0x0000080000000000UL 1498c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LA_SEQ_TRIGGER_SHFT 44 1508c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_LA_SEQ_TRIGGER_MASK 0x0000100000000000UL 1518c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_IPI_INT_SHFT 45 1528c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_IPI_INT_MASK 0x0000200000000000UL 1538c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT0_SHFT 46 1548c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT0_MASK 0x0000400000000000UL 1558c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT1_SHFT 47 1568c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT1_MASK 0x0000800000000000UL 1578c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT2_SHFT 48 1588c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT2_MASK 0x0001000000000000UL 1598c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT3_SHFT 49 1608c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_EXTIO_INT3_MASK 0x0002000000000000UL 1618c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_PROFILE_INT_SHFT 50 1628c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_PROFILE_INT_MASK 0x0004000000000000UL 1638c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC0_SHFT 51 1648c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC0_MASK 0x0008000000000000UL 1658c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC1_SHFT 52 1668c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC1_MASK 0x0010000000000000UL 1678c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC2_SHFT 53 1688c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC2_MASK 0x0020000000000000UL 1698c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC3_SHFT 54 1708c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_RTC3_MASK 0x0040000000000000UL 1718c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_BAU_DATA_SHFT 55 1728c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_BAU_DATA_MASK 0x0080000000000000UL 1738c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_POWER_MANAGEMENT_REQ_SHFT 56 1748c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_POWER_MANAGEMENT_REQ_MASK 0x0100000000000000UL 1758c2ecf20Sopenharmony_ciunion uvh_event_occurred0_u { 1768c2ecf20Sopenharmony_ci unsigned long v; 1778c2ecf20Sopenharmony_ci struct uvh_event_occurred0_s { 1788c2ecf20Sopenharmony_ci unsigned long lb_hcerr : 1; /* RW, W1C */ 1798c2ecf20Sopenharmony_ci unsigned long gr0_hcerr : 1; /* RW, W1C */ 1808c2ecf20Sopenharmony_ci unsigned long gr1_hcerr : 1; /* RW, W1C */ 1818c2ecf20Sopenharmony_ci unsigned long lh_hcerr : 1; /* RW, W1C */ 1828c2ecf20Sopenharmony_ci unsigned long rh_hcerr : 1; /* RW, W1C */ 1838c2ecf20Sopenharmony_ci unsigned long xn_hcerr : 1; /* RW, W1C */ 1848c2ecf20Sopenharmony_ci unsigned long si_hcerr : 1; /* RW, W1C */ 1858c2ecf20Sopenharmony_ci unsigned long lb_aoerr0 : 1; /* RW, W1C */ 1868c2ecf20Sopenharmony_ci unsigned long gr0_aoerr0 : 1; /* RW, W1C */ 1878c2ecf20Sopenharmony_ci unsigned long gr1_aoerr0 : 1; /* RW, W1C */ 1888c2ecf20Sopenharmony_ci unsigned long lh_aoerr0 : 1; /* RW, W1C */ 1898c2ecf20Sopenharmony_ci unsigned long rh_aoerr0 : 1; /* RW, W1C */ 1908c2ecf20Sopenharmony_ci unsigned long xn_aoerr0 : 1; /* RW, W1C */ 1918c2ecf20Sopenharmony_ci unsigned long si_aoerr0 : 1; /* RW, W1C */ 1928c2ecf20Sopenharmony_ci unsigned long lb_aoerr1 : 1; /* RW, W1C */ 1938c2ecf20Sopenharmony_ci unsigned long gr0_aoerr1 : 1; /* RW, W1C */ 1948c2ecf20Sopenharmony_ci unsigned long gr1_aoerr1 : 1; /* RW, W1C */ 1958c2ecf20Sopenharmony_ci unsigned long lh_aoerr1 : 1; /* RW, W1C */ 1968c2ecf20Sopenharmony_ci unsigned long rh_aoerr1 : 1; /* RW, W1C */ 1978c2ecf20Sopenharmony_ci unsigned long xn_aoerr1 : 1; /* RW, W1C */ 1988c2ecf20Sopenharmony_ci unsigned long si_aoerr1 : 1; /* RW, W1C */ 1998c2ecf20Sopenharmony_ci unsigned long rh_vpi_int : 1; /* RW, W1C */ 2008c2ecf20Sopenharmony_ci unsigned long system_shutdown_int : 1; /* RW, W1C */ 2018c2ecf20Sopenharmony_ci unsigned long lb_irq_int_0 : 1; /* RW, W1C */ 2028c2ecf20Sopenharmony_ci unsigned long lb_irq_int_1 : 1; /* RW, W1C */ 2038c2ecf20Sopenharmony_ci unsigned long lb_irq_int_2 : 1; /* RW, W1C */ 2048c2ecf20Sopenharmony_ci unsigned long lb_irq_int_3 : 1; /* RW, W1C */ 2058c2ecf20Sopenharmony_ci unsigned long lb_irq_int_4 : 1; /* RW, W1C */ 2068c2ecf20Sopenharmony_ci unsigned long lb_irq_int_5 : 1; /* RW, W1C */ 2078c2ecf20Sopenharmony_ci unsigned long lb_irq_int_6 : 1; /* RW, W1C */ 2088c2ecf20Sopenharmony_ci unsigned long lb_irq_int_7 : 1; /* RW, W1C */ 2098c2ecf20Sopenharmony_ci unsigned long lb_irq_int_8 : 1; /* RW, W1C */ 2108c2ecf20Sopenharmony_ci unsigned long lb_irq_int_9 : 1; /* RW, W1C */ 2118c2ecf20Sopenharmony_ci unsigned long lb_irq_int_10 : 1; /* RW, W1C */ 2128c2ecf20Sopenharmony_ci unsigned long lb_irq_int_11 : 1; /* RW, W1C */ 2138c2ecf20Sopenharmony_ci unsigned long lb_irq_int_12 : 1; /* RW, W1C */ 2148c2ecf20Sopenharmony_ci unsigned long lb_irq_int_13 : 1; /* RW, W1C */ 2158c2ecf20Sopenharmony_ci unsigned long lb_irq_int_14 : 1; /* RW, W1C */ 2168c2ecf20Sopenharmony_ci unsigned long lb_irq_int_15 : 1; /* RW, W1C */ 2178c2ecf20Sopenharmony_ci unsigned long l1_nmi_int : 1; /* RW, W1C */ 2188c2ecf20Sopenharmony_ci unsigned long stop_clock : 1; /* RW, W1C */ 2198c2ecf20Sopenharmony_ci unsigned long asic_to_l1 : 1; /* RW, W1C */ 2208c2ecf20Sopenharmony_ci unsigned long l1_to_asic : 1; /* RW, W1C */ 2218c2ecf20Sopenharmony_ci unsigned long ltc_int : 1; /* RW, W1C */ 2228c2ecf20Sopenharmony_ci unsigned long la_seq_trigger : 1; /* RW, W1C */ 2238c2ecf20Sopenharmony_ci unsigned long ipi_int : 1; /* RW, W1C */ 2248c2ecf20Sopenharmony_ci unsigned long extio_int0 : 1; /* RW, W1C */ 2258c2ecf20Sopenharmony_ci unsigned long extio_int1 : 1; /* RW, W1C */ 2268c2ecf20Sopenharmony_ci unsigned long extio_int2 : 1; /* RW, W1C */ 2278c2ecf20Sopenharmony_ci unsigned long extio_int3 : 1; /* RW, W1C */ 2288c2ecf20Sopenharmony_ci unsigned long profile_int : 1; /* RW, W1C */ 2298c2ecf20Sopenharmony_ci unsigned long rtc0 : 1; /* RW, W1C */ 2308c2ecf20Sopenharmony_ci unsigned long rtc1 : 1; /* RW, W1C */ 2318c2ecf20Sopenharmony_ci unsigned long rtc2 : 1; /* RW, W1C */ 2328c2ecf20Sopenharmony_ci unsigned long rtc3 : 1; /* RW, W1C */ 2338c2ecf20Sopenharmony_ci unsigned long bau_data : 1; /* RW, W1C */ 2348c2ecf20Sopenharmony_ci unsigned long power_management_req : 1; /* RW, W1C */ 2358c2ecf20Sopenharmony_ci unsigned long rsvd_57_63 : 7; /* */ 2368c2ecf20Sopenharmony_ci } s; 2378c2ecf20Sopenharmony_ci}; 2388c2ecf20Sopenharmony_ci 2398c2ecf20Sopenharmony_ci/* ========================================================================= */ 2408c2ecf20Sopenharmony_ci/* UVH_EVENT_OCCURRED0_ALIAS */ 2418c2ecf20Sopenharmony_ci/* ========================================================================= */ 2428c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_ALIAS 0x0000000000070008UL 2438c2ecf20Sopenharmony_ci#define UVH_EVENT_OCCURRED0_ALIAS_32 0x005f0 2448c2ecf20Sopenharmony_ci 2458c2ecf20Sopenharmony_ci/* ========================================================================= */ 2468c2ecf20Sopenharmony_ci/* UVH_GR0_TLB_INT0_CONFIG */ 2478c2ecf20Sopenharmony_ci/* ========================================================================= */ 2488c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG 0x61b00UL 2498c2ecf20Sopenharmony_ci 2508c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_VECTOR_SHFT 0 2518c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_VECTOR_MASK 0x00000000000000ffUL 2528c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_DM_SHFT 8 2538c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_DM_MASK 0x0000000000000700UL 2548c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_DESTMODE_SHFT 11 2558c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_DESTMODE_MASK 0x0000000000000800UL 2568c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_STATUS_SHFT 12 2578c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_STATUS_MASK 0x0000000000001000UL 2588c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_P_SHFT 13 2598c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_P_MASK 0x0000000000002000UL 2608c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_T_SHFT 15 2618c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_T_MASK 0x0000000000008000UL 2628c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_M_SHFT 16 2638c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_M_MASK 0x0000000000010000UL 2648c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_APIC_ID_SHFT 32 2658c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT0_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 2668c2ecf20Sopenharmony_ci 2678c2ecf20Sopenharmony_ciunion uvh_gr0_tlb_int0_config_u { 2688c2ecf20Sopenharmony_ci unsigned long v; 2698c2ecf20Sopenharmony_ci struct uvh_gr0_tlb_int0_config_s { 2708c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 2718c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 2728c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 2738c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 2748c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 2758c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 2768c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 2778c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 2788c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 2798c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 2808c2ecf20Sopenharmony_ci } s; 2818c2ecf20Sopenharmony_ci}; 2828c2ecf20Sopenharmony_ci 2838c2ecf20Sopenharmony_ci/* ========================================================================= */ 2848c2ecf20Sopenharmony_ci/* UVH_GR0_TLB_INT1_CONFIG */ 2858c2ecf20Sopenharmony_ci/* ========================================================================= */ 2868c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG 0x61b40UL 2878c2ecf20Sopenharmony_ci 2888c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_VECTOR_SHFT 0 2898c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_VECTOR_MASK 0x00000000000000ffUL 2908c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_DM_SHFT 8 2918c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_DM_MASK 0x0000000000000700UL 2928c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_DESTMODE_SHFT 11 2938c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_DESTMODE_MASK 0x0000000000000800UL 2948c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_STATUS_SHFT 12 2958c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_STATUS_MASK 0x0000000000001000UL 2968c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_P_SHFT 13 2978c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_P_MASK 0x0000000000002000UL 2988c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_T_SHFT 15 2998c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_T_MASK 0x0000000000008000UL 3008c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_M_SHFT 16 3018c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_M_MASK 0x0000000000010000UL 3028c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_APIC_ID_SHFT 32 3038c2ecf20Sopenharmony_ci#define UVH_GR0_TLB_INT1_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 3048c2ecf20Sopenharmony_ci 3058c2ecf20Sopenharmony_ciunion uvh_gr0_tlb_int1_config_u { 3068c2ecf20Sopenharmony_ci unsigned long v; 3078c2ecf20Sopenharmony_ci struct uvh_gr0_tlb_int1_config_s { 3088c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 3098c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 3108c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 3118c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 3128c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 3138c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 3148c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 3158c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 3168c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 3178c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 3188c2ecf20Sopenharmony_ci } s; 3198c2ecf20Sopenharmony_ci}; 3208c2ecf20Sopenharmony_ci 3218c2ecf20Sopenharmony_ci/* ========================================================================= */ 3228c2ecf20Sopenharmony_ci/* UVH_GR1_TLB_INT0_CONFIG */ 3238c2ecf20Sopenharmony_ci/* ========================================================================= */ 3248c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG 0x61f00UL 3258c2ecf20Sopenharmony_ci 3268c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_VECTOR_SHFT 0 3278c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_VECTOR_MASK 0x00000000000000ffUL 3288c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_DM_SHFT 8 3298c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_DM_MASK 0x0000000000000700UL 3308c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_DESTMODE_SHFT 11 3318c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_DESTMODE_MASK 0x0000000000000800UL 3328c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_STATUS_SHFT 12 3338c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_STATUS_MASK 0x0000000000001000UL 3348c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_P_SHFT 13 3358c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_P_MASK 0x0000000000002000UL 3368c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_T_SHFT 15 3378c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_T_MASK 0x0000000000008000UL 3388c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_M_SHFT 16 3398c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_M_MASK 0x0000000000010000UL 3408c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_APIC_ID_SHFT 32 3418c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT0_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 3428c2ecf20Sopenharmony_ci 3438c2ecf20Sopenharmony_ciunion uvh_gr1_tlb_int0_config_u { 3448c2ecf20Sopenharmony_ci unsigned long v; 3458c2ecf20Sopenharmony_ci struct uvh_gr1_tlb_int0_config_s { 3468c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 3478c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 3488c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 3498c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 3508c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 3518c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 3528c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 3538c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 3548c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 3558c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 3568c2ecf20Sopenharmony_ci } s; 3578c2ecf20Sopenharmony_ci}; 3588c2ecf20Sopenharmony_ci 3598c2ecf20Sopenharmony_ci/* ========================================================================= */ 3608c2ecf20Sopenharmony_ci/* UVH_GR1_TLB_INT1_CONFIG */ 3618c2ecf20Sopenharmony_ci/* ========================================================================= */ 3628c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG 0x61f40UL 3638c2ecf20Sopenharmony_ci 3648c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_VECTOR_SHFT 0 3658c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_VECTOR_MASK 0x00000000000000ffUL 3668c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_DM_SHFT 8 3678c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_DM_MASK 0x0000000000000700UL 3688c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_DESTMODE_SHFT 11 3698c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_DESTMODE_MASK 0x0000000000000800UL 3708c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_STATUS_SHFT 12 3718c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_STATUS_MASK 0x0000000000001000UL 3728c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_P_SHFT 13 3738c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_P_MASK 0x0000000000002000UL 3748c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_T_SHFT 15 3758c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_T_MASK 0x0000000000008000UL 3768c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_M_SHFT 16 3778c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_M_MASK 0x0000000000010000UL 3788c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_APIC_ID_SHFT 32 3798c2ecf20Sopenharmony_ci#define UVH_GR1_TLB_INT1_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 3808c2ecf20Sopenharmony_ci 3818c2ecf20Sopenharmony_ciunion uvh_gr1_tlb_int1_config_u { 3828c2ecf20Sopenharmony_ci unsigned long v; 3838c2ecf20Sopenharmony_ci struct uvh_gr1_tlb_int1_config_s { 3848c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 3858c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 3868c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 3878c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 3888c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 3898c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 3908c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 3918c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 3928c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 3938c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 3948c2ecf20Sopenharmony_ci } s; 3958c2ecf20Sopenharmony_ci}; 3968c2ecf20Sopenharmony_ci 3978c2ecf20Sopenharmony_ci/* ========================================================================= */ 3988c2ecf20Sopenharmony_ci/* UVH_INT_CMPB */ 3998c2ecf20Sopenharmony_ci/* ========================================================================= */ 4008c2ecf20Sopenharmony_ci#define UVH_INT_CMPB 0x22080UL 4018c2ecf20Sopenharmony_ci 4028c2ecf20Sopenharmony_ci#define UVH_INT_CMPB_REAL_TIME_CMPB_SHFT 0 4038c2ecf20Sopenharmony_ci#define UVH_INT_CMPB_REAL_TIME_CMPB_MASK 0x00ffffffffffffffUL 4048c2ecf20Sopenharmony_ci 4058c2ecf20Sopenharmony_ciunion uvh_int_cmpb_u { 4068c2ecf20Sopenharmony_ci unsigned long v; 4078c2ecf20Sopenharmony_ci struct uvh_int_cmpb_s { 4088c2ecf20Sopenharmony_ci unsigned long real_time_cmpb : 56; /* RW */ 4098c2ecf20Sopenharmony_ci unsigned long rsvd_56_63 : 8; /* */ 4108c2ecf20Sopenharmony_ci } s; 4118c2ecf20Sopenharmony_ci}; 4128c2ecf20Sopenharmony_ci 4138c2ecf20Sopenharmony_ci/* ========================================================================= */ 4148c2ecf20Sopenharmony_ci/* UVH_INT_CMPC */ 4158c2ecf20Sopenharmony_ci/* ========================================================================= */ 4168c2ecf20Sopenharmony_ci#define UVH_INT_CMPC 0x22100UL 4178c2ecf20Sopenharmony_ci 4188c2ecf20Sopenharmony_ci#define UVH_INT_CMPC_REAL_TIME_CMPC_SHFT 0 4198c2ecf20Sopenharmony_ci#define UVH_INT_CMPC_REAL_TIME_CMPC_MASK 0x00ffffffffffffffUL 4208c2ecf20Sopenharmony_ci 4218c2ecf20Sopenharmony_ciunion uvh_int_cmpc_u { 4228c2ecf20Sopenharmony_ci unsigned long v; 4238c2ecf20Sopenharmony_ci struct uvh_int_cmpc_s { 4248c2ecf20Sopenharmony_ci unsigned long real_time_cmpc : 56; /* RW */ 4258c2ecf20Sopenharmony_ci unsigned long rsvd_56_63 : 8; /* */ 4268c2ecf20Sopenharmony_ci } s; 4278c2ecf20Sopenharmony_ci}; 4288c2ecf20Sopenharmony_ci 4298c2ecf20Sopenharmony_ci/* ========================================================================= */ 4308c2ecf20Sopenharmony_ci/* UVH_INT_CMPD */ 4318c2ecf20Sopenharmony_ci/* ========================================================================= */ 4328c2ecf20Sopenharmony_ci#define UVH_INT_CMPD 0x22180UL 4338c2ecf20Sopenharmony_ci 4348c2ecf20Sopenharmony_ci#define UVH_INT_CMPD_REAL_TIME_CMPD_SHFT 0 4358c2ecf20Sopenharmony_ci#define UVH_INT_CMPD_REAL_TIME_CMPD_MASK 0x00ffffffffffffffUL 4368c2ecf20Sopenharmony_ci 4378c2ecf20Sopenharmony_ciunion uvh_int_cmpd_u { 4388c2ecf20Sopenharmony_ci unsigned long v; 4398c2ecf20Sopenharmony_ci struct uvh_int_cmpd_s { 4408c2ecf20Sopenharmony_ci unsigned long real_time_cmpd : 56; /* RW */ 4418c2ecf20Sopenharmony_ci unsigned long rsvd_56_63 : 8; /* */ 4428c2ecf20Sopenharmony_ci } s; 4438c2ecf20Sopenharmony_ci}; 4448c2ecf20Sopenharmony_ci 4458c2ecf20Sopenharmony_ci/* ========================================================================= */ 4468c2ecf20Sopenharmony_ci/* UVH_NODE_ID */ 4478c2ecf20Sopenharmony_ci/* ========================================================================= */ 4488c2ecf20Sopenharmony_ci#define UVH_NODE_ID 0x0UL 4498c2ecf20Sopenharmony_ci 4508c2ecf20Sopenharmony_ci#define UVH_NODE_ID_FORCE1_SHFT 0 4518c2ecf20Sopenharmony_ci#define UVH_NODE_ID_FORCE1_MASK 0x0000000000000001UL 4528c2ecf20Sopenharmony_ci#define UVH_NODE_ID_MANUFACTURER_SHFT 1 4538c2ecf20Sopenharmony_ci#define UVH_NODE_ID_MANUFACTURER_MASK 0x0000000000000ffeUL 4548c2ecf20Sopenharmony_ci#define UVH_NODE_ID_PART_NUMBER_SHFT 12 4558c2ecf20Sopenharmony_ci#define UVH_NODE_ID_PART_NUMBER_MASK 0x000000000ffff000UL 4568c2ecf20Sopenharmony_ci#define UVH_NODE_ID_REVISION_SHFT 28 4578c2ecf20Sopenharmony_ci#define UVH_NODE_ID_REVISION_MASK 0x00000000f0000000UL 4588c2ecf20Sopenharmony_ci#define UVH_NODE_ID_NODE_ID_SHFT 32 4598c2ecf20Sopenharmony_ci#define UVH_NODE_ID_NODE_ID_MASK 0x00007fff00000000UL 4608c2ecf20Sopenharmony_ci#define UVH_NODE_ID_NODES_PER_BIT_SHFT 48 4618c2ecf20Sopenharmony_ci#define UVH_NODE_ID_NODES_PER_BIT_MASK 0x007f000000000000UL 4628c2ecf20Sopenharmony_ci#define UVH_NODE_ID_NI_PORT_SHFT 56 4638c2ecf20Sopenharmony_ci#define UVH_NODE_ID_NI_PORT_MASK 0x0f00000000000000UL 4648c2ecf20Sopenharmony_ci 4658c2ecf20Sopenharmony_ciunion uvh_node_id_u { 4668c2ecf20Sopenharmony_ci unsigned long v; 4678c2ecf20Sopenharmony_ci struct uvh_node_id_s { 4688c2ecf20Sopenharmony_ci unsigned long force1 : 1; /* RO */ 4698c2ecf20Sopenharmony_ci unsigned long manufacturer : 11; /* RO */ 4708c2ecf20Sopenharmony_ci unsigned long part_number : 16; /* RO */ 4718c2ecf20Sopenharmony_ci unsigned long revision : 4; /* RO */ 4728c2ecf20Sopenharmony_ci unsigned long node_id : 15; /* RW */ 4738c2ecf20Sopenharmony_ci unsigned long rsvd_47 : 1; /* */ 4748c2ecf20Sopenharmony_ci unsigned long nodes_per_bit : 7; /* RW */ 4758c2ecf20Sopenharmony_ci unsigned long rsvd_55 : 1; /* */ 4768c2ecf20Sopenharmony_ci unsigned long ni_port : 4; /* RO */ 4778c2ecf20Sopenharmony_ci unsigned long rsvd_60_63 : 4; /* */ 4788c2ecf20Sopenharmony_ci } s; 4798c2ecf20Sopenharmony_ci}; 4808c2ecf20Sopenharmony_ci 4818c2ecf20Sopenharmony_ci/* ========================================================================= */ 4828c2ecf20Sopenharmony_ci/* UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR */ 4838c2ecf20Sopenharmony_ci/* ========================================================================= */ 4848c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR 0x16000d0UL 4858c2ecf20Sopenharmony_ci 4868c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_SHFT 24 4878c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_MASK 0x00003fffff000000UL 4888c2ecf20Sopenharmony_ci 4898c2ecf20Sopenharmony_ciunion uvh_rh_gam_alias210_redirect_config_0_mmr_u { 4908c2ecf20Sopenharmony_ci unsigned long v; 4918c2ecf20Sopenharmony_ci struct uvh_rh_gam_alias210_redirect_config_0_mmr_s { 4928c2ecf20Sopenharmony_ci unsigned long rsvd_0_23 : 24; /* */ 4938c2ecf20Sopenharmony_ci unsigned long dest_base : 22; /* RW */ 4948c2ecf20Sopenharmony_ci unsigned long rsvd_46_63: 18; /* */ 4958c2ecf20Sopenharmony_ci } s; 4968c2ecf20Sopenharmony_ci}; 4978c2ecf20Sopenharmony_ci 4988c2ecf20Sopenharmony_ci/* ========================================================================= */ 4998c2ecf20Sopenharmony_ci/* UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR */ 5008c2ecf20Sopenharmony_ci/* ========================================================================= */ 5018c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR 0x16000e0UL 5028c2ecf20Sopenharmony_ci 5038c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR_DEST_BASE_SHFT 24 5048c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_1_MMR_DEST_BASE_MASK 0x00003fffff000000UL 5058c2ecf20Sopenharmony_ci 5068c2ecf20Sopenharmony_ciunion uvh_rh_gam_alias210_redirect_config_1_mmr_u { 5078c2ecf20Sopenharmony_ci unsigned long v; 5088c2ecf20Sopenharmony_ci struct uvh_rh_gam_alias210_redirect_config_1_mmr_s { 5098c2ecf20Sopenharmony_ci unsigned long rsvd_0_23 : 24; /* */ 5108c2ecf20Sopenharmony_ci unsigned long dest_base : 22; /* RW */ 5118c2ecf20Sopenharmony_ci unsigned long rsvd_46_63: 18; /* */ 5128c2ecf20Sopenharmony_ci } s; 5138c2ecf20Sopenharmony_ci}; 5148c2ecf20Sopenharmony_ci 5158c2ecf20Sopenharmony_ci/* ========================================================================= */ 5168c2ecf20Sopenharmony_ci/* UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR */ 5178c2ecf20Sopenharmony_ci/* ========================================================================= */ 5188c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR 0x16000f0UL 5198c2ecf20Sopenharmony_ci 5208c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR_DEST_BASE_SHFT 24 5218c2ecf20Sopenharmony_ci#define UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_2_MMR_DEST_BASE_MASK 0x00003fffff000000UL 5228c2ecf20Sopenharmony_ci 5238c2ecf20Sopenharmony_ciunion uvh_rh_gam_alias210_redirect_config_2_mmr_u { 5248c2ecf20Sopenharmony_ci unsigned long v; 5258c2ecf20Sopenharmony_ci struct uvh_rh_gam_alias210_redirect_config_2_mmr_s { 5268c2ecf20Sopenharmony_ci unsigned long rsvd_0_23 : 24; /* */ 5278c2ecf20Sopenharmony_ci unsigned long dest_base : 22; /* RW */ 5288c2ecf20Sopenharmony_ci unsigned long rsvd_46_63: 18; /* */ 5298c2ecf20Sopenharmony_ci } s; 5308c2ecf20Sopenharmony_ci}; 5318c2ecf20Sopenharmony_ci 5328c2ecf20Sopenharmony_ci/* ========================================================================= */ 5338c2ecf20Sopenharmony_ci/* UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR */ 5348c2ecf20Sopenharmony_ci/* ========================================================================= */ 5358c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR 0x1600010UL 5368c2ecf20Sopenharmony_ci 5378c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_SHFT 28 5388c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffff0000000UL 5398c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_GR4_SHFT 48 5408c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_GR4_MASK 0x0001000000000000UL 5418c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_SHFT 52 5428c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_N_GRU_MASK 0x00f0000000000000UL 5438c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63 5448c2ecf20Sopenharmony_ci#define UVH_RH_GAM_GRU_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL 5458c2ecf20Sopenharmony_ci 5468c2ecf20Sopenharmony_ciunion uvh_rh_gam_gru_overlay_config_mmr_u { 5478c2ecf20Sopenharmony_ci unsigned long v; 5488c2ecf20Sopenharmony_ci struct uvh_rh_gam_gru_overlay_config_mmr_s { 5498c2ecf20Sopenharmony_ci unsigned long rsvd_0_27: 28; /* */ 5508c2ecf20Sopenharmony_ci unsigned long base : 18; /* RW */ 5518c2ecf20Sopenharmony_ci unsigned long rsvd_46_47: 2; /* */ 5528c2ecf20Sopenharmony_ci unsigned long gr4 : 1; /* RW */ 5538c2ecf20Sopenharmony_ci unsigned long rsvd_49_51: 3; /* */ 5548c2ecf20Sopenharmony_ci unsigned long n_gru : 4; /* RW */ 5558c2ecf20Sopenharmony_ci unsigned long rsvd_56_62: 7; /* */ 5568c2ecf20Sopenharmony_ci unsigned long enable : 1; /* RW */ 5578c2ecf20Sopenharmony_ci } s; 5588c2ecf20Sopenharmony_ci}; 5598c2ecf20Sopenharmony_ci 5608c2ecf20Sopenharmony_ci/* ========================================================================= */ 5618c2ecf20Sopenharmony_ci/* UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR */ 5628c2ecf20Sopenharmony_ci/* ========================================================================= */ 5638c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR 0x1600028UL 5648c2ecf20Sopenharmony_ci 5658c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_SHFT 26 5668c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_BASE_MASK 0x00003ffffc000000UL 5678c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_DUAL_HUB_SHFT 46 5688c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_DUAL_HUB_MASK 0x0000400000000000UL 5698c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_SHFT 63 5708c2ecf20Sopenharmony_ci#define UVH_RH_GAM_MMR_OVERLAY_CONFIG_MMR_ENABLE_MASK 0x8000000000000000UL 5718c2ecf20Sopenharmony_ci 5728c2ecf20Sopenharmony_ciunion uvh_rh_gam_mmr_overlay_config_mmr_u { 5738c2ecf20Sopenharmony_ci unsigned long v; 5748c2ecf20Sopenharmony_ci struct uvh_rh_gam_mmr_overlay_config_mmr_s { 5758c2ecf20Sopenharmony_ci unsigned long rsvd_0_25: 26; /* */ 5768c2ecf20Sopenharmony_ci unsigned long base : 20; /* RW */ 5778c2ecf20Sopenharmony_ci unsigned long dual_hub : 1; /* RW */ 5788c2ecf20Sopenharmony_ci unsigned long rsvd_47_62: 16; /* */ 5798c2ecf20Sopenharmony_ci unsigned long enable : 1; /* RW */ 5808c2ecf20Sopenharmony_ci } s; 5818c2ecf20Sopenharmony_ci}; 5828c2ecf20Sopenharmony_ci 5838c2ecf20Sopenharmony_ci/* ========================================================================= */ 5848c2ecf20Sopenharmony_ci/* UVH_RTC */ 5858c2ecf20Sopenharmony_ci/* ========================================================================= */ 5868c2ecf20Sopenharmony_ci#define UVH_RTC 0x340000UL 5878c2ecf20Sopenharmony_ci 5888c2ecf20Sopenharmony_ci#define UVH_RTC_REAL_TIME_CLOCK_SHFT 0 5898c2ecf20Sopenharmony_ci#define UVH_RTC_REAL_TIME_CLOCK_MASK 0x00ffffffffffffffUL 5908c2ecf20Sopenharmony_ci 5918c2ecf20Sopenharmony_ciunion uvh_rtc_u { 5928c2ecf20Sopenharmony_ci unsigned long v; 5938c2ecf20Sopenharmony_ci struct uvh_rtc_s { 5948c2ecf20Sopenharmony_ci unsigned long real_time_clock : 56; /* RW */ 5958c2ecf20Sopenharmony_ci unsigned long rsvd_56_63 : 8; /* */ 5968c2ecf20Sopenharmony_ci } s; 5978c2ecf20Sopenharmony_ci}; 5988c2ecf20Sopenharmony_ci 5998c2ecf20Sopenharmony_ci/* ========================================================================= */ 6008c2ecf20Sopenharmony_ci/* UVH_RTC1_INT_CONFIG */ 6018c2ecf20Sopenharmony_ci/* ========================================================================= */ 6028c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG 0x615c0UL 6038c2ecf20Sopenharmony_ci 6048c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_VECTOR_SHFT 0 6058c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_VECTOR_MASK 0x00000000000000ffUL 6068c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_DM_SHFT 8 6078c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_DM_MASK 0x0000000000000700UL 6088c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_DESTMODE_SHFT 11 6098c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_DESTMODE_MASK 0x0000000000000800UL 6108c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_STATUS_SHFT 12 6118c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_STATUS_MASK 0x0000000000001000UL 6128c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_P_SHFT 13 6138c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_P_MASK 0x0000000000002000UL 6148c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_T_SHFT 15 6158c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_T_MASK 0x0000000000008000UL 6168c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_M_SHFT 16 6178c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_M_MASK 0x0000000000010000UL 6188c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_APIC_ID_SHFT 32 6198c2ecf20Sopenharmony_ci#define UVH_RTC1_INT_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 6208c2ecf20Sopenharmony_ci 6218c2ecf20Sopenharmony_ciunion uvh_rtc1_int_config_u { 6228c2ecf20Sopenharmony_ci unsigned long v; 6238c2ecf20Sopenharmony_ci struct uvh_rtc1_int_config_s { 6248c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 6258c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 6268c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 6278c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 6288c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 6298c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 6308c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 6318c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 6328c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 6338c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 6348c2ecf20Sopenharmony_ci } s; 6358c2ecf20Sopenharmony_ci}; 6368c2ecf20Sopenharmony_ci 6378c2ecf20Sopenharmony_ci/* ========================================================================= */ 6388c2ecf20Sopenharmony_ci/* UVH_RTC2_INT_CONFIG */ 6398c2ecf20Sopenharmony_ci/* ========================================================================= */ 6408c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG 0x61600UL 6418c2ecf20Sopenharmony_ci 6428c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_VECTOR_SHFT 0 6438c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_VECTOR_MASK 0x00000000000000ffUL 6448c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_DM_SHFT 8 6458c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_DM_MASK 0x0000000000000700UL 6468c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_DESTMODE_SHFT 11 6478c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_DESTMODE_MASK 0x0000000000000800UL 6488c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_STATUS_SHFT 12 6498c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_STATUS_MASK 0x0000000000001000UL 6508c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_P_SHFT 13 6518c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_P_MASK 0x0000000000002000UL 6528c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_T_SHFT 15 6538c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_T_MASK 0x0000000000008000UL 6548c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_M_SHFT 16 6558c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_M_MASK 0x0000000000010000UL 6568c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_APIC_ID_SHFT 32 6578c2ecf20Sopenharmony_ci#define UVH_RTC2_INT_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 6588c2ecf20Sopenharmony_ci 6598c2ecf20Sopenharmony_ciunion uvh_rtc2_int_config_u { 6608c2ecf20Sopenharmony_ci unsigned long v; 6618c2ecf20Sopenharmony_ci struct uvh_rtc2_int_config_s { 6628c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 6638c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 6648c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 6658c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 6668c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 6678c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 6688c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 6698c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 6708c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 6718c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 6728c2ecf20Sopenharmony_ci } s; 6738c2ecf20Sopenharmony_ci}; 6748c2ecf20Sopenharmony_ci 6758c2ecf20Sopenharmony_ci/* ========================================================================= */ 6768c2ecf20Sopenharmony_ci/* UVH_RTC3_INT_CONFIG */ 6778c2ecf20Sopenharmony_ci/* ========================================================================= */ 6788c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG 0x61640UL 6798c2ecf20Sopenharmony_ci 6808c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_VECTOR_SHFT 0 6818c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_VECTOR_MASK 0x00000000000000ffUL 6828c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_DM_SHFT 8 6838c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_DM_MASK 0x0000000000000700UL 6848c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_DESTMODE_SHFT 11 6858c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_DESTMODE_MASK 0x0000000000000800UL 6868c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_STATUS_SHFT 12 6878c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_STATUS_MASK 0x0000000000001000UL 6888c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_P_SHFT 13 6898c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_P_MASK 0x0000000000002000UL 6908c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_T_SHFT 15 6918c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_T_MASK 0x0000000000008000UL 6928c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_M_SHFT 16 6938c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_M_MASK 0x0000000000010000UL 6948c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_APIC_ID_SHFT 32 6958c2ecf20Sopenharmony_ci#define UVH_RTC3_INT_CONFIG_APIC_ID_MASK 0xffffffff00000000UL 6968c2ecf20Sopenharmony_ci 6978c2ecf20Sopenharmony_ciunion uvh_rtc3_int_config_u { 6988c2ecf20Sopenharmony_ci unsigned long v; 6998c2ecf20Sopenharmony_ci struct uvh_rtc3_int_config_s { 7008c2ecf20Sopenharmony_ci unsigned long vector_ : 8; /* RW */ 7018c2ecf20Sopenharmony_ci unsigned long dm : 3; /* RW */ 7028c2ecf20Sopenharmony_ci unsigned long destmode : 1; /* RW */ 7038c2ecf20Sopenharmony_ci unsigned long status : 1; /* RO */ 7048c2ecf20Sopenharmony_ci unsigned long p : 1; /* RO */ 7058c2ecf20Sopenharmony_ci unsigned long rsvd_14 : 1; /* */ 7068c2ecf20Sopenharmony_ci unsigned long t : 1; /* RO */ 7078c2ecf20Sopenharmony_ci unsigned long m : 1; /* RW */ 7088c2ecf20Sopenharmony_ci unsigned long rsvd_17_31: 15; /* */ 7098c2ecf20Sopenharmony_ci unsigned long apic_id : 32; /* RW */ 7108c2ecf20Sopenharmony_ci } s; 7118c2ecf20Sopenharmony_ci}; 7128c2ecf20Sopenharmony_ci 7138c2ecf20Sopenharmony_ci/* ========================================================================= */ 7148c2ecf20Sopenharmony_ci/* UVH_RTC_INC_RATIO */ 7158c2ecf20Sopenharmony_ci/* ========================================================================= */ 7168c2ecf20Sopenharmony_ci#define UVH_RTC_INC_RATIO 0x350000UL 7178c2ecf20Sopenharmony_ci 7188c2ecf20Sopenharmony_ci#define UVH_RTC_INC_RATIO_FRACTION_SHFT 0 7198c2ecf20Sopenharmony_ci#define UVH_RTC_INC_RATIO_FRACTION_MASK 0x00000000000fffffUL 7208c2ecf20Sopenharmony_ci#define UVH_RTC_INC_RATIO_RATIO_SHFT 20 7218c2ecf20Sopenharmony_ci#define UVH_RTC_INC_RATIO_RATIO_MASK 0x0000000000700000UL 7228c2ecf20Sopenharmony_ci 7238c2ecf20Sopenharmony_ciunion uvh_rtc_inc_ratio_u { 7248c2ecf20Sopenharmony_ci unsigned long v; 7258c2ecf20Sopenharmony_ci struct uvh_rtc_inc_ratio_s { 7268c2ecf20Sopenharmony_ci unsigned long fraction : 20; /* RW */ 7278c2ecf20Sopenharmony_ci unsigned long ratio : 3; /* RW */ 7288c2ecf20Sopenharmony_ci unsigned long rsvd_23_63: 41; /* */ 7298c2ecf20Sopenharmony_ci } s; 7308c2ecf20Sopenharmony_ci}; 7318c2ecf20Sopenharmony_ci 7328c2ecf20Sopenharmony_ci/* ========================================================================= */ 7338c2ecf20Sopenharmony_ci/* UVH_SI_ADDR_MAP_CONFIG */ 7348c2ecf20Sopenharmony_ci/* ========================================================================= */ 7358c2ecf20Sopenharmony_ci#define UVH_SI_ADDR_MAP_CONFIG 0xc80000UL 7368c2ecf20Sopenharmony_ci 7378c2ecf20Sopenharmony_ci#define UVH_SI_ADDR_MAP_CONFIG_M_SKT_SHFT 0 7388c2ecf20Sopenharmony_ci#define UVH_SI_ADDR_MAP_CONFIG_M_SKT_MASK 0x000000000000003fUL 7398c2ecf20Sopenharmony_ci#define UVH_SI_ADDR_MAP_CONFIG_N_SKT_SHFT 8 7408c2ecf20Sopenharmony_ci#define UVH_SI_ADDR_MAP_CONFIG_N_SKT_MASK 0x0000000000000f00UL 7418c2ecf20Sopenharmony_ci 7428c2ecf20Sopenharmony_ciunion uvh_si_addr_map_config_u { 7438c2ecf20Sopenharmony_ci unsigned long v; 7448c2ecf20Sopenharmony_ci struct uvh_si_addr_map_config_s { 7458c2ecf20Sopenharmony_ci unsigned long m_skt : 6; /* RW */ 7468c2ecf20Sopenharmony_ci unsigned long rsvd_6_7: 2; /* */ 7478c2ecf20Sopenharmony_ci unsigned long n_skt : 4; /* RW */ 7488c2ecf20Sopenharmony_ci unsigned long rsvd_12_63: 52; /* */ 7498c2ecf20Sopenharmony_ci } s; 7508c2ecf20Sopenharmony_ci}; 7518c2ecf20Sopenharmony_ci 7528c2ecf20Sopenharmony_ci/* ========================================================================= */ 7538c2ecf20Sopenharmony_ci/* UVH_SI_ALIAS0_OVERLAY_CONFIG */ 7548c2ecf20Sopenharmony_ci/* ========================================================================= */ 7558c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG 0xc80008UL 7568c2ecf20Sopenharmony_ci 7578c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG_BASE_SHFT 24 7588c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG_BASE_MASK 0x00000000ff000000UL 7598c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG_M_ALIAS_SHFT 48 7608c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG_M_ALIAS_MASK 0x001f000000000000UL 7618c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG_ENABLE_SHFT 63 7628c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS0_OVERLAY_CONFIG_ENABLE_MASK 0x8000000000000000UL 7638c2ecf20Sopenharmony_ci 7648c2ecf20Sopenharmony_ciunion uvh_si_alias0_overlay_config_u { 7658c2ecf20Sopenharmony_ci unsigned long v; 7668c2ecf20Sopenharmony_ci struct uvh_si_alias0_overlay_config_s { 7678c2ecf20Sopenharmony_ci unsigned long rsvd_0_23: 24; /* */ 7688c2ecf20Sopenharmony_ci unsigned long base : 8; /* RW */ 7698c2ecf20Sopenharmony_ci unsigned long rsvd_32_47: 16; /* */ 7708c2ecf20Sopenharmony_ci unsigned long m_alias : 5; /* RW */ 7718c2ecf20Sopenharmony_ci unsigned long rsvd_53_62: 10; /* */ 7728c2ecf20Sopenharmony_ci unsigned long enable : 1; /* RW */ 7738c2ecf20Sopenharmony_ci } s; 7748c2ecf20Sopenharmony_ci}; 7758c2ecf20Sopenharmony_ci 7768c2ecf20Sopenharmony_ci/* ========================================================================= */ 7778c2ecf20Sopenharmony_ci/* UVH_SI_ALIAS1_OVERLAY_CONFIG */ 7788c2ecf20Sopenharmony_ci/* ========================================================================= */ 7798c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG 0xc80010UL 7808c2ecf20Sopenharmony_ci 7818c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG_BASE_SHFT 24 7828c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG_BASE_MASK 0x00000000ff000000UL 7838c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG_M_ALIAS_SHFT 48 7848c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG_M_ALIAS_MASK 0x001f000000000000UL 7858c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG_ENABLE_SHFT 63 7868c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS1_OVERLAY_CONFIG_ENABLE_MASK 0x8000000000000000UL 7878c2ecf20Sopenharmony_ci 7888c2ecf20Sopenharmony_ciunion uvh_si_alias1_overlay_config_u { 7898c2ecf20Sopenharmony_ci unsigned long v; 7908c2ecf20Sopenharmony_ci struct uvh_si_alias1_overlay_config_s { 7918c2ecf20Sopenharmony_ci unsigned long rsvd_0_23: 24; /* */ 7928c2ecf20Sopenharmony_ci unsigned long base : 8; /* RW */ 7938c2ecf20Sopenharmony_ci unsigned long rsvd_32_47: 16; /* */ 7948c2ecf20Sopenharmony_ci unsigned long m_alias : 5; /* RW */ 7958c2ecf20Sopenharmony_ci unsigned long rsvd_53_62: 10; /* */ 7968c2ecf20Sopenharmony_ci unsigned long enable : 1; /* RW */ 7978c2ecf20Sopenharmony_ci } s; 7988c2ecf20Sopenharmony_ci}; 7998c2ecf20Sopenharmony_ci 8008c2ecf20Sopenharmony_ci/* ========================================================================= */ 8018c2ecf20Sopenharmony_ci/* UVH_SI_ALIAS2_OVERLAY_CONFIG */ 8028c2ecf20Sopenharmony_ci/* ========================================================================= */ 8038c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG 0xc80018UL 8048c2ecf20Sopenharmony_ci 8058c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG_BASE_SHFT 24 8068c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG_BASE_MASK 0x00000000ff000000UL 8078c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG_M_ALIAS_SHFT 48 8088c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG_M_ALIAS_MASK 0x001f000000000000UL 8098c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG_ENABLE_SHFT 63 8108c2ecf20Sopenharmony_ci#define UVH_SI_ALIAS2_OVERLAY_CONFIG_ENABLE_MASK 0x8000000000000000UL 8118c2ecf20Sopenharmony_ci 8128c2ecf20Sopenharmony_ciunion uvh_si_alias2_overlay_config_u { 8138c2ecf20Sopenharmony_ci unsigned long v; 8148c2ecf20Sopenharmony_ci struct uvh_si_alias2_overlay_config_s { 8158c2ecf20Sopenharmony_ci unsigned long rsvd_0_23: 24; /* */ 8168c2ecf20Sopenharmony_ci unsigned long base : 8; /* RW */ 8178c2ecf20Sopenharmony_ci unsigned long rsvd_32_47: 16; /* */ 8188c2ecf20Sopenharmony_ci unsigned long m_alias : 5; /* RW */ 8198c2ecf20Sopenharmony_ci unsigned long rsvd_53_62: 10; /* */ 8208c2ecf20Sopenharmony_ci unsigned long enable : 1; /* RW */ 8218c2ecf20Sopenharmony_ci } s; 8228c2ecf20Sopenharmony_ci}; 8238c2ecf20Sopenharmony_ci 8248c2ecf20Sopenharmony_ci 8258c2ecf20Sopenharmony_ci#endif /* _ASM_IA64_UV_UV_MMRS_H */ 826