Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/powerpc/kernel/
Dprom.c224 pa_ftrs = of_get_flat_dt_prop(node, "ibm,pa-features", &tablelen); in check_cpu_pa_features()
237 slb_size_ptr = of_get_flat_dt_prop(node, "slb-size", NULL) ? : in init_mmu_slb_size()
238 of_get_flat_dt_prop(node, "ibm,slb-size", NULL); in init_mmu_slb_size()
272 const char *model = of_get_flat_dt_prop(node, "model", NULL); in identical_pvr_fixup()
298 prop = of_get_flat_dt_prop(node, fp->name, NULL); in check_cpu_feature_properties()
310 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in early_init_dt_scan_cpus()
323 intserv = of_get_flat_dt_prop(node, "ibm,ppc-interrupt-server#s", &len); in early_init_dt_scan_cpus()
325 intserv = of_get_flat_dt_prop(node, "reg", &len); in early_init_dt_scan_cpus()
373 prop = of_get_flat_dt_prop(node, "cpu-version", NULL); in early_init_dt_scan_cpus()
408 if (of_get_flat_dt_prop(node, "linux,iommu-off", NULL) != NULL) in early_init_dt_scan_chosen_ppc()
[all …]
Ddt_cpu_ftrs.c786 p = of_get_flat_dt_prop(chosen, "bootargs", NULL); in disabled_on_cmdline()
800 && of_get_flat_dt_prop(node, "isa", NULL)) in fdt_find_cpu_features()
847 prop = of_get_flat_dt_prop(node, "isa", &len); in process_cpufeatures_node()
854 prop = of_get_flat_dt_prop(node, "usable-privilege", &len); in process_cpufeatures_node()
861 prop = of_get_flat_dt_prop(node, "hv-support", &len); in process_cpufeatures_node()
867 prop = of_get_flat_dt_prop(node, "os-support", &len); in process_cpufeatures_node()
873 prop = of_get_flat_dt_prop(node, "hfscr-bit-nr", &len); in process_cpufeatures_node()
878 prop = of_get_flat_dt_prop(node, "fscr-bit-nr", &len); in process_cpufeatures_node()
883 prop = of_get_flat_dt_prop(node, "hwcap-bit-nr", &len); in process_cpufeatures_node()
940 if (!of_get_flat_dt_prop(node, "dependencies", &len)) { in process_cpufeatures_node()
[all …]
Depapr_paravirt.c31 insts = of_get_flat_dt_prop(node, "hcall-instructions", &len); in early_init_dt_scan_epapr()
47 if (of_get_flat_dt_prop(node, "has-idle", NULL)) in early_init_dt_scan_epapr()
Drtas.c1208 basep = of_get_flat_dt_prop(node, "linux,rtas-base", NULL); in early_init_dt_scan_rtas()
1209 entryp = of_get_flat_dt_prop(node, "linux,rtas-entry", NULL); in early_init_dt_scan_rtas()
1210 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
1219 basep = of_get_flat_dt_prop(node, "put-term-char", NULL); in early_init_dt_scan_rtas()
1223 basep = of_get_flat_dt_prop(node, "get-term-char", NULL); in early_init_dt_scan_rtas()
/Linux-v5.4/drivers/of/
Dfdt.c486 prop = of_get_flat_dt_prop(node, "reg", &len); in __reserved_mem_reserve_reg()
496 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in __reserved_mem_reserve_reg()
528 prop = of_get_flat_dt_prop(node, "#size-cells", NULL); in __reserved_mem_check_root()
532 prop = of_get_flat_dt_prop(node, "#address-cells", NULL); in __reserved_mem_check_root()
536 prop = of_get_flat_dt_prop(node, "ranges", NULL); in __reserved_mem_check_root()
572 if (err == -ENOENT && of_get_flat_dt_prop(node, "size", NULL)) in __fdt_scan_reserved_mem()
710 const void *__init of_get_flat_dt_prop(unsigned long node, const char *name, in of_get_flat_dt_prop() function
800 name = of_get_flat_dt_prop(dt_root, "model", NULL); in of_flat_dt_get_machine_name()
802 name = of_get_flat_dt_prop(dt_root, "compatible", NULL); in of_flat_dt_get_machine_name()
838 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in of_flat_dt_match_machine()
[all …]
Dof_reserved_mem.c85 prop = of_get_flat_dt_prop(node, "size", &len); in __reserved_mem_alloc_size()
95 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in __reserved_mem_alloc_size()
97 prop = of_get_flat_dt_prop(node, "alignment", &len); in __reserved_mem_alloc_size()
110 && of_get_flat_dt_prop(node, "reusable", NULL) in __reserved_mem_alloc_size()
111 && !of_get_flat_dt_prop(node, "no-map", NULL)) { in __reserved_mem_alloc_size()
118 prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); in __reserved_mem_alloc_size()
252 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in fdt_init_reserved_mem()
253 prop = of_get_flat_dt_prop(node, "phandle", &len); in fdt_init_reserved_mem()
255 prop = of_get_flat_dt_prop(node, "linux,phandle", &len); in fdt_init_reserved_mem()
/Linux-v5.4/drivers/tty/serial/
Dearlycon.c250 val = of_get_flat_dt_prop(node, "reg-offset", NULL); in of_setup_earlycon()
255 val = of_get_flat_dt_prop(node, "reg-shift", NULL); in of_setup_earlycon()
258 big_endian = of_get_flat_dt_prop(node, "big-endian", NULL) != NULL || in of_setup_earlycon()
260 of_get_flat_dt_prop(node, "native-endian", NULL) != NULL); in of_setup_earlycon()
261 val = of_get_flat_dt_prop(node, "reg-io-width", NULL); in of_setup_earlycon()
279 val = of_get_flat_dt_prop(node, "current-speed", NULL); in of_setup_earlycon()
283 val = of_get_flat_dt_prop(node, "clock-frequency", NULL); in of_setup_earlycon()
/Linux-v5.4/arch/arm/mach-mvebu/
Dboard-v7.c72 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in mvebu_scan_mem()
79 reg = of_get_flat_dt_prop(node, "linux,usable-memory", &l); in mvebu_scan_mem()
81 reg = of_get_flat_dt_prop(node, "reg", &l); in mvebu_scan_mem()
/Linux-v5.4/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c134 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in rcar_gen2_scan_mem()
144 reg = of_get_flat_dt_prop(node, "linux,usable-memory", &l); in rcar_gen2_scan_mem()
146 reg = of_get_flat_dt_prop(node, "reg", &l); in rcar_gen2_scan_mem()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Dfirmware.c153 prop = of_get_flat_dt_prop(node, "ibm,hypertas-functions", in probe_fw_features()
164 prop = of_get_flat_dt_prop(node, "ibm,architecture-vec-5", in probe_fw_features()
Drtas-fadump.c500 token = of_get_flat_dt_prop(node, "ibm,configure-kernel-dump", NULL); in rtas_fadump_dt_scan()
515 fdm_active = of_get_flat_dt_prop(node, "ibm,kernel-dump", NULL); in rtas_fadump_dt_scan()
528 sections = of_get_flat_dt_prop(node, "ibm,configure-kernel-dump-sizes", in rtas_fadump_dt_scan()
/Linux-v5.4/kernel/dma/
Dcontiguous.c307 if (!of_get_flat_dt_prop(node, "reusable", NULL) || in rmem_cma_setup()
308 of_get_flat_dt_prop(node, "no-map", NULL)) in rmem_cma_setup()
324 if (of_get_flat_dt_prop(node, "linux,cma-default", NULL)) in rmem_cma_setup()
Dcoherent.c336 if (of_get_flat_dt_prop(node, "reusable", NULL)) in rmem_dma_setup()
340 if (!of_get_flat_dt_prop(node, "no-map", NULL)) { in rmem_dma_setup()
345 if (of_get_flat_dt_prop(node, "linux,dma-default", NULL)) { in rmem_dma_setup()
/Linux-v5.4/arch/powerpc/mm/
Ddrmem.c274 prop = of_get_flat_dt_prop(node, "ibm,lmb-size", &len); in walk_drmem_lmbs_early()
280 usm = of_get_flat_dt_prop(node, "linux,drconf-usable-memory", &len); in walk_drmem_lmbs_early()
282 prop = of_get_flat_dt_prop(node, "ibm,dynamic-memory", &len); in walk_drmem_lmbs_early()
286 prop = of_get_flat_dt_prop(node, "ibm,dynamic-memory-v2", in walk_drmem_lmbs_early()
/Linux-v5.4/arch/powerpc/mm/book3s64/
Dhash_utils.c350 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_seg_sizes()
358 prop = of_get_flat_dt_prop(node, "ibm,processor-segment-sizes", &size); in htab_dt_scan_seg_sizes()
406 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_page_sizes()
414 prop = of_get_flat_dt_prop(node, "ibm,segment-page-sizes", &size); in htab_dt_scan_page_sizes()
488 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_hugepage_blocks()
503 page_count_prop = of_get_flat_dt_prop(node, "ibm,expected#pages", NULL); in htab_dt_scan_hugepage_blocks()
507 addr_prop = of_get_flat_dt_prop(node, "reg", NULL); in htab_dt_scan_hugepage_blocks()
708 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in htab_dt_scan_pftsize()
715 prop = of_get_flat_dt_prop(node, "ibm,pft-size", NULL); in htab_dt_scan_pftsize()
Dradix_pgtable.c431 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); in radix_dt_scan_page_sizes()
438 prop = of_get_flat_dt_prop(node, "ibm,mmu-pid-bits", &size); in radix_dt_scan_page_sizes()
443 prop = of_get_flat_dt_prop(node, "ibm,processor-radix-AP-encodings", &size); in radix_dt_scan_page_sizes()
/Linux-v5.4/arch/arm/mach-s5pv210/
Ds5pv210.c31 reg = of_get_flat_dt_prop(node, "reg", &len); in s5pv210_fdt_map_sys()
/Linux-v5.4/include/linux/
Dof_fdt.h55 extern const void *of_get_flat_dt_prop(unsigned long node, const char *name,
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal.c107 basep = of_get_flat_dt_prop(node, "opal-base-address", &basesz); in early_init_dt_scan_opal()
108 entryp = of_get_flat_dt_prop(node, "opal-entry-address", &entrysz); in early_init_dt_scan_opal()
109 sizep = of_get_flat_dt_prop(node, "opal-runtime-size", &runtimesz); in early_init_dt_scan_opal()
144 prop = of_get_flat_dt_prop(node, "mcheck-recoverable-ranges", &psize); in early_init_dt_scan_recoverable_ranges()
Dopal-fadump.c46 prop = of_get_flat_dt_prop(dn, "mpipl-boot", NULL); in opal_fadump_dt_scan()
646 prop = of_get_flat_dt_prop(dn, "fw-load-area", &len); in opal_fadump_dt_scan()
679 prop = of_get_flat_dt_prop(dn, "mpipl-boot", NULL); in opal_fadump_dt_scan()
/Linux-v5.4/arch/arc/plat-eznps/
Dsmp.c26 buf = of_get_flat_dt_prop(dt_root, name, NULL); in eznps_get_map()
/Linux-v5.4/arch/arm/mach-exynos/
Dexynos.c70 reg = of_get_flat_dt_prop(node, "reg", &len); in exynos_fdt_map_chipid()
/Linux-v5.4/arch/arm64/mm/
Dinit.c132 reg = of_get_flat_dt_prop(node, "linux,elfcorehdr", &len); in early_init_dt_scan_elfcorehdr()
286 reg = of_get_flat_dt_prop(node, "linux,usable-memory-range", &len); in early_init_dt_scan_usablemem()
/Linux-v5.4/arch/arm/kernel/
Ddevtree.c238 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in setup_machine_fdt()
/Linux-v5.4/arch/arc/kernel/
Dsmp.c53 buf = of_get_flat_dt_prop(dt_root, name, NULL); in arc_get_cpu_map()

12