Home
last modified time | relevance | path

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

/Linux-v5.4/arch/powerpc/boot/
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()
Dtreeboot-currituck.c107 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
Dtreeboot-akebono.c151 timebase = fdt_getprop(_dtb_start, node, "timebase-frequency", &size); in platform_init()
Dlibfdt-wrapper.c73 p = fdt_getprop(fdt, devp_offset(devp), name, &len); in fdt_wrapper_getprop()
/Linux-v5.4/arch/mips/cavium-octeon/
Docteon-platform.c490 phy_handle = fdt_getprop(initial_boot_params, eth, "phy-handle", NULL); in octeon_fdt_set_phy()
497 alt_phy_handle = fdt_getprop(initial_boot_params, eth, "cavium,alt-phy-handle", NULL); in octeon_fdt_set_phy()
539 p = fdt_getprop(initial_boot_params, phy, "compatible", in octeon_fdt_set_phy()
546 reg = fdt_getprop(initial_boot_params, phy, "reg", NULL); in octeon_fdt_set_phy()
569 old_mac = fdt_getprop(initial_boot_params, n, "local-mac-address", in octeon_fdt_set_mac_addr()
595 phy_handle = fdt_getprop(initial_boot_params, node, "phy-handle", NULL); in octeon_fdt_rm_ethernet()
722 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_fill_mac_addresses()
732 alias_prop = fdt_getprop(initial_boot_params, aliases, "pip", NULL); in octeon_fill_mac_addresses()
799 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree()
818 pip_path = fdt_getprop(initial_boot_params, aliases, "pip", NULL); in octeon_prune_device_tree()
[all …]
/Linux-v5.4/drivers/of/
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()
Dfdt.c58 addr_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
63 size_prop = fdt_getprop(initial_boot_params, root_offset, in of_fdt_limit_memory()
72 val = fdt_getprop(initial_boot_params, memory, "reg", &len); in of_fdt_limit_memory()
84 const char *status = fdt_getprop(blob, node, "status", NULL); in of_fdt_device_is_available()
713 return fdt_getprop(initial_boot_params, node, name, size); in of_get_flat_dt_prop()
733 cp = fdt_getprop(blob, node, "compatible", &cplen); in of_fdt_is_compatible()
922 p = fdt_getprop(fdt, offset, "stdout-path", &l); in early_init_dt_scan_chosen_stdout()
924 p = fdt_getprop(fdt, offset, "linux,stdout-path", &l); in early_init_dt_scan_chosen_stdout()
/Linux-v5.4/scripts/dtc/libfdt/
Dfdt_ro.c480 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() function
493 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle()
495 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle()
647 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value()
703 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
729 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
760 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get()
804 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
Dfdt_overlay.c33 val = fdt_getprop(fdto, fragment, "target", &len); in overlay_get_target_phandle()
73 path = fdt_getprop(fdto, fragment, "target-path", &path_len); in overlay_get_target()
123 val = fdt_getprop(fdt, node, name, &len); in overlay_phandle_add_offset()
245 tree_val = fdt_getprop(fdto, tree_node, name, &tree_len); in overlay_update_local_node_references()
382 symbol_path = fdt_getprop(fdt, symbols_off, label, in overlay_fixup_one_phandle()
Dfdt_wip.c39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
Dfdt_addresses.c20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells()
Dlibfdt.h784 const void *fdt_getprop(const void *fdt, int nodeoffset,
789 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp); in fdt_getprop_w()
/Linux-v5.4/arch/powerpc/kernel/
Dmachine_kexec_file_64.c162 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", NULL); in setup_new_fdt()
168 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", NULL); in setup_new_fdt()
Dima_kexec.c116 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer()
/Linux-v5.4/arch/arm64/kernel/
Dkaslr.c56 prop = fdt_getprop(fdt, node, "bootargs", NULL); in kaslr_get_cmdline()
/Linux-v5.4/arch/arm/boot/compressed/
Datags_to_fdt.c56 return fdt_getprop(fdt, offset, property, len); in getprop()
/Linux-v5.4/scripts/dtc/
Dfdtget.c209 value = fdt_getprop(blob, node, property, &len); in show_data_for_item()
/Linux-v5.4/arch/mips/mti-malta/
Dmalta-dtshim.c317 compat = fdt_getprop(fdt_buf, root_off, "compatible", &len); in malta_dt_shim()
/Linux-v5.4/arch/arc/plat-hsdk/
Dplatform.c115 prop = fdt_getprop(fdt, node, "dma-coherent", &ret); in hsdk_tweak_node_coherency()
/Linux-v5.4/drivers/tty/serial/8250/
D8250_ingenic.c83 prop = fdt_getprop(fdt, offset, "clock-frequency", NULL); in ingenic_early_console_setup_clock()