Searched refs:of_root (Results 1 – 11 of 11) sorted by relevance
/drivers/of/ |
D | pdt.c | 205 of_root = of_pdt_create_node(root_node, NULL); in of_pdt_build_devicetree() 206 of_root->full_name = "/"; in of_pdt_build_devicetree() 208 of_root->child = of_pdt_build_tree(of_root, in of_pdt_build_devicetree() 209 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
|
D | unittest.c | 238 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() 311 of_unittest_printf_one(of_root, "%pOFP", "/"); in of_unittest_printf() 1228 if (!of_root) { in unittest_data_add() 1229 of_root = unittest_data_node; in unittest_data_add() 1243 np->parent = of_root; in unittest_data_add() 2417 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level() 2433 for_each_child_of_node(of_root, base_child) { in of_unittest_overlay_high_level() 2451 np->parent = of_root; in of_unittest_overlay_high_level() 2455 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level() [all …]
|
D | base.c | 36 struct device_node *of_root; variable 37 EXPORT_SYMBOL(of_root); 249 if (of_root) in of_core_init() 291 np = of_root; in __of_find_all_nodes() 950 return of_node_get(of_root); in of_find_node_opts_by_path() 979 np = of_node_get(of_root); in of_find_node_opts_by_path()
|
D | fdt.c | 1251 __unflatten_device_tree(initial_boot_params, NULL, &of_root, in unflatten_device_tree()
|
/drivers/soc/imx/ |
D | soc-imx8.c | 154 ret = of_property_read_string(of_root, "model", &soc_dev_attr->machine); in imx8_soc_init() 158 id = of_match_node(imx8_soc_match, of_root); in imx8_soc_init()
|
D | soc-imx-scu.c | 105 ret = of_property_read_string(of_root, in imx_scu_soc_probe()
|
/drivers/cpufreq/ |
D | tango-cpufreq.c | 19 if (!of_match_node(machines, of_root)) in tango_cpufreq_init()
|
/drivers/mfd/ |
D | vexpress-sysreg.c | 177 if (of_property_read_u32(of_root, "arm,hbi", &dt_hbi) == 0) { in vexpress_sysreg_probe()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvscsi.c | 245 if (!of_root) in gather_partition_info() 248 of_node_get(of_root); in gather_partition_info() 250 ppartition_name = of_get_property(of_root, "ibm,partition-name", NULL); in gather_partition_info() 254 p_number_ptr = of_get_property(of_root, "ibm,partition-no", NULL); in gather_partition_info() 257 of_node_put(of_root); in gather_partition_info()
|
/drivers/soc/renesas/ |
D | renesas-soc.c | 292 match = of_match_node(renesas_socs, of_root); in renesas_soc_init()
|
/drivers/clk/ |
D | clk-qoriq.c | 1433 of_device_is_compatible(of_root, "fsl,ls1021a")) { in clockgen_init()
|