/device/linaro/bootloader/edk2/DuetPkg/PciRootBridgeNoEnumerationDxe/Ipf/ |
D | PcatIo.c | 68 UINT32 Data32; in PcatRootBridgeIoIoRead() local 140 Data32 = PORT_TO_MEM32(Address); in PcatRootBridgeIoIoRead() 141 *Buffer.ui8 = (UINT8)(Data32 & 0xff); in PcatRootBridgeIoIoRead() 142 *(Buffer.ui8+1) = (UINT8)((Data32 >> 8) & 0xff); in PcatRootBridgeIoIoRead() 143 *(Buffer.ui8+2) = (UINT8)((Data32 >> 16) & 0xff); in PcatRootBridgeIoIoRead() 144 *(Buffer.ui8+3) = (UINT8)((Data32 >> 24) & 0xff); in PcatRootBridgeIoIoRead() 172 UINT32 Data32; in PcatRootBridgeIoIoWrite() local 242 Data32 = *Buffer.ui8; in PcatRootBridgeIoIoWrite() 243 Data32 = Data32 | (*(Buffer.ui8+1) << 8); in PcatRootBridgeIoIoWrite() 244 Data32 = Data32 | (*(Buffer.ui8+2) << 16); in PcatRootBridgeIoIoWrite() [all …]
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/QNCAccessLib/ |
D | QNCAccessLib.c | 189 UINT32 Data32; in QncHsmmcWrite() local 200 Data32 = QncHsmmcRead (); in QncHsmmcWrite() 201 Data32 &= ~SMM_CTL_EN; in QncHsmmcWrite() 202 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HSMMC, Data32); in QncHsmmcWrite() 207 Data32 = QncHsmmcRead (); in QncHsmmcWrite() 208 ASSERT((Data32 & SMM_CTL_EN) == 0); in QncHsmmcWrite() 225 Data32 = QncHsmmcRead (); in QncHsmmcWrite() 226 ASSERT((Data32 & SMM_CTL_EN) != 0); in QncHsmmcWrite() 241 UINT32 Data32; in QncImrWrite() local 255 …Data32 = QNCPortRead (QUARK_NC_MEMORY_MANAGER_SB_PORT_ID, ImrBaseOffset+QUARK_NC_MEMORY_MANAGER_IM… in QncImrWrite() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/ResetSystemLib/ |
D | ResetSystemLib.c | 115 UINT32 Data32; in ResetShutdown() 156 Data32 = IoRead32 ((UINTN) (PchPmioBase + R_PCH_ACPI_PM1_CNT)); in ResetShutdown() 158 …Data32 = (UINT32) ((Data32 &~(B_PCH_ACPI_PM1_CNT_SLP_TYP + B_PCH_ACPI_PM1_CNT_SLP_EN)) | V_PCH_AC… in ResetShutdown() 160 IoWrite32 ((UINTN) (PchPmioBase + R_PCH_ACPI_PM1_CNT), Data32); in ResetShutdown() 162 Data32 = Data32 | B_PCH_ACPI_PM1_CNT_SLP_EN; in ResetShutdown() 164 IoWrite32 ((UINTN) (PchPmioBase + R_PCH_ACPI_PM1_CNT), Data32); in ResetShutdown()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/DxeSmm/AcpiSmm/ |
D | AcpiSmmPlatform.c | 685 UINT32 Data32; in SxSleepEntryCallBack() local 704 Data32 = B_QNC_GPE0BLK_GPE0S_ALL; in SxSleepEntryCallBack() 705 …o.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0S, 1, &Data32 ); in SxSleepEntryCallBack() 716 …Io.Io.Read( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0E, 1, &Data32 ); in SxSleepEntryCallBack() 717 Data32 |= (B_QNC_GPE0BLK_GPE0E_EGPE | B_QNC_GPE0BLK_GPE0E_GPIO | B_QNC_GPE0BLK_GPE0E_PCIE); in SxSleepEntryCallBack() 718 …o.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0E, 1, &Data32 ); in SxSleepEntryCallBack() 740 …Io.Io.Read( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0E, 1, &Data32 ); in SxSleepEntryCallBack() 741 Data32 |= (B_QNC_GPE0BLK_GPE0E_EGPE | B_QNC_GPE0BLK_GPE0E_GPIO | B_QNC_GPE0BLK_GPE0E_PCIE); in SxSleepEntryCallBack() 742 …o.Io.Write( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0E, 1, &Data32 ); in SxSleepEntryCallBack() 766 …Io.Io.Read( &gSmst->SmmIo, SMM_IO_UINT32, mAcpiSmm.QncGpe0Base + R_QNC_GPE0BLK_GPE0E, 1, &Data32 ); in SxSleepEntryCallBack() [all …]
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/ |
D | PlatformEarlyInit.c | 112 UINT32 Data32; in SetLanControllerMacAddr() local 164 Data32 = *((UINT32 *) (UINTN)(&MacAddr[0])); in SetLanControllerMacAddr() 165 *((volatile UINT32 *) (UINTN)(Addr)) = Data32; in SetLanControllerMacAddr() 179 Data32 = in SetLanControllerMacAddr() 183 *((volatile UINT32 *) (UINTN)(Addr)) = Data32; in SetLanControllerMacAddr() 1014 UINT32 Data32; in EarlyPlatformGpioCtrlerInitAndManipulation() local 1064 Data32 = *((volatile UINT32 *) (UINTN)(Addr)) & 0xFFFFFF00; // Keep reserved bits [31:8] in EarlyPlatformGpioCtrlerInitAndManipulation() 1065 Data32 |= (GpioConfig->IntEn & 0x000FFFFF); in EarlyPlatformGpioCtrlerInitAndManipulation() 1066 *((volatile UINT32 *) (UINTN)(Addr)) = Data32; in EarlyPlatformGpioCtrlerInitAndManipulation() 1072 Data32 = *((volatile UINT32 *) (UINTN)(Addr)) & 0xFFFFFF00; // Keep reserved bits [31:8] in EarlyPlatformGpioCtrlerInitAndManipulation() [all …]
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ |
D | ResetSystemLib.c | 200 UINT32 Data32; in EnterS3WithImmediateWake() local 309 Data32 = IoRead32 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1C); in EnterS3WithImmediateWake() 310 Data32 = (UINT32) ((Data32 & 0xffffc3fe) | V_S3 | B_QNC_PM1BLK_PM1C_SCIEN); in EnterS3WithImmediateWake() 311 IoWrite32 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1C, Data32); in EnterS3WithImmediateWake() 312 Data32 = Data32 | B_QNC_PM1BLK_PM1C_SLPEN; in EnterS3WithImmediateWake() 313 IoWrite32 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1C, Data32); in EnterS3WithImmediateWake()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/ |
D | EdbDisasm.c | 176 UINT32 Data32; in EdbDisasmJMP() local 214 CopyMem (&Data32, (VOID *)(UINTN)(InstructionAddress), sizeof(UINT32)); in EdbDisasmJMP() 219 Data32 = 0; in EdbDisasmJMP() 221 EdbPrintImmDatan (Data32); in EdbDisasmJMP() 223 EdbPrintRawIndexData32 (Data32); in EdbDisasmJMP() 300 UINT32 Data32; in EdbDisasmCALL() local 346 CopyMem (&Data32, (VOID *)(UINTN)(InstructionAddress), sizeof(UINT32)); in EdbDisasmCALL() 348 Data32 = 0; in EdbDisasmCALL() 352 Ip = (UINT64)Data32; in EdbDisasmCALL() 366 EdbPrintImmData32 (Data32); in EdbDisasmCALL() [all …]
|
D | EdbDisasmSupport.c | 139 IN UINT32 Data32, in EdbGetNaturalIndex32() argument 147 Sign = (BOOLEAN)(Data32 >> 31); in EdbGetNaturalIndex32() 148 NaturalUnitBit = (UINTN)((Data32 >> 28) & 0x7); in EdbGetNaturalIndex32() 150 Data32 = Data32 & 0xFFFFFFF; in EdbGetNaturalIndex32() 151 *NaturalUnits = (UINTN)(Data32 & ((1 << NaturalUnitBit) - 1)); in EdbGetNaturalIndex32() 152 *ConstantUnits = (UINTN)((Data32 >> NaturalUnitBit) & ((1 << (28 - NaturalUnitBit)) - 1)); in EdbGetNaturalIndex32() 507 IN UINT32 Data32 in EdbPrintRawIndexData32() argument 515 Sign = EdbGetNaturalIndex32 (Data32, &NaturalUnits, &ConstantUnits); in EdbPrintRawIndexData32() 765 IN UINT32 Data32 in EdbPrintData32() argument 773 (UINTN)Data32 in EdbPrintData32() [all …]
|
D | EdbDisasmSupport.h | 119 IN UINT32 Data32, 167 IN UINT32 Data32 399 IN UINT32 Data32 483 IN UINT32 Data32
|
D | EdbCmdMemory.c | 36 UINT32 Data32; in EdbDisplayMemoryUnit() local 52 CopyMem (&Data32, (VOID *)Address, sizeof(UINT32)); in EdbDisplayMemoryUnit() 53 EDBPrint (L"%08x ", Data32); in EdbDisplayMemoryUnit()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/ |
D | S3Save.c | 92 UINT32 Data32; 334 …Data32 = MmioRead32 (MmPciAddress (0, PciAddress.Bus, PciAddress.Device, PciAddress.Function, PciA… 343 &Data32 368 Data32 = IoRead32(mAcpiBaseAddr + R_PCH_SMI_EN); 374 &Data32
|
D | Platform.c | 622 UINT32 Data32; in S4S5CallBack() 628 Data32 = IoRead32 (GPIO_BASE_ADDRESS + R_PCH_GPIO_SC_LVL); in S4S5CallBack() 629 Data32 |= BIT8; in S4S5CallBack() 630 IoWrite32(GPIO_BASE_ADDRESS + R_PCH_GPIO_SC_LVL, Data32); in S4S5CallBack()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/ |
D | EbcExecute.c | 2760 UINT32 Data32; in ExecutePUSH() local 2803 Data32 = VmReadMem32 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16)); in ExecutePUSH() 2805 Data32 = (UINT32) VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16; in ExecutePUSH() 2811 VmWriteMem32 (VmPtr, (UINTN) VmPtr->Gpr[0], Data32); in ExecutePUSH() 2896 INT32 Data32; in ExecutePOP() local 2940 Data32 = (INT32) VmReadMem32 (VmPtr, (UINTN) VmPtr->Gpr[0]); in ExecutePOP() 2946 VmWriteMem32 (VmPtr, (UINTN) (VmPtr->Gpr[OPERAND1_REGNUM (Operands)] + Index16), Data32); in ExecutePOP() 2948 VmPtr->Gpr[OPERAND1_REGNUM (Operands)] = (INT64) Data32 + Index16; in ExecutePOP() 4071 INT32 Data32; in ExecuteEXTNDD() local 4077 Data32 = (INT32) Op2; in ExecuteEXTNDD() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | LowPowerIdleTable.h | 46 UINT32 Data32; member
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/ |
D | Tpm2Tis.c | 225 UINT32 Data32; in Tpm2TisTpmCommand() local 337 CopyMem (&Data32, (BufferOut + 2), sizeof (UINT32)); in Tpm2TisTpmCommand() 338 TpmOutSize = SwapBytes32 (Data32); in Tpm2TisTpmCommand()
|
D | Tpm2Ptp.c | 162 UINT32 Data32; in PtpCrbTpmCommand() local 278 CopyMem (&Data32, (BufferOut + 2), sizeof (UINT32)); in PtpCrbTpmCommand() 279 TpmOutSize = SwapBytes32 (Data32); in PtpCrbTpmCommand()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | BootMode.c | 159 UINT32 Data32; 179 Data32 = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_TCO_STS); 186 if (((GpioValue & BIT0) != 0)&&((Data32 & B_PCH_TCO_STS_SECOND_TO) != B_PCH_TCO_STS_SECOND_TO)){
|
D | PchInitPeim.c | 137 UINT32 Data32; 181 Data32 = IoRead32 (ACPI_BASE_ADDRESS + R_PCH_TCO_STS); 182 if ((Data32 & B_PCH_TCO_STS_SECOND_TO) == B_PCH_TCO_STS_SECOND_TO)
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/ |
D | BdsPlatform.c | 1618 UINT32 Data32; in ConvertMpsTable() local 1641 Data32 = FPLength + SYS_TABLE_PAD (FPLength); in ConvertMpsTable() 1644 Data32 += MpsTableOri->BaseTableLength; in ConvertMpsTable() 1645 Data32 += MpsTableOri->ExtendedTableLength; in ConvertMpsTable() 1647 Data32 += SYS_TABLE_PAD (Data32); in ConvertMpsTable() 1648 Data32 += MpsTableOri->OemTableSize; in ConvertMpsTable() 1660 EFI_SIZE_TO_PAGES(Data32), in ConvertMpsTable()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12DeviceLibDTpm/ |
D | Tpm12Tis.c | 269 UINT32 Data32; in Tpm12TisTpmCommand() local 378 CopyMem (&Data32, (BufferOut + 2), sizeof (UINT32)); in Tpm12TisTpmCommand() 379 TpmOutSize = SwapBytes32 (Data32); in Tpm12TisTpmCommand()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SataControllerDxe/ |
D | SataController.c | 365 UINT32 Data32; in SataControllerStart() local 428 Data32 = AhciReadReg (PciIo, R_AHCI_CAP); in SataControllerStart() 429 Private->IdeInit.ChannelCount = (UINT8) ((Data32 & B_AHCI_CAP_NPS) + 1); in SataControllerStart() 431 if ((Data32 & B_AHCI_CAP_SPM) == B_AHCI_CAP_SPM) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/CorebootModulePkg/SataControllerDxe/ |
D | SataController.c | 395 UINT32 Data32; in SataControllerStart() local 458 Data32 = AhciReadReg (PciIo, R_AHCI_CAP); in SataControllerStart() 459 SataPrivateData->IdeInit.ChannelCount = (UINT8) ((Data32 & B_AHCI_CAP_NPS) + 1); in SataControllerStart() 461 if ((Data32 & B_AHCI_CAP_SPM) == B_AHCI_CAP_SPM) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/DuetPkg/SataControllerDxe/ |
D | SataController.c | 395 UINT32 Data32; in SataControllerStart() local 458 Data32 = AhciReadReg (PciIo, R_AHCI_CAP); in SataControllerStart() 459 SataPrivateData->IdeInit.ChannelCount = (UINT8) ((Data32 & B_AHCI_CAP_NPS) + 1); in SataControllerStart() 461 if ((Data32 & B_AHCI_CAP_SPM) == B_AHCI_CAP_SPM) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/OvmfPkg/SataControllerDxe/ |
D | SataController.c | 396 UINT32 Data32; in SataControllerStart() local 476 Data32 = AhciReadReg (PciIo, R_AHCI_CAP); in SataControllerStart() 477 SataPrivateData->IdeInit.ChannelCount = (UINT8) ((Data32 & B_AHCI_CAP_NPS) + 1); in SataControllerStart() 479 if ((Data32 & B_AHCI_CAP_SPM) == B_AHCI_CAP_SPM) { in SataControllerStart()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/ |
D | PL180Mci.c | 415 UINT32 Data32; local 423 Data32 = MmioRead32 (MCI_POWER_CONTROL_REG); 424 if ((Data32 & 0x2) == MCI_POWER_UP) {
|