Home
last modified time | relevance | path

Searched refs:ACPI_BASE_ADDRESS (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DPchInitPeim.c117 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in CheckPowerOffNow()
119 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS, B_PCH_ACPI_PM1_STS_PWRBTN); in CheckPowerOffNow()
120 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, V_PCH_ACPI_PM1_CNT_S5); in CheckPowerOffNow()
121 …IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, V_PCH_ACPI_PM1_CNT_S5 + B_PCH_ACPI_PM1_CNT_SLP_… in CheckPowerOffNow()
159 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_EN, (UINT16) 0x00);
160 IoWrite32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_GPE0a_EN, (UINT32) 0x00);
165 Data16 = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_TCO_CNT);
167 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_TCO_CNT, Data16);
181 Data32 = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_TCO_STS);
210 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in ClearSmiAndWake()
[all …]
DStall.c68 OriginalTick = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_TMR); in Stall()
92 CurrentTick = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_TMR) & B_PCH_ACPI_PM1_TMR_VAL; in Stall()
101 CurrentTick = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_TMR) & B_PCH_ACPI_PM1_TMR_VAL; in Stall()
DBootMode.c179 Data32 = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_TCO_STS);
359 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in GetSleepTypeAfterWakeup()
360 Pm1Cnt = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT); in GetSleepTypeAfterWakeup()
372 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, Pm1Cnt); in GetSleepTypeAfterWakeup()
377 IoWrite16 ((ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS), B_PCH_ACPI_PM1_STS_WAK); in GetSleepTypeAfterWakeup()
DMemoryCallback.c170 Pm1Cnt = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT); in MemoryDiscoveredPpiNotifyCallback()
172 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, Pm1Cnt); in MemoryDiscoveredPpiNotifyCallback()
DPlatformEarlyInit.c152 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in GetWakeupEventAndSaveToHob()
153 Gpe0Sts = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_GPE0a_STS); in GetWakeupEventAndSaveToHob()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
DStall.c67 OriginalTick = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_TMR); in Stall()
91 CurrentTick = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_TMR) & B_PCH_ACPI_PM1_TMR_VAL; in Stall()
100 CurrentTick = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_TMR) & B_PCH_ACPI_PM1_TMR_VAL; in Stall()
DBootMode.c287 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in GetSleepTypeAfterWakeup()
288 Pm1Cnt = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT); in GetSleepTypeAfterWakeup()
300 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, Pm1Cnt); in GetSleepTypeAfterWakeup()
DPlatform.c558 (UINT16)((ACPI_BASE_ADDRESS & B_PCH_LPC_ACPI_BASE_BAR) | B_PCH_LPC_ACPI_BASE_EN)
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/
DPlatformBaseAddresses.h55 #define ACPI_BASE_ADDRESS 0x0400 macro
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DPlatform.c721 RegData32 = IoRead32(ACPI_BASE_ADDRESS + R_PCH_ALT_GP_SMI_EN); in EnableAcpiCallback()
723 IoWrite32((ACPI_BASE_ADDRESS + R_PCH_ALT_GP_SMI_EN), RegData32); in EnableAcpiCallback()