Home
last modified time | relevance | path

Searched refs:NewValue (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformPcieHelperLib/
DSocUnit.c29 UINT32 NewValue; in SocUnitEarlyInitialisation() local
34 NewValue = QNCPortIORead (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L0); in SocUnitEarlyInitialisation()
35 NewValue &= OCFGPIMIXLOAD_1_0_MASK; in SocUnitEarlyInitialisation()
36 QNCPortIOWrite (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L0, NewValue); in SocUnitEarlyInitialisation()
38 NewValue = QNCPortIORead (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L1); in SocUnitEarlyInitialisation()
39 NewValue &= OCFGPIMIXLOAD_1_0_MASK; in SocUnitEarlyInitialisation()
40 QNCPortIOWrite (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L1, NewValue); in SocUnitEarlyInitialisation()
56 UINT32 NewValue; in SocUnitReleasePcieControllerPreWaitPllLock() local
67 NewValue = QNCAltPortRead (QUARK_SCSS_SOC_UNIT_SB_PORT_ID, QUARK_SCSS_SOC_UNIT_SOCCLKEN_CONFIG); in SocUnitReleasePcieControllerPreWaitPllLock()
68 NewValue |= SOCCLKEN_CONFIG_PHY_I_CMNRESET_L; in SocUnitReleasePcieControllerPreWaitPllLock()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Dxe/PlatformInit/
DPlatformConfig.c234 UINT32 NewValue; in PlatformConfigOnSmmConfigurationProtocol() local
253NewValue = QNCPortRead (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_ESRAMPGCTRL_BL… in PlatformConfigOnSmmConfigurationProtocol()
254 NewValue |= BLOCK_DISABLE_PG; in PlatformConfigOnSmmConfigurationProtocol()
255 …ortWrite (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_ESRAMPGCTRL_BLOCK, NewValue); in PlatformConfigOnSmmConfigurationProtocol()
262 NewValue = (UINT32)(BaseAddress + SmramLength); in PlatformConfigOnSmmConfigurationProtocol()
263 DEBUG ((EFI_D_INFO,"Locking HMBOUND at: = 0x%8x\n",NewValue)); in PlatformConfigOnSmmConfigurationProtocol()
264 …QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QUARK_NC_HOST_BRIDGE_HMBOUND_REG, (NewValue | HMBOU… in PlatformConfigOnSmmConfigurationProtocol()
269NewValue = QNCPortRead (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_IMR5+QUARK_NC_… in PlatformConfigOnSmmConfigurationProtocol()
270 NewValue |= IMR_LOCK; in PlatformConfigOnSmmConfigurationProtocol()
271 …C_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_IMR5+QUARK_NC_MEMORY_MANAGER_IMRXL, NewValue); in PlatformConfigOnSmmConfigurationProtocol()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DPlatformEarlyInit.c848 UINT32 NewValue; in EarlyPlatformLegacyGpioInit() local
859 NewValue = 0x0; in EarlyPlatformLegacyGpioInit()
863NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGEN_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConfi… in EarlyPlatformLegacyGpioInit()
864 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGEN_CORE_WELL, NewValue ); in EarlyPlatformLegacyGpioInit()
865NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGIO_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConfi… in EarlyPlatformLegacyGpioInit()
866 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGIO_CORE_WELL, NewValue); in EarlyPlatformLegacyGpioInit()
867NewValue = (IoRead32 (GpioBaseAddress + R_QNC_GPIO_CGLVL_CORE_WELL) & 0xFFFFFFFC) | LegacyGpioConf… in EarlyPlatformLegacyGpioInit()
868 IoWrite32 (GpioBaseAddress + R_QNC_GPIO_CGLVL_CORE_WELL, NewValue); in EarlyPlatformLegacyGpioInit()
869NewValue = (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/MdeModulePkg/Core/RuntimeDxe/
DCrc32.c78 UINT32 NewValue; in ReverseBits() local
80 NewValue = 0; in ReverseBits()
83 NewValue = NewValue | (1 << (31 - Index)); in ReverseBits()
87 return NewValue; in ReverseBits()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/Dxe/BootScriptExecutorDxe/
DScriptExecute.c334 UINT32 NewValue; in PlatformTransferControl16() local
350NewValue = QNCPortRead (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_ESRAMPGCTRL_BL… in PlatformTransferControl16()
351 NewValue |= BLOCK_DISABLE_PG; in PlatformTransferControl16()
352 …ortWrite (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, QUARK_NC_MEMORY_MANAGER_ESRAMPGCTRL_BLOCK, NewValue); in PlatformTransferControl16()
359 NewValue = (UINT32)(BaseAddress + SmramLength); in PlatformTransferControl16()
360 DEBUG ((EFI_D_INFO,"Locking HMBOUND at: = 0x%8x\n",NewValue)); in PlatformTransferControl16()
361 …QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QUARK_NC_HOST_BRIDGE_HMBOUND_REG, (NewValue | HMBOU… in PlatformTransferControl16()
367 NewValue = QNCPortRead (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, Index); in PlatformTransferControl16()
368 NewValue |= IMR_LOCK; in PlatformTransferControl16()
369 QNCPortWrite (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, Index, NewValue); in PlatformTransferControl16()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/
DSmmControlDriver.c178 UINT32 NewValue; in Activate() local
204 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in Activate()
205 NewValue |= SMI_EN; in Activate()
206 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, NewValue); in Activate()
276 UINT32 NewValue; in SmmControl2Init() local
319 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in SmmControl2Init()
320 NewValue |= SMI_EN; in SmmControl2Init()
321 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, NewValue); in SmmControl2Init()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DDriverConfiguration.c128 UINT8 NewValue; in IDEBusDriverConfigurationSetOptions() local
150 NewValue = 0; in IDEBusDriverConfigurationSetOptions()
160 NewValue = (UINT8) (NewValue | (1 << Index)); in IDEBusDriverConfigurationSetOptions()
164 if (EFI_ERROR (Status) || (NewValue != Value)) { in IDEBusDriverConfigurationSetOptions()
169 sizeof (NewValue), in IDEBusDriverConfigurationSetOptions()
170 &NewValue in IDEBusDriverConfigurationSetOptions()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/
DQNCSmmLib.c43 UINT32 NewValue; in InternalTriggerSmi() local
60 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in InternalTriggerSmi()
61 NewValue |= SMI_EN; in InternalTriggerSmi()
62 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, NewValue); in InternalTriggerSmi()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiCrc32GuidedSectionExtractLib/
DPeiCrc32GuidedSectionExtractLib.c50 UINT32 NewValue; in PeiCrc32GuidedSectionExtractLibReverseBits() local
52 NewValue = 0; in PeiCrc32GuidedSectionExtractLibReverseBits()
55 NewValue = NewValue | (1 << (31 - Index)); in PeiCrc32GuidedSectionExtractLibReverseBits()
59 return NewValue; in PeiCrc32GuidedSectionExtractLibReverseBits()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmControlPei/
DSmmControlPei.c149 UINT32 NewValue; in SmmTrigger() local
164 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in SmmTrigger()
165 NewValue |= SMI_EN; in SmmTrigger()
166 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, NewValue); in SmmTrigger()
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DHelper.c269 UINT64 NewValue; in StrToUInteger() local
330 NewValue = LShiftU64 (Value, 4); in StrToUInteger()
339 NewValue = LShiftU64 (Value, 3); in StrToUInteger()
341 NewValue += Value; in StrToUInteger()
342 if (NewValue < Value) { in StrToUInteger()
350 Value = NewValue; in StrToUInteger()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Arm/
DProcessor.c285 UINT32 NewValue; // the new value of the RegNumber-th Register in BasicWriteRegister() local
291 NewValue = 0; in BasicWriteRegister()
301 NewValue += (TempValue << (RegSize+4)); in BasicWriteRegister()
309 NewValue += (TempValue << RegSize); in BasicWriteRegister()
312 *(FindPointerToRegister(SystemContext, RegNumber)) = NewValue; in BasicWriteRegister()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/
DTpmComm.c43 TPM_DIGEST NewValue; in TpmCommExtend() local
48 NewPcrValue = &NewValue; in TpmCommExtend()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Arm/
DProcessor.c272 UINT32 NewValue; // the new value of the RegNumber-th Register in BasicWriteRegister() local
278 NewValue = 0; in BasicWriteRegister()
288 NewValue += (TempValue << (RegSize+4)); in BasicWriteRegister()
296 NewValue += (TempValue << RegSize); in BasicWriteRegister()
299 *(FindPointerToRegister (SystemContext, RegNumber)) = NewValue; in BasicWriteRegister()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/QNC/
DQNCSmmHelpers.c116 UINT32 NewValue; in QNCSmmEnableGlobalSmiBit() local
121 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in QNCSmmEnableGlobalSmiBit()
122 NewValue |= SMI_EN; in QNCSmmEnableGlobalSmiBit()
123 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, NewValue); in QNCSmmEnableGlobalSmiBit()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/DxeSmm/QncSmmDispatcher/
DQNCSmmCore.c603 UINT32 NewValue; in QNCSmmCoreDispatcher() local
795 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QUARK_NC_HOST_BRIDGE_HLEGACY_REG); in QNCSmmCoreDispatcher()
796 NewValue &= ~(HLEGACY_SMI_PIN_VALUE); in QNCSmmCoreDispatcher()
797 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QUARK_NC_HOST_BRIDGE_HLEGACY_REG, NewValue); in QNCSmmCoreDispatcher()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/X64/
DProcessor.c231 UINT64 NewValue; // the new value of the RegNumber-th Register in BasicWriteRegister() local
233 NewValue = 0; in BasicWriteRegister()
243 NewValue += (TempValue << (RegSize+4)); in BasicWriteRegister()
251 NewValue += (TempValue << RegSize); in BasicWriteRegister()
254 *(FindPointerToRegister(SystemContext, RegNumber)) = NewValue; in BasicWriteRegister()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/X64/
DProcessor.c231 UINT64 NewValue; // the new value of the RegNumber-th Register in BasicWriteRegister() local
233 NewValue = 0; in BasicWriteRegister()
243 NewValue += (TempValue << (RegSize+4)); in BasicWriteRegister()
251 NewValue += (TempValue << RegSize); in BasicWriteRegister()
254 *(FindPointerToRegister(SystemContext, RegNumber)) = NewValue; in BasicWriteRegister()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/
DIntelQNCLib.c144 UINT32 NewValue; in QNCCheckS3AndClearState() local
210 NewValue = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in QNCCheckS3AndClearState()
211 NewValue |= SMI_EN; in QNCCheckS3AndClearState()
212 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, NewValue); in QNCCheckS3AndClearState()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Ia32/
DProcessor.c262 UINT32 NewValue; // the new value of the RegNumber-th Register in BasicWriteRegister() local
264 NewValue = 0; in BasicWriteRegister()
274 NewValue += (TempValue << (RegSize+4)); in BasicWriteRegister()
282 NewValue += (TempValue << RegSize); in BasicWriteRegister()
285 *(FindPointerToRegister (SystemContext, RegNumber)) = NewValue; in BasicWriteRegister()
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/
DLan9118DxeUtil.c33 UINT32 NewValue; in ReverseBits() local
35 NewValue = 0; in ReverseBits()
38 NewValue = NewValue | (1 << (31 - Index)); in ReverseBits()
42 return NewValue; in ReverseBits()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Ia32/
DProcessor.c248 UINT32 NewValue; // the new value of the RegNumber-th Register in BasicWriteRegister() local
250 NewValue = 0; in BasicWriteRegister()
260 NewValue += (TempValue << (RegSize+4)); in BasicWriteRegister()
268 NewValue += (TempValue << RegSize); in BasicWriteRegister()
271 *(FindPointerToRegister(SystemContext, RegNumber)) = NewValue; in BasicWriteRegister()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LegacyBootMaintUiLib/
DLegacyBootMaintUi.c892 UINTN NewValue; in AdjustOptionValue() local
902 NewValue = 0; in AdjustOptionValue()
949 NewValue = CurrentVal[Index]; in AdjustOptionValue()
958 if (0xFF == NewValue) { in AdjustOptionValue()
977 if (Default[Index2] == NewValue) { in AdjustOptionValue()
1006 Pos = NewValue / 8; in AdjustOptionValue()
1007 Bit = 7 - (NewValue % 8); in AdjustOptionValue()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DBootMaint.c698 UINTN NewValue; in BootMaintCallback() local
733 NewValue = 0; in BootMaintCallback()
905 NewValue = NewLegacyDev[Index]; in BootMaintCallback()
914 if (0xFF == NewValue) { in BootMaintCallback()
933 if (OldLegacyDev[Index2] == NewValue) { in BootMaintCallback()
962 Pos = NewValue / 8; in BootMaintCallback()
963 Bit = 7 - (NewValue % 8); in BootMaintCallback()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DParser.py601 NewValue = FindKeyValue(EotGlobalData.gDb.TblFile, Table, Protocol)
602 if Protocol != NewValue and NewValue.endswith('Guid'):
603 GuidName = GetParameterName(NewValue)

12