Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/u-boot/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()
/OK3568_Linux_fs/kernel/scripts/dtc/
H A Dflattree.c335 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 …]
H A Dfdtdump.c57 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()
H A Dutil.c294 int totalsize; in utilfdt_write_err() local
305 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
308 while (offset < totalsize) { in utilfdt_write_err()
309 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A Dfdt.c20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() local
23 return totalsize; in fdt_ro_probe_()
42 if (totalsize < INT32_MAX) in fdt_ro_probe_()
43 return totalsize; in fdt_ro_probe_()
48 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument
50 return (off >= hdrsize) && (off <= totalsize); in check_off_()
53 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument
56 if (!check_off_(hdrsize, totalsize, base)) in check_block_()
60 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
H A Dfdt_ro.c36 int32_t totalsize; in fdt_get_string() local
49 totalsize = fdt_ro_probe_(fdt); in fdt_get_string()
50 err = totalsize; in fdt_get_string()
51 if (totalsize < 0) in fdt_get_string()
56 if (absoffset >= (unsigned)totalsize) in fdt_get_string()
58 len = totalsize - absoffset; in fdt_get_string()
H A Dfdt.h14 fdt32_t totalsize; /* total size of DT block */ member
/OK3568_Linux_fs/kernel/sound/soc/sof/imx/
H A Dimx-common.c34 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in imx8_get_registers()
36 xoops->arch_hdr.totalsize); in imx8_get_registers()
39 offset += xoops->arch_hdr.totalsize; in imx8_get_registers()
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dmicrocode_intel.h16 unsigned int totalsize; member
47 ((struct microcode_intel *)mc)->hdr.totalsize : \
/OK3568_Linux_fs/u-boot/lib/
H A Dcircbuf.c19 buf->totalsize = size; in buf_init()
87 if (buf->size < buf->totalsize) { in buf_push()
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/src/
H A Dos.cc452 int64 totalsize = pages * pagesize; in FindFreeMemSize() local
454 if (reserve_kb > totalsize) { in FindFreeMemSize()
456 "available %lld\n", reserve_kb, totalsize); in FindFreeMemSize()
457 } else if (reserve_kb > totalsize - minsize) { in FindFreeMemSize()
459 "current %lld\n", minsize, totalsize - reserve_kb); in FindFreeMemSize()
460 minsize = totalsize - reserve_kb; in FindFreeMemSize()
/OK3568_Linux_fs/external/rknn-toolkit2/examples/functions/accuracy_analysis/
H A Dtest.py47 def show_progress(blocknum, blocksize, totalsize): argument
53 progress = (recv_size / totalsize)
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A Dam200epd.c203 int totalsize; in am200_presetup_fb() local
237 totalsize = fw + am200_board.wfm_size + padding_size + (fw*fh); in am200_presetup_fb()
247 am200_fb_info.modes->yres = DIV_ROUND_UP(totalsize, fw); in am200_presetup_fb()
/OK3568_Linux_fs/u-boot/drivers/cpu/
H A Drockchip_amp.c403 int totalsize; in amp_cpus_on() local
431 if (fit_get_totalsize(hdr, &totalsize)) { in amp_cpus_on()
438 fit = memalign(ARCH_DMA_MINALIGN, ALIGN(totalsize, part.blksz)); in amp_cpus_on()
448 cnt = DIV_ROUND_UP(totalsize, part.blksz) - cnt; in amp_cpus_on()
/OK3568_Linux_fs/external/rknn-toolkit2/examples/onnx/resnet50v2/
H A Dtest.py46 def show_progress(blocknum, blocksize, totalsize): argument
52 progress = (recv_size / totalsize)
/OK3568_Linux_fs/external/rknn-toolkit2/examples/tensorflow/inception_v3_qat/
H A Dtest.py52 def show_progress(blocknum, blocksize, totalsize): argument
58 progress = (recv_size / totalsize)
/OK3568_Linux_fs/kernel/arch/sh/kernel/cpu/
H A Dinit.c196 #define CSHAPE(totalsize, linesize, assoc) \ argument
197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c301 unsigned int totalsize = xdp->data_end - xdp->data_meta; in i40e_construct_skb_zc() local
308 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, totalsize, in i40e_construct_skb_zc()
313 memcpy(__skb_put(skb, totalsize), xdp->data_meta, in i40e_construct_skb_zc()
314 ALIGN(totalsize, sizeof(long))); in i40e_construct_skb_zc()
/OK3568_Linux_fs/u-boot/include/
H A Dcircbuf.h13 unsigned int totalsize; /* number of bytes allocated */ member
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A Dmtd_blk.c146 int totalsize = 0; in mtd_blk_map_fit() local
162 if (fit_get_totalsize(fit, &totalsize)) in mtd_blk_map_fit()
165 if (mtd && totalsize) { in mtd_blk_map_fit()
166 if (mtd_blk_map_table_init(desc, sector << 9, totalsize + (size_t)mtd->erasesize)) in mtd_blk_map_fit()
/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
H A Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member
/OK3568_Linux_fs/kernel/sound/soc/sof/intel/
H A Dbdw.c233 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in bdw_get_registers()
235 xoops->arch_hdr.totalsize); in bdw_get_registers()
238 offset += xoops->arch_hdr.totalsize; in bdw_get_registers()
/OK3568_Linux_fs/u-boot/common/
H A Dandroid_bootloader.c1092 u32 totalsize; in android_fdt_overlay_apply() local
1158 totalsize = fdt_totalsize(fdt_addr); in android_fdt_overlay_apply()
1159 fdt_backup = malloc(totalsize); in android_fdt_overlay_apply()
1163 memcpy(fdt_backup, fdt_addr, totalsize); in android_fdt_overlay_apply()
1171 memcpy(fdt_addr, fdt_backup, totalsize); in android_fdt_overlay_apply()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dprom.h50 __be32 totalsize; /* total size of DT block */ member

12