/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
D | DevicePath.c | 57 EFI_DEVICE_PATH_PROTOCOL *DevPath; in EfiDevicePathInstance() local 72 DevPath = *DevicePath; in EfiDevicePathInstance() 73 while (!IsDevicePathEndType (DevPath)) { in EfiDevicePathInstance() 74 DevPath = NextDevicePathNode (DevPath); in EfiDevicePathInstance() 81 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in EfiDevicePathInstance() 87 Temp = DevPath->SubType; in EfiDevicePathInstance() 88 DevPath->SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE; in EfiDevicePathInstance() 90 DevPath->SubType = Temp; in EfiDevicePathInstance() 96 if (DevicePathSubType (DevPath) == END_ENTIRE_DEVICE_PATH_SUBTYPE) { in EfiDevicePathInstance() 99 *DevicePath = NextDevicePathNode (DevPath); in EfiDevicePathInstance() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
D | RtDevicePath.c | 154 EFI_DEVICE_PATH_PROTOCOL *DevPath; in RtEfiDevicePathInstance() local 169 DevPath = *DevicePath; in RtEfiDevicePathInstance() 170 while (!IsDevicePathEndType (DevPath)) { in RtEfiDevicePathInstance() 171 DevPath = NextDevicePathNode (DevPath); in RtEfiDevicePathInstance() 178 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in RtEfiDevicePathInstance() 184 Temp = DevPath->SubType; in RtEfiDevicePathInstance() 185 DevPath->SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE; in RtEfiDevicePathInstance() 187 DevPath->SubType = Temp; in RtEfiDevicePathInstance() 193 if (DevicePathSubType (DevPath) == END_ENTIRE_DEVICE_PATH_SUBTYPE) { in RtEfiDevicePathInstance() 196 *DevicePath = NextDevicePathNode (DevPath); in RtEfiDevicePathInstance() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
D | DevicePathToText.c | 78 IN VOID *DevPath, in DevPathToTextPci() argument 85 Pci = DevPath; in DevPathToTextPci() 105 IN VOID *DevPath, in DevPathToTextPccard() argument 112 Pccard = DevPath; in DevPathToTextPccard() 132 IN VOID *DevPath, in DevPathToTextMemMap() argument 139 MemMap = DevPath; in DevPathToTextMemMap() 165 IN VOID *DevPath, in DevPathToTextVendor() argument 177 Vendor = (VENDOR_DEVICE_PATH *) DevPath; in DevPathToTextVendor() 295 IN VOID *DevPath, in DevPathToTextController() argument 302 Controller = DevPath; in DevPathToTextController() [all …]
|
D | DevicePathUtilities.c | 651 EFI_DEVICE_PATH_PROTOCOL *DevPath; in UefiDevicePathLibGetNextDevicePathInstance() local 669 DevPath = *DevicePath; in UefiDevicePathLibGetNextDevicePathInstance() 670 while (!IsDevicePathEndType (DevPath)) { in UefiDevicePathLibGetNextDevicePathInstance() 671 DevPath = NextDevicePathNode (DevPath); in UefiDevicePathLibGetNextDevicePathInstance() 677 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in UefiDevicePathLibGetNextDevicePathInstance() 682 Temp = DevPath->SubType; in UefiDevicePathLibGetNextDevicePathInstance() 683 DevPath->SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE; in UefiDevicePathLibGetNextDevicePathInstance() 685 DevPath->SubType = Temp; in UefiDevicePathLibGetNextDevicePathInstance() 691 if (DevicePathSubType (DevPath) == END_ENTIRE_DEVICE_PATH_SUBTYPE) { in UefiDevicePathLibGetNextDevicePathInstance() 694 *DevicePath = NextDevicePathNode (DevPath); in UefiDevicePathLibGetNextDevicePathInstance()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/ |
D | UefiDevicePathLib.c | 323 EFI_DEVICE_PATH_PROTOCOL *DevPath; in GlueGetNextDevicePathInstance() local 337 DevPath = *DevicePath; in GlueGetNextDevicePathInstance() 338 while (!IsDevicePathEndType (DevPath)) { in GlueGetNextDevicePathInstance() 339 DevPath = NextDevicePathNode (DevPath); in GlueGetNextDevicePathInstance() 345 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in GlueGetNextDevicePathInstance() 350 Temp = DevPath->SubType; in GlueGetNextDevicePathInstance() 351 DevPath->SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE; in GlueGetNextDevicePathInstance() 353 DevPath->SubType = Temp; in GlueGetNextDevicePathInstance() 359 if (DevicePathSubType (DevPath) == END_ENTIRE_DEVICE_PATH_SUBTYPE) { in GlueGetNextDevicePathInstance() 362 *DevicePath = NextDevicePathNode (DevPath); in GlueGetNextDevicePathInstance()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/ |
D | Connect.c | 202 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ShellConnectFromDevPaths() local 216 DevPath = NULL; in ShellConnectFromDevPaths() 223 …tatus = gRT->GetVariable((CHAR16*)Key, (EFI_GUID*)&gEfiGlobalVariableGuid, NULL, &Length, DevPath); in ShellConnectFromDevPaths() 225 DevPath = AllocateZeroPool(Length); in ShellConnectFromDevPaths() 226 if (DevPath == NULL) { in ShellConnectFromDevPaths() 229 …tatus = gRT->GetVariable((CHAR16*)Key, (EFI_GUID*)&gEfiGlobalVariableGuid, NULL, &Length, DevPath); in ShellConnectFromDevPaths() 231 if (DevPath != NULL) { in ShellConnectFromDevPaths() 232 FreePool (DevPath); in ShellConnectFromDevPaths() 242 CopyOfDevPath = DevPath; in ShellConnectFromDevPaths() 252 if (DevPath != NULL) { in ShellConnectFromDevPaths() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | DevicePath.c | 29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument 32 return ConvertDevicePathToText (DevPath, TRUE, TRUE); in DevicePathToStr()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | DevicePath.c | 29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument 32 return ConvertDevicePathToText (DevPath, TRUE, TRUE); in DevicePathToStr()
|
D | BdsBoot.c | 745 EFI_DEVICE_PATH_PROTOCOL *DevPath; in BdsCreateOneLegacyBootOption() local 747 DevPath = NULL; in BdsCreateOneLegacyBootOption() 758 DevPath = AppendDevicePathNode ( in BdsCreateOneLegacyBootOption() 762 if (NULL == DevPath) { in BdsCreateOneLegacyBootOption() 768 DevPath, in BdsCreateOneLegacyBootOption() 775 FreePool (DevPath); in BdsCreateOneLegacyBootOption() 1525 EFI_DEVICE_PATH_PROTOCOL *DevPath; in BdsRefreshBbsTableForBoot() local 1609 DevPath = (EFI_DEVICE_PATH_PROTOCOL *) Ptr; in BdsRefreshBbsTableForBoot() 1610 if (BBS_DEVICE_PATH != DevPath->Type || BBS_BBS_DP != DevPath->SubType) { in BdsRefreshBbsTableForBoot() 3969 IN EFI_DEVICE_PATH_PROTOCOL *DevPath, in BdsLibIsValidEFIBootOptDevicePath() argument [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
D | SecureBootConfigDevicePath.c | 29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument 33 DevPath, in DevicePathToStr()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/ |
D | SetVar.c | 80 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ShellCommandRunSetVar() local 87 DevPath = NULL; in ShellCommandRunSetVar() 271 DevPath = ConvertTextToDevicePath(Data); in ShellCommandRunSetVar() 272 if (DevPath == NULL) { in ShellCommandRunSetVar() 276 … = gRT->SetVariable((CHAR16*)VariableName, &Guid, Attributes, GetDevicePathSize(DevPath), DevPath); in ShellCommandRunSetVar() 297 if (DevPath != NULL) { in ShellCommandRunSetVar() 298 FreePool(DevPath); in ShellCommandRunSetVar()
|
D | Dblk.c | 31 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath, in DisplayTheBlocks() argument 45 …Status = gBS->LocateDevicePath(&gEfiBlockIoProtocolGuid, (EFI_DEVICE_PATH_PROTOCOL **)&DevPath, &B… in DisplayTheBlocks() 112 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ShellCommandRunDblk() local 187 DevPath = (EFI_DEVICE_PATH_PROTOCOL*)gEfiShellProtocol->GetDevicePathFromMap(BlockName); in ShellCommandRunDblk() 188 if (gBS->LocateDevicePath(&gEfiBlockIoProtocolGuid, &DevPath, NULL) == EFI_NOT_FOUND) { in ShellCommandRunDblk()
|
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/ |
D | PciBus.c | 162 Node.DevPath = RemainingDevicePath; in PciBusDriverBindingSupported() 163 if (Node.DevPath->Type != HARDWARE_DEVICE_PATH || in PciBusDriverBindingSupported() 164 Node.DevPath->SubType != HW_PCI_DP || in PciBusDriverBindingSupported() 165 DevicePathNodeLength(Node.DevPath) != sizeof(PCI_DEVICE_PATH)) { in PciBusDriverBindingSupported()
|
D | PciDeviceSupport.c | 568 Node.DevPath = RemainingDevicePath; in StartPciDevicesOnBridge() 694 Node.DevPath = RemainingDevicePath; in StartPciDevices() 695 if (Node.DevPath->Type != HARDWARE_DEVICE_PATH || in StartPciDevices() 696 Node.DevPath->SubType != HW_PCI_DP || in StartPciDevices() 697 DevicePathNodeLength (Node.DevPath) != sizeof (PCI_DEVICE_PATH) in StartPciDevices()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/ |
D | RtDevicePath.h | 78 IN EFI_DEVICE_PATH_PROTOCOL *DevPath 144 IN EFI_DEVICE_PATH_PROTOCOL *DevPath
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/ |
D | PciBus.c | 150 Node.DevPath = RemainingDevicePath; in PciBusDriverBindingSupported() 151 if (Node.DevPath->Type != HARDWARE_DEVICE_PATH || in PciBusDriverBindingSupported() 152 Node.DevPath->SubType != HW_PCI_DP || in PciBusDriverBindingSupported() 153 DevicePathNodeLength(Node.DevPath) != sizeof(PCI_DEVICE_PATH)) { in PciBusDriverBindingSupported()
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
D | Map.c | 301 EFI_DEVICE_PATH_PROTOCOL *DevPath; in PerformSingleMappingDisplay() local 316 DevPath = DevicePathFromHandle(Handle); in PerformSingleMappingDisplay() 317 DevPathCopy = DevPath; in PerformSingleMappingDisplay() 401 DevPathString = ConvertDevicePathToText(DevPath, TRUE, FALSE); in PerformSingleMappingDisplay() 418 MediaType = GetDeviceMediaType(DevPath); in PerformSingleMappingDisplay() 420 Removable = IsRemoveableDevice(DevPath); in PerformSingleMappingDisplay() 470 EFI_DEVICE_PATH_PROTOCOL *DevPath; in PerformSingleMappingDelete() local 475 DevPath = DevicePathFromHandle(Handle); in PerformSingleMappingDelete() 476 DevPathCopy = DevPath; in PerformSingleMappingDelete() 883 CONST EFI_DEVICE_PATH_PROTOCOL *DevPath; in AddMappingFromMapping() local [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Library/ |
D | GenericBdsLib.h | 590 IN EFI_DEVICE_PATH_PROTOCOL *DevPath 606 IN VOID *DevPath 911 IN EFI_DEVICE_PATH_PROTOCOL *DevPath, 933 IN EFI_DEVICE_PATH_PROTOCOL *DevPath, 1059 IN VOID *DevPath
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/ |
D | Mmc.c | 214 Node.DevPath = RemainingDevicePath; in MmcDriverBindingSupported() 215 if (Node.DevPath->Type != HARDWARE_DEVICE_PATH || in MmcDriverBindingSupported() 216 Node.DevPath->SubType != HW_VENDOR_DP || in MmcDriverBindingSupported() 217 DevicePathNodeLength(Node.DevPath) != sizeof(VENDOR_DEVICE_PATH)) { in MmcDriverBindingSupported()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DevicePathTextLib/ |
D | DevicePathTextLib.c | 48 IN VOID *DevPath, in DevPathToTextVendorLib() argument 56 Vendor = (EMU_VENDOR_DEVICE_PATH_NODE *)DevPath; in DevPathToTextVendorLib()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiExtScsiPassThru.c | 222 Node->DevPath.Type = MESSAGING_DEVICE_PATH; in IScsiExtScsiPassThruBuildDevicePath() 223 Node->DevPath.SubType = MSG_ISCSI_DP; in IScsiExtScsiPassThruBuildDevicePath() 224 SetDevicePathNodeLength (&Node->DevPath, (UINT16)DevPathNodeLen); in IScsiExtScsiPassThruBuildDevicePath()
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiExtScsiPassThru.c | 245 Node->DevPath.Type = MESSAGING_DEVICE_PATH; in IScsiExtScsiPassThruBuildDevicePath() 246 Node->DevPath.SubType = MSG_ISCSI_DP; in IScsiExtScsiPassThruBuildDevicePath() 247 SetDevicePathNodeLength (&Node->DevPath, DevPathNodeLen); in IScsiExtScsiPassThruBuildDevicePath()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/ |
D | IsaBus.c | 609 Node.DevPath.Type = ACPI_DEVICE_PATH; in IsaCreateDevice() 610 Node.DevPath.SubType = ACPI_DP; in IsaCreateDevice() 611 SetDevicePathNodeLength (&Node.DevPath, sizeof (ACPI_HID_DEVICE_PATH)); in IsaCreateDevice() 617 &Node.DevPath in IsaCreateDevice()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/ |
D | BmLib.c | 85 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in EfiLibStrFromDatahub() argument
|
/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/ |
D | SnpNt32.c | 1283 Node.DevPath.Type = MESSAGING_DEVICE_PATH; in SnpNt32InitializeInstanceData() 1284 Node.DevPath.SubType = MSG_MAC_ADDR_DP; in SnpNt32InitializeInstanceData() 1285 SetDevicePathNodeLength (&Node.DevPath, sizeof (MAC_ADDR_DEVICE_PATH)); in SnpNt32InitializeInstanceData() 1295 SetDevicePathEndNode (&EndNode.DevPath); in SnpNt32InitializeInstanceData() 1298 &EndNode.DevPath, in SnpNt32InitializeInstanceData() 1299 &Node.DevPath in SnpNt32InitializeInstanceData()
|