Home
last modified time | relevance | path

Searched refs:DevPath (Results 1 – 25 of 72) sorted by relevance

123

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DDevicePath.c57 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/
DRtDevicePath.c154 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/
DDevicePathToText.c80 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 …]
DDevicePathUtilities.c668 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/
DUefiDevicePathLib.c323 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/
DConnect.c200 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/
DDevicePath.c29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument
32 return ConvertDevicePathToText (DevPath, TRUE, TRUE); in DevicePathToStr()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DDevicePath.c29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument
32 return ConvertDevicePathToText (DevPath, TRUE, TRUE); in DevicePathToStr()
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
DSecureBootConfigDevicePath.c29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument
33 DevPath, in DevicePathToStr()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DSetVar.c79 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()
DDblk.c30 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/
DPciBus.c162 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()
DPciDeviceSupport.c568 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/
DRtDevicePath.h78 IN EFI_DEVICE_PATH_PROTOCOL *DevPath
144 IN EFI_DEVICE_PATH_PROTOCOL *DevPath
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciBus.c150 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/
DMap.c295 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/
DGenericBdsLib.h590 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/
DDevicePathTextLib.c48 IN VOID *DevPath, in DevPathToTextVendorLib() argument
56 Vendor = (EMU_VENDOR_DEVICE_PATH_NODE *)DevPath; in DevPathToTextVendorLib()
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/
DMmc.c214 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/
DIScsiExtScsiPassThru.c222 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/
DIScsiExtScsiPassThru.c245 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/
DBmLib.c85 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in EfiLibStrFromDatahub() argument
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellManParser.c821 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/
DVirtualEhciPciIo.c658 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/
DIsaBus.c609 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()

123