/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/ |
D | SystemTable.c | 36 EFI_STATUS Status; in EfiTableHeader() local 49 Status = RowHexValue ( SocketFD, in EfiTableHeader() 54 if ( EFI_ERROR ( Status )) { in EfiTableHeader() 64 Status = RowRevision ( SocketFD, in EfiTableHeader() 68 if ( EFI_ERROR ( Status )) { in EfiTableHeader() 75 Status = RowDecimalValue ( SocketFD, in EfiTableHeader() 79 if ( EFI_ERROR ( Status )) { in EfiTableHeader() 87 Status = RowHexValue ( SocketFD, in EfiTableHeader() 92 if ( EFI_ERROR ( Status )) { in EfiTableHeader() 99 Status = RowHexValue ( SocketFD, in EfiTableHeader() [all …]
|
D | Mtrr.c | 53 EFI_STATUS Status; in MtrrDisplayFixedRow() local 62 Status = HttpSendAnsiString ( SocketFD, in MtrrDisplayFixedRow() 65 if ( EFI_ERROR ( Status )) { in MtrrDisplayFixedRow() 72 Status = HttpSendHexValue ( SocketFD, in MtrrDisplayFixedRow() 75 if ( EFI_ERROR ( Status )) { in MtrrDisplayFixedRow() 82 Status = HttpSendAnsiString ( SocketFD, in MtrrDisplayFixedRow() 85 if ( EFI_ERROR ( Status )) { in MtrrDisplayFixedRow() 88 Status = HttpSendHexValue ( SocketFD, in MtrrDisplayFixedRow() 91 if ( EFI_ERROR ( Status )) { in MtrrDisplayFixedRow() 98 Status = HttpSendAnsiString ( SocketFD, in MtrrDisplayFixedRow() [all …]
|
D | ACPI.c | 173 EFI_STATUS Status; in LocateRsdt() local 183 Status = EfiGetSystemConfigurationTable ( &gEfiAcpiTableGuid, (VOID **)&pRsdp30 ); in LocateRsdt() 184 if ( !EFI_ERROR ( Status )) { in LocateRsdt() 188 Status = EfiGetSystemConfigurationTable (&gEfiAcpi10TableGuid, (VOID **)&pRsdp10b ); in LocateRsdt() 189 if ( EFI_ERROR ( Status )) { in LocateRsdt() 223 EFI_STATUS Status; in LocateTable() local 232 Status = EfiGetSystemConfigurationTable ( &gEfiAcpiTableGuid, (VOID **)&pRsdp30 ); in LocateTable() 233 if ( !EFI_ERROR ( Status )) { in LocateTable() 237 Status = EfiGetSystemConfigurationTable (&gEfiAcpi10TableGuid, (VOID **)&pRsdp10b ); in LocateTable() 238 if ( EFI_ERROR ( Status )) { in LocateTable() [all …]
|
D | MemoryMap.c | 52 EFI_STATUS Status; in MemoryMapPage() local 64 Status = HttpPageHeader ( SocketFD, pPort, L"Memory Map" ); in MemoryMapPage() 65 if ( EFI_ERROR ( Status )) { in MemoryMapPage() 72 Status = HttpSendAnsiString ( SocketFD, in MemoryMapPage() 77 if ( EFI_ERROR ( Status )) { in MemoryMapPage() 84 Status = gDS->GetMemorySpaceMap ( &Count, in MemoryMapPage() 86 if ( !EFI_ERROR ( Status )) { in MemoryMapPage() 93 Status = HttpSendAnsiString ( SocketFD, pPort, "<tr><td align=\"right\"><code>" ); in MemoryMapPage() 94 if ( EFI_ERROR ( Status )) { in MemoryMapPage() 98 Status = HttpSendAnsiString ( SocketFD, in MemoryMapPage() [all …]
|
D | BootServicesTable.c | 35 EFI_STATUS Status; in BootServicesTablePage() local 46 Status = TableHeader ( SocketFD, pPort, L"Boot Services Table", gBS ); in BootServicesTablePage() 47 if ( EFI_ERROR ( Status )) { in BootServicesTablePage() 54 Status = EfiTableHeader ( SocketFD, in BootServicesTablePage() 57 if ( EFI_ERROR ( Status )) { in BootServicesTablePage() 64 Status = RowPointer ( SocketFD, in BootServicesTablePage() 69 if ( EFI_ERROR ( Status )) { in BootServicesTablePage() 72 Status = RowPointer ( SocketFD, in BootServicesTablePage() 77 if ( EFI_ERROR ( Status )) { in BootServicesTablePage() 84 Status = RowPointer ( SocketFD, in BootServicesTablePage() [all …]
|
D | HTTP.c | 105 EFI_STATUS Status; in HttpFlush() local 112 Status = EFI_SUCCESS; in HttpFlush() 133 Status = EFI_DEVICE_ERROR; in HttpFlush() 141 DBG_EXIT_STATUS ( Status ); in HttpFlush() 142 return Status; in HttpFlush() 260 EFI_STATUS Status; in HttpPageHeader() local 268 Status = HttpSendAnsiString ( SocketFD, in HttpPageHeader() 275 if ( EFI_ERROR ( Status )) { in HttpPageHeader() 278 Status = HttpSendAnsiString ( SocketFD, pPort, "<html lang=\"en-US\">\r\n" ); in HttpPageHeader() 279 if ( EFI_ERROR ( Status )) { in HttpPageHeader() [all …]
|
D | DxeServicesTable.c | 35 EFI_STATUS Status; in DxeServicesTablePage() local 46 Status = EfiGetSystemConfigurationTable (&gEfiDxeServicesTableGuid, (VOID **) &pDS); in DxeServicesTablePage() 47 if ( EFI_ERROR ( Status )) { in DxeServicesTablePage() 54 Status = TableHeader ( SocketFD, pPort, L"DXE Services Table", pDS ); in DxeServicesTablePage() 55 if ( EFI_ERROR ( Status )) { in DxeServicesTablePage() 63 Status = EfiTableHeader ( SocketFD, in DxeServicesTablePage() 66 if ( EFI_ERROR ( Status )) { in DxeServicesTablePage() 73 Status = RowPointer ( SocketFD, in DxeServicesTablePage() 78 if ( EFI_ERROR ( Status )) { in DxeServicesTablePage() 81 Status = RowPointer ( SocketFD, in DxeServicesTablePage() [all …]
|
D | RuntimeServicesTable.c | 36 EFI_STATUS Status; in RuntimeSservicesTablePage() local 47 Status = TableHeader ( SocketFD, pPort, L"Runtime Services Table", gRT ); in RuntimeSservicesTablePage() 48 if ( EFI_ERROR ( Status )) { in RuntimeSservicesTablePage() 55 Status = EfiTableHeader ( SocketFD, in RuntimeSservicesTablePage() 58 if ( EFI_ERROR ( Status )) { in RuntimeSservicesTablePage() 65 Status = RowPointer ( SocketFD, in RuntimeSservicesTablePage() 70 if ( EFI_ERROR ( Status )) { in RuntimeSservicesTablePage() 73 Status = RowPointer ( SocketFD, in RuntimeSservicesTablePage() 78 if ( EFI_ERROR ( Status )) { in RuntimeSservicesTablePage() 81 Status = RowPointer ( SocketFD, in RuntimeSservicesTablePage() [all …]
|
D | ConfigurationTable.c | 62 EFI_STATUS Status; in RowGuid() local 71 Status = HttpSendAnsiString ( SocketFD, in RowGuid() 74 if ( EFI_ERROR ( Status )) { in RowGuid() 77 Status = HttpSendAnsiString ( SocketFD, in RowGuid() 80 if ( EFI_ERROR ( Status )) { in RowGuid() 83 Status = HttpSendAnsiString ( SocketFD, in RowGuid() 86 if ( EFI_ERROR ( Status )) { in RowGuid() 101 Status = HttpSendAnsiString ( SocketFD, in RowGuid() 104 if ( EFI_ERROR ( Status )) { in RowGuid() 107 Status = HttpSendUnicodeString ( SocketFD, in RowGuid() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
D | MmcIdentification.c | 78 EFI_STATUS Status; in EmmcGetDeviceState() local 87 Status = Host->SendCommand (Host, MMC_CMD13, RCA); in EmmcGetDeviceState() 88 if (EFI_ERROR (Status)) { in EmmcGetDeviceState() 89 DEBUG ((EFI_D_ERROR, "EmmcGetDeviceState(): Failed to get card status, Status=%r.\n", Status)); in EmmcGetDeviceState() 90 return Status; in EmmcGetDeviceState() 92 Status = Host->ReceiveResponse (Host, MMC_RESPONSE_TYPE_R1, &Data); in EmmcGetDeviceState() 93 if (EFI_ERROR (Status)) { in EmmcGetDeviceState() 94 …BUG ((EFI_D_ERROR, "EmmcGetDeviceState(): Failed to get response of CMD13, Status=%r.\n", Status)); in EmmcGetDeviceState() 95 return Status; in EmmcGetDeviceState() 98 …EBUG ((EFI_D_ERROR, "EmmcGetDeviceState(): Failed to switch expected mode, Status=%r.\n", Status)); in EmmcGetDeviceState() [all …]
|
/device/linaro/bootloader/edk2/CryptoPkg/Application/Cryptest/ |
D | Cryptest.c | 34 EFI_STATUS Status; in CryptestMain() local 41 Status = ValidateCryptDigest (); in CryptestMain() 42 if (EFI_ERROR (Status)) { in CryptestMain() 43 return Status; in CryptestMain() 46 Status = ValidateCryptHmac (); in CryptestMain() 47 if (EFI_ERROR (Status)) { in CryptestMain() 48 return Status; in CryptestMain() 51 Status = ValidateCryptBlockCipher (); in CryptestMain() 52 if (EFI_ERROR (Status)) { in CryptestMain() 53 return Status; in CryptestMain() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 33 EFI_STATUS Status; in KbcSelfTest() local 39 Status = Out8042Command (SELF_TEST); in KbcSelfTest() 40 if (EFI_ERROR (Status)) { in KbcSelfTest() 41 return Status; in KbcSelfTest() 46 Status = In8042Data (&Data); in KbcSelfTest() 47 if (EFI_ERROR (Status)) { in KbcSelfTest() 48 return Status; in KbcSelfTest() 57 Status = Out8042Command (READ_CMD_BYTE); in KbcSelfTest() 58 if (EFI_ERROR (Status)) { in KbcSelfTest() 59 return Status; in KbcSelfTest() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/AbootimgLib/ |
D | AbootimgLib.c | 98 EFI_STATUS Status; in UncompressKernel() local 102 Status = gBS->AllocatePages ( in UncompressKernel() 107 if (EFI_ERROR (Status)) { in UncompressKernel() 108 return Status; in UncompressKernel() 255 EFI_STATUS Status; in AllocateRamdisk() local 271 Status = EFI_SUCCESS; in AllocateRamdisk() 274 Status = gBS->AllocatePages ( in AllocateRamdisk() 277 if (EFI_ERROR (Status)) { in AllocateRamdisk() 278 return Status; in AllocateRamdisk() 292 return Status; in AllocateRamdisk() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseDxe/ |
D | CommPs2.c | 35 EFI_STATUS Status; in KbcSelfTest() local 41 Status = Out8042Command (IsaIo, SELF_TEST); in KbcSelfTest() 42 if (EFI_ERROR (Status)) { in KbcSelfTest() 43 return Status; in KbcSelfTest() 48 Status = In8042Data (IsaIo, &Data); in KbcSelfTest() 49 if (EFI_ERROR (Status)) { in KbcSelfTest() 50 return Status; in KbcSelfTest() 59 Status = Out8042Command (IsaIo, READ_CMD_BYTE); in KbcSelfTest() 60 if (EFI_ERROR (Status)) { in KbcSelfTest() 61 return Status; in KbcSelfTest() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2MouseAbsolutePointerDxe/ |
D | CommPs2.c | 35 EFI_STATUS Status; in KbcSelfTest() local 41 Status = Out8042Command (IsaIo, SELF_TEST); in KbcSelfTest() 42 if (EFI_ERROR (Status)) { in KbcSelfTest() 43 return Status; in KbcSelfTest() 48 Status = In8042Data (IsaIo, &Data); in KbcSelfTest() 49 if (EFI_ERROR (Status)) { in KbcSelfTest() 50 return Status; in KbcSelfTest() 59 Status = Out8042Command (IsaIo, READ_CMD_BYTE); in KbcSelfTest() 60 if (EFI_ERROR (Status)) { in KbcSelfTest() 61 return Status; in KbcSelfTest() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EblNetworkLib/ |
D | EblNetworkLib.c | 33 EFI_STATUS Status; in EblGetCurrentIpAddress() local 36 Status = gBS->LocateProtocol (&gEfiPxeBaseCodeProtocolGuid, NULL, (VOID **)&Pxe); in EblGetCurrentIpAddress() 37 if (EFI_ERROR(Status)) { in EblGetCurrentIpAddress() 38 return Status; in EblGetCurrentIpAddress() 41 Status = Pxe->Start (Pxe, gUseIpv6); in EblGetCurrentIpAddress() 42 if (EFI_ERROR(Status) && (Status != EFI_ALREADY_STARTED)) { in EblGetCurrentIpAddress() 43 return Status; in EblGetCurrentIpAddress() 58 EFI_STATUS Status; in EblGetCurrentMacAddress() local 61 Status = gBS->LocateProtocol (&gEfiSimpleNetworkProtocolGuid, NULL, (VOID **)&SimpleNet); in EblGetCurrentMacAddress() 62 if (EFI_ERROR(Status)) { in EblGetCurrentMacAddress() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/ |
D | SdHci.c | 112 EFI_STATUS Status; in SdPeimHcOrMmio() local 116 Status = SdPeimHcRwMmio (Address, TRUE, Count, &Data); in SdPeimHcOrMmio() 117 if (EFI_ERROR (Status)) { in SdPeimHcOrMmio() 118 return Status; in SdPeimHcOrMmio() 134 Status = SdPeimHcRwMmio (Address, FALSE, Count, &Data); in SdPeimHcOrMmio() 136 return Status; in SdPeimHcOrMmio() 163 EFI_STATUS Status; in SdPeimHcAndMmio() local 167 Status = SdPeimHcRwMmio (Address, TRUE, Count, &Data); in SdPeimHcAndMmio() 168 if (EFI_ERROR (Status)) { in SdPeimHcAndMmio() 169 return Status; in SdPeimHcAndMmio() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
D | EmmcHci.c | 112 EFI_STATUS Status; in EmmcPeimHcOrMmio() local 116 Status = EmmcPeimHcRwMmio (Address, TRUE, Count, &Data); in EmmcPeimHcOrMmio() 117 if (EFI_ERROR (Status)) { in EmmcPeimHcOrMmio() 118 return Status; in EmmcPeimHcOrMmio() 134 Status = EmmcPeimHcRwMmio (Address, FALSE, Count, &Data); in EmmcPeimHcOrMmio() 136 return Status; in EmmcPeimHcOrMmio() 163 EFI_STATUS Status; in EmmcPeimHcAndMmio() local 167 Status = EmmcPeimHcRwMmio (Address, TRUE, Count, &Data); in EmmcPeimHcAndMmio() 168 if (EFI_ERROR (Status)) { in EmmcPeimHcAndMmio() 169 return Status; in EmmcPeimHcAndMmio() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/ |
D | DwMmcHci.c | 78 EFI_STATUS Status; in DwMmcHcGetSlotInfo() local 81 Status = PciIo->Pci.Read ( in DwMmcHcGetSlotInfo() 88 if (EFI_ERROR (Status)) { in DwMmcHcGetSlotInfo() 89 return Status; in DwMmcHcGetSlotInfo() 132 EFI_STATUS Status; in DwMmcHcRwMmio() local 143 Status = PciIo->Mem.Read ( in DwMmcHcRwMmio() 152 Status = PciIo->Mem.Write ( in DwMmcHcRwMmio() 162 return Status; in DwMmcHcRwMmio() 196 EFI_STATUS Status; in DwMmcHcOrMmio() local 200 Status = DwMmcHcRwMmio (PciIo, BarIndex, Offset, TRUE, Count, &Data); in DwMmcHcOrMmio() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSource/ |
D | DataSource.c | 111 EFI_STATUS Status; in ControlCCheck() local 116 Status = EFI_SUCCESS; in ControlCCheck() 121 if ( EFI_ERROR ( Status )) { in ControlCCheck() 129 return Status; in ControlCCheck() 196 EFI_STATUS Status; in IpAddress() local 209 Status = EFI_INVALID_PARAMETER; in IpAddress() 242 Status = EFI_SUCCESS; in IpAddress() 293 Status = EFI_SUCCESS; in IpAddress() 316 return Status; in IpAddress() 331 EFI_STATUS Status; in SocketClose() local [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | SockInterface.c | 145 EFI_STATUS Status; in SockDestroyChild() local 155 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockDestroyChild() 156 if (EFI_ERROR (Status)) { in SockDestroyChild() 161 Status) in SockDestroyChild() 170 Status = Sock->ProtoHandler (Sock, SOCK_DETACH, NULL); in SockDestroyChild() 172 if (EFI_ERROR (Status)) { in SockDestroyChild() 177 Status) in SockDestroyChild() 191 if (EFI_ERROR (Status)) { in SockDestroyChild() 192 return Status; in SockDestroyChild() 215 EFI_STATUS Status; in SockCreateChild() local [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | SockInterface.c | 147 EFI_STATUS Status; in SockDestroyChild() local 157 Status = EfiAcquireLockOrFail (&(Sock->Lock)); in SockDestroyChild() 158 if (EFI_ERROR (Status)) { in SockDestroyChild() 161 "access socket failed with %r\n", Status)); in SockDestroyChild() 169 Status = Sock->ProtoHandler (Sock, SOCK_DETACH, NULL); in SockDestroyChild() 171 if (EFI_ERROR (Status)) { in SockDestroyChild() 174 " failed with %r\n", Status)); in SockDestroyChild() 187 if (EFI_ERROR (Status)) { in SockDestroyChild() 188 return Status; in SockDestroyChild() 212 EFI_STATUS Status; in SockCreateChild() local [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/AndroidFastbootTransportTcpDxe/ |
D | FastbootTransportTcp.c | 99 EFI_STATUS Status; in SubmitRecieveToken() local 102 Status = EFI_SUCCESS; in SubmitRecieveToken() 115 Status = mTcpConnection->Receive (mTcpConnection, &mReceiveToken[mNextSubmitIndex]); in SubmitRecieveToken() 116 if (EFI_ERROR (Status)) { in SubmitRecieveToken() 117 DEBUG ((EFI_D_ERROR, "TCP Receive: %r\n", Status)); in SubmitRecieveToken() 122 return Status; in SubmitRecieveToken() 136 EFI_STATUS Status; in ConnectionClosed() local 142 Status = mTcpConnection->Configure (mTcpConnection, NULL); in ConnectionClosed() 146 Status = mTcpListener->Accept (mTcpListener, &mAcceptToken); in ConnectionClosed() 147 if (EFI_ERROR (Status)) { in ConnectionClosed() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
D | EmmcDevice.c | 39 EFI_STATUS Status; in EmmcReset() local 56 Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); in EmmcReset() 58 return Status; in EmmcReset() 85 EFI_STATUS Status; in EmmcGetOcr() local 100 Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); in EmmcGetOcr() 101 if (!EFI_ERROR (Status)) { in EmmcGetOcr() 108 return Status; in EmmcGetOcr() 133 EFI_STATUS Status; in EmmcGetAllCid() local 148 Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); in EmmcGetAllCid() 150 return Status; in EmmcGetAllCid() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ |
D | EmmcDevice.c | 39 EFI_STATUS Status; in EmmcReset() local 56 Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); in EmmcReset() 58 return Status; in EmmcReset() 85 EFI_STATUS Status; in EmmcGetOcr() local 100 Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); in EmmcGetOcr() 101 if (!EFI_ERROR (Status)) { in EmmcGetOcr() 108 return Status; in EmmcGetOcr() 133 EFI_STATUS Status; in EmmcGetAllCid() local 148 Status = SdMmcPassThruPassThru (PassThru, Slot, &Packet, NULL); in EmmcGetAllCid() 150 return Status; in EmmcGetAllCid() [all …]
|