Home
last modified time | relevance | path

Searched refs:of_chosen (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/kexec/
H A Dima.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()
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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A 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()
590 if (!of_chosen) { in check_legacy_serial_console()
591 DBG(" of_chosen is NULL !\n"); in check_legacy_serial_console()
601 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_legacy_serial_console()
603 name = of_get_property(of_chosen, "stdout-path", NULL); in check_legacy_serial_console()
/kernel/linux/linux-6.6/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()
625 DBG(" of_chosen is NULL !\n"); 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/
H A 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()
/kernel/linux/linux-6.6/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); variable
1741 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan()
1742 if (of_chosen == NULL) in of_alias_scan()
1743 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan()
1745 if (of_chosen) { in of_alias_scan()
1749 if (of_property_read_string(of_chosen, "stdout-path", &name)) in of_alias_scan()
1750 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/of/
H A Dbase.c38 struct device_node *of_chosen; variable
1973 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan()
1974 if (of_chosen == NULL) in of_alias_scan()
1975 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan()
1977 if (of_chosen) { in of_alias_scan()
1981 if (of_property_read_string(of_chosen, "stdout-path", &name)) in of_alias_scan()
1982 of_property_read_string(of_chosen, "linux,stdout-path", in of_alias_scan()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
H A Dudbg_scc.c80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in udbg_scc_init()
H A Dsetup.c537 if (!of_chosen) { in check_pmac_serial_console()
538 pr_debug(" of_chosen is NULL !\n"); in check_pmac_serial_console()
544 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
H A Dpic.c531 if (of_get_property(of_chosen, "linux,bootx", NULL) != NULL) in pmac_pic_init()
/kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/
H A Dudbg_scc.c80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in udbg_scc_init()
H A Dsetup.c513 if (!of_chosen) { in check_pmac_serial_console()
514 pr_debug(" of_chosen is NULL !\n"); in check_pmac_serial_console()
520 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
H A Dpic.c530 if (of_property_read_bool(of_chosen, "linux,bootx")) in pmac_pic_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
H A Dsetup.c264 if (!of_chosen) in chrp_init()
275 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/pci/
H A Dof.c223 ret = of_property_read_u32(of_chosen, "linux,pci-probe-only", &val); in of_pci_check_probe_only()
/kernel/linux/linux-6.6/drivers/pci/
H A Dof.c245 ret = of_property_read_u32(of_chosen, "linux,pci-probe-only", &val); in of_pci_check_probe_only()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Diommu.c1467 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) in iommu_init_early_pSeries()

Completed in 24 milliseconds

12