Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/kernel/
Dima_kexec.c63 prop = of_get_property(of_chosen, "linux,ima-kexec-buffer", &len); in ima_get_kexec_buffer()
87 prop = of_find_property(of_chosen, "linux,ima-kexec-buffer", NULL); in ima_free_kexec_buffer()
95 ret = of_remove_property(of_chosen, prop); in ima_free_kexec_buffer()
Dlegacy_serial.c374 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in find_legacy_serial_ports()
376 path = of_get_property(of_chosen, "stdout-path", NULL); in find_legacy_serial_ports()
588 if (!of_chosen) { in check_legacy_serial_console()
599 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_legacy_serial_console()
601 name = of_get_property(of_chosen, "stdout-path", NULL); in check_legacy_serial_console()
Dsetup_64.c428 return of_property_read_bool(of_chosen, "linux,booted-from-kexec"); in use_spinloop()
/Linux-v5.4/arch/powerpc/platforms/pasemi/
Diommu.c253 iommu_off = of_chosen && in iommu_init_early_pasemi()
254 of_get_property(of_chosen, "linux,iommu-off", NULL); in iommu_init_early_pasemi()
/Linux-v5.4/drivers/of/
Dbase.c38 struct device_node *of_chosen; variable
1999 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan()
2000 if (of_chosen == NULL) in of_alias_scan()
2001 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan()
2003 if (of_chosen) { in of_alias_scan()
2007 if (of_property_read_string(of_chosen, "stdout-path", &name)) in of_alias_scan()
2008 of_property_read_string(of_chosen, "linux,stdout-path", in of_alias_scan()
Dunittest.c1231 of_chosen = of_find_node_by_path("/chosen"); in unittest_data_add()
/Linux-v5.4/arch/powerpc/platforms/powermac/
Dsetup.c538 if (!of_chosen) { in check_pmac_serial_console()
545 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.c538 if (of_get_property(of_chosen, "linux,bootx", NULL) != NULL) in pmac_pic_init()
/Linux-v5.4/arch/powerpc/platforms/chrp/
Dsetup.c265 if (!of_chosen) in chrp_init()
276 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init()
/Linux-v5.4/drivers/video/fbdev/
Dsimplefb.c543 if (IS_ENABLED(CONFIG_OF_ADDRESS) && of_chosen) { in simplefb_init()
544 for_each_child_of_node(of_chosen, np) { in simplefb_init()
Doffb.c667 if (of_get_property(of_chosen, "linux,bootx-noscreen", NULL) != NULL) { in offb_init()
674 offb_init_nodriver(of_chosen, 1); in offb_init()
/Linux-v5.4/drivers/pci/
Dof.c223 ret = of_property_read_u32(of_chosen, "linux,pci-probe-only", &val); in of_pci_check_probe_only()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Diommu.c1305 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) in iommu_init_early_pSeries()
/Linux-v5.4/include/linux/
Dof.h134 extern struct device_node *of_chosen;