Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/scripts/dtc/
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 …]
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()
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()
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
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_()
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()
Dfdt.h14 fdt32_t totalsize; /* total size of DT block */ member
Dlibfdt.h241 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
258 fdt_set_hdr_(totalsize);
/kernel/linux/linux-5.10/sound/soc/sof/imx/
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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dmicrocode_intel.h16 unsigned int totalsize; member
47 ((struct microcode_intel *)mc)->hdr.totalsize : \
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
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()
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/
Dinit.c196 #define CSHAPE(totalsize, linesize, assoc) \ argument
197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprom.h50 __be32 totalsize; /* total size of DT block */ member
/kernel/linux/linux-5.10/sound/soc/sof/intel/
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()
Dbyt.c106 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in byt_get_registers()
108 xoops->arch_hdr.totalsize); in byt_get_registers()
111 offset += xoops->arch_hdr.totalsize; in byt_get_registers()
Dhda.c384 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in hda_dsp_get_registers()
386 xoops->arch_hdr.totalsize); in hda_dsp_get_registers()
389 offset += xoops->arch_hdr.totalsize; in hda_dsp_get_registers()
/kernel/linux/linux-5.10/include/sound/sof/
Dheader.h181 uint32_t totalsize; /* Total size of oops message */ member
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dsetup.c1253 #define CSHAPE(totalsize, linesize, assoc) \ argument
1254 ((totalsize & ~0xff) | (linesize << 4) | assoc)
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dbootx_init.c398 hdr->totalsize = mem_end - mem_start; in bootx_flatten_dt()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprom_init.c2724 hdr->totalsize = cpu_to_be32(dt_struct_end - dt_header_start); in flatten_device_tree()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0038_linux_drivers_mxc.patch172734 + int totalsize = 0;
172779 + totalsize = basesize + extsize + padsize;
172780 + psize[0] = max_t(int, totalsize, psize[0]);