Home
last modified time | relevance | path

Searched refs:Descriptor (Results 1 – 25 of 91) sorted by relevance

1234

/device/linaro/bootloader/edk2/MdeModulePkg/Library/PciHostBridgeLibNull/
DPciHostBridgeLibNull.c80 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Descriptor; in PciHostBridgeResourceConflict() local
85 Descriptor = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) Configuration; in PciHostBridgeResourceConflict()
86 while (Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) { in PciHostBridgeResourceConflict()
88 for (; Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR; Descriptor++) { in PciHostBridgeResourceConflict()
89 ASSERT (Descriptor->ResType < in PciHostBridgeResourceConflict()
95 mPciHostBridgeLibAcpiAddressSpaceTypeStr[Descriptor->ResType], in PciHostBridgeResourceConflict()
96 Descriptor->AddrLen, Descriptor->AddrRangeMax in PciHostBridgeResourceConflict()
98 if (Descriptor->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) { in PciHostBridgeResourceConflict()
100 Descriptor->AddrSpaceGranularity, Descriptor->SpecificFlag, in PciHostBridgeResourceConflict()
101 ((Descriptor->SpecificFlag & in PciHostBridgeResourceConflict()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/
DPciHostBridge.c68 IN CONST EFI_GCD_IO_SPACE_DESCRIPTOR *Descriptor in IntersectIoDescriptor() argument
75 if (Descriptor->GcdIoType == EfiGcdIoTypeIo) { in IntersectIoDescriptor()
79 IntersectionBase = MAX (Base, Descriptor->BaseAddress); in IntersectIoDescriptor()
81 Descriptor->BaseAddress + Descriptor->Length); in IntersectIoDescriptor()
89 if (Descriptor->GcdIoType == EfiGcdIoTypeNonExistent) { in IntersectIoDescriptor()
101 Descriptor->BaseAddress, Descriptor->BaseAddress + Descriptor->Length, in IntersectIoDescriptor()
102 (UINT32)Descriptor->GcdIoType, Base, Base + Length)); in IntersectIoDescriptor()
149 EFI_GCD_IO_SPACE_DESCRIPTOR Descriptor; in AddIoSpace()
153 CheckBase = Descriptor.BaseAddress + Descriptor.Length) { in AddIoSpace()
154 CheckStatus = gDS->GetIoSpaceDescriptor (CheckBase, &Descriptor); in AddIoSpace()
[all …]
DPciRootBridgeIo.c1536 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Descriptor; in RootBridgeIoConfiguration() local
1547 Descriptor = RootBridge->ConfigBuffer; in RootBridgeIoConfiguration()
1556 Descriptor->Desc = ACPI_ADDRESS_SPACE_DESCRIPTOR; in RootBridgeIoConfiguration()
1557 Descriptor->Len = sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) - 3; in RootBridgeIoConfiguration()
1558 Descriptor->AddrRangeMin = ResAllocNode->Base; in RootBridgeIoConfiguration()
1559 Descriptor->AddrRangeMax = ResAllocNode->Base + ResAllocNode->Length - 1; in RootBridgeIoConfiguration()
1560 Descriptor->AddrLen = ResAllocNode->Length; in RootBridgeIoConfiguration()
1564 Descriptor->ResType = ACPI_ADDRESS_SPACE_TYPE_IO; in RootBridgeIoConfiguration()
1568 Descriptor->SpecificFlag = EFI_ACPI_MEMORY_RESOURCE_SPECIFIC_FLAG_CACHEABLE_PREFETCHABLE; in RootBridgeIoConfiguration()
1570 Descriptor->ResType = ACPI_ADDRESS_SPACE_TYPE_MEM; in RootBridgeIoConfiguration()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Library/AmdStyxPciHostBridgeLib/
DAmdStyxPciHostBridgeLib.c161 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Descriptor; in PciHostBridgeResourceConflict() local
166 Descriptor = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) Configuration; in PciHostBridgeResourceConflict()
167 while (Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) { in PciHostBridgeResourceConflict()
169 for (; Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR; Descriptor++) { in PciHostBridgeResourceConflict()
170 ASSERT (Descriptor->ResType < in PciHostBridgeResourceConflict()
176 mPciHostBridgeLibAcpiAddressSpaceTypeStr[Descriptor->ResType], in PciHostBridgeResourceConflict()
177 Descriptor->AddrLen, Descriptor->AddrRangeMax in PciHostBridgeResourceConflict()
179 if (Descriptor->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) { in PciHostBridgeResourceConflict()
181 Descriptor->AddrSpaceGranularity, Descriptor->SpecificFlag, in PciHostBridgeResourceConflict()
182 ((Descriptor->SpecificFlag & in PciHostBridgeResourceConflict()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/AcpiVariableHobOnSmramReserveHobThunk/
DAcpiVariableHobOnSmramReserveHobThunk.c113 …CopyMem (&NewDescriptorBlock->Descriptor[SmramRanges], &NewDescriptorBlock->Descriptor[SmramRanges… in SplitSmramReserveHob()
118 NewDescriptorBlock->Descriptor[SmramRanges - 1].PhysicalSize = EFI_PAGE_SIZE; in SplitSmramReserveHob()
119 NewDescriptorBlock->Descriptor[SmramRanges - 1].RegionState |= EFI_ALLOCATED; in SplitSmramReserveHob()
124 NewDescriptorBlock->Descriptor[SmramRanges].PhysicalStart += EFI_PAGE_SIZE; in SplitSmramReserveHob()
125 NewDescriptorBlock->Descriptor[SmramRanges].CpuStart += EFI_PAGE_SIZE; in SplitSmramReserveHob()
126 NewDescriptorBlock->Descriptor[SmramRanges].PhysicalSize -= EFI_PAGE_SIZE; in SplitSmramReserveHob()
134 if (NewDescriptorBlock->Descriptor[Index].PhysicalSize == 0) { in SplitSmramReserveHob()
140 if (NewDescriptorBlock->Descriptor[Index].PhysicalStart < BASE_1MB) { in SplitSmramReserveHob()
146 …CopyMem (&NewDescriptorBlock->Descriptor[SubIndex], &NewDescriptorBlock->Descriptor[SubIndex + 1],… in SplitSmramReserveHob()
151 ZeroMem (&NewDescriptorBlock->Descriptor[SubIndex], sizeof(EFI_SMRAM_DESCRIPTOR)); in SplitSmramReserveHob()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Feature/Capsule/SystemFirmwareDescriptor/
DSystemFirmwareDescriptorPei.c38 EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR *Descriptor; in SystemFirmwareDescriptorPeimEntry() local
48 …vicesFfsFindSectionData3(EFI_SECTION_RAW, Index, FileHandle, (VOID **)&Descriptor, &Authentication… in SystemFirmwareDescriptorPeimEntry()
54 if (Descriptor->Signature == EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR_SIGNATURE) { in SystemFirmwareDescriptorPeimEntry()
60 DEBUG((DEBUG_INFO, "EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR size - 0x%x\n", Descriptor->Length)); in SystemFirmwareDescriptorPeimEntry()
62 Size = Descriptor->Length; in SystemFirmwareDescriptorPeimEntry()
63 PcdSetPtrS (PcdEdkiiSystemFirmwareImageDescriptor, &Size, Descriptor); in SystemFirmwareDescriptorPeimEntry()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Feature/Capsule/SystemFirmwareDescriptor/
DSystemFirmwareDescriptorPei.c38 EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR *Descriptor; in SystemFirmwareDescriptorPeimEntry() local
48 …vicesFfsFindSectionData3(EFI_SECTION_RAW, Index, FileHandle, (VOID **)&Descriptor, &Authentication… in SystemFirmwareDescriptorPeimEntry()
54 if (Descriptor->Signature == EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR_SIGNATURE) { in SystemFirmwareDescriptorPeimEntry()
60 DEBUG((DEBUG_INFO, "EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR size - 0x%x\n", Descriptor->Length)); in SystemFirmwareDescriptorPeimEntry()
62 Size = Descriptor->Length; in SystemFirmwareDescriptorPeimEntry()
63 PcdSetPtrS (PcdEdkiiSystemFirmwareImageDescriptor, &Size, Descriptor); in SystemFirmwareDescriptorPeimEntry()
/device/linaro/bootloader/edk2/OvmfPkg/Library/PciHostBridgeLib/
DPciHostBridgeLib.c412 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Descriptor; in PciHostBridgeResourceConflict() local
417 Descriptor = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) Configuration; in PciHostBridgeResourceConflict()
418 while (Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) { in PciHostBridgeResourceConflict()
420 for (; Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR; Descriptor++) { in PciHostBridgeResourceConflict()
421 ASSERT (Descriptor->ResType < in PciHostBridgeResourceConflict()
425 mPciHostBridgeLibAcpiAddressSpaceTypeStr[Descriptor->ResType], in PciHostBridgeResourceConflict()
426 Descriptor->AddrLen, Descriptor->AddrRangeMax in PciHostBridgeResourceConflict()
428 if (Descriptor->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) { in PciHostBridgeResourceConflict()
430 Descriptor->AddrSpaceGranularity, Descriptor->SpecificFlag, in PciHostBridgeResourceConflict()
431 ((Descriptor->SpecificFlag & in PciHostBridgeResourceConflict()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
DDwUsbDxe.c231 EFI_USB_STRING_DESCRIPTOR *Descriptor = NULL; in HandleGetDescriptor() local
259 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)AllocateZeroPool (DescriptorSize); in HandleGetDescriptor()
260 ASSERT (Descriptor != NULL); in HandleGetDescriptor()
261 Descriptor->Length = LANG_LENGTH * sizeof (CHAR16); in HandleGetDescriptor()
262 Descriptor->DescriptorType = USB_DESC_TYPE_STRING; in HandleGetDescriptor()
263 DwUsb->GetLang (Descriptor->String, &Descriptor->Length); in HandleGetDescriptor()
264 ResponseSize = Descriptor->Length; in HandleGetDescriptor()
265 ResponseData = Descriptor; in HandleGetDescriptor()
270 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)AllocateZeroPool (DescriptorSize); in HandleGetDescriptor()
271 ASSERT (Descriptor != NULL); in HandleGetDescriptor()
[all …]
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPciHostBridgeLib/
DFdtPciHostBridgeLib.c401 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Descriptor; in PciHostBridgeResourceConflict() local
406 Descriptor = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *) Configuration; in PciHostBridgeResourceConflict()
407 while (Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR) { in PciHostBridgeResourceConflict()
409 for (; Descriptor->Desc == ACPI_ADDRESS_SPACE_DESCRIPTOR; Descriptor++) { in PciHostBridgeResourceConflict()
410 ASSERT (Descriptor->ResType < in PciHostBridgeResourceConflict()
416 mPciHostBridgeLibAcpiAddressSpaceTypeStr[Descriptor->ResType], in PciHostBridgeResourceConflict()
417 Descriptor->AddrLen, Descriptor->AddrRangeMax in PciHostBridgeResourceConflict()
419 if (Descriptor->ResType == ACPI_ADDRESS_SPACE_TYPE_MEM) { in PciHostBridgeResourceConflict()
421 Descriptor->AddrSpaceGranularity, Descriptor->SpecificFlag, in PciHostBridgeResourceConflict()
422 ((Descriptor->SpecificFlag & in PciHostBridgeResourceConflict()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DPlatformEarlyInit.c850 DescriptorBlock->Descriptor[Index].PhysicalStart, in PlatformEarlyInitEntry()
851 DescriptorBlock->Descriptor[Index].PhysicalSize, in PlatformEarlyInitEntry()
852 DescriptorBlock->Descriptor[Index].RegionState in PlatformEarlyInitEntry()
863 …if ((DescriptorBlock->Descriptor[Index].RegionState & (EFI_ALLOCATED | EFI_NEEDS_TESTING | EFI_NEE… in PlatformEarlyInitEntry()
869 if (DescriptorBlock->Descriptor[Index].CpuStart < BASE_1MB) { in PlatformEarlyInitEntry()
875 …if ((DescriptorBlock->Descriptor[Index].CpuStart + DescriptorBlock->Descriptor[Index].PhysicalSize… in PlatformEarlyInitEntry()
881 …if (DescriptorBlock->Descriptor[Index].PhysicalSize >= DescriptorBlock->Descriptor[MaxIndex].Physi… in PlatformEarlyInitEntry()
889 Base = DescriptorBlock->Descriptor[MaxIndex].CpuStart; in PlatformEarlyInitEntry()
890 Size = DescriptorBlock->Descriptor[MaxIndex].PhysicalSize; in PlatformEarlyInitEntry()
892 if (DescriptorBlock->Descriptor[Index].CpuStart < Base && in PlatformEarlyInitEntry()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/
DQNCInit.c377 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor; in QNCInitializeResource() local
385 Status = gDS->GetMemorySpaceDescriptor (BaseAddress, &Descriptor); in QNCInitializeResource()
405 Status = gDS->GetMemorySpaceDescriptor (0, &Descriptor); in QNCInitializeResource()
409 Descriptor.BaseAddress, in QNCInitializeResource()
410 Descriptor.Length, in QNCInitializeResource()
411 Descriptor.Attributes in QNCInitializeResource()
434 Status = gDS->GetMemorySpaceDescriptor (0xA0000, &Descriptor); in QNCInitializeResource()
438 Descriptor.BaseAddress, in QNCInitializeResource()
439 Descriptor.Length, in QNCInitializeResource()
440 Descriptor.Attributes in QNCInitializeResource()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Gcd/
DGcd.c1492 IN OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor, in BuildMemoryDescriptor() argument
1496 Descriptor->BaseAddress = Entry->BaseAddress; in BuildMemoryDescriptor()
1497 Descriptor->Length = Entry->EndAddress - Entry->BaseAddress + 1; in BuildMemoryDescriptor()
1498 Descriptor->Capabilities = Entry->Capabilities; in BuildMemoryDescriptor()
1499 Descriptor->Attributes = Entry->Attributes; in BuildMemoryDescriptor()
1500 Descriptor->GcdMemoryType = Entry->GcdMemoryType; in BuildMemoryDescriptor()
1501 Descriptor->ImageHandle = Entry->ImageHandle; in BuildMemoryDescriptor()
1502 Descriptor->DeviceHandle = Entry->DeviceHandle; in BuildMemoryDescriptor()
1520 OUT EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Descriptor in CoreGetMemorySpaceDescriptor() argument
1531 if (Descriptor == NULL) { in CoreGetMemorySpaceDescriptor()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciIo.c1825 EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *Descriptor; in PciIoGetBarAttributes() local
1847Descriptor = AllocateZeroPool (sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) + sizeof (EFI_ACPI_END_T… in PciIoGetBarAttributes()
1848 if (Descriptor == NULL) { in PciIoGetBarAttributes()
1852 *Resources = Descriptor; in PciIoGetBarAttributes()
1854 Descriptor->Desc = ACPI_ADDRESS_SPACE_DESCRIPTOR; in PciIoGetBarAttributes()
1855 Descriptor->Len = (UINT16) (sizeof (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR) - 3); in PciIoGetBarAttributes()
1856 Descriptor->AddrRangeMin = PciIoDevice->PciBar[BarIndex].BaseAddress; in PciIoGetBarAttributes()
1857 Descriptor->AddrLen = PciIoDevice->PciBar[BarIndex].Length; in PciIoGetBarAttributes()
1858 Descriptor->AddrRangeMax = PciIoDevice->PciBar[BarIndex].Alignment; in PciIoGetBarAttributes()
1866 Descriptor->ResType = ACPI_ADDRESS_SPACE_TYPE_IO; in PciIoGetBarAttributes()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Application/MemoryProfileInfo/
DMemoryProfileInfo.c540 IN MEMORY_PROFILE_DESCRIPTOR *Descriptor in DumpMemoryProfileDescriptor() argument
543 if (Descriptor->Header.Signature != MEMORY_PROFILE_DESCRIPTOR_SIGNATURE) { in DumpMemoryProfileDescriptor()
547 Print (L" Signature - 0x%08x\n", Descriptor->Header.Signature); in DumpMemoryProfileDescriptor()
548 Print (L" Length - 0x%04x\n", Descriptor->Header.Length); in DumpMemoryProfileDescriptor()
549 Print (L" Revision - 0x%04x\n", Descriptor->Header.Revision); in DumpMemoryProfileDescriptor()
550 Print (L" Address - 0x%016lx\n", Descriptor->Address); in DumpMemoryProfileDescriptor()
551 Print (L" Size - 0x%016lx\n", Descriptor->Size); in DumpMemoryProfileDescriptor()
553 return (MEMORY_PROFILE_DESCRIPTOR *) ((UINTN) Descriptor + Descriptor->Header.Length); in DumpMemoryProfileDescriptor()
569 MEMORY_PROFILE_DESCRIPTOR *Descriptor; in DumpMemoryProfileFreeMemory() local
582 Descriptor = (MEMORY_PROFILE_DESCRIPTOR *) ((UINTN) FreeMemory + FreeMemory->Header.Length); in DumpMemoryProfileFreeMemory()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Drivers/CpuDxe/Arm/
DMmu.c361 UINT32 Descriptor; in UpdatePageEntries() local
436 Descriptor = FirstLevelTable[FirstLevelIdx]; in UpdatePageEntries()
439 if (!TT_DESCRIPTOR_SECTION_TYPE_IS_PAGE_TABLE(Descriptor)) { in UpdatePageEntries()
447 Descriptor = FirstLevelTable[FirstLevelIdx]; in UpdatePageEntries()
451 PageTable = (ARM_PAGE_TABLE_ENTRY *)TT_DESCRIPTOR_PAGE_BASE_ADDRESS(Descriptor); in UpdatePageEntries()
509 UINT32 Descriptor; in UpdateSectionEntries() local
588 Descriptor = CurrentDescriptor & ~EntryMask; in UpdateSectionEntries()
591 Descriptor |= EntryValue; in UpdateSectionEntries()
593 Descriptor &= ~VirtualMask; in UpdateSectionEntries()
596 if (CurrentDescriptor != Descriptor) { in UpdateSectionEntries()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/
DNullMemoryTest.c211 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor; in GenCompatibleRangeTest() local
213 gDS->GetMemorySpaceDescriptor (StartAddress, &Descriptor); in GenCompatibleRangeTest()
221Descriptor.Capabilities &~(EFI_MEMORY_PRESENT | EFI_MEMORY_INITIALIZED | EFI_MEMORY_TESTED | EFI_M… in GenCompatibleRangeTest()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/
DLegacyBios.c249 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor; in ShadowAndStartLegacy16() local
258 gDS->GetMemorySpaceDescriptor (Address, &Descriptor); in ShadowAndStartLegacy16()
259 if (Descriptor.GcdMemoryType == EfiGcdMemoryTypeSystemMemory) { in ShadowAndStartLegacy16()
801 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor; in LegacyBiosInstall() local
867 gDS->GetMemorySpaceDescriptor (StartAddress, &Descriptor); in LegacyBiosInstall()
868 if (Descriptor.GcdMemoryType != EfiGcdMemoryTypeReserved) { in LegacyBiosInstall()
869 StartAddress = Descriptor.BaseAddress + Descriptor.Length; in LegacyBiosInstall()
872 Length = MIN (Descriptor.Length, 0xa0000 - StartAddress); in LegacyBiosInstall()
884 gDS->GetMemorySpaceDescriptor (StartAddress, &Descriptor); in LegacyBiosInstall()
885 if (Descriptor.GcdMemoryType != EfiGcdMemoryTypeReserved) { in LegacyBiosInstall()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/
DLightMemoryTest.c702 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor; in GenCompatibleRangeTest() local
722 &Descriptor in GenCompatibleRangeTest()
728 if (Descriptor.GcdMemoryType == EfiGcdMemoryTypeReserved && in GenCompatibleRangeTest()
729 … (Descriptor.Capabilities & (EFI_MEMORY_PRESENT | EFI_MEMORY_INITIALIZED | EFI_MEMORY_TESTED)) == in GenCompatibleRangeTest()
732 CurrentLength = Descriptor.BaseAddress + Descriptor.Length - CurrentBase; in GenCompatibleRangeTest()
740 Descriptor.Capabilities in GenCompatibleRangeTest()
746 CurrentBase = Descriptor.BaseAddress + Descriptor.Length; in GenCompatibleRangeTest()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiUsbLib/
DUsbDxeLib.c54 OUT VOID *Descriptor, in UsbGetDescriptor() argument
61 ASSERT (Descriptor != NULL); in UsbGetDescriptor()
77 Descriptor, in UsbGetDescriptor()
114 IN VOID *Descriptor, in UsbSetDescriptor() argument
121 ASSERT (Descriptor != NULL); in UsbSetDescriptor()
137 Descriptor, in UsbSetDescriptor()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsb3Dxe/
DDwUsb3Dxe.c1795 EFI_USB_STRING_DESCRIPTOR *Descriptor = NULL; in DwUsb3DoGetDescriptor() local
1907 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)(UINTN)gEndPoint0StatusBuf; in DwUsb3DoGetDescriptor()
1908 ASSERT (Descriptor != NULL); in DwUsb3DoGetDescriptor()
1909 Descriptor->Length = LANG_LENGTH * sizeof (CHAR16); in DwUsb3DoGetDescriptor()
1910 Descriptor->DescriptorType = USB_DESC_TYPE_STRING; in DwUsb3DoGetDescriptor()
1911 DwUsb->GetLang (Descriptor->String, &Descriptor->Length); in DwUsb3DoGetDescriptor()
1912 value = Descriptor->Length; in DwUsb3DoGetDescriptor()
1915 Descriptor = (EFI_USB_STRING_DESCRIPTOR *)(UINTN)gEndPoint0StatusBuf; in DwUsb3DoGetDescriptor()
1916 ASSERT (Descriptor != NULL); in DwUsb3DoGetDescriptor()
1917 Descriptor->Length = MANU_FACTURER_STRING_LENGTH * sizeof (CHAR16); in DwUsb3DoGetDescriptor()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Pei/SmmAccessPei/
DSmmAccessPei.c351 …SmmAccessPrivate->SmramDesc[Index].PhysicalStart = DescriptorBlock->Descriptor[Index].PhysicalStar… in SmmAccessPeiEntryPoint()
352 SmmAccessPrivate->SmramDesc[Index].CpuStart = DescriptorBlock->Descriptor[Index].CpuStart; in SmmAccessPeiEntryPoint()
353 …SmmAccessPrivate->SmramDesc[Index].PhysicalSize = DescriptorBlock->Descriptor[Index].PhysicalSize; in SmmAccessPeiEntryPoint()
354 … SmmAccessPrivate->SmramDesc[Index].RegionState = DescriptorBlock->Descriptor[Index].RegionState; in SmmAccessPeiEntryPoint()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DMrcWrapper.c861 … SmramHobDescriptorBlock->Descriptor[SmramIndex].PhysicalStart = MemoryMap[Index].PhysicalAddress; in InstallEfiMemory()
862 SmramHobDescriptorBlock->Descriptor[SmramIndex].CpuStart = MemoryMap[Index].CpuAddress; in InstallEfiMemory()
863 SmramHobDescriptorBlock->Descriptor[SmramIndex].PhysicalSize = MemoryMap[Index].RangeLength; in InstallEfiMemory()
865 … SmramHobDescriptorBlock->Descriptor[SmramIndex].RegionState = EFI_SMRAM_CLOSED | EFI_CACHEABLE; in InstallEfiMemory()
867 SmramHobDescriptorBlock->Descriptor[SmramIndex].RegionState = EFI_SMRAM_CLOSED; in InstallEfiMemory()
877 …CopyMem(&DescriptorAcpiVariable, &SmramHobDescriptorBlock->Descriptor[SmramRanges-1], sizeof(EFI_S… in InstallEfiMemory()
983 … SmramHobDescriptorBlock->Descriptor[SmramIndex].PhysicalStart = MemoryMap[Index].PhysicalAddress; in InstallS3Memory()
984 SmramHobDescriptorBlock->Descriptor[SmramIndex].CpuStart = MemoryMap[Index].CpuAddress; in InstallS3Memory()
985 SmramHobDescriptorBlock->Descriptor[SmramIndex].PhysicalSize = MemoryMap[Index].RangeLength; in InstallS3Memory()
987 … SmramHobDescriptorBlock->Descriptor[SmramIndex].RegionState = EFI_SMRAM_CLOSED | EFI_CACHEABLE; in InstallS3Memory()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/Csm/CsmSupportLib/
DLegacyRegion.c189 OUT LEGACY_MEMORY_SECTION_INFO **Descriptor in LegacyRegionGetInfoInternal() argument
198 if (DescriptorCount == NULL || Descriptor == NULL) { in LegacyRegionGetInfoInternal()
218 *Descriptor = mSectionArray; in LegacyRegionGetInfoInternal()
397 OUT EFI_LEGACY_REGION_DESCRIPTOR **Descriptor in LegacyRegionGetInfo() argument
455 *Descriptor = DescriptorArray; in LegacyRegionGetInfo()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmAccessDxe/
DSmmAccessDriver.c102 mSmmAccess.SmramDesc[Index].PhysicalStart = DescriptorBlock->Descriptor[Index].PhysicalStart; in SmmAccessDriverEntryPoint()
103 mSmmAccess.SmramDesc[Index].CpuStart = DescriptorBlock->Descriptor[Index].CpuStart; in SmmAccessDriverEntryPoint()
104 mSmmAccess.SmramDesc[Index].PhysicalSize = DescriptorBlock->Descriptor[Index].PhysicalSize; in SmmAccessDriverEntryPoint()
105 mSmmAccess.SmramDesc[Index].RegionState = DescriptorBlock->Descriptor[Index].RegionState; in SmmAccessDriverEntryPoint()

1234