Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/cpu/armv8/
H A Dspin_table.c13 int cpus_offset, offset; in spin_table_update_dt() local
20 cpus_offset = fdt_path_offset(fdt, "/cpus"); in spin_table_update_dt()
21 if (cpus_offset < 0) in spin_table_update_dt()
24 for (offset = fdt_first_subnode(fdt, cpus_offset); in spin_table_update_dt()
41 for (offset = fdt_first_subnode(fdt, cpus_offset); in spin_table_update_dt()
/openbmc/qemu/hw/ppc/
H A Dspapr.c826 int cpus_offset) in spapr_dt_one_cpu() argument
839 offset = fdt_add_subnode(fdt, cpus_offset, nodename); in spapr_dt_one_cpu()
850 int cpus_offset; in spapr_dt_cpus() local
853 cpus_offset = fdt_add_subnode(fdt, 0, "cpus"); in spapr_dt_cpus()
854 _FDT(cpus_offset); in spapr_dt_cpus()
855 _FDT((fdt_setprop_cell(fdt, cpus_offset, "#address-cells", 0x1))); in spapr_dt_cpus()
856 _FDT((fdt_setprop_cell(fdt, cpus_offset, "#size-cells", 0x0))); in spapr_dt_cpus()
874 spapr_dt_one_cpu(fdt, spapr, rev[i], cpus_offset); in spapr_dt_cpus()