Home
last modified time | relevance | path

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

/Linux-v6.1/arch/powerpc/kernel/
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()
620 if (!of_chosen) { in check_legacy_serial_console()
631 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_legacy_serial_console()
633 name = of_get_property(of_chosen, "stdout-path", NULL); in check_legacy_serial_console()
Dsetup_64.c505 return of_property_read_bool(of_chosen, "linux,booted-from-kexec"); in use_spinloop()
/Linux-v6.1/drivers/of/
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()
Dbase.c37 struct device_node *of_chosen; variable
38 EXPORT_SYMBOL(of_chosen);
1908 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan()
1909 if (of_chosen == NULL) in of_alias_scan()
1910 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan()
1912 if (of_chosen) { in of_alias_scan()
1916 if (of_property_read_string(of_chosen, "stdout-path", &name)) in of_alias_scan()
1917 of_property_read_string(of_chosen, "linux,stdout-path", in of_alias_scan()
Dplatform.c532 if (of_get_property(of_chosen, "linux,bootx-noscreen", NULL)) { in of_platform_default_populate_init()
586 node = of_get_compatible_child(of_chosen, "simple-framebuffer"); in of_platform_default_populate_init()
Dunittest.c1477 of_chosen = of_find_node_by_path("/chosen"); in unittest_data_add()
/Linux-v6.1/arch/powerpc/platforms/pasemi/
Diommu.c256 iommu_off = of_chosen && in iommu_init_early_pasemi()
257 of_get_property(of_chosen, "linux,iommu-off", NULL); in iommu_init_early_pasemi()
/Linux-v6.1/arch/powerpc/kexec/
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()
/Linux-v6.1/arch/powerpc/platforms/powermac/
Dsetup.c520 if (!of_chosen) { in check_pmac_serial_console()
527 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
Dudbg_scc.c80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in udbg_scc_init()
Dpic.c531 if (of_get_property(of_chosen, "linux,bootx", NULL) != NULL) in pmac_pic_init()
/Linux-v6.1/arch/powerpc/platforms/chrp/
Dsetup.c266 if (!of_chosen) in chrp_init()
277 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init()
/Linux-v6.1/drivers/pci/
Dof.c238 ret = of_property_read_u32(of_chosen, "linux,pci-probe-only", &val); in of_pci_check_probe_only()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Diommu.c1667 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) in iommu_init_early_pSeries()
/Linux-v6.1/drivers/video/fbdev/
Doffb.c674 offb_init_nodriver(pdev, of_chosen, 1); in offb_probe_bootx_noscreen()
/Linux-v6.1/include/linux/
Dof.h134 extern struct device_node *of_chosen;