/openbmc/u-boot/drivers/core/ |
H A D | util.c | 36 if (fdt_getprop(blob, offset, "u-boot,dm-pre-reloc", NULL)) in dm_fdt_pre_reloc() 40 if (fdt_getprop(blob, offset, "u-boot,dm-tpl", NULL)) in dm_fdt_pre_reloc() 43 if (fdt_getprop(blob, offset, "u-boot,dm-spl", NULL)) in dm_fdt_pre_reloc() 50 if (fdt_getprop(blob, offset, "u-boot,dm-spl", NULL) || in dm_fdt_pre_reloc() 51 fdt_getprop(blob, offset, "u-boot,dm-tpl", NULL)) in dm_fdt_pre_reloc()
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | simpleboot.c | 40 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()
|
/openbmc/u-boot/common/ |
H A D | image-fit.c | 189 padding = fdt_getprop(fit, noffset, "padding", NULL); in fit_image_print_data() 276 uname = fdt_getprop(fit, noffset, FIT_KERNEL_PROP, NULL); in fit_conf_print() 303 uname = fdt_getprop(fit, noffset, FIT_FPGA_PROP, NULL); in fit_conf_print() 669 data = fdt_getprop(fit, noffset, FIT_OS_PROP, &len); in fit_image_get_os() 701 data = fdt_getprop(fit, noffset, FIT_ARCH_PROP, &len); in fit_image_get_arch() 733 data = fdt_getprop(fit, noffset, FIT_TYPE_PROP, &len); in fit_image_get_type() 765 data = fdt_getprop(fit, noffset, FIT_COMP_PROP, &len); in fit_image_get_comp() 784 cell = fdt_getprop(fit, noffset, name, &len); in fit_image_get_address() 865 *data = fdt_getprop(fit, noffset, FIT_DATA_PROP, &len); in fit_image_get_data() 1566 kfdt_name = fdt_getprop(fit, noffset, "fdt", &len); in fit_conf_find_compat() [all …]
|
H A D | common_fit.c | 17 cell = fdt_getprop(fdt, node, prop, &len); in fdt_getprop_u32() 44 dflt_conf_name = fdt_getprop(fdt, conf, "default", &len); in fit_find_config_node() 49 name = fdt_getprop(fdt, node, "description", &len); in fit_find_config_node()
|
H A D | image-sig.c | 229 padding_name = fdt_getprop(fit, noffset, "padding", NULL); in fit_image_setup_verify() 234 info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_setup_verify() 345 required = fdt_getprop(sig_blob, noffset, "required", NULL); in fit_image_verify_required_sigs() 412 prop = fdt_getprop(fit, noffset, "hashed-nodes", &prop_len); in fit_config_check_sig() 479 strings = fdt_getprop(fit, noffset, "hashed-strings", NULL); in fit_config_check_sig() 562 required = fdt_getprop(sig_blob, noffset, "required", NULL); in fit_config_verify_required_sigs()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | fdt.c | 68 prop = fdt_getprop(blob, nodeoffset, "ethernet0", NULL); in ft_cpu_setup() 73 prop = fdt_getprop(blob, path, "interrupts", in ft_cpu_setup() 81 prop = fdt_getprop(blob, nodeoffset, "ethernet1", NULL); in ft_cpu_setup() 86 prop = fdt_getprop(blob, path, "interrupts", in ft_cpu_setup()
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A D | spin_table.c | 27 prop = fdt_getprop(fdt, offset, "device_type", NULL); in spin_table_update_dt() 36 prop = fdt_getprop(fdt, offset, "enable-method", NULL); in spin_table_update_dt() 44 prop = fdt_getprop(fdt, offset, "device_type", NULL); in spin_table_update_dt()
|
/openbmc/qemu/hw/core/ |
H A D | loader-fit.c | 56 data = fdt_getprop(itb, off, "data", &sz); in fit_load_image_alloc() 62 comp = fdt_getprop(itb, off, "compression", NULL); in fit_load_image_alloc() 100 prop = fdt_getprop(itb, img, name, &len); in fit_image_addr() 132 name = fdt_getprop(itb, cfg, "kernel", NULL); in fit_load_kernel() 192 name = fdt_getprop(itb, cfg, "fdt", NULL); in fit_load_fdt() 236 fdt_name = fdt_getprop(itb, cfg, "fdt", NULL); in fit_cfg_compatible() 307 def_cfg_name = fdt_getprop(itb, configs, "default", NULL); in load_fit()
|
/openbmc/u-boot/board/freescale/common/ |
H A D | cds_pci_ft.c | 22 path = fdt_getprop(blob, node, "pci0", NULL); in cds_pci_fixup() 39 piccells = (u32 *)fdt_getprop(blob, off, "#address-cells", NULL); in cds_pci_fixup() 43 piccells = (u32 *)fdt_getprop(blob, off, "#interrupt-cells", NULL); in cds_pci_fixup()
|
H A D | sgmii_riser.c | 78 path = fdt_getprop(fdt, node, enet, NULL); in fsl_sgmii_riser_fdt_fixup() 88 model = fdt_getprop(fdt, enet_node, "model", NULL); in fsl_sgmii_riser_fdt_fixup() 108 phyh = fdt_getprop(fdt, enet_node, "phy-handle", NULL); in fsl_sgmii_riser_fdt_fixup()
|
/openbmc/linux/arch/arm/boot/compressed/ |
H A D | fdt_check_mem_start.c | 18 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()
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 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() 726 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_fill_mac_addresses() 803 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() 845 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() 876 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() 903 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() 925 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() 1029 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() 1085 alias_prop = fdt_getprop(initial_boot_params, aliases, in octeon_prune_device_tree() [all …]
|
/openbmc/u-boot/test/overlay/ |
H A D | cmd_ut_overlay.c | 40 val = fdt_getprop(fdt, node_off, name, &len); in ut_fdt_getprop_u32_by_index() 113 ut_assertnonnull(fdt_getprop(fdt, off, "new-property", NULL)); in fdt_overlay_add_node_by_phandle() 126 ut_assertnonnull(fdt_getprop(fdt, off, "new-property", NULL)); in fdt_overlay_add_node_by_path() 139 ut_assertnonnull(fdt_getprop(fdt, off, "sub-test-property", NULL)); in fdt_overlay_add_subnode_property() 140 ut_assertnonnull(fdt_getprop(fdt, off, "new-sub-test-property", NULL)); in fdt_overlay_add_subnode_property()
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | fdt_addresses.c | 64 ac = fdt_getprop(fdt, nodeoffset, "#address-cells", &len); in fdt_address_cells() 84 sc = fdt_getprop(fdt, nodeoffset, "#size-cells", &len); in fdt_size_cells()
|
H A D | fdt_ro.c | 419 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() function 432 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle() 434 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle() 586 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value() 642 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count() 668 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search() 699 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get() 743 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
|
/openbmc/u-boot/lib/ |
H A D | fdtdec_common.c | 28 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_int() 46 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_uint()
|
H A D | fdtdec.c | 91 prop = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_addr_size_fixed() 202 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_pci_addr() 246 list = fdt_getprop(blob, node, "compatible", &len); in fdtdec_get_pci_vendev() 318 cell = fdt_getprop(blob, node, "status", NULL); in fdtdec_get_is_enabled() 669 cell = fdt_getprop(blob, node, prop_name, &len); in get_prop_check_min_len() 705 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_int_array_count() 734 cell = fdt_getprop(blob, node, prop_name, &len); in fdtdec_get_bool() 965 ptr = fdt_getprop(fdt, node, property, &len); in fdt_get_resource() 1005 prop = fdt_getprop(blob, node, name, &length); in decode_timing_property() 1364 cell = fdt_getprop(blob, node, "reg", &len); in fdtdec_decode_ram_size() [all …]
|
/openbmc/u-boot/drivers/usb/common/ |
H A D | common.c | 29 dr_mode = fdt_getprop(fdt, node, "dr_mode", NULL); in usb_get_dr_mode() 57 max_speed = fdt_getprop(fdt, node, "maximum-speed", NULL); in usb_get_maximum_speed()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | fdt.c | 51 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 266 ph = (u32 *)fdt_getprop(blob, off, "next-level-cache", 0); in ft_fixup_l2cache() 316 ph = (u32 *)fdt_getprop(blob, off, "next-level-cache", 0); in ft_fixup_l2cache() 331 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_l2cache() 356 ph = (u32 *)fdt_getprop(blob, l2_off, "next-level-cache", 0); in ft_fixup_l2cache() 405 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cache() 629 u32 *reg = (u32 *)fdt_getprop(blob, off, "reg", &len); 780 prop = fdt_getprop(fdt, off, "ranges", &size); 829 const fdt32_t *reg = fdt_getprop(fdt, off, "reg", NULL);
|
/openbmc/u-boot/lib/libfdt/ |
H A D | fdt_ro.c | 328 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() function 341 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle() 343 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle() 495 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value() 551 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count() 577 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search() 608 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get() 652 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
|
/openbmc/linux/drivers/of/ |
H A D | fdt_address.c | 54 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()
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 124 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()
|
/openbmc/u-boot/board/freescale/qemu-ppce500/ |
H A D | qemu-ppce500.c | 63 prop = fdt_getprop(fdt, node, "ranges", &size); in get_phys_ccsrbar_addr_early() 158 reg = fdt_getprop(fdt, pci_node, "reg", NULL); in pci_init_board() 211 prop = fdt_getprop(fdt, chosen, "qemu,boot-kernel", &len); in last_stage_init() 229 prop = fdt_getprop(fdt, memory, "reg", &len); in get_linear_ram_size()
|
/openbmc/linux/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 502 const void *fdt_getprop(const void *fdt, int nodeoffset, in fdt_getprop() function 515 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); in fdt_get_phandle() 517 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); in fdt_get_phandle() 672 val = fdt_getprop(fdt, offset, propname, &len); in fdt_node_offset_by_prop_value() 728 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count() 754 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search() 785 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_get() 829 prop = fdt_getprop(fdt, nodeoffset, "compatible", &len); in fdt_node_check_compatible()
|
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
H A D | fdt.c | 60 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 114 reg = (fdt32_t *)fdt_getprop(blob, off, "reg", 0); in ft_fixup_cpu() 269 p = (char *)fdt_getprop(blob, offset, "reg", &len); in _fdt_fixup_msi_node() 320 p = (char *)fdt_getprop(blob, offset, "interrupt-map", &len); in _fdt_fixup_pci_msi() 392 reg = (fdt32_t *)fdt_getprop(blob, jr_node, "reg", &len); in fdt_fixup_remove_jr()
|