Home
last modified time | relevance | path

Searched refs:GpioBaseAddress (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DPlatformEarlyInit.c849 UINT32 GpioBaseAddress; in EarlyPlatformLegacyGpioInit() local
857 GpioBaseAddress = (UINT32)PcdGet16 (PcdGbaIoBaseAddress); in EarlyPlatformLegacyGpioInit()
863 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGEN_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConfi… in EarlyPlatformLegacyGpioInit()
864 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGEN_CORE_WELL, NewValue ); in EarlyPlatformLegacyGpioInit()
865 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGIO_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConfi… in EarlyPlatformLegacyGpioInit()
866 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGIO_CORE_WELL, NewValue); in EarlyPlatformLegacyGpioInit()
867 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGLVL_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConf… in EarlyPlatformLegacyGpioInit()
868 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGLVL_CORE_WELL, NewValue); in EarlyPlatformLegacyGpioInit()
869 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGTPE_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConf… in EarlyPlatformLegacyGpioInit()
870 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGTPE_CORE_WELL, NewValue ); in EarlyPlatformLegacyGpioInit()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformPcieHelperLib/
DPlatformPcieHelperLib.c29 UINT32 GpioBaseAddress; in LegacyGpioSetLevel() local
32 GpioBaseAddress = LpcPciCfg32 (R_QNC_LPC_GBA_BASE) & B_QNC_LPC_GPA_BASE_MASK; in LegacyGpioSetLevel()
33 ASSERT (GpioBaseAddress > 0); in LegacyGpioSetLevel()
35 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in LegacyGpioSetLevel()
42 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_RGLVL_RESUME_WELL, RegValue); in LegacyGpioSetLevel()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperLib.c223 UINT32 GpioBaseAddress; in PlatformLegacyGpioSetLevel() local
226 GpioBaseAddress = LpcPciCfg32 (R_QNC_LPC_GBA_BASE) & B_QNC_LPC_GPA_BASE_MASK; in PlatformLegacyGpioSetLevel()
227 ASSERT (GpioBaseAddress > 0); in PlatformLegacyGpioSetLevel()
229 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in PlatformLegacyGpioSetLevel()
236 IoWrite32 (GpioBaseAddress + LevelRegOffset, RegValue); in PlatformLegacyGpioSetLevel()
257 UINT32 GpioBaseAddress; in PlatformLegacyGpioGetLevel() local
260 GpioBaseAddress = LpcPciCfg32 (R_QNC_LPC_GBA_BASE) & B_QNC_LPC_GPA_BASE_MASK; in PlatformLegacyGpioGetLevel()
261 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in PlatformLegacyGpioGetLevel()