/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/ |
D | UefiDevicePathLib.c | 47 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in GlueGetDevicePathSize() argument 52 if (DevicePath == NULL) { in GlueGetDevicePathSize() 59 Start = DevicePath; in GlueGetDevicePathSize() 60 while (!EfiIsDevicePathEnd (DevicePath)) { in GlueGetDevicePathSize() 61 DevicePath = EfiNextDevicePathNode (DevicePath); in GlueGetDevicePathSize() 67 return ((UINTN) DevicePath - (UINTN) Start) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in GlueGetDevicePathSize() 86 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in GlueDuplicateDevicePath() argument 95 Size = GetDevicePathSize (DevicePath); in GlueDuplicateDevicePath() 103 NewDevicePath = AllocateCopyPool (Size, DevicePath); in GlueDuplicateDevicePath() 195 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL in GlueAppendDevicePathNode() argument [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathUtilities.c | 54 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, in IsDevicePathValid() argument 62 ASSERT (DevicePath != NULL); in IsDevicePathValid() 64 …for (Count = 0, Size = 0; !IsDevicePathEnd (DevicePath); DevicePath = NextDevicePathNode (DevicePa… in IsDevicePathValid() 65 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid() 88 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH); in IsDevicePathValid() 340 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in UefiDevicePathLibGetDevicePathSize() argument 345 if (DevicePath == NULL) { in UefiDevicePathLibGetDevicePathSize() 349 if (!IsDevicePathValid (DevicePath, 0)) { in UefiDevicePathLibGetDevicePathSize() 356 Start = DevicePath; in UefiDevicePathLibGetDevicePathSize() 357 while (!IsDevicePathEnd (DevicePath)) { in UefiDevicePathLibGetDevicePathSize() [all …]
|
D | UefiDevicePathLibOptionalDevicePathProtocol.c | 78 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in GetDevicePathSize() argument 82 return mDevicePathLibDevicePathUtilities->GetDevicePathSize (DevicePath); in GetDevicePathSize() 84 return UefiDevicePathLibGetDevicePathSize (DevicePath); in GetDevicePathSize() 107 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in DuplicateDevicePath() argument 111 return mDevicePathLibDevicePathUtilities->DuplicateDevicePath (DevicePath); in DuplicateDevicePath() 113 return UefiDevicePathLibDuplicateDevicePath (DevicePath); in DuplicateDevicePath() 186 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL in AppendDevicePathNode() argument 191 return mDevicePathLibDevicePathUtilities->AppendDeviceNode (DevicePath, DevicePathNode); in AppendDevicePathNode() 193 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode); in AppendDevicePathNode() 223 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL in AppendDevicePathInstance() argument [all …]
|
D | UefiDevicePathLib.c | 41 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in GetDevicePathSize() argument 44 return UefiDevicePathLibGetDevicePathSize (DevicePath); in GetDevicePathSize() 66 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in DuplicateDevicePath() argument 69 return UefiDevicePathLibDuplicateDevicePath (DevicePath); in DuplicateDevicePath() 137 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL in AppendDevicePathNode() argument 141 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode); in AppendDevicePathNode() 170 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL in AppendDevicePathInstance() argument 174 return UefiDevicePathLibAppendDevicePathInstance (DevicePath, DevicePathInstance); in AppendDevicePathInstance() 208 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, in GetNextDevicePathInstance() argument 212 return UefiDevicePathLibGetNextDevicePathInstance (DevicePath, Size); in GetNextDevicePathInstance() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
D | DevicePath.c | 31 #include EFI_PROTOCOL_DEFINITION (DevicePath) 35 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, in EfiDevicePathInstance() argument 61 if (*DevicePath == NULL) { in EfiDevicePathInstance() 72 DevPath = *DevicePath; in EfiDevicePathInstance() 81 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in EfiDevicePathInstance() 89 ReturnValue = EfiDuplicateDevicePath (*DevicePath); in EfiDevicePathInstance() 97 *DevicePath = NULL; in EfiDevicePathInstance() 99 *DevicePath = NextDevicePathNode (DevPath); in EfiDevicePathInstance() 107 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in EfiIsDevicePathMultiInstance() argument 126 if (DevicePath == NULL) { in EfiIsDevicePathMultiInstance() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
D | RtDevicePath.c | 33 #include EFI_PROTOCOL_DEFINITION (DevicePath) 132 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, in RtEfiDevicePathInstance() argument 158 if (*DevicePath == NULL) { in RtEfiDevicePathInstance() 169 DevPath = *DevicePath; in RtEfiDevicePathInstance() 178 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in RtEfiDevicePathInstance() 186 ReturnValue = RtEfiDuplicateDevicePath (*DevicePath); in RtEfiDevicePathInstance() 194 *DevicePath = NULL; in RtEfiDevicePathInstance() 196 *DevicePath = NextDevicePathNode (DevPath); in RtEfiDevicePathInstance() 204 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in RtEfiIsDevicePathMultiInstance() argument 223 if (DevicePath == NULL) { in RtEfiIsDevicePathMultiInstance() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/ |
D | UefiDevicePathLib.c | 96 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, in IsDevicePathValid() argument 104 ASSERT (DevicePath != NULL); in IsDevicePathValid() 106 …for (Count = 0, Size = 0; !IsDevicePathEnd (DevicePath); DevicePath = NextDevicePathNode (DevicePa… in IsDevicePathValid() 107 NodeLength = DevicePathNodeLength (DevicePath); in IsDevicePathValid() 130 return (BOOLEAN) (DevicePathNodeLength (DevicePath) == END_DEVICE_PATH_LENGTH); in IsDevicePathValid() 381 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in GetDevicePathSize() argument 384 return mDevicePathLibDevicePathUtilities->GetDevicePathSize (DevicePath); in GetDevicePathSize() 407 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in DuplicateDevicePath() argument 410 return mDevicePathLibDevicePathUtilities->DuplicateDevicePath (DevicePath); in DuplicateDevicePath() 478 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL in AppendDevicePathNode() argument [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBdsLib/ |
D | BdsPlatform.c | 167 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in PrepareLpcBridgeDevicePath() local 171 DevicePath = NULL; in PrepareLpcBridgeDevicePath() 175 (VOID*)&DevicePath in PrepareLpcBridgeDevicePath() 180 TempDevicePath = DevicePath; in PrepareLpcBridgeDevicePath() 185 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gPnpPs2KeyboardDeviceN… in PrepareLpcBridgeDevicePath() 187 BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL); in PrepareLpcBridgeDevicePath() 192 DevicePath = TempDevicePath; in PrepareLpcBridgeDevicePath() 195 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gPnp16550ComPortDevice… in PrepareLpcBridgeDevicePath() 196 DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceNode); in PrepareLpcBridgeDevicePath() 197 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gTerminalTypeDeviceNod… in PrepareLpcBridgeDevicePath() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/ConPlatformDxe/ |
D | ConPlatform.c | 227 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in ConPlatformTextInDriverBindingStart() local 237 (VOID **) &DevicePath, in ConPlatformTextInDriverBindingStart() 265 DevicePath, in ConPlatformTextInDriverBindingStart() 278 if (IsHotPlugDevice (DevicePath)) { in ConPlatformTextInDriverBindingStart() 291 DevicePath, in ConPlatformTextInDriverBindingStart() 302 DevicePath, in ConPlatformTextInDriverBindingStart() 359 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in ConPlatformTextOutDriverBindingStart() local 373 (VOID **) &DevicePath, in ConPlatformTextOutDriverBindingStart() 401 DevicePath, in ConPlatformTextOutDriverBindingStart() 411 DevicePath, in ConPlatformTextOutDriverBindingStart() [all …]
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBdsLib/ |
D | BdsPlatform.c | 108 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in PrepareLpcBridgeDevicePath() local 112 DevicePath = NULL; in PrepareLpcBridgeDevicePath() 116 (VOID*)&DevicePath in PrepareLpcBridgeDevicePath() 121 TempDevicePath = DevicePath; in PrepareLpcBridgeDevicePath() 126 …DevicePath = AppendDevicePathNode ((EFI_DEVICE_PATH_PROTOCOL *)NULL, (EFI_DEVICE_PATH_PROTOCOL *)&… in PrepareLpcBridgeDevicePath() 127 DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceNode); in PrepareLpcBridgeDevicePath() 128 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gTerminalTypeDeviceNod… in PrepareLpcBridgeDevicePath() 133 DevPathStr = DevicePathToStr(DevicePath); in PrepareLpcBridgeDevicePath() 143 BdsLibUpdateConsoleVariable (VarConsoleOut, DevicePath, NULL); in PrepareLpcBridgeDevicePath() 144 BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL); in PrepareLpcBridgeDevicePath() [all …]
|
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
D | BdsAppLoader.c | 31 OUT EFI_DEVICE_PATH **DevicePath in LocateEfiApplicationInFvByName() argument 50 ASSERT (DevicePath != NULL); in LocateEfiApplicationInFvByName() 67 *DevicePath = NULL; in LocateEfiApplicationInFvByName() 114 … *DevicePath = AppendDevicePathNode (FvDevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&FileDevicePath); in LocateEfiApplicationInFvByName() 115 ASSERT (*DevicePath != NULL); in LocateEfiApplicationInFvByName() 149 OUT EFI_DEVICE_PATH **DevicePath in LocateEfiApplicationInFvByGuid() argument 165 ASSERT (DevicePath != NULL); in LocateEfiApplicationInFvByGuid() 179 *DevicePath = NULL; in LocateEfiApplicationInFvByGuid() 225 *DevicePath = FileDevicePath (HandleBuffer[Index], UiSection); in LocateEfiApplicationInFvByGuid() 235 … *DevicePath = AppendDevicePathNode (FvDevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&FvFileDevicePath); in LocateEfiApplicationInFvByGuid() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | ConsoleOption.c | 83 EFI_DEVICE_PATH_PROTOCOL *DevicePath 100 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, in ChangeTerminalDevicePath() argument 114 Node = *DevicePath; in ChangeTerminalDevicePath() 161 *DevicePath = AppendDevicePathNode ( in ChangeTerminalDevicePath() 162 *DevicePath, in ChangeTerminalDevicePath() 172 Node1 = NewTerminalContext->DevicePath; in ChangeTerminalDevicePath() 231 IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath in ChangeVariableDevicePath() argument 241 Node = DevicePath; in ChangeVariableDevicePath() 305 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in RetrieveUartUid() local 310 (VOID **) &DevicePath in RetrieveUartUid() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/ |
D | ConsoleOption.c | 36 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in MatchDevicePaths() local 44 DevicePath = Multi; in MatchDevicePaths() 45 DevicePathInst = GetNextDevicePathInstance (&DevicePath, &Size); in MatchDevicePaths() 61 DevicePathInst = GetNextDevicePathInstance (&DevicePath, &Size); in MatchDevicePaths() 98 EFI_DEVICE_PATH_PROTOCOL *DevicePath 115 IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath, in ChangeTerminalDevicePath() argument 128 Node = DevicePath; in ChangeTerminalDevicePath() 169 Node1 = NewTerminalContext->DevicePath; in ChangeTerminalDevicePath() 228 IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath in ChangeVariableDevicePath() argument 238 Node = DevicePath; in ChangeVariableDevicePath() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/ |
D | BdsPlatform.c | 561 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in PrepareLpcBridgeDevicePath() local 564 DevicePath = NULL; in PrepareLpcBridgeDevicePath() 568 (VOID*)&DevicePath in PrepareLpcBridgeDevicePath() 573 TempDevicePath = DevicePath; in PrepareLpcBridgeDevicePath() 578 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gPnpPs2KeyboardDeviceN… in PrepareLpcBridgeDevicePath() 580 BdsLibUpdateConsoleVariable (VarConsoleInp, DevicePath, NULL); in PrepareLpcBridgeDevicePath() 585 DevicePath = TempDevicePath; in PrepareLpcBridgeDevicePath() 588 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gPnp16550ComPortDevice… in PrepareLpcBridgeDevicePath() 589 DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceNode); in PrepareLpcBridgeDevicePath() 590 …DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gTerminalTypeDeviceNod… in PrepareLpcBridgeDevicePath() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/ |
D | XenBus.c | 136 CHAR8 DevicePath[XENSTORE_ABS_PATH_MAX]; in XenBusAddDevice() local 143 AsciiSPrint (DevicePath, sizeof (DevicePath), in XenBusAddDevice() 146 if (XenStorePathExists (XST_NIL, DevicePath, "")) { in XenBusAddDevice() 151 Child = XenBusDeviceInitialized (Dev, DevicePath); in XenBusAddDevice() 160 State = XenBusReadDriverState (DevicePath); in XenBusAddDevice() 168 "State %d\n", DevicePath, State)); in XenBusAddDevice() 173 StatusXenStore = XenStoreRead (XST_NIL, DevicePath, "backend", in XenBusAddDevice() 176 DEBUG ((EFI_D_ERROR, "xenbus: %a no backend path.\n", DevicePath)); in XenBusAddDevice() 183 Private->XenBusIo.Node = AsciiStrDup (DevicePath); in XenBusAddDevice() 194 Private->DevicePath = (XENBUS_DEVICE_PATH *)AppendDevicePathNode ( in XenBusAddDevice() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/ |
D | DebugPort.c | 66 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in GetDebugPortVariable() local 73 DevicePath = DebugPortVariable; in GetDebugPortVariable() 74 while (!IsDevicePathEnd (DevicePath) && !IS_UART_DEVICEPATH (DevicePath)) { in GetDebugPortVariable() 75 DevicePath = NextDevicePathNode (DevicePath); in GetDebugPortVariable() 78 if (IsDevicePathEnd (DevicePath)) { in GetDebugPortVariable() 84 &((UART_DEVICE_PATH *) DevicePath)->BaudRate, in GetDebugPortVariable() 85 sizeof (((UART_DEVICE_PATH *) DevicePath)->BaudRate) in GetDebugPortVariable() 91 &((UART_DEVICE_PATH *) DevicePath)->Parity, in GetDebugPortVariable() 92 sizeof (((UART_DEVICE_PATH *) DevicePath)->Parity) in GetDebugPortVariable() 96 &((UART_DEVICE_PATH *) DevicePath)->DataBits, in GetDebugPortVariable() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/ |
D | BiosBlkIo.c | 137 EFI_DEVICE_PATH_PROTOCOL *DevicePath; in BiosBlockIoDriverBindingSupported() local 151 (VOID **) &DevicePath, in BiosBlockIoDriverBindingSupported() 416 …BiosInitBlockIoDevicePath (PciDevPath, &BiosBlockIoPrivate->Bios, &BiosBlockIoPrivate->DevicePath); in BiosBlockIoDriverBindingStart() 426 BiosBlockIoPrivate->DevicePath, in BiosBlockIoDriverBindingStart() 574 BiosBlockIoPrivate->DevicePath, in BiosBlockIoDriverBindingStop() 633 OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath in SetBiosInitBlockIoDevicePath() argument 648 Status = BuildEdd30DevicePath (BaseDevicePath, Drive, DevicePath); in SetBiosInitBlockIoDevicePath() 656 VendorNode.DevicePath.Header.Type = HARDWARE_DEVICE_PATH; in SetBiosInitBlockIoDevicePath() 657 VendorNode.DevicePath.Header.SubType = HW_VENDOR_DP; in SetBiosInitBlockIoDevicePath() 658 SetDevicePathNodeLength (&VendorNode.DevicePath.Header, sizeof (VendorNode)); in SetBiosInitBlockIoDevicePath() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
D | FvbServiceDxe.c | 110 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_MEMMAP_DE… in InstallFvbProtocol() 111 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.StartingAddress = FwhInstance->Fv… in InstallFvbProtocol() 112 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.EndingAddress = FwhInstance->Fv… in InstallFvbProtocol() 114 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_PIWG_DEVI… in InstallFvbProtocol() 116 &((FV_PIWG_DEVICE_PATH *)FvbDevice->DevicePath)->FvDevPath.FvName, in InstallFvbProtocol() 126 &FvbDevice->DevicePath, in InstallFvbProtocol() 140 FvbDevice->DevicePath, in InstallFvbProtocol() 146 } else if (IsDevicePathEnd (FvbDevice->DevicePath)) { in InstallFvbProtocol()
|
D | FvbServiceSmm.c | 73 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_MEMMAP_DE… in InstallFvbProtocol() 74 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.StartingAddress = FwhInstance->Fv… in InstallFvbProtocol() 75 …((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.EndingAddress = FwhInstance->Fv… in InstallFvbProtocol() 77 …FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_PIWG_DEVI… in InstallFvbProtocol() 79 &((FV_PIWG_DEVICE_PATH *)FvbDevice->DevicePath)->FvDevPath.FvName, in InstallFvbProtocol() 100 FvbDevice->DevicePath in InstallFvbProtocol()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/SmmRuntimeDxeReportStatusCodeLib/ |
D | ReportStatusCodeLib.c | 89 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in InternalReportStatusCodeDevicePathSize() argument 97 Start = DevicePath; in InternalReportStatusCodeDevicePathSize() 98 while (!IsDevicePathEnd (DevicePath)) { in InternalReportStatusCodeDevicePathSize() 99 DevicePath = NextDevicePathNode (DevicePath); in InternalReportStatusCodeDevicePathSize() 105 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath); in InternalReportStatusCodeDevicePathSize() 360 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in GlueReportStatusCodeWithDevicePath() argument 363 ASSERT (DevicePath != NULL); in GlueReportStatusCodeWithDevicePath() 367 (VOID *)DevicePath, in GlueReportStatusCodeWithDevicePath() 368 InternalReportStatusCodeDevicePathSize (DevicePath) in GlueReportStatusCodeWithDevicePath()
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/ |
D | ReportStatusCodeLib.c | 67 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in InternalReportStatusCodeDevicePathSize() argument 75 Start = DevicePath; in InternalReportStatusCodeDevicePathSize() 76 while (!IsDevicePathEnd (DevicePath)) { in InternalReportStatusCodeDevicePathSize() 77 DevicePath = NextDevicePathNode (DevicePath); in InternalReportStatusCodeDevicePathSize() 83 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath); in InternalReportStatusCodeDevicePathSize() 333 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath in ReportStatusCodeWithDevicePath() argument 336 ASSERT (DevicePath != NULL); in ReportStatusCodeWithDevicePath() 340 (VOID *)DevicePath, in ReportStatusCodeWithDevicePath() 341 InternalReportStatusCodeDevicePathSize (DevicePath) in ReportStatusCodeWithDevicePath()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
D | ConsistMapping.c | 454 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialHardDrive() argument 482 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialAtapi() argument 506 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialCdRom() argument 531 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialFibre() argument 556 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialUart() argument 583 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialUsb() argument 601 Status = gBS->LocateDevicePath( &gEfiUsbIoProtocolGuid, &DevicePath, &TempHandle ); in DevPathSerialUsb() 643 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialVendor() argument 706 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialLun() argument 730 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath in DevPathSerialSata() argument [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | DevicePathLib.h | 41 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, 249 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath 271 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath 332 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL 360 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL 392 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, 438 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath 504 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/ |
D | BootOptionSupport.c | 52 IN EFI_DEVICE_PATH *DevicePath 75 IN EFI_DEVICE_PATH *DevicePath 98 IN EFI_DEVICE_PATH *DevicePath 121 IN EFI_DEVICE_PATH *DevicePath 199 IN EFI_DEVICE_PATH *DevicePath, in BootDeviceGetDeviceSupport() argument 207 if (BdsLoadOptionSupportList[Index].IsSupported (DevicePath)) { in BootDeviceGetDeviceSupport() 319 EFI_DEVICE_PATH* DevicePath; in BdsLoadOptionFileSystemUpdateDevicePath() local 321 DevicePath = DuplicateDevicePath (OldDevicePath); in BdsLoadOptionFileSystemUpdateDevicePath() 323 EndingDevicePath = (FILEPATH_DEVICE_PATH*)GetLastDevicePathNode (DevicePath); in BdsLoadOptionFileSystemUpdateDevicePath() 347 …*NewDevicePath = AppendDevicePathNode (DevicePath, (CONST EFI_DEVICE_PATH_PROTOCOL *)FilePathDevic… in BdsLoadOptionFileSystemUpdateDevicePath() [all …]
|
D | BdsHelper.c | 262 IN EFI_DEVICE_PATH* DevicePath in GetLastDevicePathNode() argument 267 PrevDevicePathNode = DevicePath; in GetLastDevicePathNode() 268 while (!IsDevicePathEndType (DevicePath)) { in GetLastDevicePathNode() 269 PrevDevicePathNode = DevicePath; in GetLastDevicePathNode() 270 DevicePath = NextDevicePathNode (DevicePath); in GetLastDevicePathNode() 345 IN EFI_DEVICE_PATH* DevicePath in GetUnalignedDevicePathSize() argument 351 if ((UINTN)DevicePath & 0x1) { in GetUnalignedDevicePathSize() 352 AlignedDevicePath = DuplicateDevicePath (DevicePath); in GetUnalignedDevicePathSize() 356 Size = GetDevicePathSize (DevicePath); in GetUnalignedDevicePathSize() 363 IN EFI_DEVICE_PATH* DevicePath in GetAlignedDevicePath() argument [all …]
|