Home
last modified time | relevance | path

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

/linux-6.1.9/scripts/dtc/ !
Dflattree.c336 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize); in make_fdt_header()
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()
800 uint32_t magic, totalsize, version, size_dt, boot_cpuid_phys; in dt_from_blob() local
841 totalsize = fdt32_to_cpu(totalsize_buf); in dt_from_blob()
842 if (totalsize < FDT_V1_SIZE) in dt_from_blob()
[all …]
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()
/linux-6.1.9/scripts/dtc/libfdt/ !
Dfdt.c20 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_()
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.h250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
267 fdt_set_hdr_(totalsize);
/linux-6.1.9/sound/soc/sof/mediatek/ !
Dmtk-adsp-common.c40 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()
/linux-6.1.9/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()
/linux-6.1.9/arch/x86/include/asm/ !
Dmicrocode_intel.h16 unsigned int totalsize; member
47 ((struct microcode_intel *)mc)->hdr.totalsize : \
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/sof/intel/ !
Datom.c48 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()
Dbdw.c236 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in bdw_get_registers()
238 xoops->arch_hdr.totalsize); in bdw_get_registers()
241 offset += xoops->arch_hdr.totalsize; in bdw_get_registers()
Dhda.c556 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in hda_dsp_get_registers()
558 xoops->arch_hdr.totalsize); in hda_dsp_get_registers()
561 offset += xoops->arch_hdr.totalsize; in hda_dsp_get_registers()
/linux-6.1.9/arch/sh/kernel/cpu/ !
Dinit.c196 #define CSHAPE(totalsize, linesize, assoc) \ argument
197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ !
Dixgbe_xsk.c216 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()
/linux-6.1.9/net/core/ !
Dxdp.c687 unsigned int headroom, totalsize; in xdpf_clone() local
693 totalsize = headroom + xdpf->len; in xdpf_clone()
695 if (unlikely(totalsize > PAGE_SIZE)) in xdpf_clone()
702 memcpy(addr, xdpf, totalsize); in xdpf_clone()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ !
Di40e_xsk.c295 unsigned int totalsize = xdp->data_end - xdp->data_meta; in i40e_construct_skb_zc() local
302 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, totalsize, in i40e_construct_skb_zc()
307 memcpy(__skb_put(skb, totalsize), xdp->data_meta, in i40e_construct_skb_zc()
308 ALIGN(totalsize, sizeof(long))); in i40e_construct_skb_zc()
/linux-6.1.9/arch/powerpc/include/asm/ !
Dprom.h45 __be32 totalsize; /* total size of DT block */ member
/linux-6.1.9/include/sound/sof/ !
Dheader.h187 uint32_t totalsize; /* Total size of oops message */ member
/linux-6.1.9/drivers/net/ethernet/intel/ice/ !
Dice_xsk.c566 unsigned int totalsize = xdp->data_end - xdp->data_meta; in ice_construct_skb_zc() local
572 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, totalsize, in ice_construct_skb_zc()
577 memcpy(__skb_put(skb, totalsize), xdp->data_meta, in ice_construct_skb_zc()
578 ALIGN(totalsize, sizeof(long))); in ice_construct_skb_zc()
/linux-6.1.9/arch/alpha/kernel/ !
Dsetup.c1238 #define CSHAPE(totalsize, linesize, assoc) \ argument
1239 ((totalsize & ~0xff) | (linesize << 4) | assoc)
/linux-6.1.9/arch/powerpc/platforms/pseries/ !
Dplpks.c230 __be32 totalsize; in _plpks_get_config() member
/linux-6.1.9/arch/powerpc/platforms/powermac/ !
Dbootx_init.c399 hdr->totalsize = mem_end - mem_start; in bootx_flatten_dt()
/linux-6.1.9/drivers/net/ethernet/intel/igc/ !
Digc_main.c2608 unsigned int totalsize = xdp->data_end - xdp->data_meta; in igc_construct_skb_zc() local
2614 skb = __napi_alloc_skb(&ring->q_vector->napi, totalsize, in igc_construct_skb_zc()
2619 memcpy(__skb_put(skb, totalsize), xdp->data_meta, in igc_construct_skb_zc()
2620 ALIGN(totalsize, sizeof(long))); in igc_construct_skb_zc()
/linux-6.1.9/arch/powerpc/kernel/ !
Dprom_init.c2754 hdr->totalsize = cpu_to_be32(dt_struct_end - dt_header_start); in flatten_device_tree()