Home
last modified time | relevance | path

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

/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()
69 *SystemMemoryBase = fdt32_to_cpu (*Prop); in FindMemnode()
71 *SystemMemoryBase = fdt64_to_cpu (*(UINT64 *)Prop); in FindMemnode()
73 Prop += AddressCells; in FindMemnode()
76 *SystemMemorySize = fdt32_to_cpu (*Prop); in FindMemnode()
[all …]
/device/linaro/bootloader/edk2/ArmVirtPkg/VirtFdtDxe/
DVirtFdtDxe.c156 CONST VOID *Prop; in ProcessPciHost() local
172 Prop = fdt_getprop (DeviceTreeBase, Node, "bus-range", &Len); in ProcessPciHost()
173 if (Prop == NULL || Len != 2 * sizeof(UINT32)) { in ProcessPciHost()
178 BusMin = fdt32_to_cpu (((CONST UINT32 *)Prop)[0]); in ProcessPciHost()
179 BusMax = fdt32_to_cpu (((CONST UINT32 *)Prop)[1]); in ProcessPciHost()
195 Prop = fdt_getprop (DeviceTreeBase, Node, "ranges", &Len); in ProcessPciHost()
196 if (Prop == NULL || Len == 0 || in ProcessPciHost()
222 Record = (CONST DTB_PCI_HOST_RANGE_RECORD *)Prop + RecordIdx; in ProcessPciHost()