Home
last modified time | relevance | path

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

/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/WhiskeylakeOpenBoardPkg/WhiskeylakeURvp/Library/BoardAcpiLib/
H A DSmmSiliconAcpiEnableLib.c65 UINT16 AcpiBaseAddr; in SiliconEnableAcpi() local
78 AcpiBaseAddr = PmcGetAcpiBase(); in SiliconEnableAcpi()
96 SmiEn = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN); in SiliconEnableAcpi()
98 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN, SmiEn); in SiliconEnableAcpi()
100 SmiSts = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS); in SiliconEnableAcpi()
102 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS, SmiSts); in SiliconEnableAcpi()
118 IoWrite16 (AcpiBaseAddr + R_ACPI_IO_PM1_STS, 0xFEFF); in SiliconEnableAcpi()
129 OutputValue = IoRead32 (AcpiBaseAddr + 0x38); in SiliconEnableAcpi()
131 IoWrite32 (AcpiBaseAddr + 0x38, OutputValue); in SiliconEnableAcpi()
152 UINT16 AcpiBaseAddr; in SiliconDisableAcpi() local
[all …]
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/CometlakeOpenBoardPkg/CometlakeURvp/Library/BoardAcpiLib/
H A DSmmSiliconAcpiEnableLib.c65 UINT16 AcpiBaseAddr; in SiliconEnableAcpi() local
78 AcpiBaseAddr = PmcGetAcpiBase(); in SiliconEnableAcpi()
96 SmiEn = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN); in SiliconEnableAcpi()
98 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN, SmiEn); in SiliconEnableAcpi()
100 SmiSts = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS); in SiliconEnableAcpi()
102 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS, SmiSts); in SiliconEnableAcpi()
118 IoWrite16 (AcpiBaseAddr + R_ACPI_IO_PM1_STS, 0xFEFF); in SiliconEnableAcpi()
129 OutputValue = IoRead32 (AcpiBaseAddr + 0x38); in SiliconEnableAcpi()
131 IoWrite32 (AcpiBaseAddr + 0x38, OutputValue); in SiliconEnableAcpi()
152 UINT16 AcpiBaseAddr; in SiliconDisableAcpi() local
[all …]
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/KabylakeOpenBoardPkg/GalagoPro3/Library/BoardAcpiLib/
H A DSmmSiliconAcpiEnableLib.c63 UINT16 AcpiBaseAddr; in SiliconEnableAcpi() local
75 PchAcpiBaseGet (&AcpiBaseAddr); in SiliconEnableAcpi()
94 SmiEn = IoRead32 (AcpiBaseAddr + R_PCH_SMI_EN); in SiliconEnableAcpi()
96 IoWrite32 (AcpiBaseAddr + R_PCH_SMI_EN, SmiEn); in SiliconEnableAcpi()
98 SmiSts = IoRead32 (AcpiBaseAddr + R_PCH_SMI_STS); in SiliconEnableAcpi()
100 IoWrite32 (AcpiBaseAddr + R_PCH_SMI_STS, SmiSts); in SiliconEnableAcpi()
116 IoWrite16 (AcpiBaseAddr + R_PCH_ACPI_PM1_STS, 0xFEFF); in SiliconEnableAcpi()
127 OutputValue = IoRead32 (AcpiBaseAddr + 0x38); in SiliconEnableAcpi()
129 IoWrite32 (AcpiBaseAddr + 0x38, OutputValue); in SiliconEnableAcpi()
150 UINT16 AcpiBaseAddr; in SiliconDisableAcpi() local
[all …]
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/KabylakeOpenBoardPkg/KabylakeRvp3/Library/BoardAcpiLib/
H A DSmmSiliconAcpiEnableLib.c63 UINT16 AcpiBaseAddr; in SiliconEnableAcpi() local
75 PchAcpiBaseGet (&AcpiBaseAddr); in SiliconEnableAcpi()
94 SmiEn = IoRead32 (AcpiBaseAddr + R_PCH_SMI_EN); in SiliconEnableAcpi()
96 IoWrite32 (AcpiBaseAddr + R_PCH_SMI_EN, SmiEn); in SiliconEnableAcpi()
98 SmiSts = IoRead32 (AcpiBaseAddr + R_PCH_SMI_STS); in SiliconEnableAcpi()
100 IoWrite32 (AcpiBaseAddr + R_PCH_SMI_STS, SmiSts); in SiliconEnableAcpi()
116 IoWrite16 (AcpiBaseAddr + R_PCH_ACPI_PM1_STS, 0xFEFF); in SiliconEnableAcpi()
127 OutputValue = IoRead32 (AcpiBaseAddr + 0x38); in SiliconEnableAcpi()
129 IoWrite32 (AcpiBaseAddr + 0x38, OutputValue); in SiliconEnableAcpi()
150 UINT16 AcpiBaseAddr; in SiliconDisableAcpi() local
[all …]
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/WhiskeylakeOpenBoardPkg/UpXtreme/Library/BoardAcpiLib/
H A DSmmSiliconAcpiEnableLib.c65 UINT16 AcpiBaseAddr; in SiliconEnableAcpi() local
78 AcpiBaseAddr = PmcGetAcpiBase(); in SiliconEnableAcpi()
96 SmiEn = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN); in SiliconEnableAcpi()
98 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN, SmiEn); in SiliconEnableAcpi()
100 SmiSts = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS); in SiliconEnableAcpi()
102 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS, SmiSts); in SiliconEnableAcpi()
118 IoWrite16 (AcpiBaseAddr + R_ACPI_IO_PM1_STS, 0xFEFF); in SiliconEnableAcpi()
129 OutputValue = IoRead32 (AcpiBaseAddr + 0x38); in SiliconEnableAcpi()
131 IoWrite32 (AcpiBaseAddr + 0x38, OutputValue); in SiliconEnableAcpi()
152 UINT16 AcpiBaseAddr; in SiliconDisableAcpi() local
[all …]
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/TigerlakeOpenBoardPkg/TigerlakeURvp/Library/BoardAcpiLib/
H A DSmmSiliconAcpiEnableLib.c52 UINT16 AcpiBaseAddr;
60 AcpiBaseAddr = PmcGetAcpiBase(); in hasFP64FP16Denormals()
70 SmiEn = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN);
72 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_EN, SmiEn);
74 SmiSts = IoRead32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS);
76 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_SMI_STS, SmiSts);
92 IoWrite16 (AcpiBaseAddr + R_ACPI_IO_PM1_STS, 0xFEFF);
104 Pm1Cnt = IoRead32 (AcpiBaseAddr + R_ACPI_IO_PM1_CNT);
106 IoWrite32 (AcpiBaseAddr + R_ACPI_IO_PM1_CNT, Pm1Cnt);
119 UINT16 AcpiBaseAddr;
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/Vlv2TbltDevicePkg/Library/StallSmmLib/
H A DStallSmm.c63 UINT16 AcpiBaseAddr; in SmmStall()
69 AcpiBaseAddr = PchLpcPciCfg16 (R_PCH_LPC_ACPI_BASE) & B_PCH_LPC_ACPI_BASE_BAR; in SmmStall()
71 OriginalTick = IoRead32 (AcpiBaseAddr + R_PCH_ACPI_PM1_TMR); in SmmStall()
94 CurrentTick = IoRead32 (AcpiBaseAddr + R_PCH_ACPI_PM1_TMR); in SmmStall()
/dports/sysutils/edk2/edk2-platforms-89f6170d/Platform/Intel/Vlv2TbltDevicePkg/Library/StallSmmLib/
H A DStallSmm.c51 UINT16 AcpiBaseAddr; in SmmStall()
57 AcpiBaseAddr = PchLpcPciCfg16 (R_PCH_LPC_ACPI_BASE) & B_PCH_LPC_ACPI_BASE_BAR; in SmmStall()
59 OriginalTick = IoRead32 (AcpiBaseAddr + R_PCH_ACPI_PM1_TMR); in SmmStall()
82 CurrentTick = IoRead32 (AcpiBaseAddr + R_PCH_ACPI_PM1_TMR); in SmmStall()
/dports/sysutils/edk2/edk2-platforms-89f6170d/Silicon/Intel/KabylakeSiliconPkg/Pch/LibraryPrivate/PeiDxeSmmGpioPrivateLib/
H A DGpioPrivateLib.c201 UINT16 AcpiBaseAddr;
203 PchAcpiBaseGet (&AcpiBaseAddr);
210 IoWrite32 (AcpiBaseAddr + R_PCH_SMI_STS, B_PCH_SMI_STS_GPIO_UNLOCK);
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/Vlv2TbltDevicePkg/Library/I2CLibDxe/
H A DI2CLib.c92 UINTN AcpiBaseAddr; in GetI2cBarAddr() local
114AcpiBaseAddr = *(UINTN*)((CHAR8*)GlobalNvsArea->Area + mI2cNvsBaseAddress[I2cControllerIndex + 1]… in GetI2cBarAddr()
119 if(AcpiBaseAddr==0) { in GetI2cBarAddr()
141 AcpiBaseAddr =mLpssPciDeviceList[I2cControllerIndex+1].Bar0; in GetI2cBarAddr()
151 …arAddr() I2cControllerIndex+1 0x%x AcpiBaseAddr:0x%x \n", (I2cControllerIndex + 1), AcpiBaseAddr)); in GetI2cBarAddr()
152 return AcpiBaseAddr; in GetI2cBarAddr()