Searched refs:of_root (Results 1 – 12 of 12) sorted by relevance
| /linux/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()
|
| /linux/drivers/power/reset/ |
| H 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()
|
| /linux/arch/mips/kernel/ |
| H A D | mips-cpc.c | 28 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base()
|
| /linux/drivers/of/ |
| H A D | base.c | 36 struct device_node *of_root; variable 37 EXPORT_SYMBOL(of_root); 215 if (of_root) in of_core_init() 257 np = of_root; in __of_find_all_nodes() 457 return of_property_read_string_index(of_root, "compatible", index, compatible); in of_machine_read_compatible() 470 return of_property_read_string(of_root, "model", model); in of_machine_read_model() 995 return of_node_get(of_root); in of_find_node_opts_by_path() 1024 np = of_node_get(of_root); in of_find_node_opts_by_path()
|
| H A D | of_test.c | 31 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, of_root); in of_dtb_root_node_populates_of_root()
|
| H A D | address.c | 987 np = of_root; in of_dma_get_max_cpu_address()
|
| /linux/arch/loongarch/kernel/ |
| H A D | env.c | 47 ret = of_property_read_string(of_root, "model", &model); in init_cpu_fullname()
|
| /linux/drivers/firmware/imx/ |
| H A D | imx-scu-soc.c | 116 ret = of_property_read_string(of_root, in imx_scu_soc_init()
|
| /linux/drivers/gpio/ |
| H A D | gpiolib-shared.c | 294 if (of_root) in gpio_shared_of_scan() 295 return gpio_shared_of_traverse(of_root); in gpio_shared_of_scan()
|
| /linux/drivers/scsi/ibmvscsi/ |
| H 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()
|
| /linux/drivers/bus/ |
| H A D | vexpress-config.c | 382 if (of_property_read_u32(of_root, "arm,hbi", &dt_hbi) == 0) { in vexpress_syscfg_probe()
|
| /linux/include/linux/ |
| H A D | of.h | 141 extern struct device_node *of_root; 1799 return of_property_present(of_root, "compatible"); in of_have_populated_dt()
|