Searched refs:totalsize (Results 1 – 5 of 5) sorted by relevance
/scripts/dtc/ |
D | flattree.c | 359 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header() 400 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 404 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob() 411 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 413 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob() 807 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local 838 rc = fread(&totalsize, sizeof(totalsize), 1, f); in dt_from_blob() 848 totalsize = fdt32_to_cpu(totalsize); in dt_from_blob() 849 if (totalsize < FDT_V1_SIZE) in dt_from_blob() 850 die("DT blob size (%d) is too small\n", totalsize); in dt_from_blob() [all …]
|
D | fdtdump.c | 56 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); in dump_blob() local 68 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize); in dump_blob()
|
D | util.c | 270 int totalsize; in utilfdt_write_err() local 281 totalsize = fdt_totalsize(blob); in utilfdt_write_err() 284 while (offset < totalsize) { in utilfdt_write_err() 285 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
|
/scripts/dtc/libfdt/ |
D | fdt.h | 59 fdt32_t totalsize; /* total size of DT block */ member
|
D | libfdt.h | 178 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 195 __fdt_set_hdr(totalsize);
|