Home
last modified time | relevance | path

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

12

/u-boot/lib/
A Dgzip.c39 int gzip(void *dst, unsigned long *lenp, in gzip() argument
42 return zzip(dst, lenp, src, srclen, 1, NULL); in gzip()
48 int zzip(void *dst, unsigned long *lenp, unsigned char *src, in zzip() argument
64 orig = *lenp; in zzip()
87 left_len = (*lenp > CONFIG_GZIP_COMPRESS_DEF_SZ) ? in zzip()
88 CONFIG_GZIP_COMPRESS_DEF_SZ : *lenp; in zzip()
99 *lenp -= (left_len - s.avail_out); in zzip()
106 } while (s.avail_out == 0 && (*lenp > 0)); in zzip()
112 if (*lenp == 0) { in zzip()
125 *lenp = orig - *lenp; in zzip()
A Dgunzip.c75 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp) in gunzip() argument
77 int offset = gzip_parse_header(src, *lenp); in gunzip()
82 return zunzip(dst, dstlen, src, lenp, 1, offset); in gunzip()
278 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, in zunzip() argument
294 s.avail_in = *lenp - offset; in zunzip()
306 *lenp = s.next_out - (unsigned char *) dst; in zunzip()
/u-boot/scripts/dtc/libfdt/
A Dfdt_ro.c45 if (lenp) in fdt_get_string()
90 if (lenp) in fdt_get_string()
95 if (lenp) in fdt_get_string()
96 *lenp = err; in fdt_get_string()
365 if (lenp) in fdt_get_property_by_offset_()
372 if (lenp) in fdt_get_property_by_offset_()
386 if (lenp) in fdt_get_property_by_offset()
419 if (lenp) in fdt_get_property_namelen_()
433 if (lenp) in fdt_get_property_namelen()
786 if (lenp) in fdt_stringlist_get()
[all …]
A Dlibfdt.h609 int *lenp);
626 int namelen, int *lenp);
658 const char *name, int *lenp);
661 int *lenp) in fdt_get_property_w() argument
700 const char **namep, int *lenp);
716 const char *name, int namelen, int *lenp);
719 int *lenp) in fdt_getprop_namelen_w() argument
722 namelen, lenp); in fdt_getprop_namelen_w()
755 const char *name, int *lenp);
757 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
A Dfdt.c156 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
180 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
181 if (fdt_chk_basic() && !lenp) in fdt_next_tag()
185 + fdt32_to_cpu(*lenp); in fdt_next_tag()
187 fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
188 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
/u-boot/include/
A Dgzip.h32 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp);
45 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
89 int gzip(void *dst, unsigned long *lenp, unsigned char *src, ulong srclen);
102 int zzip(void *dst, ulong *lenp, unsigned char *src, ulong srclen,
A Dlcd.h21 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
A Defi_variable.h158 efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *lenp,
/u-boot/drivers/misc/
A Dswap_case.c308 phys_addr_t addr, unsigned long *lenp, void **ptrp) in sandbox_swap_case_map_physmem() argument
324 *lenp = 4; in sandbox_swap_case_map_physmem()
328 *lenp = barinfo[1].size - 1; in sandbox_swap_case_map_physmem()
333 *lenp = PCI_CAP_EA_SIZE_LO; in sandbox_swap_case_map_physmem()
338 *lenp = (PCI_CAP_EA_SIZE_HI << 32) | in sandbox_swap_case_map_physmem()
355 *lenp = 0; in sandbox_swap_case_map_physmem()
357 *lenp = min(*lenp, (ulong)avail); in sandbox_swap_case_map_physmem()
A Dp2sb_emul.c215 phys_addr_t addr, unsigned long *lenp, in sandbox_p2sb_emul_map_physmem() argument
242 *lenp = 4; in sandbox_p2sb_emul_map_physmem()
/u-boot/scripts/dtc/
A Dutil.c81 int lenp = strlen(path); in join_path() local
87 len = lenp + lenn + 2; in join_path()
88 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path()
94 memcpy(str, path, lenp); in join_path()
96 str[lenp] = '/'; in join_path()
97 lenp++; in join_path()
99 memcpy(str+lenp, name, lenn+1); in join_path()
/u-boot/include/dm/
A Dof_access.h91 const char *name, int *lenp);
104 int *lenp);
144 int *lenp);
A Dread.h483 int *lenp);
519 const char **propname, int *lenp);
937 const char *propname, int *lenp) in dev_read_prop() argument
939 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
954 int *lenp) in dev_read_prop_by_prop() argument
956 return ofnode_get_property_by_prop(prop, propname, lenp); in dev_read_prop_by_prop()
A Dofnode.h713 const void *ofnode_get_property(ofnode node, const char *propname, int *lenp);
749 const char **propname, int *lenp);
/u-boot/drivers/power/acpi_pmc/
A Dpmc_emul.c182 phys_addr_t addr, unsigned long *lenp, in sandbox_pmc_emul_map_physmem() argument
198 *lenp = 0; in sandbox_pmc_emul_map_physmem()
200 *lenp = min(*lenp, (ulong)avail); in sandbox_pmc_emul_map_physmem()
/u-boot/drivers/core/
A Dof_access.c127 const char *name, int *lenp) in of_find_property() argument
136 if (lenp) in of_find_property()
137 *lenp = pp->length; in of_find_property()
141 if (!pp && lenp) in of_find_property()
142 *lenp = -FDT_ERR_NOTFOUND; in of_find_property()
170 int *lenp) in of_get_property() argument
172 struct property *pp = of_find_property(np, name, lenp); in of_get_property()
197 int *lenp) in of_get_property_by_prop() argument
203 if (lenp) in of_get_property_by_prop()
204 *lenp = property->length; in of_get_property_by_prop()
A Dread.c256 int *lenp) in dev_read_prop() argument
258 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
272 const char **propname, int *lenp) in dev_read_prop_by_prop() argument
274 return ofnode_get_property_by_prop(prop, propname, lenp); in dev_read_prop_by_prop()
A Dofnode.c614 const void *ofnode_get_property(ofnode node, const char *propname, int *lenp) in ofnode_get_property() argument
617 return of_get_property(ofnode_to_np(node), propname, lenp); in ofnode_get_property()
620 propname, lenp); in ofnode_get_property()
660 const char **propname, int *lenp) in ofnode_get_property_by_prop() argument
664 prop->prop, propname, lenp); in ofnode_get_property_by_prop()
668 propname, lenp); in ofnode_get_property_by_prop()
/u-boot/arch/sandbox/include/asm/
A Du-boot-sandbox.h49 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp,
/u-boot/arch/sandbox/lib/
A Dpci_io.c17 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp, in pci_map_physmem() argument
31 ret = (ops->map_physmem)(dev, paddr, lenp, ptrp); in pci_map_physmem()
/u-boot/cmd/
A Dbmp.c41 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
88 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
/u-boot/drivers/pci/
A Dpcie_layerscape_gen4_fixup.c107 int lenp; in fdt_pcie_set_iommu_map_entry_ls_gen4() local
121 prop = fdt_getprop_w(blob, nodeoff, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry_ls_gen4()
/u-boot/lib/efi_loader/
A Defi_var_file.c49 efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *lenp, in efi_var_collect() argument
108 *lenp = len; in efi_var_collect()
/u-boot/net/
A Dnet.c900 static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp) in __net_defragment() argument
1016 *lenp = total_len + IP_HDR_SIZE; in __net_defragment()
1021 int *lenp) in net_defragment() argument
1026 return __net_defragment(ip, lenp); in net_defragment()
1032 int *lenp) in net_defragment() argument
/u-boot/tools/
A Dimage-host.c683 int *lenp, int *allow_missingp) in fit_config_get_image_list() argument
690 prop = fdt_getprop(fit, noffset, "sign-images", lenp); in fit_config_get_image_list()
693 return *lenp ? prop : NULL; in fit_config_get_image_list()
698 *lenp = sizeof(default_list); in fit_config_get_image_list()

Completed in 40 milliseconds

12