Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformPcieHelperLib/
DPlatformPcieHelperLib.c28 UINT32 RegValue; in LegacyGpioSetLevel() local
35 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in LegacyGpioSetLevel()
38 RegValue |= (GpioNumMask); in LegacyGpioSetLevel()
40 RegValue &= ~(GpioNumMask); in LegacyGpioSetLevel()
42 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_RGLVL_RESUME_WELL, RegValue); in LegacyGpioSetLevel()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/
DQNCAccessLib.c303 UINT32 RegValue; in QncIClkAndThenOr() local
309 RegValue = QNCAltPortRead (QUARK_ICLK_SB_PORT_ID, RegAddress); in QncIClkAndThenOr()
310 RegValue &= AndValue; in QncIClkAndThenOr()
311 RegValue |= OrValue; in QncIClkAndThenOr()
312 QNCAltPortWrite (QUARK_ICLK_SB_PORT_ID, RegAddress, RegValue); in QncIClkAndThenOr()
313 QNCAltPortWrite (QUARK_ICLK_SB_PORT_ID, RegAddress, RegValue); in QncIClkAndThenOr()
323 UINT32 RegValue; in QncIClkOr() local
329 RegValue = QNCAltPortRead (QUARK_ICLK_SB_PORT_ID, RegAddress); in QncIClkOr()
330 RegValue |= OrValue; in QncIClkOr()
331 QNCAltPortWrite (QUARK_ICLK_SB_PORT_ID, RegAddress, RegValue); in QncIClkOr()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperLib.c222 UINT32 RegValue; in PlatformLegacyGpioSetLevel() local
229 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in PlatformLegacyGpioSetLevel()
232 RegValue |= (GpioNumMask); in PlatformLegacyGpioSetLevel()
234 RegValue &= ~(GpioNumMask); in PlatformLegacyGpioSetLevel()
236 IoWrite32 (GpioBaseAddress + LevelRegOffset, RegValue); in PlatformLegacyGpioSetLevel()
256 UINT32 RegValue; in PlatformLegacyGpioGetLevel() local
261 RegValue = IoRead32 (GpioBaseAddress + LevelRegOffset); in PlatformLegacyGpioGetLevel()
263 return ((RegValue & GpioNumMask) != 0); in PlatformLegacyGpioGetLevel()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/
DIntelQNCLib.c29 UINT32 RegValue; in PeiQNCPreMemInit() local
62 RegValue = QNCPortRead (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_BTHCTRL); in PeiQNCPreMemInit()
63 RegValue &= ~(DRAM_NON_HOST_RQ_LIMIT_MASK); in PeiQNCPreMemInit()
64 RegValue |= (V_DRAM_NON_HOST_RQ_LIMIT << DRAM_NON_HOST_RQ_LIMIT_BP); in PeiQNCPreMemInit()
65 QNCPortWrite (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_BTHCTRL, RegValue); in PeiQNCPreMemInit()
96 RegValue = QNCPortRead (QUARK_NC_RMU_SB_PORT_ID, QUARK_NC_RMU_REG_OPTIONS_1); in PeiQNCPreMemInit()
97 RegValue |= OPTIONS_1_DMA_DISABLE; in PeiQNCPreMemInit()
98 QNCPortWrite (QUARK_NC_RMU_SB_PORT_ID, QUARK_NC_RMU_REG_OPTIONS_1, RegValue); in PeiQNCPreMemInit()
728 UINT32 RegValue; in QNCThermalSensorLockAllRegisters() local
733 RegValue = QNCPortRead (QUARK_NC_RMU_SB_PORT_ID, QUARK_NC_RMU_REG_CONFIG); in QNCThermalSensorLockAllRegisters()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DPlatformEarlyInit.c737 UINT32 RegValue; in CheckForResetDueToErrors() local
746 RegValue = QNCAltPortRead (QUARK_SCSS_SOC_UNIT_SB_PORT_ID, QUARK_SCSS_SOC_UNIT_CFG_STICKY_RW); in CheckForResetDueToErrors()
747 if ((RegValue & B_CFG_STICKY_RW_VIOLATION) != 0) { in CheckForResetDueToErrors()
753 ((RegValue & B_CFG_STICKY_RW_IMR_VIOLATION) != 0) ? L"'IMR'" : L".", in CheckForResetDueToErrors()
754 ((RegValue & B_CFG_STICKY_RW_DECC_VIOLATION) != 0) ? L"'DECC'" : L".", in CheckForResetDueToErrors()
755 ((RegValue & B_CFG_STICKY_RW_SMM_VIOLATION) != 0) ? L"'SMM'" : L".", in CheckForResetDueToErrors()
756 ((RegValue & B_CFG_STICKY_RW_HMB_VIOLATION) != 0) ? L"'HMB'" : L"." in CheckForResetDueToErrors()
763 RegValue &= ~(B_CFG_STICKY_RW_VIOLATION); in CheckForResetDueToErrors()
764 QNCAltPortWrite (QUARK_SCSS_SOC_UNIT_SB_PORT_ID, QUARK_SCSS_SOC_UNIT_CFG_STICKY_RW, RegValue); in CheckForResetDueToErrors()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtLedStatusCode/
DRtLedStatusCode.h38 UINT8 RegValue; member
DRtLedStatusCode.c185 OutputData = (UINT8) mSioInitData[Index].RegValue; in RtLedInitializeStatusCode()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/
DCpuDxe.c638 UINT64 RegValue; in RefreshGcdMemoryAttributes() local
761 RegValue = MtrrFixedSettings.Mtrr[Index]; in RefreshGcdMemoryAttributes()
766 MtrrType = (UINT8) RShiftU64 (RegValue, SubIndex * 8); in RefreshGcdMemoryAttributes()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DPci.c5773 UINTN RegValue; in PciExplainPciExpress() local
5796 RegValue = *(UINT8 *) RegAddr; in PciExplainPciExpress()
5799 RegValue = *(UINT16 *) RegAddr; in PciExplainPciExpress()
5802 RegValue = *(UINT32 *) RegAddr; in PciExplainPciExpress()
5805 RegValue = 0; in PciExplainPciExpress()
5812 RegValue in PciExplainPciExpress()
/device/linaro/bootloader/edk2/EdkShellPkg/
DShellR33.patch6798 RegValue