Home
last modified time | relevance | path

Searched refs:Prop (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmQemuRelocatablePlatformLib/
DFdtParser.c27 CONST INT32 *Prop; in FindMemnode() local
48 Prop = fdt_getprop (DeviceTreeBlob, 0, "#address-cells", &Length); in FindMemnode()
50 AddressCells = fdt32_to_cpu (*Prop); in FindMemnode()
53 Prop = fdt_getprop (DeviceTreeBlob, 0, "#size-cells", &Length); in FindMemnode()
55 SizeCells = fdt32_to_cpu (*Prop); in FindMemnode()
62 Prop = fdt_getprop (DeviceTreeBlob, MemoryNode, "reg", &Length); in FindMemnode()
68 *SystemMemoryBase = fdt32_to_cpu (Prop[0]); in FindMemnode()
70 *SystemMemoryBase = (*SystemMemoryBase << 32) | fdt32_to_cpu (Prop[1]); in FindMemnode()
72 Prop += AddressCells; in FindMemnode()
74 *SystemMemorySize = fdt32_to_cpu (Prop[0]); in FindMemnode()
[all …]
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmXenRelocatablePlatformLib/
DFdtParser.c27 CONST INT32 *Prop; in FindMemnode() local
48 Prop = fdt_getprop (DeviceTreeBlob, 0, "#address-cells", &Length); in FindMemnode()
50 AddressCells = fdt32_to_cpu (*Prop); in FindMemnode()
53 Prop = fdt_getprop (DeviceTreeBlob, 0, "#size-cells", &Length); in FindMemnode()
55 SizeCells = fdt32_to_cpu (*Prop); in FindMemnode()
62 Prop = fdt_getprop (DeviceTreeBlob, MemoryNode, "reg", &Length); in FindMemnode()
68 *SystemMemoryBase = fdt32_to_cpu (Prop[0]); in FindMemnode()
70 *SystemMemoryBase = (*SystemMemoryBase << 32) | fdt32_to_cpu (Prop[1]); in FindMemnode()
72 Prop += AddressCells; in FindMemnode()
74 *SystemMemorySize = fdt32_to_cpu (Prop[0]); in FindMemnode()
[all …]
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtPsciResetSystemLib/
DArmVirtPsciResetSystemLib.c45 CONST VOID *Prop; in ArmPsciResetSystemLibConstructor() local
52 "method", &Prop, NULL); in ArmPsciResetSystemLibConstructor()
57 if (AsciiStrnCmp (Prop, "hvc", 3) == 0) { in ArmPsciResetSystemLibConstructor()
59 } else if (AsciiStrnCmp (Prop, "smc", 3) == 0) { in ArmPsciResetSystemLibConstructor()
63 Prop)); in ArmPsciResetSystemLibConstructor()
/device/linaro/bootloader/edk2/ArmVirtPkg/FdtClientDxe/
DFdtClientDxe.c36 OUT CONST VOID **Prop, in GetNodeProperty() argument
43 ASSERT (Prop != NULL); in GetNodeProperty()
45 *Prop = fdt_getprop (mDeviceTreeBase, Node, PropertyName, &Len); in GetNodeProperty()
46 if (*Prop == NULL) { in GetNodeProperty()
62 IN CONST VOID *Prop, in SetNodeProperty() argument
70 Ret = fdt_setprop (mDeviceTreeBase, Node, PropertyName, Prop, PropSize); in SetNodeProperty()
140 OUT CONST VOID **Prop, in FindCompatibleNodeProperty() argument
152 return GetNodeProperty (This, Node, PropertyName, Prop, PropSize); in FindCompatibleNodeProperty()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPciHostBridgeLib/
DFdtPciHostBridgeLib.c101 CONST VOID *Prop; in ProcessPciHost() local
155 Status = FdtClient->GetNodeProperty (FdtClient, Node, "reg", &Prop, &Len); in ProcessPciHost()
165 ConfigBase = SwapBytes64 (((CONST UINT64 *)Prop)[0]); in ProcessPciHost()
166 ConfigSize = SwapBytes64 (((CONST UINT64 *)Prop)[1]); in ProcessPciHost()
171 Status = FdtClient->GetNodeProperty (FdtClient, Node, "bus-range", &Prop, in ProcessPciHost()
178 *BusMin = SwapBytes32 (((CONST UINT32 *)Prop)[0]); in ProcessPciHost()
179 *BusMax = SwapBytes32 (((CONST UINT32 *)Prop)[1]); in ProcessPciHost()
195 Status = FdtClient->GetNodeProperty (FdtClient, Node, "ranges", &Prop, &Len); in ProcessPciHost()
206 Record = (CONST DTB_PCI_HOST_RANGE_RECORD *)Prop + RecordIdx; in ProcessPciHost()
/device/linaro/bootloader/edk2/ArmVirtPkg/Include/Protocol/
DFdtClient.h36 OUT CONST VOID **Prop,
46 IN CONST VOID *Prop,
73 OUT CONST VOID **Prop,
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPciPcdProducerLib/
DFdtPciPcdProducerLib.c55 CONST VOID *Prop; in GetPciIoTranslation() local
63 Status = FdtClient->GetNodeProperty (FdtClient, Node, "ranges", &Prop, &Len); in GetPciIoTranslation()
75 Record = (CONST DTB_PCI_HOST_RANGE_RECORD *)Prop + RecordIdx; in GetPciIoTranslation()