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.c908 UINT32 GpioBaseAddress; in EarlyPlatformLegacyGpioInit() local
916 GpioBaseAddress = (UINT32)PcdGet16 (PcdGbaIoBaseAddress); in EarlyPlatformLegacyGpioInit()
922 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGEN_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConfi… in EarlyPlatformLegacyGpioInit()
923 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGEN_CORE_WELL, NewValue ); in EarlyPlatformLegacyGpioInit()
924 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGIO_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConfi… in EarlyPlatformLegacyGpioInit()
925 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGIO_CORE_WELL, NewValue); in EarlyPlatformLegacyGpioInit()
926 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGLVL_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConf… in EarlyPlatformLegacyGpioInit()
927 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGLVL_CORE_WELL, NewValue); in EarlyPlatformLegacyGpioInit()
928 …NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGTPE_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConf… in EarlyPlatformLegacyGpioInit()
929 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.c196 UINT32 GpioBaseAddress; in PlatformLegacyGpioSetLevel() local
199 GpioBaseAddress = LpcPciCfg32 (R_QNC_LPC_GBA_BASE) & B_QNC_LPC_GPA_BASE_MASK; in PlatformLegacyGpioSetLevel()
200 ASSERT (GpioBaseAddress > 0); in PlatformLegacyGpioSetLevel()
202 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in PlatformLegacyGpioSetLevel()
209 IoWrite32 (GpioBaseAddress + LevelRegOffset, RegValue); in PlatformLegacyGpioSetLevel()
230 UINT32 GpioBaseAddress; in PlatformLegacyGpioGetLevel() local
233 GpioBaseAddress = LpcPciCfg32 (R_QNC_LPC_GBA_BASE) & B_QNC_LPC_GPA_BASE_MASK; in PlatformLegacyGpioGetLevel()
234 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in PlatformLegacyGpioGetLevel()