Home
last modified time | relevance | path

Searched refs:DevPath (Results 1 – 25 of 69) 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.c78 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 …]
DDevicePathUtilities.c651 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/
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.c202 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/IntelFrameworkModulePkg/Library/GenericBdsLib/
DDevicePath.c29 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in DevicePathToStr() argument
32 return ConvertDevicePathToText (DevPath, TRUE, TRUE); in DevicePathToStr()
DBdsBoot.c745 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/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/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.c80 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()
DDblk.c31 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/
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.c301 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/
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/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/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/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/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/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()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DBmLib.c85 IN EFI_DEVICE_PATH_PROTOCOL *DevPath in EfiLibStrFromDatahub() argument
/device/linaro/bootloader/edk2/Nt32Pkg/SnpNt32Dxe/
DSnpNt32.c1283 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()

123