/Linux-v6.6/drivers/of/ |
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()
|
D | base.c | 35 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()
|
D | unittest.c | 264 if (!of_root) in of_unittest_check_tree_linkage() 269 child_count = of_unittest_check_node_linkage(of_root); in of_unittest_check_tree_linkage() 337 of_unittest_printf_one(of_root, "%pOFP", "/"); in of_unittest_printf() 1659 if (!of_root) { in unittest_data_add() 1660 of_root = unittest_data_node; in unittest_data_add() 1677 np->parent = of_root; in unittest_data_add() 3574 of_symbols = of_get_child_by_name(of_root, "__symbols__"); in of_unittest_overlay_high_level() 3590 for_each_child_of_node(of_root, base_child) { in of_unittest_overlay_high_level() 3610 np->parent = of_root; in of_unittest_overlay_high_level() 3614 for (last_sibling = np = of_root->child; np; np = np->sibling) in of_unittest_overlay_high_level() [all …]
|
/Linux-v6.6/arch/mips/generic/ |
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()
|
/Linux-v6.6/arch/powerpc/kernel/ |
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()
|
/Linux-v6.6/arch/powerpc/mm/ |
D | drmem.c | 399 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()
|
/Linux-v6.6/drivers/power/reset/ |
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()
|
/Linux-v6.6/arch/powerpc/kexec/ |
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()
|
/Linux-v6.6/arch/powerpc/platforms/512x/ |
D | mpc512x_generic.c | 35 if (!of_device_compatible_match(of_root, board)) in mpc512x_generic_probe()
|
/Linux-v6.6/drivers/soc/fsl/ |
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()
|
/Linux-v6.6/arch/powerpc/platforms/83xx/ |
D | mpc830x_rdb.c | 42 return of_device_compatible_match(of_root, board); in mpc830x_rdb_probe()
|
D | mpc831x_rdb.c | 42 return of_device_compatible_match(of_root, board); in mpc831x_rdb_probe()
|
D | mpc837x_rdb.c | 69 return of_device_compatible_match(of_root, board); in mpc837x_rdb_probe()
|
/Linux-v6.6/arch/powerpc/platforms/52xx/ |
D | mpc5200_simple.c | 67 return of_device_compatible_match(of_root, board); in mpc5200_simple_probe()
|
D | lite5200.c | 180 return of_device_compatible_match(of_root, board); in lite5200_probe()
|
D | efika.c | 198 const char *model = of_get_property(of_root, "model", NULL); in efika_probe()
|
/Linux-v6.6/arch/powerpc/platforms/40x/ |
D | ppc40x_simple.c | 62 if (of_device_compatible_match(of_root, board)) { in ppc40x_probe()
|
/Linux-v6.6/drivers/soc/imx/ |
D | soc-imx8m.c | 202 ret = of_property_read_string(of_root, "model", &soc_dev_attr->machine); in imx8_soc_init() 206 id = of_match_node(imx8_soc_match, of_root); in imx8_soc_init()
|
/Linux-v6.6/drivers/soc/sunxi/ |
D | sunxi_mbus.c | 121 if (!of_device_compatible_match(of_root, sunxi_mbus_platforms)) in sunxi_mbus_init()
|
/Linux-v6.6/arch/powerpc/platforms/85xx/ |
D | tqm85xx.c | 120 return of_device_compatible_match(of_root, board); in tqm85xx_probe()
|
D | corenet_generic.c | 152 if (of_device_compatible_match(of_root, boards)) in corenet_generic_probe()
|
/Linux-v6.6/arch/mips/kernel/ |
D | mips-cpc.c | 28 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base()
|
D | smp.c | 246 node = of_irq_find_parent(of_root); in mips_smp_ipi_allocate() 306 node = of_irq_find_parent(of_root); in mips_smp_ipi_free()
|
/Linux-v6.6/drivers/firmware/imx/ |
D | imx-scu-soc.c | 116 ret = of_property_read_string(of_root, in imx_scu_soc_init()
|
/Linux-v6.6/arch/powerpc/platforms/pseries/ |
D | setup.c | 1032 if (of_property_read_bool(of_root, "ibm,powervm-partition") || in pseries_add_hw_description() 1033 of_property_read_bool(of_root, "ibm,fw-net-version")) in pseries_add_hw_description() 1094 if (!of_node_is_type(of_root, "chrp")) in pSeries_probe()
|