Home
last modified time | relevance | path

Searched refs:PchRootComplexBar (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Spi/Common/
DSpiCommon.c131 SpiInstance->PchRootComplexBar = MmioRead32 ( in SpiProtocolConstructor()
136 ASSERT (SpiInstance->PchRootComplexBar != 0); in SpiProtocolConstructor()
168 UINTN PchRootComplexBar; in UnlockFlashComponents() local
175 PchRootComplexBar = SpiInstance->PchRootComplexBar; in UnlockFlashComponents()
234 UINTN PchRootComplexBar; in SpiProtocolInit() local
241 PchRootComplexBar = SpiInstance->PchRootComplexBar; in SpiProtocolInit()
258 if ((MmioRead16 (PchRootComplexBar + R_QNC_RCRB_SPIS) & B_QNC_RCRB_SPIS_SCL) != 0) { in SpiProtocolInit()
266 (UINTN) (PchRootComplexBar + R_QNC_RCRB_SPIS), in SpiProtocolInit()
269 MmioRead16 (PchRootComplexBar + R_QNC_RCRB_SPIS); in SpiProtocolInit()
275 PchRootComplexBar + R_QNC_RCRB_SPIPREOP, in SpiProtocolInit()
[all …]
DSpiCommon.h70 UINTN PchRootComplexBar; member
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperLib.c36 IN CONST UINT32 PchRootComplexBar, in WriteFirstFreeSpiProtect() argument
47 ASSERT (PchRootComplexBar > 0); in WriteFirstFreeSpiProtect()
53 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR0) == 0) { in WriteFirstFreeSpiProtect()
56 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR1) == 0) { in WriteFirstFreeSpiProtect()
59 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR2) == 0) { in WriteFirstFreeSpiProtect()
77 MmioWrite32 (PchRootComplexBar + Offset, RegVal); in WriteFirstFreeSpiProtect()
78 if (RegVal == MmioRead32 (PchRootComplexBar + Offset)) { in WriteFirstFreeSpiProtect()
133 UINT32 PchRootComplexBar; in PlatformClearSpiProtect() local
135 PchRootComplexBar = QNC_RCRB_BASE; in PlatformClearSpiProtect()
139 if ((MmioRead16 (PchRootComplexBar + R_QNC_RCRB_SPIS) & B_QNC_RCRB_SPIS_SCL) != 0) { in PlatformClearSpiProtect()
[all …]
DPlatformHelperDxe.c132 UINT32 PchRootComplexBar; in PlatformWriteFirstFreeSpiProtect() local
135 PchRootComplexBar = QNC_RCRB_BASE; in PlatformWriteFirstFreeSpiProtect()
138 PchRootComplexBar, in PlatformWriteFirstFreeSpiProtect()
148 (UINTN) (PchRootComplexBar + FreeOffset), in PlatformWriteFirstFreeSpiProtect()
150 (VOID *) (UINTN) (PchRootComplexBar + FreeOffset) in PlatformWriteFirstFreeSpiProtect()
DCommonHeader.h42 IN CONST UINT32 PchRootComplexBar,
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Spi/RuntimeDxe/
DPchSpi.c55 gRT->ConvertPointer (EFI_INTERNAL_POINTER, (VOID *) &(mSpiInstance->PchRootComplexBar)); in PchSpiVirtualddressChangeEvent()
130 BaseAddress = (EFI_PHYSICAL_ADDRESS) (mSpiInstance->PchRootComplexBar); in InstallPchSpi()
206 (UINTN) (mSpiInstance->PchRootComplexBar + mSpiRegister[Index]), in SpiPhaseInit()
208 (VOID *) (UINTN) (mSpiInstance->PchRootComplexBar + mSpiRegister[Index]) in SpiPhaseInit()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Spi/Smm/
DPchSpi.c124 (UINTN) (mSpiInstance->PchRootComplexBar + mSpiRegister[Index]), in SpiPhaseInit()
126 (VOID *) (UINTN) (mSpiInstance->PchRootComplexBar + mSpiRegister[Index]) in SpiPhaseInit()