Searched refs:of_root (Results 1 – 19 of 19) sorted by relevance
| /drivers/of/ |
| A D | pdt.c | 207 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()
|
| A D | of_kunit_helpers.c | 21 if (IS_ENABLED(CONFIG_ARM64) && IS_ENABLED(CONFIG_ACPI) && !of_root) in of_root_kunit_skip()
|
| A D | base.c | 36 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()
|
| A D | of_test.c | 31 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, of_root); in of_dtb_root_node_populates_of_root()
|
| A D | unittest.c | 274 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() 2039 if (!of_root) { in unittest_data_add() 2053 np->parent = of_root; in unittest_data_add() 3945 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level() 3961 for_each_child_of_node(of_root, base_child) { in of_unittest_overlay_high_level() 3981 np->parent = of_root; in of_unittest_overlay_high_level() 3985 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level() 3991 of_root->child = overlay_base_root->child; in of_unittest_overlay_high_level()
|
| A D | fdt.c | 1263 __unflatten_device_tree(fdt, NULL, &of_root, in unflatten_device_tree()
|
| A D | address.c | 980 np = of_root; in of_dma_get_max_cpu_address()
|
| /drivers/soc/imx/ |
| A D | soc-imx9.c | 32 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()
|
| A D | soc-imx8m.c | 243 ret = of_property_read_string(of_root, "model", &soc_dev_attr->machine); in imx8m_soc_probe() 247 id = of_match_node(imx8_soc_match, of_root); in imx8m_soc_probe() 325 if (!of_match_node(imx8_soc_match, of_root)) in imx8_soc_init()
|
| /drivers/power/reset/ |
| A D | odroid-go-ultra-poweroff.c | 145 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()
|
| /drivers/soc/fsl/ |
| A D | guts.c | 220 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()
|
| /drivers/soc/sunxi/ |
| A D | sunxi_mbus.c | 121 if (!of_device_compatible_match(of_root, sunxi_mbus_platforms)) in sunxi_mbus_init()
|
| /drivers/firmware/imx/ |
| A D | imx-scu-soc.c | 116 ret = of_property_read_string(of_root, in imx_scu_soc_init()
|
| /drivers/pci/ |
| A D | of.c | 777 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()
|
| /drivers/scsi/ibmvscsi/ |
| A D | ibmvscsi.c | 246 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()
|
| /drivers/crypto/caam/ |
| A D | ctrl.c | 120 of_match_node(imx8m_machine_match, of_root)) { in run_descriptor_deco0() 885 if (!imx_soc_match && of_match_node(imx8m_machine_match, of_root)) in caam_probe()
|
| /drivers/bus/ |
| A D | vexpress-config.c | 382 if (of_property_read_u32(of_root, "arm,hbi", &dt_hbi) == 0) { in vexpress_syscfg_probe()
|
| /drivers/soc/renesas/ |
| A D | renesas-soc.c | 458 match = of_match_node(renesas_socs, of_root); in renesas_soc_init()
|
| /drivers/clk/ |
| A D | clk-qoriq.c | 1501 of_device_is_compatible(of_root, "fsl,ls1021a")) { in _clockgen_init()
|
Completed in 51 milliseconds