Home
last modified time | relevance | path

Searched refs:Resource (Results 1 – 25 of 42) sorted by relevance

12

/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/FdtDxe/
DLinuxLoaderHelper.c94 SYSTEM_MEMORY_RESOURCE *Resource; in InsertSystemMemoryResources() local
110 Resource = (SYSTEM_MEMORY_RESOURCE*)Link; in InsertSystemMemoryResources()
113 …RT (!((ResHob->PhysicalStart >= Resource->PhysicalStart) && (ResHob->PhysicalStart < (Resource->Ph… in InsertSystemMemoryResources()
114 ASSERT (!((ResHob->PhysicalStart + ResHob->ResourceLength - 1 >= Resource->PhysicalStart) && in InsertSystemMemoryResources()
115 …((ResHob->PhysicalStart + ResHob->ResourceLength - 1) < (Resource->PhysicalStart + Resource->Resou… in InsertSystemMemoryResources()
118 if (ResHob->PhysicalStart == Resource->PhysicalStart + Resource->ResourceLength) { in InsertSystemMemoryResources()
119 Resource->ResourceLength = Resource->ResourceLength + ResHob->ResourceLength; in InsertSystemMemoryResources()
121 NextLink = RemoveEntryList (&Resource->Link); in InsertSystemMemoryResources()
122 InsertTailList (&AttachedResources, &Resource->Link); in InsertSystemMemoryResources()
126 else if (ResHob->PhysicalStart + ResHob->ResourceLength == Resource->PhysicalStart) { in InsertSystemMemoryResources()
[all …]
DBdsLinuxFdt.c383 BDS_SYSTEM_MEMORY_RESOURCE *Resource; in AmdStyxPrepareFdt() local
492 Resource = (BDS_SYSTEM_MEMORY_RESOURCE*)ResourceList.ForwardLink; in AmdStyxPrepareFdt()
494 Region.Base = cpu_to_fdtn ((UINTN)Resource->PhysicalStart); in AmdStyxPrepareFdt()
495 Region.Size = cpu_to_fdtn ((UINTN)Resource->ResourceLength); in AmdStyxPrepareFdt()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmStm.c489 IN STM_RSC *Resource, in HandleSingleResource() argument
508 switch (Resource->Header.RscType) { in HandleSingleResource()
511 ResourceLo = Resource->Mem.Base; in HandleSingleResource()
512 ResourceHi = Resource->Mem.Base + Resource->Mem.Length; in HandleSingleResource()
515 if (Resource->Mem.RWXAttributes != Record->Mem.RWXAttributes) { in HandleSingleResource()
517 Record->Mem.RWXAttributes = Resource->Mem.RWXAttributes | Record->Mem.RWXAttributes; in HandleSingleResource()
526 ResourceLo = (UINT64) Resource->Io.Base; in HandleSingleResource()
527 ResourceHi = (UINT64) Resource->Io.Base + (UINT64) Resource->Io.Length; in HandleSingleResource()
532 if ((Resource->PciCfg.OriginatingBusNumber != Record->PciCfg.OriginatingBusNumber) || in HandleSingleResource()
533 (Resource->PciCfg.LastNodeIndex != Record->PciCfg.LastNodeIndex)) { in HandleSingleResource()
[all …]
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/AcpiTablesPCAT/
D98_LINK.ASL49 Device(LNKA) // PARC Routing Resource
62 // Possible IRQ Resource Setting.
69 // Current IRQ Resource Setting.
91 // Set IRQ Resource Setting.
121 Device(LNKB) // PBRC Routing Resource
134 // Possible IRQ Resource Setting.
141 // Current IRQ Resource Setting.
163 // Set IRQ Resource Setting.
193 Device(LNKC) // PCRC Routing Resource
206 // Possible IRQ Resource Setting.
[all …]
DLPC_DEV.ASL59 Device(LDRC) // LPC Device Resource Consumption
130 // Current Resource Setting Method for internal UART
DPch.asl188 PowerResource(PLPE, 0, 0) // Power Resource for LPEA
192 Return (1) // Power Resource is always available.
273 PowerResource(PLPE, 0, 0) // Power Resource for LPEA
277 Return (1) // Power Resource is always available.
307 Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
/device/generic/opengl-transport/host/libs/virglrenderer/
DAVDVirglRenderer.cpp100 std::map<uint32_t, Resource*> Resource::map;
147 for (auto const& it : Resource::map) { in dump_global_state()
148 Resource const* res = it.second; in dump_global_state()
173 Resource const* res = it.second; in dump_global_state()
180 static int sync_linear_to_iovec(Resource* res, uint64_t offset, const virgl_box* box) { in sync_linear_to_iovec()
224 static int sync_iovec_to_linear(Resource* res, uint64_t offset, const virgl_box* box) { in sync_iovec_to_linear()
474 std::map<uint32_t, Resource*>::iterator it; in virgl_renderer_get_cursor_data()
475 it = Resource::map.find(resource_id); in virgl_renderer_get_cursor_data()
476 if (it == Resource::map.end()) in virgl_renderer_get_cursor_data()
479 Resource* res = it->second; in virgl_renderer_get_cursor_data()
[all …]
DGralloc1.cpp61 std::map<uint32_t, Resource*>::iterator it; in gralloc1_lock()
62 it = Resource::map.find(resource_id); in gralloc1_lock()
63 if (it == Resource::map.end()) in gralloc1_lock()
66 Resource* res = it->second; in gralloc1_lock()
95 std::map<uint32_t, Resource*>::iterator it; in gralloc1_unlock()
96 it = Resource::map.find(resource_id); in gralloc1_unlock()
97 if (it == Resource::map.end()) in gralloc1_unlock()
DResource.h35 struct Resource { struct
36 static std::map<uint32_t, Resource*> map; argument
38 Resource(virgl_renderer_resource_create_args* args_, uint32_t num_iovs_, iovec* iov_) in Resource() argument
44 ~Resource() { in ~Resource() argument
DRenderControl.cpp171 static ANativeWindowBuffer* resourceToANWB(Resource* res) { in resourceToANWB()
502 std::map<uint32_t, Resource*>::iterator resource_it; in rcSetWindowColorBuffer()
503 resource_it = Resource::map.find(colorBuffer); in rcSetWindowColorBuffer()
504 if (resource_it == Resource::map.end()) in rcSetWindowColorBuffer()
507 Resource* res = resource_it->second; in rcSetWindowColorBuffer()
610 std::map<uint32_t, Resource*>::iterator it; in rcBindTexture()
611 it = Resource::map.find(colorBuffer); in rcBindTexture()
612 if (it == Resource::map.end()) in rcBindTexture()
616 Resource* res = it->second; in rcBindTexture()
649 std::map<uint32_t, Resource*>::iterator it; in rcBindRenderbuffer()
[all …]
DContext.h107 std::map<uint32_t, Resource*> resource_map;
110 Resource* cmd_resp = nullptr;
DREADME.md82 ### [`Resource`](Resource.h)[](#Resource)
84 The Resource structure represents a virglrenderer resource assigned by QEMU.
/device/linaro/bootloader/edk2/MdePkg/Library/PeiResourcePublicationLib/
DPeiResourcePublicationLib.uni2 // Instance of Resource Publication Library using PEI Services.
4 // Resource Publication Library that uses PEI Services to publish system memory.
18 #string STR_MODULE_ABSTRACT #language en-US "Instance of Resource Publication Library u…
20 #string STR_MODULE_DESCRIPTION #language en-US "This Resource Publication Library uses PEI…
DPeiResourcePublicationLib.inf2 # Instance of Resource Publication Library using PEI Services.
4 # Resource Publication Library that uses PEI Services to publish system memory.
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/
DBootGraphicsResourceTableDxe.uni2 // This module install ACPI Boot Graphics Resource Table (BGRT).
4 // This module installs the ACPI Boot Graphics Resource Table (BGRT).
19 #string STR_MODULE_ABSTRACT #language en-US "Installs ACPI Boot Graphics Resource Table…
21 …PTION #language en-US "This module installs the ACPI Boot Graphics Resource Table (BGRT)."
DBootGraphicsResourceTableDxeExtra.uni18 "ACPI Boot Graphics Resource Table DXE Driver"
DBootGraphicsResourceTableDxe.inf2 # This module install ACPI Boot Graphics Resource Table (BGRT).
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciLib.c181 PCI_RESOURCE_NODE *Resource; in DumpBridgeResource() local
195 Resource = RESOURCE_NODE_FROM_LINK (Link); in DumpBridgeResource()
196 if (Resource->ResourceUsage == PciResUsageTypical) { in DumpBridgeResource()
197 Bar = Resource->Virtual ? Resource->PciDev->VfPciBar : Resource->PciDev->PciBar; in DumpBridgeResource()
200 Bar[Resource->Bar].BaseAddress, Resource->Length, Resource->Alignment, in DumpBridgeResource()
201 IS_PCI_BRIDGE (&Resource->PciDev->Pci) ? L"PPB" : in DumpBridgeResource()
202 IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci) ? L"P2C" : in DumpBridgeResource()
204 Resource->PciDev->BusNumber, Resource->PciDev->DeviceNumber, in DumpBridgeResource()
205 Resource->PciDev->FunctionNumber in DumpBridgeResource()
208 … if ((!IS_PCI_BRIDGE (&Resource->PciDev->Pci) && !IS_CARDBUS_BRIDGE (&Resource->PciDev->Pci)) || in DumpBridgeResource()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/
DStmApi.h743 STM_RSC Resource; member
747 STM_RSC Resource; member
751 STM_RSC Resource; member
755 STM_RSC Resource; member
759 STM_RSC Resource; member
763 STM_RSC Resource; member
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/AcpiTables/
DDsdt.asl94 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
123 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
143 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
199 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
254 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
268 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
307 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
322 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
337 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
356 Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiResourcesSampleDxe/
DSampleStrings.uni31 #string STR_SAMPLE_FORM_SET_TITLE #language en-US "HII Resource Section Sample"
32 #language fr-FR "HII Resource Section Sample"
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/PrePiHobLib/
DHob.c227 EFI_RESOURCE_ATTRIBUTE_TYPE Resource; in BuildFvHobs() local
232 Resource = (EFI_RESOURCE_ATTRIBUTE_PRESENT | in BuildFvHobs()
237 Resource = *ResourceAttribute; in BuildFvHobs()
240 BuildResourceDescriptorHob (EFI_RESOURCE_FIRMWARE_DEVICE, Resource, PhysicalStart, NumberOfBytes); in BuildFvHobs()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1616/D05AcpiTables/Dsdt/
DD05Usb.asl27 Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Dsdt/
DD03Usb.asl27 Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Pv660/Pv660AcpiTables/Dsdt/
DUsb.asl27 Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings

12