Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/of/
H A Dpdt.c205 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()
H A Dbase.c35 struct device_node *of_root; variable
36 EXPORT_SYMBOL(of_root);
188 if (of_root) in of_core_init()
230 np = of_root; in __of_find_all_nodes()
786 return of_node_get(of_root); in of_find_node_opts_by_path()
815 np = of_node_get(of_root); in of_find_node_opts_by_path()
/openbmc/u-boot/test/dm/
H A Dtest-main.c35 gd->of_root = of_live ? uts->of_root : NULL; in dm_test_init()
153 uts->of_root = gd->of_root; in dm_test_main()
/openbmc/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()
/openbmc/linux/arch/powerpc/kernel/
H A Dsecure_boot.c35 if (!of_property_read_u32(of_root, "ibm,secure-boot", &secureboot)) in is_ppc_secureboot_enabled()
57 if (!of_property_read_u32(of_root, "ibm,trusted-boot", &trustedboot)) in is_ppc_trustedboot_enabled()
/openbmc/linux/arch/powerpc/mm/
H A Ddrmem.c399 if (!of_root) in walk_drmem_lmbs()
403 of_node_get(of_root); in walk_drmem_lmbs()
404 n_root_addr_cells = of_n_addr_cells(of_root); in walk_drmem_lmbs()
405 n_root_size_cells = of_n_size_cells(of_root); in walk_drmem_lmbs()
406 of_node_put(of_root); in walk_drmem_lmbs()
/openbmc/linux/drivers/soc/imx/
H A Dsoc-imx8m.c230 ret = of_property_read_string(of_root, "model", &soc_dev_attr->machine); in imx8m_soc_probe()
234 id = of_match_node(imx8_soc_match, of_root); in imx8m_soc_probe()
299 if (!of_match_node(imx8_soc_match, of_root)) in imx8_soc_init()
/openbmc/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()
/openbmc/linux/arch/powerpc/kexec/
H A Dranges.c390 prop = of_get_property(of_root, "reserved-ranges", &len); in add_reserved_mem_ranges()
394 n_mem_addr_cells = of_n_addr_cells(of_root); in add_reserved_mem_ranges()
395 n_mem_size_cells = of_n_size_cells(of_root); in add_reserved_mem_ranges()
/openbmc/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()
/openbmc/linux/arch/powerpc/platforms/512x/
H A Dmpc512x_generic.c35 if (!of_device_compatible_match(of_root, board)) in mpc512x_generic_probe()
/openbmc/u-boot/include/test/
H A Dtest.h23 struct device_node *of_root; member
/openbmc/linux/arch/powerpc/platforms/83xx/
H A Dmpc830x_rdb.c42 return of_device_compatible_match(of_root, board); in mpc830x_rdb_probe()
H A Dmpc831x_rdb.c42 return of_device_compatible_match(of_root, board); in mpc831x_rdb_probe()
H A Dmpc837x_rdb.c69 return of_device_compatible_match(of_root, board); in mpc837x_rdb_probe()
/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmpc5200_simple.c67 return of_device_compatible_match(of_root, board); in mpc5200_simple_probe()
H A Dlite5200.c180 return of_device_compatible_match(of_root, board); in lite5200_probe()
/openbmc/linux/arch/powerpc/platforms/40x/
H A Dppc40x_simple.c62 if (of_device_compatible_match(of_root, board)) { in ppc40x_probe()
/openbmc/linux/drivers/soc/sunxi/
H A Dsunxi_mbus.c121 if (!of_device_compatible_match(of_root, sunxi_mbus_platforms)) in sunxi_mbus_init()
/openbmc/u-boot/include/dm/
H A Dof.h96 return gd->of_root != NULL; in of_live_active()
/openbmc/linux/arch/powerpc/platforms/85xx/
H A Dtqm85xx.c120 return of_device_compatible_match(of_root, board); in tqm85xx_probe()
H A Dcorenet_generic.c152 if (of_device_compatible_match(of_root, boards)) in corenet_generic_probe()
/openbmc/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()
/openbmc/u-boot/include/asm-generic/
H A Dglobal_data.h78 struct device_node *of_root; member
/openbmc/u-boot/drivers/core/
H A Droot.c174 DM_ROOT_NON_CONST->node = np_to_ofnode(gd->of_root); in dm_init()
331 return dm_scan_fdt_live(gd->dm_root, gd->of_root, in dm_scan_fdt()

12