Lines Matching refs:cpu_offs
248 int cpu_offs; in fdt_add_cpu() local
258 cpu_offs = fdt_add_subnode(dtb, parent, snode_name); in fdt_add_cpu()
259 if (cpu_offs < 0) { in fdt_add_cpu()
261 snode_name, cpu_offs); in fdt_add_cpu()
262 return cpu_offs; in fdt_add_cpu()
265 err = fdt_setprop_string(dtb, cpu_offs, "compatible", "arm,armv8"); in fdt_add_cpu()
268 "compatible", cpu_offs); in fdt_add_cpu()
272 err = fdt_setprop_u64(dtb, cpu_offs, "reg", reg_prop); in fdt_add_cpu()
275 "reg", cpu_offs); in fdt_add_cpu()
279 err = fdt_setprop_string(dtb, cpu_offs, "device_type", "cpu"); in fdt_add_cpu()
282 "device_type", cpu_offs); in fdt_add_cpu()
286 err = fdt_setprop_string(dtb, cpu_offs, "enable-method", "psci"); in fdt_add_cpu()
289 "enable-method", cpu_offs); in fdt_add_cpu()
293 return cpu_offs; in fdt_add_cpu()