Home
last modified time | relevance | path

Searched refs:fdt_totalsize (Results 1 – 25 of 46) sorted by relevance

12

/external/dtc/libfdt/
Dfdt_sw.c78 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in _fdt_grab_space()
123 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize()
153 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
202 char *strtab = (char *)fdt + fdt_totalsize(fdt); in _fdt_find_add_string()
215 if (fdt_totalsize(fdt) + offset < struct_top) in _fdt_find_add_string()
274 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
Dfdt.c83 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr()
246 if (fdt_totalsize(fdt) > bufsize) in fdt_move()
249 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
Dfdt_rw.c66 || (fdt_totalsize(fdt) < in _fdt_blocks_misordered()
106 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in _fdt_splice()
421 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
/external/u-boot/scripts/dtc/libfdt/
Dfdt_sw.c78 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in fdt_grab_space_()
123 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize()
153 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
202 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_find_add_string_()
215 if (fdt_totalsize(fdt) + offset < struct_top) in fdt_find_add_string_()
274 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
Dfdt.c83 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr()
249 if (fdt_totalsize(fdt) > bufsize) in fdt_move()
252 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
Dfdt_rw.c66 || (fdt_totalsize(fdt) < in fdt_blocks_misordered_()
106 if ((end - oldlen + newlen) > ((char *)fdt + fdt_totalsize(fdt))) in fdt_splice_()
435 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
/external/dtc/tests/
Ddel_property.c45 oldsize = fdt_totalsize(fdt); in main()
75 delsize = fdt_totalsize(fdt); in main()
81 newsize = fdt_totalsize(fdt); in main()
Dnopulate.c82 fdt2 = xmalloc(fdt_totalsize(fdt) + newsize); in main()
92 fdt_totalsize(fdt) - struct_end_old); in main()
94 fdt_set_totalsize(fdt2, fdt_totalsize(fdt) + delta); in main()
Ddel_node.c44 oldsize = fdt_totalsize(fdt); in main()
108 delsize = fdt_totalsize(fdt); in main()
114 newsize = fdt_totalsize(fdt); in main()
Dopen_pack.c45 oldsize = fdt_totalsize(fdt); in main()
66 packsize = fdt_totalsize(fdt1); in main()
Dmove_and_save.c46 shuntsize = ALIGN(fdt_totalsize(fdt) / 2, sizeof(uint64_t)); in main()
47 bufsize = fdt_totalsize(fdt) + shuntsize; in main()
Dtestutils.c191 err = fdt_open_into(blob, buf, fdt_totalsize(blob)); in open_blob_rw()
194 int newsize = fdt_totalsize(blob) + 8; in open_blob_rw()
Ddumptrees.c55 size = fdt_totalsize(blob); in main()
Dadd_subnode_with_nops.c68 fdt_totalsize(fdt)); in main()
/external/u-boot/cmd/
Dfdt.c133 if (len < fdt_totalsize(blob)) { in do_fdt()
136 len, fdt_totalsize(blob)); in do_fdt()
185 len = fdt_totalsize(working_fdt); in do_fdt()
188 if (len < fdt_totalsize(working_fdt)) { in do_fdt()
191 len, fdt_totalsize(working_fdt)); in do_fdt()
496 printf("totalsize:\t\t0x%x (%d)\n", fdt_totalsize(working_fdt), in do_fdt()
497 fdt_totalsize(working_fdt)); in do_fdt()
Dspl.c122 env_set_hex("fdtargslen", fdt_totalsize(images.ft_addr)); in spl_export()
124 if (fdt_totalsize(images.ft_addr) > in spl_export()
Dbootefi.c128 u64 fdt_size = fdt_totalsize(fdt); in copy_fdt()
165 memcpy(new_fdt, fdt, fdt_totalsize(fdt)); in copy_fdt()
251 fdt_end = ((ulong)fdt) + fdt_totalsize(fdt); in efi_install_fdt()
/external/u-boot/tools/
Dfit_image.c344 return fdt_totalsize(fdt); in fit_build_fdt()
419 fit_size = fdt_totalsize(fdt); in fit_extract_data()
468 debug("Size reduced from %x to %x\n", fit_size, fdt_totalsize(fdt)); in fit_extract_data()
470 new_size = fdt_totalsize(fdt); in fit_extract_data()
529 fit_size = fdt_totalsize(old_fdt); in fit_import_data()
584 new_size = fdt_totalsize(fdt); in fit_import_data()
/external/u-boot/common/
Dimage-fdt.c410 if (fdt_totalsize(fdt_blob) != fdt_len) { in boot_get_fdt()
424 *of_size = fdt_totalsize(fdt_blob); in boot_get_fdt()
506 (phys_size_t)fdt_totalsize(blob)); in image_setup_libfdt()
Dboot_fit.c63 size = fdt_totalsize(fit); in locate_dtb_in_fit()
Dsplash_source.c324 fit_size = fdt_totalsize(img_header); in splash_load_fit()
359 fit_size = fdt_totalsize(fit_header); in splash_load_fit()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dppa.c137 fw_length = fdt_totalsize(fitp); in ppa_init()
205 fw_length = fdt_totalsize(&fit); in ppa_init()
/external/u-boot/arch/x86/lib/
Dzimage.c109 size = fdt_totalsize(fdt_blob); in setup_device_tree()
122 sd->len = fdt_totalsize(fdt_blob); in setup_device_tree()
/external/dtc/pylibfdt/
Dlibfdt.i294 return check_err(fdt_totalsize(self._fdt))
423 int fdt_totalsize(const void *fdt);
/external/u-boot/tools/libfdt/
Dfdt_rw.c9 int size = fdt_totalsize(old); in fdt_remove_unused_strings()

12