Home
last modified time | relevance | path

Searched refs:fdt_getprop (Results 1 – 25 of 28) sorted by relevance

12

/linux/arch/powerpc/boot/
H A Dsimpleboot.c40 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); in platform_init()
43 ns = fdt_getprop(_dtb_start, node, "#size-cells", &size); in platform_init()
52 reg = fdt_getprop(_dtb_start, node, "reg", &size); in platform_init()
73 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
H A Dtreeboot-currituck.c107 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
H A Dtreeboot-akebono.c151 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
H A Dlibfdt-wrapper.c73 p = fdt_getprop(fdt, devp_offset(devp), name, &len); in fdt_wrapper_getprop()
/linux/arch/mips/cavium-octeon/
H A Docteon-platform.c494 phy_handle = fdt_getprop(initial_boot_params, eth, "phy-handle", NULL); in octeon_fdt_set_phy()
501 alt_phy_handle = fdt_getprop(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); in octeon_fdt_set_phy()
543 p = fdt_getprop(initial_boot_params, phy, "compatible", in octeon_fdt_set_phy()
550 reg = fdt_getprop(initial_boot_params, phy, "reg", NULL); in octeon_fdt_set_phy()
573 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address", in octeon_fdt_set_mac_addr()
599 phy_handle = fdt_getprop(initial_boot_params, node, "phy-handle", NULL); in octeon_fdt_rm_ethernet()
726 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_fill_mac_addresses()
736 alias_prop = fdt_getprop(initial_boot_params, aliases, "pip", NULL); in octeon_fill_mac_addresses()
803 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree()
822 pip_path = fdt_getprop(initial_boot_params, aliases, "pip", NULL); in octeon_prune_device_tree()
[all …]
/linux/arch/arm/boot/compressed/
H A Dfdt_check_mem_start.c18 prop = fdt_getprop(fdt, offset, property, &len); in get_prop()
109 type = fdt_getprop(fdt, offset, "device_type", NULL); in fdt_check_mem_start()
113 reg = fdt_getprop(fdt, offset, "linux,usable-memory", &len); in fdt_check_mem_start()
115 reg = fdt_getprop(fdt, offset, "reg", &len); in fdt_check_mem_start()
H A Datags_to_fdt.c59 return fdt_getprop(fdt, offset, property, len); in getprop()
/linux/arch/riscv/kernel/pi/
H A Dfdt_early.c42 status = fdt_getprop(fdt, node, "status", &statlen); in fdt_device_is_available()
142 prop = fdt_getprop(fdt, node, "riscv,isa-extensions", &len); in early_cpu_isa_ext_available()
146 prop = fdt_getprop(fdt, node, "riscv,isa", &len); in early_cpu_isa_ext_available()
H A Dcmdline_early.c22 fdt_cmdline = fdt_getprop((void *)dtb_pa, chosen_node, in get_early_cmdline()
/linux/drivers/of/
H A Dfdt_address.c54 prop = fdt_getprop(blob, parentoffset, "#address-cells", NULL); in fdt_bus_default_count_cells()
62 prop = fdt_getprop(blob, parentoffset, "#size-cells", NULL); in fdt_bus_default_count_cells()
119 ranges = fdt_getprop(blob, parent, rprop, &rlen); in fdt_translate_one()
175 reg = fdt_getprop(blob, node_offset, "reg", &len); in fdt_translate_address()
H A Dkexec.c211 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer()
328 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", &len); in of_kexec_alloc_and_setup_fdt()
334 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", &len); in of_kexec_alloc_and_setup_fdt()
H A Dfdt.c59 val = fdt_getprop(initial_boot_params, memory, "reg", &len); in of_fdt_limit_memory()
71 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available()
621 return fdt_getprop(initial_boot_params, node, name, size); in of_get_flat_dt_prop()
641 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
892 p = fdt_getprop(fdt, offset, "stdout-path", &l); in early_init_dt_scan_chosen_stdout()
894 p = fdt_getprop(fdt, offset, "linux,stdout-path", &l); in early_init_dt_scan_chosen_stdout()
/linux/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c124 reg = fdt_getprop(fdt, subnode, "reg", &len); in overlaps_reserved_region()
204 prop = fdt_getprop(fdt, node, "linux,initrd-start", &len); in get_initrd_range()
209 prop = fdt_getprop(fdt, node, "linux,initrd-end", &len); in get_initrd_range()
249 prop = fdt_getprop(fdt, node, "#address-cells", &len); in get_cell_sizes()
252 prop = fdt_getprop(fdt, node, "#size-cells", &len); in get_cell_sizes()
/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c505 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() function
518 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
520 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle()
701 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value()
757 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
783 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
814 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get()
858 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
H A Dfdt_overlay.c33 val = fdt_getprop(fdto, fragment, "target", &len); in overlay_get_target_phandle()
58 path = fdt_getprop(fdto, fragment_offset, "target-path", &path_len); in fdt_overlay_target_offset()
395 symbol_path = fdt_getprop(fdt, symbols_off, label, &prop_len); in overlay_fixup_phandle()
517 php = fdt_getprop(fdto, node, "phandle", &len); in overlay_adjust_local_conflicting_phandle()
524 php = fdt_getprop(fdto, node, "linux,phandle", &len); in overlay_adjust_local_conflicting_phandle()
H A Dfdt_wip.c39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
H A Dfdt_addresses.c20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells()
H A Dlibfdt.h844 const void *fdt_getprop(const void *fdt, int nodeoffset,
849 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w()
/linux/drivers/firmware/efi/libstub/
H A Driscv.c32 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
/linux/arch/mips/generic/
H A Dboard-ingenic.c80 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_force_12M_ext()
/linux/drivers/firmware/efi/
H A Dfdtparams.c67 prop = fdt_getprop(fdt, node, pname, &len); in efi_get_fdt_prop()
/linux/scripts/dtc/
H A Dfdtget.c209 value = fdt_getprop(blob, node, property, &len); in show_data_for_item()
/linux/arch/mips/mti-malta/
H A Dmalta-dtshim.c317 compat = fdt_getprop(fdt_buf, root_off, "compatible", &len); in malta_dt_shim()
/linux/arch/arc/plat-hsdk/
H A Dplatform.c99 prop = fdt_getprop(fdt, node, "dma-coherent", &ret); in hsdk_tweak_node_coherency()
/linux/drivers/tty/serial/8250/
H A D8250_ingenic.c82 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock()

12