Home
last modified time | relevance | path

Searched refs:ReadUnaligned32 (Results 1 – 25 of 63) sorted by relevance

123

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/
DUnaligned.c148 ReadUnaligned32 ( in ReadUnaligned32() function
216 LowerBytes = ReadUnaligned32 ((UINT32*) Buffer); in ReadUnaligned64()
217 HigherBytes = ReadUnaligned32 ((UINT32*) Buffer + 1); in ReadUnaligned64()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Arm/
DUnaligned.c151 ReadUnaligned32 ( in ReadUnaligned32() function
219 LowerBytes = ReadUnaligned32 ((UINT32*) Buffer); in ReadUnaligned64()
220 HigherBytes = ReadUnaligned32 ((UINT32*) Buffer + 1); in ReadUnaligned64()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ipf/
DUnaligned.c142 ReadUnaligned32 ( in ReadUnaligned32() function
210 LowerBytes = ReadUnaligned32 ((UINT32*) Buffer); in ReadUnaligned64()
211 HigherBytes = ReadUnaligned32 ((UINT32*) Buffer + 1); in ReadUnaligned64()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PcatSingleSegmentPciCfg2Pei/
DPciCfg2.c167 PciWrite32 (PciLibAddress, ReadUnaligned32 ((UINT32 *) Buffer)); in PciCfg2Write()
251 ClearValue32 = (UINT32) (~ReadUnaligned32 ((UINT32 *) ClearBits)); in PciCfg2Modify()
252 SetValue32 = ReadUnaligned32 ((UINT32 *) SetBits); in PciCfg2Modify()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DUnaligned.c137 ReadUnaligned32 ( in ReadUnaligned32() function
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DUnaligned.c143 ReadUnaligned32 ( in ReadUnaligned32() function
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthService.c349 …if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) Ptr)->KeyIndex)) == AuthVariableInfo.PubKeyIndex) { in GetAvailableKeyIndex()
354 …if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + Index)->KeyIndex)) == AuthVariableI… in GetAvailableKeyIndex()
386 if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) Ptr)->KeyIndex)) == KeyIndex) { in GetAvailableKeyIndex()
429 return ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + Index)->KeyIndex)); in AddPubKeyInStore()
1322 … if (ReadUnaligned32 (&(((AUTHVAR_KEY_DB_DATA *) mPubKeyStore + Index)->KeyIndex)) == KeyIndex) { in ProcessVariable()
1588 CertDbListSize = ReadUnaligned32 ((UINT32 *) Data); in FindCertsFromDb()
1605 NodeSize = ReadUnaligned32 (&Ptr->CertNodeSize); in FindCertsFromDb()
1606 NameSize = ReadUnaligned32 (&Ptr->NameSize); in FindCertsFromDb()
1607 CertSize = ReadUnaligned32 (&Ptr->CertDataSize); in FindCertsFromDb()
1643 NodeSize = ReadUnaligned32 (&Ptr->CertNodeSize); in FindCertsFromDb()
[all …]
/device/linaro/bootloader/edk2/SignedCapsulePkg/Universal/RecoveryModuleLoadPei/
DRecoveryModuleLoadPei.c430 if (ReadUnaligned32 (&FvHeader->Signature) != EFI_FVH_SIGNATURE) { in CreateHobForRecoveryCapsule()
439 …if ((ReadUnaligned32 (&FvHeader->Attributes) & EFI_FVB2_WEAK_ALIGNMENT) != EFI_FVB2_WEAK_ALIGNMENT… in CreateHobForRecoveryCapsule()
443 FvAlignment = 1 << ((ReadUnaligned32 (&FvHeader->Attributes) & EFI_FVB2_ALIGNMENT) >> 16); in CreateHobForRecoveryCapsule()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DImage.c81 Length = ReadUnaligned32 ((VOID *) &((EFI_HII_IIBT_EXT4_BLOCK *) CurrentImageBlock)->Length); in GetImageIdOrAddress()
130 …Length = OFFSET_OF (EFI_HII_IIBT_JPEG_BLOCK, Data) + ReadUnaligned32 ((VOID *) &((EFI_HII_IIBT_JPE… in GetImageIdOrAddress()
135 …Length = OFFSET_OF (EFI_HII_IIBT_PNG_BLOCK, Data) + ReadUnaligned32 ((VOID *) &((EFI_HII_IIBT_PNG_… in GetImageIdOrAddress()
1073 …OldBlockSize = OFFSET_OF (EFI_HII_IIBT_JPEG_BLOCK, Data) + ReadUnaligned32 ((VOID *) &((EFI_HII_II… in HiiSetImage()
1076 …OldBlockSize = OFFSET_OF (EFI_HII_IIBT_PNG_BLOCK, Data) + ReadUnaligned32 ((VOID *) &((EFI_HII_IIB… in HiiSetImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
DUsbMassBoot.c453 BlockSize = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) &(CapacityData.BlockSize3))); in UsbBootReadCapacity16()
523 Media->LastBlock = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) CapacityData.LastLba)); in UsbBootReadCapacity()
525 BlockSize = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) CapacityData.BlockLen)); in UsbBootReadCapacity()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseUefiDecompressLib/
DBaseUefiDecompressLib.c696 CompressedSize = ReadUnaligned32 ((UINT32 *)Source); in UefiDecompressGetInfo()
702 *DestinationSize = ReadUnaligned32 ((UINT32 *)Source + 1); in UefiDecompressGetInfo()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Config/
DTcg2ConfigDriver.c159 …UpdateDefaultPCRBanks (Tcg2ConfigBin + sizeof(UINT32), ReadUnaligned32((UINT32 *)Tcg2ConfigBin) - … in Tcg2ConfigDriverEntryPoint()
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Utility.c990 IaId = ReadUnaligned32 ((UINT32 *) (Cursor + 4)); in Dhcp6SeekIaOption()
1096 PreferredLt = NTOHL (ReadUnaligned32 ((UINT32 *) (Cursor + 20))); in Dhcp6ParseAddrOption()
1097 ValidLt = NTOHL (ReadUnaligned32 ((UINT32 *) (Cursor + 24))); in Dhcp6ParseAddrOption()
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuIoPei/
DCpuIoPei.c318 MmioWrite32 ((UINTN)Address, ReadUnaligned32 ((UINT32 *)Uint8Buffer)); in CpuMemoryServiceWrite()
464 IoWrite32 ((UINTN)Address, ReadUnaligned32 ((UINT32 *)Uint8Buffer)); in CpuIoServiceWrite()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/
DBaseUefiTianoCustomDecompressLib.c690 CompressedSize = ReadUnaligned32 ((UINT32 *)Source); in UefiDecompressGetInfo()
696 *DestinationSize = ReadUnaligned32 ((UINT32 *)Source + 1); in UefiDecompressGetInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Dxe/
DPcd.c348 return ReadUnaligned32 (GetWorker (TokenNumber, sizeof (UINT32))); in DxePcdGet32()
547 return ReadUnaligned32 (ExGetWorker (Guid, ExTokenNumber, sizeof(UINT32))); in DxePcdGet32Ex()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/Tpm12DeviceLibAtmelI2c/
DTisPc.c366 TpmOutSize = SwapBytes32 (ReadUnaligned32 (&ResponseHeader->paramSize)); in Tpm12SubmitCommand()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c264 … if ((ReadUnaligned32 (&FlowControlNode->FlowControlMap) & ~UART_FLOW_CONTROL_HARDWARE) != 0) { in SerialControllerDriverSupported()
504 if (ReadUnaligned32 (&FlowControl->FlowControlMap) == UART_FLOW_CONTROL_HARDWARE) { in SerialControllerDriverStart()
567 FlowControlMap = ReadUnaligned32 (&FlowControl->FlowControlMap); in SerialControllerDriverStart()
1619 …((ReadUnaligned32 (&FlowControl->FlowControlMap) == UART_FLOW_CONTROL_HARDWARE) ^ SerialDevice->Ha… in IsaSerialSetControl()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/PCD/Pei/
DPcd.c338 return ReadUnaligned32 (GetWorker (TokenNumber, sizeof (UINT32))); in PeiPcdGet32()
523 return ReadUnaligned32 (ExGetWorker (Guid, ExTokenNumber, sizeof (UINT32))); in PeiPcdGet32Ex()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerial.c389 if ((ReadUnaligned32 (&FlowControl->FlowControlMap) & ~UART_FLOW_CONTROL_HARDWARE) != 0) { in SerialControllerDriverSupported()
466 FlowControlMap = ReadUnaligned32 (&FlowControl->FlowControlMap); in CreateSerialDevice()
906 if (ReadUnaligned32 (&FlowControl->FlowControlMap) == UART_FLOW_CONTROL_HARDWARE) { in SerialControllerDriverStart()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/Tpm12DeviceLibInfineonI2c/
DTisPc.c544 ResponseSize = SwapBytes32 (ReadUnaligned32 (&ResponseHeader->paramSize)); in TisPcReceive()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpressPassthru.c605 Data = ReadUnaligned32 ((UINT32*)&Private->SqTdbl[QueueId]); in NvmExpressPassThru()
692 Data = ReadUnaligned32 ((UINT32*)&Private->CqHdbl[QueueId]); in NvmExpressPassThru()
DNvmExpressHci.c115 Data = ReadUnaligned32 ((UINT32*)Cc); in WriteNvmeControllerConfiguration()
237 Data = ReadUnaligned32 ((UINT32*)Aqa); in WriteNvmeAdminQueueAttributes()
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
DInfo.c356 Spi = ReadUnaligned32 ((UINT32 *)SpiBuffer); in Ikev2InfoParser()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2EnhancedAuthorization.c188 PolicyTicket->hierarchy = SwapBytes32(ReadUnaligned32 ((UINT32 *)Buffer)); in Tpm2PolicySecret()

123