Home
last modified time | relevance | path

Searched refs:totalsize (Results 1 – 15 of 15) sorted by relevance

/rk3399_rockchip-uboot/scripts/dtc/
H A Dflattree.c350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
391 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
397 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob()
405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob()
406 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
409 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob()
411 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob()
814 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
855 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()
856 if (totalsize < FDT_V1_SIZE) in dt_from_blob()
[all …]
H A Dutil.c300 int totalsize; in utilfdt_write_err() local
311 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
314 while (offset < totalsize) { in utilfdt_write_err()
315 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
/rk3399_rockchip-uboot/lib/
H A Dcircbuf.c19 buf->totalsize = size; in buf_init()
87 if (buf->size < buf->totalsize) { in buf_push()
/rk3399_rockchip-uboot/include/
H A Dcircbuf.h13 unsigned int totalsize; /* number of bytes allocated */ member
H A Dcommon.h662 u64 totalsize,
H A Dimage.h1016 int fit_get_totalsize(const void *fit, int *totalsize);
1045 int fit_set_totalsize(void *fit, int noffset, int totalsize);
/rk3399_rockchip-uboot/scripts/dtc/libfdt/
H A Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member
H A Dlibfdt.h218 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
235 __fdt_set_hdr(totalsize);
/rk3399_rockchip-uboot/drivers/cpu/
H A Drockchip_amp.c451 int totalsize; in amp_cpus_on() local
479 if (fit_get_totalsize(hdr, &totalsize)) { in amp_cpus_on()
486 fit = memalign(ARCH_DMA_MINALIGN, ALIGN(totalsize, part.blksz)); in amp_cpus_on()
496 cnt = DIV_ROUND_UP(totalsize, part.blksz) - cnt; in amp_cpus_on()
/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtd_blk.c158 int totalsize = 0; in mtd_blk_map_fit() local
174 if (fit_get_totalsize(fit, &totalsize)) in mtd_blk_map_fit()
177 if (mtd && totalsize) { in mtd_blk_map_fit()
178 if (mtd_blk_map_table_init(desc, sector << 9, totalsize + (size_t)mtd->erasesize)) in mtd_blk_map_fit()
/rk3399_rockchip-uboot/common/
H A Dandroid_bootloader.c1098 u32 totalsize; in android_fdt_overlay_apply() local
1164 totalsize = fdt_totalsize(fdt_addr); in android_fdt_overlay_apply()
1165 fdt_backup = malloc(totalsize); in android_fdt_overlay_apply()
1169 memcpy(fdt_backup, fdt_addr, totalsize); in android_fdt_overlay_apply()
1177 memcpy(fdt_addr, fdt_backup, totalsize); in android_fdt_overlay_apply()
H A Dimage-fit.c543 int fit_get_totalsize(const void *fit, int *totalsize) in fit_get_totalsize() argument
551 *totalsize = fdt32_to_cpu(*val); in fit_get_totalsize()
1203 int fit_set_totalsize(void *fit, int noffset, int totalsize) in fit_set_totalsize() argument
1208 t = cpu_to_uimage(totalsize); in fit_set_totalsize()
/rk3399_rockchip-uboot/drivers/serial/
H A Dusbtty.c444 if ((usbtty_output.size + 2) >= usbtty_output.totalsize) { in usbtty_putc()
467 int maxlen = usbtty_output.totalsize; in __usbtty_puts()
921 unsigned int rx_avail = buf->totalsize - buf->size; in fill_buffer()
/rk3399_rockchip-uboot/scripts/
H A Dfit-sign.sh299 TOTALSIZE=`fdtdump -s ${FlashBoot} | grep totalsize | awk '{ print $4 }' | tr -d "()"`
/rk3399_rockchip-uboot/scripts/dtc/pylibfdt/
H A Dlibfdt.i_shipped263 def totalsize(self):