Home
last modified time | relevance | path

Searched refs:of_root (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/drivers/of/
Dpdt.c230 of_root = of_pdt_create_node(root_node, NULL); in of_pdt_build_devicetree()
232 of_root->path_component_name = ""; in of_pdt_build_devicetree()
234 of_root->full_name = "/"; in of_pdt_build_devicetree()
236 of_root->child = of_pdt_build_tree(of_root, in of_pdt_build_devicetree()
237 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
Dunittest.c238 if (!of_root) in of_unittest_check_tree_linkage()
243 child_count = of_unittest_check_node_linkage(of_root); in of_unittest_check_tree_linkage()
307 of_unittest_printf_one(of_root, "%pOFP", "/"); in of_unittest_printf()
1177 if (!of_root) { in unittest_data_add()
1178 of_root = unittest_data_node; in unittest_data_add()
1192 np->parent = of_root; in unittest_data_add()
2346 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level()
2361 if (of_get_child_by_name(of_root, np->name)) { in of_unittest_overlay_high_level()
2377 np->parent = of_root; in of_unittest_overlay_high_level()
2381 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level()
[all …]
Dbase.c35 struct device_node *of_root; variable
36 EXPORT_SYMBOL(of_root);
198 if (of_root) in of_core_init()
240 np = of_root; in __of_find_all_nodes()
860 return of_node_get(of_root); in of_find_node_opts_by_path()
889 np = of_node_get(of_root); in of_find_node_opts_by_path()
Dfdt.c1256 __unflatten_device_tree(initial_boot_params, NULL, &of_root, in unflatten_device_tree()
/Linux-v4.19/arch/mips/generic/
Dproc.c20 err = of_property_read_string(of_root, "model", &str); in get_system_type()
24 err = of_property_read_string_index(of_root, "compatible", 0, &str); in get_system_type()
/Linux-v4.19/arch/powerpc/platforms/512x/
Dmpc512x_generic.c41 if (!of_device_compatible_match(of_root, board)) in mpc512x_generic_probe()
/Linux-v4.19/arch/powerpc/platforms/83xx/
Dmpc831x_rdb.c46 return of_device_compatible_match(of_root, board); in mpc831x_rdb_probe()
Dmpc830x_rdb.c46 return of_device_compatible_match(of_root, board); in mpc830x_rdb_probe()
Dmpc837x_rdb.c73 return of_device_compatible_match(of_root, board); in mpc837x_rdb_probe()
/Linux-v4.19/arch/powerpc/platforms/52xx/
Dmpc5200_simple.c73 return of_device_compatible_match(of_root, board); in mpc5200_simple_probe()
Dlite5200.c186 return of_device_compatible_match(of_root, board); in lite5200_probe()
Defika.c203 const char *model = of_get_property(of_root, "model", NULL); in efika_probe()
Dmedia5200.c245 return of_device_compatible_match(of_root, board); in media5200_probe()
/Linux-v4.19/arch/powerpc/platforms/40x/
Dppc40x_simple.c66 if (of_device_compatible_match(of_root, board)) { in ppc40x_probe()
/Linux-v4.19/drivers/cpufreq/
Dtango-cpufreq.c19 if (!of_match_node(machines, of_root)) in tango_cpufreq_init()
/Linux-v4.19/arch/powerpc/platforms/85xx/
Dtqm85xx.c125 return of_device_compatible_match(of_root, board); in tqm85xx_probe()
Dcorenet_generic.c177 if (of_device_compatible_match(of_root, boards)) in corenet_generic_probe()
/Linux-v4.19/arch/mips/kernel/
Dmips-cpc.c31 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base()
Dsmp.c251 node = of_irq_find_parent(of_root); in mips_smp_ipi_allocate()
308 node = of_irq_find_parent(of_root); in mips_smp_ipi_free()
/Linux-v4.19/drivers/mfd/
Dvexpress-sysreg.c184 if (of_property_read_u32(of_root, "arm,hbi", &dt_hbi) == 0) { in vexpress_sysreg_probe()
/Linux-v4.19/drivers/soc/renesas/
Drenesas-soc.c267 match = of_match_node(renesas_socs, of_root); in renesas_soc_init()
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvscsi.c258 if (!of_root) in gather_partition_info()
261 of_node_get(of_root); in gather_partition_info()
263 ppartition_name = of_get_property(of_root, "ibm,partition-name", NULL); in gather_partition_info()
267 p_number_ptr = of_get_property(of_root, "ibm,partition-no", NULL); in gather_partition_info()
270 of_node_put(of_root); in gather_partition_info()
/Linux-v4.19/include/linux/
Dof.h135 extern struct device_node *of_root;
177 return of_root != NULL; in of_have_populated_dt()
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dsetup.c968 const char *dtype = of_get_property(of_root, "device_type", NULL); in pSeries_probe()
/Linux-v4.19/drivers/clk/
Dclk-qoriq.c1357 of_device_is_compatible(of_root, "fsl,ls1021a")) { in clockgen_init()