Lines Matching refs:nodeoff
21 int nodeoff; in fdt_psci() local
25 nodeoff = fdt_path_offset(fdt, "/cpus"); in fdt_psci()
26 if (nodeoff < 0) { in fdt_psci()
28 return nodeoff; in fdt_psci()
32 for (tmp = fdt_first_subnode(fdt, nodeoff); in fdt_psci()
54 nodeoff = fdt_path_offset(fdt, "/psci"); in fdt_psci()
55 if (nodeoff >= 0) in fdt_psci()
58 nodeoff = fdt_path_offset(fdt, "/"); in fdt_psci()
59 if (nodeoff < 0) in fdt_psci()
60 return nodeoff; in fdt_psci()
62 nodeoff = fdt_add_subnode(fdt, nodeoff, "psci"); in fdt_psci()
63 if (nodeoff < 0) in fdt_psci()
64 return nodeoff; in fdt_psci()
75 tmp = fdt_setprop_string(fdt, nodeoff, in fdt_psci()
82 tmp = fdt_appendprop_string(fdt, nodeoff, in fdt_psci()
93 tmp = fdt_appendprop_string(fdt, nodeoff, in fdt_psci()
97 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_suspend", in fdt_psci()
101 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_off", in fdt_psci()
105 tmp = fdt_setprop_u32(fdt, nodeoff, "cpu_on", in fdt_psci()
109 tmp = fdt_setprop_u32(fdt, nodeoff, "migrate", in fdt_psci()
116 tmp = fdt_setprop_string(fdt, nodeoff, "method", "smc"); in fdt_psci()
120 tmp = fdt_setprop_string(fdt, nodeoff, "status", "okay"); in fdt_psci()