/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt.c | 20 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 D | fdt_ro.c | 36 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 D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member
|
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() local 23 return totalsize; in fdt_ro_probe_() 46 if (totalsize < INT32_MAX) in fdt_ro_probe_() 47 return totalsize; in fdt_ro_probe_() 52 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument 54 return (off >= hdrsize) && (off <= totalsize); in check_off_() 57 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument 60 if (!check_off_(hdrsize, totalsize, base)) in check_block_() 64 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
|
H A D | fdt_ro.c | 36 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 D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member
|
/kernel/linux/linux-5.10/scripts/dtc/ |
H A D | flattree.c | 335 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header() 373 * If the user asked for more space than is used, adjust the totalsize. in dt_to_blob() 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() 467 fprintf(f, "\t/* totalsize */\n"); in dt_to_asm() 799 uint32_t magic, totalsize, versio in dt_from_blob() local [all...] |
H A 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()
|
H A D | util.c | 294 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-6.6/scripts/dtc/ |
H A D | flattree.c | 336 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header() 374 * If the user asked for more space than is used, adjust the totalsize. in dt_to_blob() 377 padlen = minsize - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 383 fdt32_to_cpu(fdt.totalsize), minsize); in dt_to_blob() 391 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize) in dt_to_blob() 392 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 395 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 397 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob() 468 fprintf(f, "\t/* totalsize */\n"); in dt_to_asm() 800 uint32_t magic, totalsize, versio in dt_from_blob() local [all...] |
H A D | util.c | 305 int totalsize; in utilfdt_write_err() local 316 totalsize = fdt_totalsize(blob); in utilfdt_write_err() 319 while (offset < totalsize) { in utilfdt_write_err() 320 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
|
/kernel/linux/linux-5.10/sound/soc/sof/imx/ |
H A D | imx-common.c | 34 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-6.6/sound/soc/sof/mediatek/ |
H A D | mtk-adsp-common.c | 40 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in mtk_adsp_get_registers() 42 xoops->arch_hdr.totalsize); in mtk_adsp_get_registers() 45 offset += xoops->arch_hdr.totalsize; in mtk_adsp_get_registers()
|
/kernel/linux/linux-6.6/sound/soc/sof/imx/ |
H A D | imx-common.c | 34 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-6.6/arch/powerpc/platforms/pseries/ |
H A D | plpks.c | 36 static u32 totalsize; variable 246 __be32 totalsize; in _plpks_get_config() member 278 totalsize = be32_to_cpu(config->totalsize); in _plpks_get_config() 298 if (totalsize < 4096) { in _plpks_get_config() 299 pr_err("Invalid Total Size received from hypervisor (%d < 4096)\n", totalsize); in _plpks_get_config() 342 return totalsize; in plpks_get_totalsize()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | microcode_intel.h | 16 unsigned int totalsize; member 47 ((struct microcode_intel *)mc)->hdr.totalsize : \
|
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A D | acp-common.c | 71 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in amd_get_registers() 73 xoops->arch_hdr.totalsize); in amd_get_registers() 77 offset += xoops->arch_hdr.totalsize; in amd_get_registers()
|
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/ |
H A D | init.c | 196 #define CSHAPE(totalsize, linesize, assoc) \ 197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/ |
H A D | init.c | 196 #define CSHAPE(totalsize, linesize, assoc) \ 197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | am200epd.c | 203 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-6.6/arch/arm/mach-pxa/ |
H A D | am200epd.c | 203 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-6.6/sound/soc/sof/intel/ |
H A D | atom.c | 48 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in atom_get_registers() 50 xoops->arch_hdr.totalsize); in atom_get_registers() 53 offset += xoops->arch_hdr.totalsize; in atom_get_registers()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_xsk.c | 301 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-6.6/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 216 unsigned int totalsize = xdp->data_end - xdp->data_meta; in ixgbe_construct_skb_zc() local 223 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, totalsize, in ixgbe_construct_skb_zc() 228 memcpy(__skb_put(skb, totalsize), xdp->data_meta, in ixgbe_construct_skb_zc() 229 ALIGN(totalsize, sizeof(long))); in ixgbe_construct_skb_zc()
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | microcode.h | 37 unsigned int totalsize; member
|