Lines Matching refs:node
11 int node, len; in get_kaslr_seed() local
15 node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_kaslr_seed()
16 if (node < 0) in get_kaslr_seed()
19 prop = fdt_getprop_w((void *)dtb_pa, node, "kaslr-seed", &len); in get_kaslr_seed()
37 static bool fdt_device_is_available(const void *fdt, int node) in fdt_device_is_available() argument
42 status = fdt_getprop(fdt, node, "status", &statlen); in fdt_device_is_available()
137 static bool early_cpu_isa_ext_available(const void *fdt, int node, const char *ext_name) in early_cpu_isa_ext_available() argument
142 prop = fdt_getprop(fdt, node, "riscv,isa-extensions", &len); in early_cpu_isa_ext_available()
146 prop = fdt_getprop(fdt, node, "riscv,isa", &len); in early_cpu_isa_ext_available()
164 int node, parent; in fdt_early_match_extension_isa() local
171 fdt_for_each_subnode(node, fdt, parent) { in fdt_early_match_extension_isa()
172 if (!fdt_node_name_eq(fdt, node, "cpu")) in fdt_early_match_extension_isa()
175 if (!fdt_device_is_available(fdt, node)) in fdt_early_match_extension_isa()
178 if (!early_cpu_isa_ext_available(fdt, node, ext_name)) in fdt_early_match_extension_isa()