Lines Matching defs:node
31 int node = 0;
33 fdt_for_each_subnode(node, fdt, parent) {
40 name = fdt_get_name(fdt, node, &len);
45 ret = fdt_get_reg_props_by_index(fdt, node, 0, &idx, NULL);
50 value = fdt_getprop(fdt, node, "enable-at-el3", &len);
60 if ((node < 0) && (node != -FDT_ERR_NOTFOUND)) {
61 return node;
68 * Within a `cpu` node, attempt to dereference the `amu` property, and populate
73 static int fconf_populate_amu_cpu(const void *fdt, int node, uintptr_t mpidr)
81 ret = fdt_read_uint32(fdt, node, "amu", &amu_phandle);
90 node = fdt_node_offset_by_phandle(fdt, amu_phandle);
91 if (node < 0) {
92 return node;
102 return fconf_populate_amu_cpu_amu(fdt, node, amu);
109 * The device tree is expected to provide an `amu` property for each `cpu` node,