Home
last modified time | relevance | path

Searched refs:of_chosen (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/drivers/core/
H A Dof_access.c38 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 Dlegacy_serial.c402 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 Dsetup_64.c509 return of_property_read_bool(of_chosen, "linux,booted-from-kexec"); in use_spinloop()
/openbmc/linux/drivers/of/
H A Dkexec.c135 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 Dbase.c37 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 Dplatform.c562 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 Dunittest.c1696 of_chosen = of_find_node_by_path("/chosen"); in unittest_data_add()
/openbmc/linux/arch/powerpc/platforms/pasemi/
H A Diommu.c256 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 Dranges.c291 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 Dsetup.c513 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 Dudbg_scc.c80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in udbg_scc_init()
H A Dpic.c530 if (of_property_read_bool(of_chosen, "linux,bootx")) in pmac_pic_init()
/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dsetup.c266 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 Dof.c245 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 Diommu.c1746 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) in iommu_init_early_pSeries()
/openbmc/linux/drivers/video/fbdev/
H A Doffb.c669 offb_init_nodriver(pdev, of_chosen, 1); in offb_probe_bootx_noscreen()
/openbmc/linux/include/linux/
H A Dof.h142 extern struct device_node *of_chosen;