| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A 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()
|
| H A D | unittest.c | 255 if (!of_root) in of_unittest_check_tree_linkage() 260 child_count = of_unittest_check_node_linkage(of_root); in of_unittest_check_tree_linkage() 328 of_unittest_printf_one(of_root, "%pOFP", "/"); in of_unittest_printf() 1460 if (!of_root) { in unittest_data_add() 1461 of_root = unittest_data_node; in unittest_data_add() 1478 np->parent = of_root; in unittest_data_add() 3080 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level() 3096 for_each_child_of_node(of_root, base_child) { in of_unittest_overlay_high_level() 3114 np->parent = of_root; in of_unittest_overlay_high_level() 3118 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level() [all …]
|
| H A D | base.c | 36 struct device_node *of_root; variable 37 EXPORT_SYMBOL(of_root); 187 if (of_root) in of_core_init() 229 np = of_root; in __of_find_all_nodes() 924 return of_node_get(of_root); in of_find_node_opts_by_path() 953 np = of_node_get(of_root); in of_find_node_opts_by_path()
|
| /OK3568_Linux_fs/u-boot/test/dm/ |
| H A D | test-main.c | 36 gd->of_root = of_live ? uts->of_root : NULL; in dm_test_init() 154 uts->of_root = gd->of_root; in dm_test_main()
|
| /OK3568_Linux_fs/kernel/arch/mips/generic/ |
| H A D | proc.c | 21 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | secure_boot.c | 35 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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/mm/ |
| H A D | drmem.c | 353 if (!of_root) in walk_drmem_lmbs() 357 of_node_get(of_root); in walk_drmem_lmbs() 358 n_root_addr_cells = of_n_addr_cells(of_root); in walk_drmem_lmbs() 359 n_root_size_cells = of_n_size_cells(of_root); in walk_drmem_lmbs() 360 of_node_put(of_root); in walk_drmem_lmbs()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kexec/ |
| H A D | ranges.c | 390 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()
|
| /OK3568_Linux_fs/kernel/drivers/soc/imx/ |
| H A D | soc-imx8m.c | 181 ret = of_property_read_string(of_root, "model", &soc_dev_attr->machine); in imx8_soc_init() 185 id = of_match_node(imx8_soc_match, of_root); in imx8_soc_init()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/512x/ |
| H A D | mpc512x_generic.c | 36 if (!of_device_compatible_match(of_root, board)) in mpc512x_generic_probe()
|
| /OK3568_Linux_fs/u-boot/include/test/ |
| H A D | test.h | 24 struct device_node *of_root; member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/83xx/ |
| H A D | mpc830x_rdb.c | 42 return of_device_compatible_match(of_root, board); in mpc830x_rdb_probe()
|
| H A D | mpc831x_rdb.c | 42 return of_device_compatible_match(of_root, board); in mpc831x_rdb_probe()
|
| H A D | mpc837x_rdb.c | 69 return of_device_compatible_match(of_root, board); in mpc837x_rdb_probe()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/52xx/ |
| H A D | mpc5200_simple.c | 69 return of_device_compatible_match(of_root, board); in mpc5200_simple_probe()
|
| H A D | lite5200.c | 183 return of_device_compatible_match(of_root, board); in lite5200_probe()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/40x/ |
| H A D | ppc40x_simple.c | 63 if (of_device_compatible_match(of_root, board)) { in ppc40x_probe()
|
| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | tango-cpufreq.c | 19 if (!of_match_node(machines, of_root)) in tango_cpufreq_init()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | kernel_dtb.c | 380 gd->of_root_f = gd->of_root; in init_kernel_dtb() 381 of_live_build((void *)gd->fdt_blob, (struct device_node **)&gd->of_root); in init_kernel_dtb()
|
| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | of.h | 97 return gd->of_root != NULL; in of_live_active()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/ |
| H A D | tqm85xx.c | 121 return of_device_compatible_match(of_root, board); in tqm85xx_probe()
|
| H A D | corenet_generic.c | 152 if (of_device_compatible_match(of_root, boards)) in corenet_generic_probe()
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | mips-cpc.c | 27 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base()
|
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | root.c | 175 DM_ROOT_NON_CONST->node = np_to_ofnode(gd->of_root); in dm_init() 325 return dm_scan_fdt_live(gd->dm_root, gd->of_root, in dm_scan_fdt()
|
| H A D | of_access.c | 149 np = gd->of_root; in of_find_all_nodes() 354 return of_node_get(gd->of_root); in of_find_node_opts_by_path() 383 np = of_node_get(gd->of_root); in of_find_node_opts_by_path()
|