Searched refs:SwapBytes16 (Results 1 - 17 of 17) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/
H A DSwapBytes16.c34 SwapBytes16 ( function
H A DSwapBytes32.c41 LowerBytes = (UINT32) SwapBytes16 ((UINT16) Value);
42 HigherBytes = (UINT32) SwapBytes16 ((UINT16) (Value >> 16));
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Main/
H A DHtoNtoH.c52 return SwapBytes16(Datum);
86 return SwapBytes16(Datum);
H A DByteSwap.c37 return SwapBytes16(Value);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgPei/
H A DTpmComm.c79 SendBuffer.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
82 SendBuffer.TpmSt = SwapBytes16 (TpmSt);
116 SendBuffer.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
159 SendBuffer.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
219 SendBuffer.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
266 SendBuffer.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
269 SendBuffer.PhysicalPresence = SwapBytes16 (PhysicalPresence);
H A DTisPei.c126 if (SwapBytes16 (Data16) != TPM_TAG_RSP_COMMAND ) {
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgDxe/
H A DTisDxe.c203 DataWord = SwapBytes16 (DataWord);
217 TpmCmdHdr.tag = SwapBytes16 (TpmCmdPtr->tag);
326 *(UINT16*)Raw = SwapBytes16 (*(UINT16*) Raw);
335 TpmRspPtr->tag = SwapBytes16 (TpmRspPtr->tag);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/
H A DUdp4.c49 pLocalAddress->sin_port = SwapBytes16 ( pUdp4->ConfigData.StationPort );
149 pConfig->StationPort = SwapBytes16 ( pIpAddress->sin_port );
346 pRemoteAddress->sin_port = SwapBytes16 ( pRxData->UdpSession.SourcePort );
416 pRemoteAddress->sin_port = SwapBytes16 ( pUdp4->ConfigData.RemotePort );
464 pUdp4->ConfigData.RemotePort = SwapBytes16 ( pRemoteAddress->sin_port );
851 pTxData->Session.DestinationPort = SwapBytes16 ( pRemoteAddress->sin_port );
H A DTcp4.c154 pRemoteAddress->sin_port = SwapBytes16 ( pTcp4->ConfigData.AccessPoint.RemotePort );
1074 pLocalAddress->sin_port = SwapBytes16 ( pTcp4->ConfigData.AccessPoint.StationPort );
1173 pAccessPoint->StationPort = SwapBytes16 ( pIpAddress->sin_port );
1550 pRemoteAddress->sin_port = SwapBytes16 ( pTcp4->ConfigData.AccessPoint.RemotePort );
1646 pRemoteAddress->sin_port = SwapBytes16 ( pTcp4->ConfigData.AccessPoint.RemotePort );
1694 pTcp4->ConfigData.AccessPoint.RemotePort = SwapBytes16 ( pRemoteAddress->sin_port );
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/
H A DDxeTcgPhysicalPresenceLib.c86 TpmRqu->tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
106 ASSERT (TpmRsp->tag == SwapBytes16 (TPM_TAG_RSP_COMMAND));
148 TpmRqu->tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
151 WriteUnaligned16 (TpmPp, (TPM_PHYSICAL_PRESENCE) SwapBytes16 (PhysicalPresence));
161 ASSERT (TpmRsp.tag == SwapBytes16 (TPM_TAG_RSP_COMMAND));
203 TpmRqu->tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
217 if (EFI_ERROR (Status) || (TpmRsp.tag != SwapBytes16 (TPM_TAG_RSP_COMMAND))) {
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/
H A DApple.c58 return SwapBytes16(x);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Tcg/TcgConfigDxe/
H A DTcgConfigImpl.c82 *(UINT16*)&CmdBuf[0] = SwapBytes16 (TPM_TAG_RQU_COMMAND);
98 if (EFI_ERROR (Status) || (TpmRsp->tag != SwapBytes16 (TPM_TAG_RSP_COMMAND)) || (TpmRsp->returnCode != 0)) {
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
H A DUsbMassBoot.c808 WriteUnaligned16 ((UINT16 *) ReadCmd.TransferLen, SwapBytes16 (Count));
884 WriteUnaligned16 ((UINT16 *) WriteCmd.TransferLen, SwapBytes16 (Count));
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiScsiLib/
H A DUefiScsiLib.c935 WriteUnaligned16 ((UINT16 *)&Cdb[7], SwapBytes16 ((UINT16) SectorSize));
1033 WriteUnaligned16 ((UINT16 *)&Cdb[7], SwapBytes16 ((UINT16) SectorSize));
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/
H A DNetLib.h190 #define NTOHS(x) SwapBytes16 (x)
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeNetLib/
H A DNetBuffer.c1759 BlockSum = SwapBytes16 (BlockSum);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/
H A DBaseLib.h1886 SwapBytes16 (

Completed in 166 milliseconds