Home
last modified time | relevance | path

Searched refs:mem_reg_property (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/arm/boot/compressed/
H A Datags_to_fdt.c135 __be32 mem_reg_property[2 * 2 * NR_BANKS]; in atags_to_fdt() local
173 if (memcount >= sizeof(mem_reg_property)/4) in atags_to_fdt()
184 (__be64 *)mem_reg_property; in atags_to_fdt()
190 mem_reg_property[memcount++] = in atags_to_fdt()
192 mem_reg_property[memcount++] = in atags_to_fdt()
213 setprop(fdt, "/memory", "reg", mem_reg_property, in atags_to_fdt()
/openbmc/qemu/hw/ppc/
H A Dppc440_bamboo.c60 uint32_t mem_reg_property[] = { 0, 0, cpu_to_be32(machine->ram_size) }; in bamboo_load_device_tree() local
79 ret = qemu_fdt_setprop(fdt, "/memory", "reg", mem_reg_property, in bamboo_load_device_tree()
80 sizeof(mem_reg_property)); in bamboo_load_device_tree()
H A Dsam460ex.c137 uint32_t mem_reg_property[] = { 0, 0, cpu_to_be32(machine->ram_size) }; in sam460ex_load_device_tree() local
160 qemu_fdt_setprop(fdt, "/memory", "reg", mem_reg_property, in sam460ex_load_device_tree()
161 sizeof(mem_reg_property)); in sam460ex_load_device_tree()
H A De500.c378 uint64_t mem_reg_property[] = { 0, cpu_to_be64(machine->ram_size) }; in ppce500_load_device_tree() local
435 qemu_fdt_setprop(fdt, "/memory", "reg", mem_reg_property, in ppce500_load_device_tree()
436 sizeof(mem_reg_property)); in ppce500_load_device_tree()
H A Dpnv.c97 uint64_t mem_reg_property[2]; in pnv_dt_memory() local
100 mem_reg_property[0] = cpu_to_be64(start); in pnv_dt_memory()
101 mem_reg_property[1] = cpu_to_be64(size); in pnv_dt_memory()
108 _FDT((fdt_setprop(fdt, off, "reg", mem_reg_property, in pnv_dt_memory()
109 sizeof(mem_reg_property)))); in pnv_dt_memory()
H A Dspapr.c403 uint64_t mem_reg_property[2]; in spapr_dt_memory_node() local
406 mem_reg_property[0] = cpu_to_be64(start); in spapr_dt_memory_node()
407 mem_reg_property[1] = cpu_to_be64(size); in spapr_dt_memory_node()
413 _FDT((fdt_setprop(fdt, off, "reg", mem_reg_property, in spapr_dt_memory_node()
414 sizeof(mem_reg_property)))); in spapr_dt_memory_node()