Home
last modified time | relevance | path

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

12

/openbmc/linux/arch/powerpc/kernel/
H A 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()
346 intserv = of_get_flat_dt_prop(node, "ibm,ppc-interrupt-server#s", &len); in early_init_dt_scan_cpus()
348 intserv = of_get_flat_dt_prop(node, "reg", &len); in early_init_dt_scan_cpus()
411 prop = of_get_flat_dt_prop(node, "cpu-version", NULL); in early_init_dt_scan_cpus()
455 if (of_get_flat_dt_prop(node, "linux,iommu-off", NULL) != NULL) in early_init_dt_scan_chosen_ppc()
[all …]
H A 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 …]
H A 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()
H A Drtas.c2031 basep = of_get_flat_dt_prop(node, "linux,rtas-base", NULL); in early_init_dt_scan_rtas()
2032 entryp = of_get_flat_dt_prop(node, "linux,rtas-entry", NULL); in early_init_dt_scan_rtas()
2033 sizep = of_get_flat_dt_prop(node, "rtas-size", NULL); in early_init_dt_scan_rtas()
2037 if (of_get_flat_dt_prop(node, "ibm,hypertas-functions", NULL)) in early_init_dt_scan_rtas()
2048 basep = of_get_flat_dt_prop(node, "put-term-char", NULL); in early_init_dt_scan_rtas()
2052 basep = of_get_flat_dt_prop(node, "get-term-char", NULL); in early_init_dt_scan_rtas()
/openbmc/linux/drivers/of/
H A Dfdt.c511 prop = of_get_flat_dt_prop(node, "reg", &len); in __reserved_mem_reserve_reg()
521 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in __reserved_mem_reserve_reg()
553 prop = of_get_flat_dt_prop(node, "#size-cells", NULL); in __reserved_mem_check_root()
557 prop = of_get_flat_dt_prop(node, "#address-cells", NULL); in __reserved_mem_check_root()
561 prop = of_get_flat_dt_prop(node, "ranges", NULL); in __reserved_mem_check_root()
594 if (err == -ENOENT && of_get_flat_dt_prop(child, "size", NULL)) in fdt_scan_reserved_mem()
753 const void *__init of_get_flat_dt_prop(unsigned long node, const char *name, in of_get_flat_dt_prop() function
834 name = of_get_flat_dt_prop(dt_root, "model", NULL); in of_flat_dt_get_machine_name()
836 name = of_get_flat_dt_prop(dt_root, "compatible", NULL); in of_flat_dt_get_machine_name()
872 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in of_flat_dt_match_machine()
[all …]
H A Dof_reserved_mem.c147 prop = of_get_flat_dt_prop(node, "size", &len); in __reserved_mem_alloc_size()
157 prop = of_get_flat_dt_prop(node, "alignment", &len); in __reserved_mem_alloc_size()
167 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in __reserved_mem_alloc_size()
172 && of_get_flat_dt_prop(node, "reusable", NULL) in __reserved_mem_alloc_size()
176 prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); in __reserved_mem_alloc_size()
325 nomap = of_get_flat_dt_prop(node, "no-map", NULL) != NULL; in fdt_init_reserved_mem()
326 prop = of_get_flat_dt_prop(node, "phandle", &len); in fdt_init_reserved_mem()
328 prop = of_get_flat_dt_prop(node, "linux,phandle", &len); in fdt_init_reserved_mem()
348 (of_get_flat_dt_prop(node, "reusable", NULL)) != NULL; in fdt_init_reserved_mem()
/openbmc/linux/arch/powerpc/mm/
H A 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()
H A 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()
/openbmc/linux/drivers/tty/serial/
H A 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()
/openbmc/linux/arch/arm/mach-mvebu/
H A 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()
/openbmc/linux/arch/arm/mach-shmobile/
H A 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()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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()
H A 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()
/openbmc/linux/kernel/dma/
H A 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()
H A Dcoherent.c367 if (of_get_flat_dt_prop(node, "reusable", NULL)) in rmem_dma_setup()
371 if (!of_get_flat_dt_prop(node, "no-map", NULL)) { in rmem_dma_setup()
378 if (of_get_flat_dt_prop(node, "linux,dma-default", NULL)) { in rmem_dma_setup()
/openbmc/linux/arch/arm/mach-s5pv210/
H A Ds5pv210.c29 reg = of_get_flat_dt_prop(node, "reg", &len); in s5pv210_fdt_map_sys()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A 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()
H A 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()
/openbmc/linux/include/linux/
H A Dof_fdt.h56 extern const void *of_get_flat_dt_prop(unsigned long node, const char *name,
/openbmc/linux/arch/powerpc/platforms/powernv/
H A 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()
H A 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()
/openbmc/linux/arch/arm/kernel/
H A Ddevtree.c218 prop = of_get_flat_dt_prop(dt_root, "compatible", &size); in setup_machine_fdt()
/openbmc/linux/arch/arm/mach-exynos/
H A Dexynos.c83 reg = of_get_flat_dt_prop(node, "reg", &len); in exynos_fdt_map_chipid()
/openbmc/linux/arch/arc/kernel/
H A Dsmp.c52 buf = of_get_flat_dt_prop(dt_root, name, NULL); in arc_get_cpu_map()
/openbmc/linux/arch/powerpc/mm/nohash/
H A Dtlb.c345 of_get_flat_dt_prop(root, "cooperative-partition", NULL)) in early_init_mmu()

12