Home
last modified time | relevance | path

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

/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()
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()
/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()
/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.c38 struct device_node *of_chosen; variable
39 EXPORT_SYMBOL(of_chosen);
1855 of_chosen = of_find_node_by_path("/chosen"); in of_alias_scan()
1856 if (of_chosen == NULL) in of_alias_scan()
1857 of_chosen = of_find_node_by_path("/chosen@0"); in of_alias_scan()
1859 if (of_chosen) { in of_alias_scan()
1863 if (of_property_read_string(of_chosen, "stdout-path", &name)) in of_alias_scan()
1864 of_property_read_string(of_chosen, "linux,stdout-path", in of_alias_scan()
H A Dplatform.c515 if (of_property_present(of_chosen, "linux,bootx-noscreen")) { in of_platform_default_populate_init()
576 node = of_get_compatible_child(of_chosen, "simple-framebuffer"); in of_platform_default_populate_init()
/linux/drivers/pci/
H A Dof.c261 pr_warn("device node is NULL, trying with of_chosen\n"); in of_pci_preserve_config()
262 node = of_chosen; in of_pci_preserve_config()
274 if (node == of_chosen) in of_pci_preserve_config()
277 node = of_chosen; in of_pci_preserve_config()
294 if (of_pci_preserve_config(of_chosen)) in of_pci_check_probe_only()
/linux/arch/powerpc/platforms/powermac/
H A Dsetup.c511 if (!of_chosen) { in check_pmac_serial_console()
512 pr_debug(" of_chosen is NULL !\n"); in check_pmac_serial_console()
518 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.c531 if (of_property_read_bool(of_chosen, "linux,bootx")) in pmac_pic_init()
/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()
/linux/arch/powerpc/kexec/
H A Dranges.c298 ret = of_property_read_u64(of_chosen, "linux,initrd-start", &base); in add_initrd_mem_range()
299 ret |= of_property_read_u64(of_chosen, "linux,initrd-end", &end); in add_initrd_mem_range()
/linux/drivers/video/fbdev/
H A Doffb.c666 offb_init_nodriver(pdev, of_chosen, 1); in offb_probe_bootx_noscreen()
/linux/arch/powerpc/platforms/pseries/
H A Diommu.c2518 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) in iommu_init_early_pSeries()
/linux/include/linux/
H A Dof.h142 extern struct device_node *of_chosen;