Home
last modified time | relevance | path

Searched refs:Handles (Results 1 – 25 of 56) sorted by relevance

123

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DSerMode.c39 EFI_HANDLE *Handles; in DisplaySettings() local
46 Handles = NULL; in DisplaySettings()
51 …s = gBS->LocateHandleBuffer (ByProtocol, &gEfiSerialIoProtocolGuid, NULL, &NoHandles, &Handles); in DisplaySettings()
59 if (ConvertHandleIndexToHandle(HandleIdx) != Handles[Index]) { in DisplaySettings()
64 Status = gBS->HandleProtocol (Handles[Index], &gEfiSerialIoProtocolGuid, (VOID**)&SerialIo); in DisplaySettings()
133 ConvertHandleToHandleIndex (Handles[Index]), in DisplaySettings()
134 Handles[Index], in DisplaySettings()
178 EFI_HANDLE *Handles; in ShellCommandRunSerMode() local
194 Handles = NULL; in ShellCommandRunSerMode()
315 …tatus = gBS->LocateHandleBuffer(ByProtocol, &gEfiSerialIoProtocolGuid, NULL, &NoHandles, &Handles); in ShellCommandRunSerMode()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmBoot.c577 EFI_HANDLE *Handles; in BmExpandUsbDevicePath() local
585 Handles = BmFindUsbDevice (FilePath, ParentDevicePathSize, &HandleCount); in BmExpandUsbDevicePath()
588 FullDevicePath = AppendDevicePath (DevicePathFromHandle (Handles[Index]), RemainingDevicePath); in BmExpandUsbDevicePath()
593 if (Handles != NULL) { in BmExpandUsbDevicePath()
594 FreePool (Handles); in BmExpandUsbDevicePath()
622 EFI_HANDLE *Handles; in BmExpandFileDevicePath() local
630 …->LocateHandleBuffer (ByProtocol, &gEfiSimpleFileSystemProtocolGuid, NULL, &HandleCount, &Handles); in BmExpandFileDevicePath()
633 Handles = NULL; in BmExpandFileDevicePath()
642 Status = gBS->HandleProtocol (Handles[Index], &gEfiBlockIoProtocolGuid, (VOID *) &BlockIo); in BmExpandFileDevicePath()
650 FullDevicePath = AppendDevicePath (DevicePathFromHandle (Handles[Index]), FilePath); in BmExpandFileDevicePath()
[all …]
DBmConnect.c256 EFI_HANDLE *Handles; in BmConnectUsbShortFormDevicePath() local
285 &Handles in BmConnectUsbShortFormDevicePath()
290 Handles[Index], in BmConnectUsbShortFormDevicePath()
303 Handles[Index], in BmConnectUsbShortFormDevicePath()
315 if (Handles != NULL) { in BmConnectUsbShortFormDevicePath()
316 FreePool (Handles); in BmConnectUsbShortFormDevicePath()
DBmPerformance.c158 EFI_HANDLE *Handles; in BmWriteBootToOsPerformanceData() local
230 Handles = NULL; in BmWriteBootToOsPerformanceData()
236 &Handles in BmWriteBootToOsPerformanceData()
279 if (Handle == Handles[Index]) { in BmWriteBootToOsPerformanceData()
280 BmGetNameFromHandle (Handles[Index], GaugeString, PERF_TOKEN_SIZE); in BmWriteBootToOsPerformanceData()
303 FreePool (Handles); in BmWriteBootToOsPerformanceData()
DBmDriverHealth.c301 EFI_HANDLE *Handles; in EfiBootManagerGetDriverHealthInfo() local
312 Handles = NULL; in EfiBootManagerGetDriverHealthInfo()
352 if (Handles == NULL) { in EfiBootManagerGetDriverHealthInfo()
361 &Handles in EfiBootManagerGetDriverHealthInfo()
369 …tatus (&DriverHealthInfo, Count, DriverHealthHandles[DriverHealthIndex], Handles[ControllerIndex],… in EfiBootManagerGetDriverHealthInfo()
378 …rHealthInfo, Count, DriverHealthHandles[DriverHealthIndex], Handles[ControllerIndex], Handles[Chil… in EfiBootManagerGetDriverHealthInfo()
388 if (Handles != NULL) { in EfiBootManagerGetDriverHealthInfo()
389 FreePool (Handles); in EfiBootManagerGetDriverHealthInfo()
DBmHotkey.c460 EFI_HANDLE *Handles; in BmGetActiveConsoleIn() local
462 Handles = NULL; in BmGetActiveConsoleIn()
475 Handles = AllocateCopyPool (sizeof (EFI_HANDLE), &gST->ConsoleInHandle); in BmGetActiveConsoleIn()
476 if (Handles != NULL) { in BmGetActiveConsoleIn()
486 &Handles in BmGetActiveConsoleIn()
490 return Handles; in BmGetActiveConsoleIn()
509 EFI_HANDLE *Handles; in BmUnregisterHotkeyNotify() local
514 Handles = BmGetActiveConsoleIn (&HandleCount); in BmUnregisterHotkeyNotify()
516 …Status = gBS->HandleProtocol (Handles[Index], &gEfiSimpleTextInputExProtocolGuid, (VOID **) &TxtIn… in BmUnregisterHotkeyNotify()
532 if (Handles != NULL) { in BmUnregisterHotkeyNotify()
[all …]
DBmMisc.c436 EFI_HANDLE *Handles; in EfiBootManagerDispatchDeferredImages() local
453 Handles = NULL; in EfiBootManagerDispatchDeferredImages()
459 &Handles in EfiBootManagerDispatchDeferredImages()
468 …Status = gBS->HandleProtocol (Handles[Index], &gEfiDeferredImageLoadProtocolGuid, (VOID **) &Defer… in EfiBootManagerDispatchDeferredImages()
519 if (Handles != NULL) { in EfiBootManagerDispatchDeferredImages()
520 FreePool (Handles); in EfiBootManagerDispatchDeferredImages()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscBaseBoardManufacturerFunction.c70 EFI_HANDLE *Handles; in MISC_SMBIOS_TABLE_FUNCTION() local
115 Handles = NULL; in MISC_SMBIOS_TABLE_FUNCTION()
121 Handles in MISC_SMBIOS_TABLE_FUNCTION()
125 Handles = AllocateZeroPool(BufferSize); in MISC_SMBIOS_TABLE_FUNCTION()
126 if (Handles == NULL) { in MISC_SMBIOS_TABLE_FUNCTION()
134 Handles in MISC_SMBIOS_TABLE_FUNCTION()
142 *Handles, in MISC_SMBIOS_TABLE_FUNCTION()
DMiscSystemManufacturerFunction.c79 EFI_HANDLE *Handles; in AddSmbiosManuCallback() local
197 Handles = NULL; in AddSmbiosManuCallback()
203 Handles in AddSmbiosManuCallback()
207 Handles = AllocateZeroPool(BufferSize); in AddSmbiosManuCallback()
208 if (Handles == NULL) { in AddSmbiosManuCallback()
216 Handles in AddSmbiosManuCallback()
224 *Handles, in AddSmbiosManuCallback()
DMiscOemType0x90Function.c226 EFI_HANDLE *Handles= NULL;
236 &Handles
240 Status = SearchChildHandle(Handles[Index], &Child);
244 return GetDriverName(Handles[Index]); in GetUcodeVersion()
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
DPciDecoding.c53 EFI_HANDLE *Handles; in EnablePciDecoding() local
69 NULL /* SearchKey */, &NoHandles, &Handles); in EnablePciDecoding()
97 Status = gBS->HandleProtocol (Handles[Idx], &gEfiPciIoProtocolGuid, in EnablePciDecoding()
140 FreePool (Handles); in EnablePciDecoding()
157 FreePool (Handles); in EnablePciDecoding()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/
DPerformance.c154 EFI_HANDLE *Handles; in WriteBootToOsPerformanceData() local
226 Handles = NULL; in WriteBootToOsPerformanceData()
232 &Handles in WriteBootToOsPerformanceData()
269 if (Handle == Handles[Index] && !PerfEntriesAsDxeHandle[EntryIndex]) { in WriteBootToOsPerformanceData()
273 if ((Handle == Handles[Index]) && (EndTicker != 0)) { in WriteBootToOsPerformanceData()
288 GetNameFromHandle (Handles[Index], GaugeString); in WriteBootToOsPerformanceData()
343 FreePool (Handles); in WriteBootToOsPerformanceData()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DPerformance.c154 EFI_HANDLE *Handles; in WriteBootToOsPerformanceData() local
226 Handles = NULL; in WriteBootToOsPerformanceData()
232 &Handles in WriteBootToOsPerformanceData()
275 if (Handle == Handles[Index]) { in WriteBootToOsPerformanceData()
276 GetNameFromHandle (Handles[Index], GaugeString); in WriteBootToOsPerformanceData()
299 FreePool (Handles); in WriteBootToOsPerformanceData()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BootManagerPolicyDxe/
DBootManagerPolicyDxe.c42 EFI_HANDLE *Handles; in ConnectAllAndCreateNetworkDeviceList() local
50 …leBuffer (ByProtocol, &gEfiManagedNetworkServiceBindingProtocolGuid, NULL, &HandleCount, &Handles); in ConnectAllAndCreateNetworkDeviceList()
52 Handles = NULL; in ConnectAllAndCreateNetworkDeviceList()
58 …Status = gBS->HandleProtocol (Handles[HandleCount], &gEfiDevicePathProtocolGuid, (VOID **) &Single… in ConnectAllAndCreateNetworkDeviceList()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/PlatformIntelBdsLib/
DIntelBdsPlatform.c220 EFI_HANDLE *Handles; in FilterAndProcess() local
225 NULL /* SearchKey */, &NoHandles, &Handles); in FilterAndProcess()
244 DevicePathFromHandle (Handles[Idx]), in FilterAndProcess()
252 if (Filter == NULL || Filter (Handles[Idx], DevicePathText)) { in FilterAndProcess()
253 Process (Handles[Idx], DevicePathText); in FilterAndProcess()
260 gBS->FreePool (Handles); in FilterAndProcess()
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DUnicodeCollation.c47 EFI_HANDLE *Handles; in InitializeUnicodeCollationSupportWorker() local
58 &Handles in InitializeUnicodeCollationSupportWorker()
73 Handles[Index], in InitializeUnicodeCollationSupportWorker()
107 FreePool (Handles); in InitializeUnicodeCollationSupportWorker()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/
DConsoleOption.c342 IN EFI_HANDLE *Handles, in SortedUartHandle() argument
355 if (!RetrieveUartUid (Handles[Index1], &AcpiUid1)) { in SortedUartHandle()
358 TempHandle = Handles[Index1]; in SortedUartHandle()
363 if (!RetrieveUartUid (Handles[Index2], &AcpiUid2)) { in SortedUartHandle()
368 TempHandle = Handles[Index2]; in SortedUartHandle()
372 Handles[Position] = Handles[Index1]; in SortedUartHandle()
373 Handles[Index1] = TempHandle; in SortedUartHandle()
412 EFI_HANDLE *Handles; in LocateSerialIo() local
436 &Handles in LocateSerialIo()
449 SortedUartHandle (Handles, NoHandles); in LocateSerialIo()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DConsoleOption.c345 IN EFI_HANDLE *Handles, in SortedUartHandle() argument
358 if (!RetrieveUartUid (Handles[Index1], &AcpiUid1)) { in SortedUartHandle()
361 TempHandle = Handles[Index1]; in SortedUartHandle()
366 if (!RetrieveUartUid (Handles[Index2], &AcpiUid2)) { in SortedUartHandle()
371 TempHandle = Handles[Index2]; in SortedUartHandle()
375 Handles[Position] = Handles[Index1]; in SortedUartHandle()
376 Handles[Index1] = TempHandle; in SortedUartHandle()
415 EFI_HANDLE *Handles; in LocateSerialIo() local
439 &Handles in LocateSerialIo()
452 SortedUartHandle (Handles, NoHandles); in LocateSerialIo()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Library/QemuBootOrderLib/
DExtraRootBusMap.c143 EFI_HANDLE *Handles; in CreateExtraRootBusMap() local
156 &NumHandles, &Handles); in CreateExtraRootBusMap()
180 Status = gBS->HandleProtocol (Handles[Idx], &gEfiDevicePathProtocolGuid, in CreateExtraRootBusMap()
257 FreePool (Handles); in CreateExtraRootBusMap()
/device/linaro/bootloader/edk2/ArmPkg/Library/PlatformBootManagerLib/
DPlatformBm.c183 EFI_HANDLE *Handles; in FilterAndProcess() local
188 NULL /* SearchKey */, &NoHandles, &Handles); in FilterAndProcess()
207 DevicePathFromHandle (Handles[Idx]), in FilterAndProcess()
215 if (Filter == NULL || Filter (Handles[Idx], DevicePathText)) { in FilterAndProcess()
216 Process (Handles[Idx], DevicePathText); in FilterAndProcess()
223 gBS->FreePool (Handles); in FilterAndProcess()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/Library/PlatformBootManagerLib/
DPlatformBm.c186 EFI_HANDLE *Handles; in FilterAndProcess() local
191 NULL /* SearchKey */, &NoHandles, &Handles); in FilterAndProcess()
210 DevicePathFromHandle (Handles[Idx]), in FilterAndProcess()
218 if (Filter == NULL || Filter (Handles[Idx], DevicePathText)) { in FilterAndProcess()
219 Process (Handles[Idx], DevicePathText); in FilterAndProcess()
226 gBS->FreePool (Handles); in FilterAndProcess()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformBootManagerLib/
DPlatformBm.c184 EFI_HANDLE *Handles; in FilterAndProcess() local
189 NULL /* SearchKey */, &NoHandles, &Handles); in FilterAndProcess()
208 DevicePathFromHandle (Handles[Idx]), in FilterAndProcess()
216 if (Filter == NULL || Filter (Handles[Idx], DevicePathText)) { in FilterAndProcess()
217 Process (Handles[Idx], DevicePathText); in FilterAndProcess()
224 gBS->FreePool (Handles); in FilterAndProcess()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
DLocate.c438 EFI_HANDLE *Handles; in CoreLocateDevicePath() local
452 Handles = NULL; in CoreLocateDevicePath()
472 Status = CoreLocateHandleBuffer (ByProtocol, Protocol, NULL, &HandleCount, &Handles); in CoreLocateDevicePath()
479 Handle = Handles[Index]; in CoreLocateDevicePath()
511 CoreFreePool (Handles); in CoreLocateDevicePath()
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/
DIpSecConfig.c483 EFI_HANDLE *Handles; in LocateProtocol() local
486 Handles = NULL; in LocateProtocol()
489 Status = LocateHandle (ByProtocol, ProtocolGuid, NULL, &NumberHandles, &Handles); in LocateProtocol()
496 ASSERT (Handles != NULL); in LocateProtocol()
498 Handles[Index], in LocateProtocol()
508 if (Handles != NULL) { in LocateProtocol()
509 FreePool (Handles); in LocateProtocol()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DImageEx.c260 EFI_HANDLE *Handles; in LocateHiiImageDecoder() local
282 …gBS->LocateHandleBuffer (ByProtocol, &gEfiHiiImageDecoderProtocolGuid, NULL, &HandleNum, &Handles); in LocateHiiImageDecoder()
287 …Status = gBS->HandleProtocol (Handles[Index], &gEfiHiiImageDecoderProtocolGuid, (VOID **) &Decoder… in LocateHiiImageDecoder()

123