Home
last modified time | relevance | path

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

/linux/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/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/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/drivers/soc/sunxi/
H A Dsunxi_mbus.c121 if (!of_device_compatible_match(of_root, sunxi_mbus_platforms)) in sunxi_mbus_init()
/linux/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.c251 node = of_irq_find_parent(of_root); in mips_smp_ipi_allocate()
311 node = of_irq_find_parent(of_root); in mips_smp_ipi_free()
/linux/drivers/of/
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()
966 return of_node_get(of_root); in of_find_node_opts_by_path()
995 np = of_node_get(of_root); in of_find_node_opts_by_path()
H A Dof_test.c31 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, of_root); in of_dtb_root_node_populates_of_root()
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()
2153 if (!of_root) { in unittest_data_add()
2166 np->parent = of_root; in unittest_data_add()
4060 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level()
4076 for_each_child_of_node(of_root, base_child) { in of_unittest_overlay_high_level()
4096 np->parent = of_root; in of_unittest_overlay_high_level()
4100 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level()
4106 of_root->child = overlay_base_root->child; in of_unittest_overlay_high_level()
H A Dfdt.c1292 __unflatten_device_tree(fdt, NULL, &of_root, in unflatten_device_tree()
H A Daddress.c976 np = of_root; in of_dma_get_max_cpu_address()
/linux/drivers/firmware/imx/
H A Dimx-scu-soc.c116 ret = of_property_read_string(of_root, in imx_scu_soc_init()
/linux/drivers/gpio/
H A Dgpiolib-shared.c294 if (of_root) in gpio_shared_of_scan()
295 return gpio_shared_of_traverse(of_root); in gpio_shared_of_scan()
/linux/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/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/drivers/bus/
H A Dvexpress-config.c382 if (of_property_read_u32(of_root, "arm,hbi", &dt_hbi) == 0) { in vexpress_syscfg_probe()
/linux/drivers/soc/renesas/
H A Drenesas-soc.c471 match = of_match_node(renesas_socs, of_root); in renesas_soc_init()
/linux/drivers/clk/
H A Dclk-qoriq.c1501 of_device_is_compatible(of_root, "fsl,ls1021a")) { in _clockgen_init()