Searched refs:SwapBytes32 (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Main/
H A DHtoNtoH.c35 return SwapBytes32(Datum);
69 return SwapBytes32(Datum);
H A DByteSwap.c54 return SwapBytes32(Value);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/
H A DSwapBytes32.c34 SwapBytes32 ( function
H A DMath64.c174 LowerBytes = (UINT64) SwapBytes32 ((UINT32) Operand);
175 HigherBytes = (UINT64) SwapBytes32 ((UINT32) (Operand >> 32));
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgPei/
H A DTpmComm.c80 SendBuffer.Hdr.paramSize = SwapBytes32 (TpmSendSize);
81 SendBuffer.Hdr.ordinal = SwapBytes32 (TPM_ORD_Startup);
117 SendBuffer.Hdr.paramSize = SwapBytes32 (TpmSendSize);
118 SendBuffer.Hdr.ordinal = SwapBytes32 (TPM_ORD_ContinueSelfTest);
160 SendBuffer.Hdr.paramSize = SwapBytes32 (TpmSendSize);
161 SendBuffer.Hdr.ordinal = SwapBytes32 (TPM_ORD_GetCapability);
162 SendBuffer.Capability = SwapBytes32 (TPM_CAP_FLAG);
163 SendBuffer.CapabilityFlagSize = SwapBytes32 (sizeof (TPM_CAP_FLAG_PERMANENT));
164 SendBuffer.CapabilityFlag = SwapBytes32 (TPM_CAP_FLAG_PERMANENT);
220 SendBuffer.Hdr.paramSize = SwapBytes32 (TpmSendSiz
[all...]
H A DTisPei.c132 TpmOutSize = SwapBytes32 (Data32);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgDxe/
H A DTisDxe.c134 ResponseSize = SwapBytes32 (Data32);
210 DataDword = SwapBytes32 (DataDword);
218 TpmCmdHdr.paramSize = SwapBytes32 (TpmCmdPtr->paramSize);
219 TpmCmdHdr.ordinal = SwapBytes32 (TpmCmdPtr->ordinal);
330 *(UINT32*)Raw = SwapBytes32 (*(UINT32*) Raw);
336 TpmRspPtr->paramSize = SwapBytes32 (TpmRspPtr->paramSize);
337 TpmRspPtr->returnCode = SwapBytes32 (TpmRspPtr->returnCode);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgConfigDxe/
H A DTcgConfigImpl.c83 *(UINT32*)&CmdBuf[2] = SwapBytes32 (TpmSendSize);
84 *(UINT32*)&CmdBuf[6] = SwapBytes32 (TPM_ORD_GetCapability);
86 *(UINT32*)&CmdBuf[10] = SwapBytes32 (TPM_CAP_FLAG);
87 *(UINT32*)&CmdBuf[14] = SwapBytes32 (sizeof (TPM_CAP_FLAG_PERMANENT));
88 *(UINT32*)&CmdBuf[18] = SwapBytes32 (TPM_CAP_FLAG_PERMANENT);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/
H A DDxeTcgPhysicalPresenceLib.c87 TpmRqu->paramSize = SwapBytes32 (sizeof (SendBuffer));
88 TpmRqu->ordinal = SwapBytes32 (TPM_ORD_GetCapability);
94 WriteUnaligned32 (SendBufPtr++, SwapBytes32 (TPM_CAP_FLAG));
95 WriteUnaligned32 (SendBufPtr++, SwapBytes32 (sizeof (TPM_CAP_FLAG_PERMANENT)));
96 WriteUnaligned32 (SendBufPtr, SwapBytes32 (TPM_CAP_FLAG_PERMANENT));
149 TpmRqu->paramSize = SwapBytes32 (sizeof (Buffer));
150 TpmRqu->ordinal = SwapBytes32 (TSC_ORD_PhysicalPresence);
205 TpmRqu->paramSize = SwapBytes32 (Size);
206 TpmRqu->ordinal = SwapBytes32 (Ordinal);
220 return SwapBytes32 (TpmRs
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
H A DUsbMassBoot.c453 BlockSize = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) &(CapacityData.BlockSize3)));
523 Media->LastBlock = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) CapacityData.LastLba));
525 BlockSize = SwapBytes32 (ReadUnaligned32 ((CONST UINT32 *) CapacityData.BlockLen));
807 WriteUnaligned32 ((UINT32 *) ReadCmd.Lba, SwapBytes32 (Lba));
883 WriteUnaligned32 ((UINT32 *) WriteCmd.Lba, SwapBytes32 (Lba));
958 WriteUnaligned32 ((UINT32 *) &ReadCmd[10], SwapBytes32 (Count));
1032 WriteUnaligned32 ((UINT32 *) &WriteCmd[10], SwapBytes32 (Count));
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/
H A DApple.c64 return SwapBytes32(x);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/Arm/
H A DMath64.S264 bl ASM_PFX(SwapBytes32)
267 bl ASM_PFX(SwapBytes32)
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiScsiLib/
H A DUefiScsiLib.c934 WriteUnaligned32 ((UINT32 *)&Cdb[2], SwapBytes32 (StartLba));
1032 WriteUnaligned32 ((UINT32 *)&Cdb[2], SwapBytes32 (StartLba));
1131 WriteUnaligned32 ((UINT32 *)&Cdb[10], SwapBytes32 (SectorSize));
1229 WriteUnaligned32 ((UINT32 *)&Cdb[10], SwapBytes32 (SectorSize));
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4ConfigDxe/
H A DIp4ConfigNv.c37 ReverseMask = SwapBytes32 (*(UINT32 *)&SubnetMask[0]);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/
H A DNetLib.h186 #define NTOHL(x) SwapBytes32 (x)
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/
H A DBaseLib.h1905 SwapBytes32 (

Completed in 95 milliseconds