/openbmc/u-boot/drivers/core/ |
H A D | of_access.c | 38 static struct device_node *of_chosen; variable 738 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan() 739 if (of_chosen == NULL) in of_alias_scan() 740 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan() 742 if (of_chosen) { in of_alias_scan() 745 name = of_get_property(of_chosen, "stdout-path", NULL); in of_alias_scan()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 402 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in find_legacy_serial_ports() 404 path = of_get_property(of_chosen, "stdout-path", NULL); in find_legacy_serial_ports() 624 if (!of_chosen) { in check_legacy_serial_console() 635 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_legacy_serial_console() 637 name = of_get_property(of_chosen, "stdout-path", NULL); in check_legacy_serial_console()
|
H A D | setup_64.c | 509 return of_property_read_bool(of_chosen, "linux,booted-from-kexec"); in use_spinloop()
|
/openbmc/linux/drivers/of/ |
H A D | kexec.c | 135 prop = of_get_property(of_chosen, "linux,ima-kexec-buffer", &len); in ima_get_kexec_buffer() 175 prop = of_find_property(of_chosen, "linux,ima-kexec-buffer", NULL); in ima_free_kexec_buffer() 183 ret = of_remove_property(of_chosen, prop); in ima_free_kexec_buffer()
|
H A D | base.c | 37 struct device_node *of_chosen; variable 38 EXPORT_SYMBOL(of_chosen); 1746 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan() 1747 if (of_chosen == NULL) in of_alias_scan() 1748 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan() 1750 if (of_chosen) { in of_alias_scan() 1754 if (of_property_read_string(of_chosen, "stdout-path", &name)) in of_alias_scan() 1755 of_property_read_string(of_chosen, "linux,stdout-path", in of_alias_scan()
|
H A D | platform.c | 562 if (of_property_present(of_chosen, "linux,bootx-noscreen")) { in of_platform_default_populate_init() 623 node = of_get_compatible_child(of_chosen, "simple-framebuffer"); in of_platform_default_populate_init()
|
H A D | unittest.c | 1696 of_chosen = of_find_node_by_path("/chosen"); in unittest_data_add()
|
/openbmc/linux/arch/powerpc/platforms/pasemi/ |
H A D | iommu.c | 256 iommu_off = of_chosen && in iommu_init_early_pasemi() 257 of_property_read_bool(of_chosen, "linux,iommu-off"); in iommu_init_early_pasemi()
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | ranges.c | 291 ret = of_property_read_u64(of_chosen, "linux,initrd-start", &base); in add_initrd_mem_range() 292 ret |= of_property_read_u64(of_chosen, "linux,initrd-end", &end); in add_initrd_mem_range()
|
/openbmc/linux/arch/powerpc/platforms/powermac/ |
H A D | setup.c | 513 if (!of_chosen) { in check_pmac_serial_console() 520 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
|
H A D | udbg_scc.c | 80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in udbg_scc_init()
|
H A D | pic.c | 530 if (of_property_read_bool(of_chosen, "linux,bootx")) in pmac_pic_init()
|
/openbmc/linux/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 266 if (!of_chosen) in chrp_init() 277 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init()
|
/openbmc/linux/drivers/pci/ |
H A D | of.c | 245 ret = of_property_read_u32(of_chosen, "linux,pci-probe-only", &val); in of_pci_check_probe_only()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 1746 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) in iommu_init_early_pSeries()
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | offb.c | 669 offb_init_nodriver(pdev, of_chosen, 1); in offb_probe_bootx_noscreen()
|
/openbmc/linux/include/linux/ |
H A D | of.h | 142 extern struct device_node *of_chosen;
|