Searched refs:totalsize (Results 1 – 6 of 6) sorted by relevance
/scripts/dtc/ |
D | flattree.c | 335 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header() 376 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 382 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob() 390 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob() 391 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 394 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 396 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob() 799 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local 840 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob() 841 if (totalsize < FDT_V1_SIZE) in dt_from_blob() [all …]
|
D | fdtdump.c | 57 uint32_t totalsize = fdt32_to_cpu(bph->totalsize); in dump_blob() local 69 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize); in dump_blob()
|
D | util.c | 293 int totalsize; in utilfdt_write_err() local 304 totalsize = fdt_totalsize(blob); in utilfdt_write_err() 307 while (offset < totalsize) { in utilfdt_write_err() 308 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
|
/scripts/dtc/libfdt/ |
D | fdt.c | 37 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument 39 return (off >= hdrsize) && (off <= totalsize); in check_off_() 42 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument 45 if (!check_off_(hdrsize, totalsize, base)) in check_block_() 49 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
|
D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member
|
D | libfdt.h | 237 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 254 fdt_set_hdr_(totalsize);
|