Lines Matching refs:nodeoff
20 int nodeoff;
24 nodeoff = fdt_path_offset(fdt, "/cpus");
25 if (nodeoff < 0) {
27 return nodeoff;
31 for (tmp = fdt_first_subnode(fdt, nodeoff);
53 nodeoff = fdt_path_offset(fdt, "/psci");
54 if (nodeoff >= 0)
57 nodeoff = fdt_path_offset(fdt, "/");
58 if (nodeoff < 0)
59 return nodeoff;
61 nodeoff = fdt_add_subnode(fdt, nodeoff, "psci");
62 if (nodeoff < 0)
63 return nodeoff;
72 tmp = fdt_setprop_string(fdt, nodeoff,
79 tmp = fdt_appendprop_string(fdt, nodeoff,
90 tmp = fdt_appendprop_string(fdt, nodeoff,
94 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_suspend",
98 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_off",
102 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_on",
106 tmp = fdt_setprop_u32(fdt, nodeoff, "migrate",
113 tmp = fdt_setprop_string(fdt, nodeoff, "method", "smc");