Home
last modified time | relevance | path

Searched refs:of_get_flat_dt_prop (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v6.6/arch/powerpc/kernel/
Dprom.c244 pa_ftrs = of_get_flat_dt_prop(node, name, &tablelen); in check_cpu_features()
256 slb_size_ptr = of_get_flat_dt_prop(node, "slb-size", NULL) ? : in init_mmu_slb_size()
257 of_get_flat_dt_prop(node, "ibm,slb-size", NULL); in init_mmu_slb_size()
291 const char *model = of_get_flat_dt_prop(node, "model", NULL); in identical_pvr_fixup()
317 prop = of_get_flat_dt_prop(node, fp->name, NULL); in check_cpu_feature_properties()
329 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in early_init_dt_scan_cpus()
345 intserv = of_get_flat_dt_prop(node, "ibm,ppc-interrupt-server#s", &len); in early_init_dt_scan_cpus()
347 intserv = of_get_flat_dt_prop(node, "reg", &len); in early_init_dt_scan_cpus()
398 prop = of_get_flat_dt_prop(node, "cpu-version", NULL); in early_init_dt_scan_cpus()
436 if (of_get_flat_dt_prop(node, "linux,iommu-off", NULL) != NULL) in early_init_dt_scan_chosen_ppc()
[all …]
Ddt_cpu_ftrs.c830 p = of_get_flat_dt_prop(chosen, "bootargs", NULL); in disabled_on_cmdline()
844 && of_get_flat_dt_prop(node, "isa", NULL)) in fdt_find_cpu_features()
891 prop = of_get_flat_dt_prop(node, "isa", &len); in process_cpufeatures_node()
898 prop = of_get_flat_dt_prop(node, "usable-privilege", &len); in process_cpufeatures_node()
905 prop = of_get_flat_dt_prop(node, "hv-support", &len); in process_cpufeatures_node()
911 prop = of_get_flat_dt_prop(node, "os-support", &len); in process_cpufeatures_node()
917 prop = of_get_flat_dt_prop(node, "hfscr-bit-nr", &len); in process_cpufeatures_node()
922 prop = of_get_flat_dt_prop(node, "fscr-bit-nr", &len); in process_cpufeatures_node()
927 prop = of_get_flat_dt_prop(node, "hwcap-bit-nr", &len); in process_cpufeatures_node()
984 if (!of_get_flat_dt_prop(node, "dependencies", &len)) { in process_cpufeatures_node()
[all …]
Depapr_paravirt.c32 insts = of_get_flat_dt_prop(node, "hcall-instructions", &len); in early_init_dt_scan_epapr()
48 if (of_get_flat_dt_prop(node, "has-idle", NULL)) in early_init_dt_scan_epapr()
Drtas.c2011 basep = of_get_flat_dt_prop(node, "linux,rtas-base", NULL); in early_init_dt_scan_rtas()
2012 entryp = of_get_flat_dt_prop(node, "linux,rtas-entry", NULL); in early_init_dt_scan_rtas()
2013 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
2017 if (of_get_flat_dt_prop(node, "ibm,hypertas-functions", NULL)) in early_init_dt_scan_rtas()
2028 basep = of_get_flat_dt_prop(node, "put-term-char", NULL); in early_init_dt_scan_rtas()
2032 basep = of_get_flat_dt_prop(node, "get-term-char", NULL); in early_init_dt_scan_rtas()
/Linux-v6.6/drivers/of/
Dfdt.c510 prop = of_get_flat_dt_prop(node, "reg", &len); in __reserved_mem_reserve_reg()
520 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in __reserved_mem_reserve_reg()
552 prop = of_get_flat_dt_prop(node, "#size-cells", NULL); in __reserved_mem_check_root()
556 prop = of_get_flat_dt_prop(node, "#address-cells", NULL); in __reserved_mem_check_root()
560 prop = of_get_flat_dt_prop(node, "ranges", NULL); in __reserved_mem_check_root()
593 if (err == -ENOENT && of_get_flat_dt_prop(child, "size", NULL)) in fdt_scan_reserved_mem()
752 const void *__init of_get_flat_dt_prop(unsigned long node, const char *name, in of_get_flat_dt_prop() function
833 name = of_get_flat_dt_prop(dt_root, "model", NULL); in of_flat_dt_get_machine_name()
835 name = of_get_flat_dt_prop(dt_root, "compatible", NULL); in of_flat_dt_get_machine_name()
871 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in of_flat_dt_match_machine()
[all …]
Dof_reserved_mem.c146 prop = of_get_flat_dt_prop(node, "size", &len); in __reserved_mem_alloc_size()
156 prop = of_get_flat_dt_prop(node, "alignment", &len); in __reserved_mem_alloc_size()
166 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in __reserved_mem_alloc_size()
171 && of_get_flat_dt_prop(node, "reusable", NULL) in __reserved_mem_alloc_size()
175 prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); in __reserved_mem_alloc_size()
324 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in fdt_init_reserved_mem()
325 prop = of_get_flat_dt_prop(node, "phandle", &len); in fdt_init_reserved_mem()
327 prop = of_get_flat_dt_prop(node, "linux,phandle", &len); in fdt_init_reserved_mem()
347 (of_get_flat_dt_prop(node, "reusable", NULL)) != NULL; in fdt_init_reserved_mem()
/Linux-v6.6/arch/powerpc/mm/
Dinit_64.c438 vec5 = of_get_flat_dt_prop(chosen, "ibm,architecture-vec-5", &size); in early_check_vec5()
476 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in dt_scan_mmu_pid_width()
483 prop = of_get_flat_dt_prop(node, "ibm,mmu-lpid-bits", &size); in dt_scan_mmu_pid_width()
487 prop = of_get_flat_dt_prop(node, "ibm,mmu-pid-bits", &size); in dt_scan_mmu_pid_width()
537 prop = of_get_flat_dt_prop(node, "ibm,lmb-size", &l); in probe_memory_block_size()
563 type = of_get_flat_dt_prop(node, "device_type", NULL); in probe_memory_block_size()
567 reg = of_get_flat_dt_prop(node, "linux,usable-memory", &l); in probe_memory_block_size()
569 reg = of_get_flat_dt_prop(node, "reg", &l); in probe_memory_block_size()
592 compatible = of_get_flat_dt_prop(node, "compatible", NULL); in probe_memory_block_size()
Ddrmem.c291 prop = of_get_flat_dt_prop(node, "ibm,lmb-size", &len); in walk_drmem_lmbs_early()
301 usm = of_get_flat_dt_prop(node, "linux,drconf-usable-memory", &len); in walk_drmem_lmbs_early()
303 prop = of_get_flat_dt_prop(node, "ibm,dynamic-memory", &len); in walk_drmem_lmbs_early()
307 prop = of_get_flat_dt_prop(node, "ibm,dynamic-memory-v2", in walk_drmem_lmbs_early()
/Linux-v6.6/drivers/tty/serial/
Dearlycon.c275 val = of_get_flat_dt_prop(node, "reg-offset", NULL); in of_setup_earlycon()
280 val = of_get_flat_dt_prop(node, "reg-shift", NULL); in of_setup_earlycon()
283 big_endian = of_get_flat_dt_prop(node, "big-endian", NULL) != NULL || in of_setup_earlycon()
285 of_get_flat_dt_prop(node, "native-endian", NULL) != NULL); in of_setup_earlycon()
286 val = of_get_flat_dt_prop(node, "reg-io-width", NULL); in of_setup_earlycon()
304 val = of_get_flat_dt_prop(node, "current-speed", NULL); in of_setup_earlycon()
308 val = of_get_flat_dt_prop(node, "clock-frequency", NULL); in of_setup_earlycon()
/Linux-v6.6/arch/arm/mach-mvebu/
Dboard-v7.c69 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in mvebu_scan_mem()
76 reg = of_get_flat_dt_prop(node, "linux,usable-memory", &l); in mvebu_scan_mem()
78 reg = of_get_flat_dt_prop(node, "reg", &l); in mvebu_scan_mem()
/Linux-v6.6/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c133 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in rcar_gen2_scan_mem()
143 reg = of_get_flat_dt_prop(node, "linux,usable-memory", &l); in rcar_gen2_scan_mem()
145 reg = of_get_flat_dt_prop(node, "reg", &l); in rcar_gen2_scan_mem()
/Linux-v6.6/arch/powerpc/platforms/pseries/
Dfirmware.c166 prop = of_get_flat_dt_prop(node, "ibm,hypertas-functions", in probe_fw_features()
177 prop = of_get_flat_dt_prop(node, "ibm,architecture-vec-5", in probe_fw_features()
Drtas-fadump.c507 token = of_get_flat_dt_prop(node, "ibm,configure-kernel-dump", NULL); in rtas_fadump_dt_scan()
522 fdm_active = of_get_flat_dt_prop(node, "ibm,kernel-dump", NULL); in rtas_fadump_dt_scan()
535 sections = of_get_flat_dt_prop(node, "ibm,configure-kernel-dump-sizes", in rtas_fadump_dt_scan()
/Linux-v6.6/kernel/dma/
Dcoherent.c365 if (of_get_flat_dt_prop(node, "reusable", NULL)) in rmem_dma_setup()
369 if (!of_get_flat_dt_prop(node, "no-map", NULL)) { in rmem_dma_setup()
376 if (of_get_flat_dt_prop(node, "linux,dma-default", NULL)) { in rmem_dma_setup()
Dcontiguous.c466 bool default_cma = of_get_flat_dt_prop(node, "linux,cma-default", NULL); in rmem_cma_setup()
476 if (!of_get_flat_dt_prop(node, "reusable", NULL) || in rmem_cma_setup()
477 of_get_flat_dt_prop(node, "no-map", NULL)) in rmem_cma_setup()
Dswiotlb.c1704 if (of_get_flat_dt_prop(node, "reusable", NULL) || in rmem_swiotlb_setup()
1705 of_get_flat_dt_prop(node, "linux,cma-default", NULL) || in rmem_swiotlb_setup()
1706 of_get_flat_dt_prop(node, "linux,dma-default", NULL) || in rmem_swiotlb_setup()
1707 of_get_flat_dt_prop(node, "no-map", NULL)) in rmem_swiotlb_setup()
/Linux-v6.6/arch/arm/mach-s5pv210/
Ds5pv210.c29 reg = of_get_flat_dt_prop(node, "reg", &len); in s5pv210_fdt_map_sys()
/Linux-v6.6/arch/powerpc/mm/book3s64/
Dhash_utils.c521 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_seg_sizes()
529 prop = of_get_flat_dt_prop(node, "ibm,processor-segment-sizes", &size); in htab_dt_scan_seg_sizes()
577 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_page_sizes()
585 prop = of_get_flat_dt_prop(node, "ibm,segment-page-sizes", &size); in htab_dt_scan_page_sizes()
659 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_hugepage_blocks()
674 page_count_prop = of_get_flat_dt_prop(node, "ibm,expected#pages", NULL); in htab_dt_scan_hugepage_blocks()
678 addr_prop = of_get_flat_dt_prop(node, "reg", NULL); in htab_dt_scan_hugepage_blocks()
887 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_pftsize()
894 prop = of_get_flat_dt_prop(node, "ibm,pft-size", NULL); in htab_dt_scan_pftsize()
Dpkeys.c55 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in dt_scan_storage_keys()
63 prop = of_get_flat_dt_prop(node, "ibm,processor-storage-keys", NULL); in dt_scan_storage_keys()
/Linux-v6.6/include/linux/
Dof_fdt.h55 extern const void *of_get_flat_dt_prop(unsigned long node, const char *name,
/Linux-v6.6/arch/powerpc/platforms/powernv/
Dopal-fadump.c46 prop = of_get_flat_dt_prop(dn, "mpipl-boot", NULL); in opal_fadump_dt_scan()
656 prop = of_get_flat_dt_prop(dn, "fw-load-area", &len); in opal_fadump_dt_scan()
689 prop = of_get_flat_dt_prop(dn, "mpipl-boot", NULL); in opal_fadump_dt_scan()
Dopal.c119 basep = of_get_flat_dt_prop(node, "opal-base-address", &basesz); in early_init_dt_scan_opal()
120 entryp = of_get_flat_dt_prop(node, "opal-entry-address", &entrysz); in early_init_dt_scan_opal()
121 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
156 prop = of_get_flat_dt_prop(node, "mcheck-recoverable-ranges", &psize); in early_init_dt_scan_recoverable_ranges()
/Linux-v6.6/arch/arm/kernel/
Ddevtree.c218 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in setup_machine_fdt()
/Linux-v6.6/arch/arm/mach-exynos/
Dexynos.c83 reg = of_get_flat_dt_prop(node, "reg", &len); in exynos_fdt_map_chipid()
/Linux-v6.6/arch/arc/kernel/
Dsmp.c52 buf = of_get_flat_dt_prop(dt_root, name, NULL); in arc_get_cpu_map()

12