/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 | 80 IN VOID *DevPath, in DevPathToTextPci() argument 87 Pci = DevPath; in DevPathToTextPci() 107 IN VOID *DevPath, in DevPathToTextPccard() argument 114 Pccard = DevPath; in DevPathToTextPccard() 134 IN VOID *DevPath, in DevPathToTextMemMap() argument 141 MemMap = DevPath; in DevPathToTextMemMap() 167 IN VOID *DevPath, in DevPathToTextVendor() argument 179 Vendor = (VENDOR_DEVICE_PATH *) DevPath; in DevPathToTextVendor() 297 IN VOID *DevPath, in DevPathToTextController() argument 304 Controller = DevPath; in DevPathToTextController() [all …]
|
D | DevicePathUtilities.c | 668 EFI_DEVICE_PATH_PROTOCOL *DevPath; in UefiDevicePathLibGetNextDevicePathInstance() local 686 DevPath = *DevicePath; in UefiDevicePathLibGetNextDevicePathInstance() 687 while (!IsDevicePathEndType (DevPath)) { in UefiDevicePathLibGetNextDevicePathInstance() 688 DevPath = NextDevicePathNode (DevPath); in UefiDevicePathLibGetNextDevicePathInstance() 694 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL); in UefiDevicePathLibGetNextDevicePathInstance() 699 Temp = DevPath->SubType; in UefiDevicePathLibGetNextDevicePathInstance() 700 DevPath->SubType = END_ENTIRE_DEVICE_PATH_SUBTYPE; in UefiDevicePathLibGetNextDevicePathInstance() 702 DevPath->SubType = Temp; in UefiDevicePathLibGetNextDevicePathInstance() 708 if (DevicePathSubType (DevPath) == END_ENTIRE_DEVICE_PATH_SUBTYPE) { in UefiDevicePathLibGetNextDevicePathInstance() 711 *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 | 200 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ShellConnectFromDevPaths() local 214 DevPath = NULL; in ShellConnectFromDevPaths() 221 …tatus = gRT->GetVariable((CHAR16*)Key, (EFI_GUID*)&gEfiGlobalVariableGuid, NULL, &Length, DevPath); in ShellConnectFromDevPaths() 223 DevPath = AllocateZeroPool(Length); in ShellConnectFromDevPaths() 224 if (DevPath == NULL) { in ShellConnectFromDevPaths() 227 …tatus = gRT->GetVariable((CHAR16*)Key, (EFI_GUID*)&gEfiGlobalVariableGuid, NULL, &Length, DevPath); in ShellConnectFromDevPaths() 229 if (DevPath != NULL) { in ShellConnectFromDevPaths() 230 FreePool (DevPath); in ShellConnectFromDevPaths() 240 CopyOfDevPath = DevPath; in ShellConnectFromDevPaths() 250 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()
|
/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 | 79 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ShellCommandRunSetVar() local 86 DevPath = NULL; in ShellCommandRunSetVar() 270 DevPath = ConvertTextToDevicePath(Data); in ShellCommandRunSetVar() 271 if (DevPath == NULL) { in ShellCommandRunSetVar() 275 … = gRT->SetVariable((CHAR16*)VariableName, &Guid, Attributes, GetDevicePathSize(DevPath), DevPath); in ShellCommandRunSetVar() 296 if (DevPath != NULL) { in ShellCommandRunSetVar() 297 FreePool(DevPath); in ShellCommandRunSetVar()
|
D | Dblk.c | 30 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath, in DisplayTheBlocks() argument 44 …Status = gBS->LocateDevicePath(&gEfiBlockIoProtocolGuid, (EFI_DEVICE_PATH_PROTOCOL **)&DevPath, &B… in DisplayTheBlocks() 111 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ShellCommandRunDblk() local 186 DevPath = (EFI_DEVICE_PATH_PROTOCOL*)gEfiShellProtocol->GetDevicePathFromMap(BlockName); in ShellCommandRunDblk() 187 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 | 295 EFI_DEVICE_PATH_PROTOCOL *DevPath; in PerformSingleMappingDisplay() local 310 DevPath = DevicePathFromHandle(Handle); in PerformSingleMappingDisplay() 311 DevPathCopy = DevPath; in PerformSingleMappingDisplay() 395 DevPathString = ConvertDevicePathToText(DevPath, TRUE, FALSE); in PerformSingleMappingDisplay() 412 MediaType = GetDeviceMediaType(DevPath); in PerformSingleMappingDisplay() 414 Removable = IsRemoveableDevice(DevPath); in PerformSingleMappingDisplay() 463 EFI_DEVICE_PATH_PROTOCOL *DevPath; in PerformSingleMappingDelete() local 468 DevPath = DevicePathFromHandle(Handle); in PerformSingleMappingDelete() 469 DevPathCopy = DevPath; in PerformSingleMappingDelete() 872 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/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/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/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/MdeModulePkg/Library/BootMaintenanceManagerUiLib/ |
D | BmLib.c | 85 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in EfiLibStrFromDatahub() argument
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
D | ShellManParser.c | 821 EFI_DEVICE_PATH_PROTOCOL *DevPath; in ProcessManFile() local 842 DevPath = NULL; in ProcessManFile() 867 DevPath = AppendDevicePath (ShellInfoObject.ImageDevPath, FileDevPath); in ProcessManFile() 868 Status = InternalOpenFileDevicePath(DevPath, &FileHandle, EFI_FILE_MODE_READ, 0); in ProcessManFile() 870 SHELL_FREE_NON_NULL(DevPath); in ProcessManFile() 906 DevPath = ShellInfoObject.NewEfiShellProtocol->GetDevicePathFromFilePath(CmdFilePathName); in ProcessManFile() 907 Status = gBS->LoadImage(FALSE, gImageHandle, DevPath, NULL, 0, &CmdFileImgHandle); in ProcessManFile() 1000 SHELL_FREE_NON_NULL(DevPath); in ProcessManFile()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/VirtualEhciPciIo/ |
D | VirtualEhciPciIo.c | 658 Node.DevPath.Type = HARDWARE_DEVICE_PATH; in EhciVirtualPciIoInitialize() 659 Node.DevPath.SubType = HW_PCI_DP; in EhciVirtualPciIoInitialize() 660 (void)SetDevicePathNodeLength (&Node.DevPath, sizeof (PCI_DEVICE_PATH)); in EhciVirtualPciIoInitialize() 665 SetDevicePathEndNode (&EndNode.DevPath); in EhciVirtualPciIoInitialize() 667 DevicePath = AppendDevicePathNode (&EndNode.DevPath, &Node.DevPath); in EhciVirtualPciIoInitialize()
|
/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()
|