/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
H A D | ConsistMapping.c | 451 DevicePathNode must be SerialHDD Channel type and this will populate the MappingItem.
453 @param[in] DevicePathNode The node to get info on.
462 IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode,
469 ASSERT(DevicePathNode != NULL);
472 Hd = (HARDDRIVE_DEVICE_PATH *) DevicePathNode;
481 DevicePathNode must be SerialAtapi Channel type and this will populate the MappingItem.
483 @param[in] DevicePathNode The node to get info on.
492 IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode,
499 ASSERT(DevicePathNode != NULL);
502 Atapi = (ATAPI_DEVICE_PATH *) DevicePathNode;
461 DevPathSerialHardDrive( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 491 DevPathSerialAtapi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 517 DevPathSerialCdRom( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 544 DevPathSerialFibre( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 575 DevPathSerialUart( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 612 DevPathSerialUsb( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 680 DevPathSerialVendor( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 762 DevPathSerialLun( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 788 DevPathSerialSata( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 822 DevPathSerialIScsi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 884 DevPathSerialI2O( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 910 DevPathSerialMacAddr( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 950 DevPathSerialInfiniBand( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 994 DevPathSerialIPv4( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1050 DevPathSerialIPv6( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1098 DevPathSerialScsi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1129 DevPathSerial1394( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1157 DevPathSerialAcpi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1189 DevPathSerialDefault( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/ |
H A D | DxeTpm2MeasureBootLib.c | 434 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 476 DevicePathNode = OrigDevicePathNode;
477 Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);
482 DevicePathNode = OrigDevicePathNode;
483 ASSERT (DevicePathNode != NULL);
484 while (!IsDevicePathEnd (DevicePathNode)) {
488 if (DevicePathType (DevicePathNode) == MEDIA_DEVICE_PATH &&
489 DevicePathSubType (DevicePathNode) == MEDIA_HARDDRIVE_DP) {
493 if (((HARDDRIVE_DEVICE_PATH *) DevicePathNode)->MBRType == MBR_TYPE_EFI_PARTITION_TABLE_HEADER &&
494 ((HARDDRIVE_DEVICE_PATH *) DevicePathNode) [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
H A D | LegacyIde.c | 52 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 140 DevicePathNode = DevicePath;
141 while (!IsDevicePathEnd (DevicePathNode)) {
142 TempDevicePathNode = NextDevicePathNode (DevicePathNode);
143 if ((DevicePathType (DevicePathNode) == HARDWARE_DEVICE_PATH) &&
144 ( DevicePathSubType (DevicePathNode) == HW_PCI_DP) &&
147 PciDevicePath = (PCI_DEVICE_PATH *) DevicePathNode;
150 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/ |
H A D | DxeServicesLib.c | 610 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 660 DevicePathNode = OrigDevicePathNode;
661 Status = gBS->LocateDevicePath (&gEfiFirmwareVolume2ProtocolGuid, &DevicePathNode, &Handle);
666 FvNameGuid = EfiGetNameGuidFromFwVolDevicePathNode ((CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) DevicePathNode);
715 DevicePathNode = OrigDevicePathNode;
716 Status = gBS->LocateDevicePath (&gEfiSimpleFileSystemProtocolGuid, &DevicePathNode, &Handle);
730 TempDevicePathNode = DuplicateDevicePath (DevicePathNode);
744 DevicePathNode = TempDevicePathNode;
745 while (!EFI_ERROR (Status) && !IsDevicePathEnd (DevicePathNode)) {
746 if (DevicePathType (DevicePathNode) ! [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
H A D | DxeTpmMeasureBootLib.c | 746 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 789 DevicePathNode = OrigDevicePathNode;
790 Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);
795 DevicePathNode = OrigDevicePathNode;
796 ASSERT (DevicePathNode != NULL);
797 while (!IsDevicePathEnd (DevicePathNode)) {
801 if (DevicePathType (DevicePathNode) == MEDIA_DEVICE_PATH &&
802 DevicePathSubType (DevicePathNode) == MEDIA_HARDDRIVE_DP) {
806 if (((HARDDRIVE_DEVICE_PATH *) DevicePathNode)->MBRType == MBR_TYPE_EFI_PARTITION_TABLE_HEADER &&
807 ((HARDDRIVE_DEVICE_PATH *) DevicePathNode) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
H A D | AtaAtapiPassThru.c | 1657 EFI_DEV_PATH *DevicePathNode;
local 1676 DevicePathNode = AllocateCopyPool (sizeof (ATAPI_DEVICE_PATH), &mAtapiDevicePathTemplate);
1677 if (DevicePathNode == NULL) {
1680 DevicePathNode->Atapi.PrimarySecondary = (UINT8) Port;
1681 DevicePathNode->Atapi.SlaveMaster = (UINT8) PortMultiplierPort;
1682 DevicePathNode->Atapi.Lun = 0;
1684 DevicePathNode = AllocateCopyPool (sizeof (SATA_DEVICE_PATH), &mSataDevicePathTemplate);
1685 if (DevicePathNode == NULL) {
1689 DevicePathNode->Sata.HBAPortNumber = Port;
1690 DevicePathNode 1744 EFI_DEV_PATH *DevicePathNode; local 2304 EFI_DEV_PATH *DevicePathNode; local 2391 EFI_DEV_PATH *DevicePathNode; local [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
H A D | BdsLoadOption.c | 117 EFI_DEVICE_PATH_PROTOCOL* DevicePathNode;
local 170 DevicePathNode = BdsLoadOption->FilePathList;
171 while (!IsDevicePathEndType (DevicePathNode)) {
172 NodeLength = DevicePathNodeLength(DevicePathNode);
173 CopyMem (EfiLoadOptionPtr, DevicePathNode, NodeLength);
175 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
H A D | UefiDevicePathLib.c | 110 specified by DevicePathNode to a copy of the device path specified by DevicePath
113 If DevicePathNode is NULL then a copy of DevicePath is returned.
114 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
116 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
124 @param DevicePathNode A pointer to a single device path node.
128 A copy of DevicePathNode followed by an end-of-device-path node
138 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
141 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode);
|
H A D | UefiDevicePathLibOptionalDevicePathProtocol.c | 159 specified by DevicePathNode to a copy of the device path specified by DevicePath
162 If DevicePathNode is NULL then a copy of DevicePath is returned.
163 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
165 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
173 @param DevicePathNode A pointer to a single device path node.
177 A copy of DevicePathNode followed by an end-of-device-path node
187 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
191 return mDevicePathLibDevicePathUtilities->AppendDeviceNode (DevicePath, DevicePathNode);
193 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode);
|
H A D | DevicePathUtilities.c | 502 specified by DevicePathNode to a copy of the device path specified by DevicePath
505 If DevicePathNode is NULL then a copy of DevicePath is returned.
506 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
508 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
516 @param DevicePathNode A pointer to a single device path node.
520 A copy of DevicePathNode followed by an end-of-device-path node
530 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
538 if (DevicePathNode == NULL) {
544 NodeLength = DevicePathNodeLength (DevicePathNode);
550 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLengt [all...] |
H A D | UefiDevicePathLib.h | 231 specified by DevicePathNode to a copy of the device path specified by DevicePath
234 If DevicePathNode is NULL then a copy of DevicePath is returned.
235 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
237 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
245 @param DevicePathNode A pointer to a single device path node.
249 A copy of DevicePathNode followed by an end-of-device-path node
259 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
H A D | Mbr.c | 139 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 178 DevicePathNode = DevicePath;
179 while (!IsDevicePathEnd (DevicePathNode)) {
180 LastDevicePathNode = DevicePathNode;
181 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
H A D | Partition.h | 323 @param[in] DevicePathNode Child Device Path node.
342 IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/ |
H A D | UefiDevicePathLib.c | 178 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
181 If DevicePathNode is NULL, then NULL is returned.
187 @param DevicePathNode A pointer to a single device path node.
196 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
204 if (DevicePath == NULL || DevicePathNode == NULL) {
210 NodeLength = DevicePathNodeLength (DevicePathNode);
216 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLength);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/ |
H A D | UfsPassThru.c | 385 EFI_DEV_PATH *DevicePathNode;
local 421 DevicePathNode = AllocateCopyPool (sizeof (UFS_DEVICE_PATH), &mUfsDevicePathTemplate);
422 if (DevicePathNode == NULL) {
426 DevicePathNode->Ufs.Pun = 0;
427 DevicePathNode->Ufs.Lun = UfsLun;
429 *DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) DevicePathNode;
463 EFI_DEV_PATH *DevicePathNode;
local 489 DevicePathNode = (EFI_DEV_PATH *) DevicePath;
491 Pun = (UINT8) DevicePathNode->Ufs.Pun;
492 UfsLun = (UINT8) DevicePathNode [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
H A D | FileExplorer.c | 920 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 934 DevicePathNode = RootDirectory;
935 Status = gBS->LocateDevicePath (&gEfiSimpleFileSystemProtocolGuid, &DevicePathNode, &Handle);
955 if (IsDevicePathEnd(DevicePathNode)) {
966 TempDevicePathNode = DuplicateDevicePath (DevicePathNode);
982 DevicePathNode = TempDevicePathNode;
983 while (!EFI_ERROR (Status) && !IsDevicePathEnd (DevicePathNode)) {
984 if (DevicePathType (DevicePathNode) != MEDIA_DEVICE_PATH ||
985 DevicePathSubType (DevicePathNode) != MEDIA_FILEPATH_DP) {
996 ((FILEPATH_DEVICE_PATH *) DevicePathNode) [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
H A D | EfiDevice.c | 148 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 161 for (DevicePathNode = File->DevicePath;
162 !IsDevicePathEnd (DevicePathNode);
163 DevicePathNode = NextDevicePathNode (DevicePathNode)) {
165 if ((DevicePathType (DevicePathNode) == MESSAGING_DEVICE_PATH) && (DevicePathSubType (DevicePathNode) == MSG_MAC_ADDR_DP)) {
166 MacAddr = (MAC_ADDR_DEVICE_PATH *)DevicePathNode;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
H A D | BmBootDescription.c | 471 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 486 DevicePathNode = FilePath;
487 while (!IsDevicePathEnd (DevicePathNode)) {
488 if (DevicePathNode->Type == MEDIA_DEVICE_PATH && DevicePathNode->SubType == MEDIA_FILEPATH_DP) {
489 Description = (CHAR16 *)(DevicePathNode + 1);
492 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
H A D | EdkIIGlueDevicePathLib.h | 104 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
107 If DevicePathNode is NULL, then NULL is returned.
113 @param DevicePathNode A pointer to a single device path node.
122 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
H A D | DevicePathLib.h | 308 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
310 If DevicePathNode is NULL then a copy of DevicePath is returned.
311 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device path device
313 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path device node
320 @param DevicePathNode A pointer to a single device path node.
324 A copy of DevicePathNode followed by an end-of-device-path node
333 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/ |
H A D | UefiDevicePathLib.c | 467 specified by DevicePathNode to a copy of the device path specified by DevicePath
470 If DevicePathNode is NULL then a copy of DevicePath is returned.
471 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
473 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
481 @param DevicePathNode A pointer to a single device path node.
485 A copy of DevicePathNode followed by an end-of-device-path node
495 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
498 return mDevicePathLibDevicePathUtilities->AppendDeviceNode (DevicePath, DevicePathNode);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
H A D | SetupInfoRecords.c | 1549 EFI_DEVICE_PATH_PROTOCOL *DevicePath, *DevicePathNode;
1595 DevicePathNode = DevicePath;
1596 while (!IsDevicePathEnd (DevicePathNode) ) {
1597 if ((DevicePathType (DevicePathNode) == HARDWARE_DEVICE_PATH) &&
1598 ( DevicePathSubType (DevicePathNode) == HW_PCI_DP)) {
1599 PciDevicePath = (PCI_DEVICE_PATH *) DevicePathNode;
1602 DevicePathNode = NextDevicePathNode (DevicePathNode);
1540 EFI_DEVICE_PATH_PROTOCOL *DevicePath, *DevicePathNode; local
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
H A D | UsbBus.c | 1135 EFI_DEV_PATH_PTR DevicePathNode;
local 1154 DevicePathNode.DevPath = RemainingDevicePath;
1156 if ((DevicePathNode.DevPath->Type != MESSAGING_DEVICE_PATH) ||
1157 (DevicePathNode.DevPath->SubType != MSG_USB_DP &&
1158 DevicePathNode.DevPath->SubType != MSG_USB_CLASS_DP
1159 && DevicePathNode.DevPath->SubType != MSG_USB_WWID_DP
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
H A D | NvmExpress.c | 733 EFI_DEV_PATH_PTR DevicePathNode;
local 751 DevicePathNode.DevPath = RemainingDevicePath;
753 if ((DevicePathNode.DevPath->Type != MESSAGING_DEVICE_PATH) ||
754 (DevicePathNode.DevPath->SubType != MSG_NVME_NAMESPACE_DP) ||
755 (DevicePathNodeLength(DevicePathNode.DevPath) != sizeof(NVME_NAMESPACE_DEVICE_PATH))) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ |
H A D | ScsiDisk.c | 5339 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 5351 (VOID **) &DevicePathNode
5358 while (!IsDevicePathEndType (DevicePathNode)) {
5362 if ((DevicePathNode->Type == MESSAGING_DEVICE_PATH) &&
5363 (DevicePathNode->SubType == MSG_UFS_DP)) {
5368 DevicePathNode = NextDevicePathNode (DevicePathNode);
5659 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 5665 Status = gBS->HandleProtocol (ChildHandle, &gEfiDevicePathProtocolGuid, (VOID **) &DevicePathNode);
5675 while (!IsDevicePathEnd (DevicePathNode)) {
[all...] |