Home
last modified time | relevance | path

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

12

/openbmc/linux/scripts/dtc/
H A 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 …]
H A Dutil.c305 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()
/openbmc/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()
/openbmc/linux/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_()
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 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
/openbmc/linux/sound/soc/sof/mediatek/
H A 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()
/openbmc/linux/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()
/openbmc/qemu/hw/usb/
H A Dcombined-packet.c126 int totalsize; in usb_ep_combine_input_packets() local
170 totalsize = (p->combined) ? p->combined->iov.size : p->iov.size; in usb_ep_combine_input_packets()
174 (totalsize == (16 * KiB - 36) && p->int_req) || in usb_ep_combine_input_packets()
176 totalsize > 1 * MiB - ep->max_packet_size) { in usb_ep_combine_input_packets()
/openbmc/linux/arch/powerpc/platforms/pseries/
H A Dplpks.c36 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()
/openbmc/linux/sound/soc/sof/amd/
H A Dacp-common.c71 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()
/openbmc/u-boot/lib/
H A Dcircbuf.c18 buf->totalsize = size; in buf_init()
86 if (buf->size < buf->totalsize) { in buf_push()
/openbmc/linux/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()
/openbmc/linux/sound/soc/sof/intel/
H A 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()
H A 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()
/openbmc/linux/arch/sh/kernel/cpu/
H A Dinit.c196 #define CSHAPE(totalsize, linesize, assoc) \ argument
197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
/openbmc/u-boot/include/
H A Dcircbuf.h12 unsigned int totalsize; /* number of bytes allocated */ member
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt.h59 fdt32_t totalsize; /* total size of DT block */ member
/openbmc/linux/arch/x86/include/asm/
H A Dmicrocode.h39 unsigned int totalsize;
37 unsigned int totalsize; global() member
/openbmc/linux/net/core/
H A Dxdp.c669 unsigned int headroom, totalsize; in xdpf_clone() local
675 totalsize = headroom + xdpf->len; in xdpf_clone()
677 if (unlikely(totalsize > PAGE_SIZE)) in xdpf_clone()
684 memcpy(addr, xdpf, totalsize); in xdpf_clone()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c291 unsigned int totalsize = xdp->data_end - xdp->data_meta; in i40e_construct_skb_zc() local
304 skb = __napi_alloc_skb(&rx_ring->q_vector->napi, totalsize, in i40e_construct_skb_zc()
309 memcpy(__skb_put(skb, totalsize), xdp->data_meta, in i40e_construct_skb_zc()
310 ALIGN(totalsize, sizeof(long))); in i40e_construct_skb_zc()
/openbmc/linux/arch/powerpc/include/asm/
H A Dprom.h45 __be32 totalsize; /* total size of DT block */ member
/openbmc/linux/include/sound/sof/
H A Dheader.h187 uint32_t totalsize; /* Total size of oops message */ member

12