Home
last modified time | relevance | path

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

/linux-6.15/drivers/of/
H A Dpdt.c207 of_root = of_pdt_create_node(root_node, NULL); in of_pdt_build_devicetree()
208 of_root->full_name = "/"; in of_pdt_build_devicetree()
210 of_root->child = of_pdt_build_tree(of_root, in of_pdt_build_devicetree()
211 of_pdt_prom_ops->getchild(of_root->phandle)); in of_pdt_build_devicetree()
H A Dof_kunit_helpers.c21 if (IS_ENABLED(CONFIG_ARM64) && IS_ENABLED(CONFIG_ACPI) && !of_root) in of_root_kunit_skip()
H A Dof_test.c31 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, of_root); in of_dtb_root_node_populates_of_root()
H A Dbase.c36 struct device_node *of_root; variable
37 EXPORT_SYMBOL(of_root);
206 if (of_root) in of_core_init()
248 np = of_root; in __of_find_all_nodes()
919 return of_node_get(of_root); in of_find_node_opts_by_path()
948 np = of_node_get(of_root); in of_find_node_opts_by_path()
H A Dunittest.c274 if (!of_root) in of_unittest_check_tree_linkage()
279 child_count = of_unittest_check_node_linkage(of_root); in of_unittest_check_tree_linkage()
347 of_unittest_printf_one(of_root, "%pOFP", "/"); in of_unittest_printf()
2037 if (!of_root) { in unittest_data_add()
2050 np->parent = of_root; in unittest_data_add()
3941 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level()
3957 for_each_child_of_node(of_root, base_child) { in of_unittest_overlay_high_level()
3977 np->parent = of_root; in of_unittest_overlay_high_level()
3981 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level()
3987 of_root->child = overlay_base_root->child; in of_unittest_overlay_high_level()
H A Dfdt.c1229 __unflatten_device_tree(fdt, NULL, &of_root, in unflatten_device_tree()
H A Daddress.c980 np = of_root; in of_dma_get_max_cpu_address()
/linux-6.15/arch/mips/generic/
H A Dproc.c21 err = of_property_read_string(of_root, "model", &str); in get_system_type()
25 err = of_property_read_string_index(of_root, "compatible", 0, &str); in get_system_type()
/linux-6.15/drivers/soc/imx/
H A Dsoc-imx9.c32 err = of_property_read_string(of_root, "model", &attr->machine); in imx9_soc_probe()
106 if (!of_match_node(imx9_soc_match, of_root)) in imx9_soc_init()
H A Dsoc-imx8m.c223 ret = of_property_read_string(of_root, "model", &soc_dev_attr->machine); in imx8m_soc_probe()
227 id = of_match_node(imx8_soc_match, of_root); in imx8m_soc_probe()
286 if (!of_match_node(imx8_soc_match, of_root)) in imx8_soc_init()
/linux-6.15/drivers/power/reset/
H A Dodroid-go-ultra-poweroff.c145 if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra")) in odroid_go_ultra_poweroff_init()
166 if (!of_device_is_compatible(of_root, "hardkernel,odroid-go-ultra")) in odroid_go_ultra_poweroff_exit()
/linux-6.15/drivers/soc/fsl/
H A Dguts.c220 if (of_property_read_string(of_root, "model", &machine)) in fsl_guts_init()
221 of_property_read_string_index(of_root, "compatible", 0, &machine); in fsl_guts_init()
/linux-6.15/drivers/soc/sunxi/
H A Dsunxi_mbus.c121 if (!of_device_compatible_match(of_root, sunxi_mbus_platforms)) in sunxi_mbus_init()
/linux-6.15/arch/mips/kernel/
H A Dmips-cpc.c28 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base()
H A Dsmp.c247 node = of_irq_find_parent(of_root); in mips_smp_ipi_allocate()
307 node = of_irq_find_parent(of_root); in mips_smp_ipi_free()
H A Dmips-cm.c246 cm_node = of_find_compatible_node(of_root, NULL, "mobileye,eyeq6-cm"); in mips_cm_update_property()
/linux-6.15/drivers/firmware/imx/
H A Dimx-scu-soc.c116 ret = of_property_read_string(of_root, in imx_scu_soc_init()
/linux-6.15/drivers/pci/
H A Dof.c777 if (!of_root) { in of_pci_make_host_bridge_node()
792 np = of_changeset_create_node(cset, of_root, name); in of_pci_make_host_bridge_node()
/linux-6.15/drivers/scsi/ibmvscsi/
H A Dibmvscsi.c246 if (!of_root) in gather_partition_info()
249 of_node_get(of_root); in gather_partition_info()
251 ppartition_name = of_get_property(of_root, "ibm,partition-name", NULL); in gather_partition_info()
255 p_number_ptr = of_get_property(of_root, "ibm,partition-no", NULL); in gather_partition_info()
258 of_node_put(of_root); in gather_partition_info()
/linux-6.15/drivers/bus/
H A Dvexpress-config.c382 if (of_property_read_u32(of_root, "arm,hbi", &dt_hbi) == 0) { in vexpress_syscfg_probe()
/linux-6.15/drivers/crypto/caam/
H A Dctrl.c120 of_match_node(imx8m_machine_match, of_root)) { in run_descriptor_deco0()
884 if (!imx_soc_match && of_match_node(imx8m_machine_match, of_root)) in caam_probe()
/linux-6.15/drivers/soc/renesas/
H A Drenesas-soc.c458 match = of_match_node(renesas_socs, of_root); in renesas_soc_init()
/linux-6.15/include/linux/
H A Dof.h141 extern struct device_node *of_root;
1713 return of_property_present(of_root, "compatible"); in of_have_populated_dt()
/linux-6.15/drivers/clk/
H A Dclk-qoriq.c1501 of_device_is_compatible(of_root, "fsl,ls1021a")) { in _clockgen_init()