/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformPcieHelperLib/ |
D | SocUnit.c | 29 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/ |
D | PlatformConfig.c | 234 UINT32 NewValue; in PlatformConfigOnSmmConfigurationProtocol() local 253 …NewValue = 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() 269 …NewValue = 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/ |
D | PlatformEarlyInit.c | 848 UINT32 NewValue; in EarlyPlatformLegacyGpioInit() local 859 NewValue = 0x0; 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/MdeModulePkg/Core/RuntimeDxe/ |
D | Crc32.c | 78 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/ |
D | ScriptExecute.c | 334 UINT32 NewValue; in PlatformTransferControl16() local 350 …NewValue = 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/ |
D | SmmControlDriver.c | 178 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/ |
D | DriverConfiguration.c | 128 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/ |
D | QNCSmmLib.c | 43 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/ |
D | PeiCrc32GuidedSectionExtractLib.c | 50 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/ |
D | SmmControlPei.c | 149 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/ |
D | Helper.c | 269 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/ |
D | Processor.c | 285 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/ |
D | TpmComm.c | 43 TPM_DIGEST NewValue; in TpmCommExtend() local 48 NewPcrValue = &NewValue; in TpmCommExtend()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Arm/ |
D | Processor.c | 272 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/ |
D | QNCSmmHelpers.c | 116 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/ |
D | QNCSmmCore.c | 603 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/ |
D | Processor.c | 231 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/ |
D | Processor.c | 231 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/ |
D | IntelQNCLib.c | 144 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/ |
D | Processor.c | 262 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/ |
D | Lan9118DxeUtil.c | 33 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/ |
D | Processor.c | 248 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/ |
D | LegacyBootMaintUi.c | 892 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/ |
D | BootMaint.c | 698 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/ |
D | Parser.py | 601 NewValue = FindKeyValue(EotGlobalData.gDb.TblFile, Table, Protocol) 602 if Protocol != NewValue and NewValue.endswith('Guid'): 603 GuidName = GetParameterName(NewValue)
|