Home
last modified time | relevance | path

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

12

/openbmc/u-boot/lib/
H A Dgzip.c38 int gzip(void *dst, unsigned long *lenp, in gzip() argument
41 return zzip(dst, lenp, src, srclen, 1, NULL); in gzip()
47 int zzip(void *dst, unsigned long *lenp, unsigned char *src, in zzip() argument
63 orig = *lenp; in zzip()
86 left_len = (*lenp > CONFIG_GZIP_COMPRESS_DEF_SZ) ? in zzip()
87 CONFIG_GZIP_COMPRESS_DEF_SZ : *lenp; in zzip()
98 *lenp -= (left_len - s.avail_out); in zzip()
105 } while (s.avail_out == 0 && (*lenp > 0)); in zzip()
111 if (*lenp == 0) { in zzip()
124 *lenp = orig - *lenp; in zzip()
H A Dgunzip.c72 int gunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp) in gunzip() argument
74 int offset = gzip_parse_header(src, *lenp); in gunzip()
79 return zunzip(dst, dstlen, src, lenp, 1, offset); in gunzip()
275 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp, in zunzip() argument
291 s.avail_in = *lenp - offset; in zunzip()
303 *lenp = s.next_out - (unsigned char *) dst; in zunzip()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c292 int *lenp) in fdt_get_property_by_offset_() argument
298 if (lenp) in fdt_get_property_by_offset_()
299 *lenp = err; in fdt_get_property_by_offset_()
305 if (lenp) in fdt_get_property_by_offset_()
306 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset_()
313 int *lenp) in fdt_get_property_by_offset() argument
319 if (lenp) in fdt_get_property_by_offset()
320 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_by_offset()
324 return fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_by_offset()
331 int *lenp, in fdt_get_property_namelen_() argument
[all …]
H A Dfdt.c96 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
121 if (!lenp) in fdt_next_tag()
125 + fdt32_to_cpu(*lenp); in fdt_next_tag()
126 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
127 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
H A Dlibfdt.h449 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
548 int *lenp);
565 int namelen, int *lenp);
597 const char *name, int *lenp);
600 int *lenp) in fdt_get_property_w() argument
603 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
639 const char **namep, int *lenp);
655 const char *name, int namelen, int *lenp);
658 int *lenp) in fdt_getprop_namelen_w() argument
661 namelen, lenp); in fdt_getprop_namelen_w()
[all …]
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c252 int *lenp) in fdt_get_property_by_offset() argument
258 if (lenp) in fdt_get_property_by_offset()
259 *lenp = err; in fdt_get_property_by_offset()
265 if (lenp) in fdt_get_property_by_offset()
266 *lenp = fdt32_to_cpu(prop->len); in fdt_get_property_by_offset()
274 int namelen, int *lenp) in fdt_get_property_namelen() argument
281 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) { in fdt_get_property_namelen()
290 if (lenp) in fdt_get_property_namelen()
291 *lenp = offset; in fdt_get_property_namelen()
297 const char *name, int *lenp) in fdt_get_property() argument
[all …]
/openbmc/u-boot/scripts/dtc/
H 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()
/openbmc/qemu/system/
H A Ddevice_tree.c432 const char *property, int *lenp, Error **errp) in qemu_fdt_getprop() argument
437 if (!lenp) { in qemu_fdt_getprop()
438 lenp = &len; in qemu_fdt_getprop()
440 r = fdt_getprop(fdt, findnode_nofail(fdt, node_path), property, lenp); in qemu_fdt_getprop()
443 node_path, property, fdt_strerror(*lenp)); in qemu_fdt_getprop()
449 const char *property, int *lenp, Error **errp) in qemu_fdt_getprop_cell() argument
454 if (!lenp) { in qemu_fdt_getprop_cell()
455 lenp = &len; in qemu_fdt_getprop_cell()
457 p = qemu_fdt_getprop(fdt, node_path, property, lenp, errp); in qemu_fdt_getprop_cell()
460 } else if (*lenp != 4) { in qemu_fdt_getprop_cell()
[all …]
/openbmc/u-boot/drivers/misc/
H A Dswap_case.c261 phys_addr_t addr, unsigned long *lenp, void **ptrp) in sandbox_swap_case_map_physmem() argument
275 *lenp = 0; in sandbox_swap_case_map_physmem()
277 *lenp = min(*lenp, (ulong)avail); in sandbox_swap_case_map_physmem()
/openbmc/qemu/include/system/
H A Ddevice_tree.h104 const char *property, int *lenp,
118 const char *property, int *lenp,
/openbmc/u-boot/arch/sandbox/lib/
H A Dpci_io.c16 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp, in pci_map_physmem() argument
30 ret = (ops->map_physmem)(dev, paddr, lenp, ptrp); in pci_map_physmem()
/openbmc/u-boot/include/dm/
H A Dof_access.h91 const char *name, int *lenp);
104 int *lenp);
H A Dread.h398 const void *dev_read_prop(struct udevice *dev, const char *propname, int *lenp);
698 const char *propname, int *lenp) in dev_read_prop() argument
700 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
/openbmc/u-boot/arch/sandbox/include/asm/
H A Du-boot-sandbox.h47 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp,
/openbmc/u-boot/drivers/core/
H A Dof_access.c123 const char *name, int *lenp) in of_find_property() argument
132 if (lenp) in of_find_property()
133 *lenp = pp->length; in of_find_property()
137 if (!pp && lenp) in of_find_property()
138 *lenp = -FDT_ERR_NOTFOUND; in of_find_property()
166 int *lenp) in of_get_property() argument
168 struct property *pp = of_find_property(np, name, lenp); in of_get_property()
H A Dread.c206 const void *dev_read_prop(struct udevice *dev, const char *propname, int *lenp) in dev_read_prop() argument
208 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop()
/openbmc/u-boot/include/
H A Dcommon.h419 int zunzip(void *dst, int dstlen, unsigned char *src, unsigned long *lenp,
495 int gzip(void *dst, unsigned long *lenp,
497 int zzip(void *dst, unsigned long *lenp, unsigned char *src,
H A Dlcd.h21 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
/openbmc/u-boot/cmd/
H A Dbmp.c39 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
86 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/pam/pam-ssh-agent-auth/
H A D0002-Check-against-the-correct-OPENSSL_VERSION_NUMBER.patch230 @@ -1113,7 +1113,7 @@ pamsshagentauth_key_to_blob(const Key *key, u_char **blobp, u_int *lenp)
261 @@ -52,7 +52,7 @@ ssh_dss_sign(const Key *key, u_char **sigp, u_int *lenp,
270 @@ -74,7 +74,7 @@ ssh_dss_sign(const Key *key, u_char **sigp, u_int *lenp,
279 @@ -88,7 +88,7 @@ ssh_dss_sign(const Key *key, u_char **sigp, u_int *lenp,
310 @@ -45,7 +45,7 @@ ssh_ecdsa_sign(const Key *key, u_char **sigp, u_int *lenp,
319 @@ -69,7 +69,7 @@ ssh_ecdsa_sign(const Key *key, u_char **sigp, u_int *lenp,
H A D0001-Adapt-to-OpenSSL-1.1.1.patch514 @@ -1015,6 +1113,7 @@ pamsshagentauth_key_to_blob(const Key *key, u_char **blobp, u_int *lenp)
522 @@ -1027,6 +1126,20 @@ pamsshagentauth_key_to_blob(const Key *key, u_char **blobp, u_int *lenp)
581 @@ -48,37 +48,53 @@ ssh_dss_sign(const Key *key, u_char **sigp, u_int *lenp,
704 @@ -41,22 +41,27 @@ ssh_ecdsa_sign(const Key *key, u_char **sigp, u_int *lenp,
736 @@ -64,8 +69,14 @@ ssh_ecdsa_sign(const Key *key, u_char **sigp, u_int *lenp,
810 @@ -40,7 +40,7 @@ ssh_rsa_sign(const Key *key, u_char **sigp, u_int *lenp,
819 @@ -55,6 +55,7 @@ ssh_rsa_sign(const Key *key, u_char **sigp, u_int *lenp,
827 @@ -64,6 +65,7 @@ ssh_rsa_sign(const Key *key, u_char **sigp, u_int *lenp,
/openbmc/u-boot/drivers/pci/
H A Dpcie_layerscape_fixup.c131 int lenp; in fdt_pcie_set_iommu_map_entry() local
157 prop = fdt_getprop_w(blob, nodeoffset, "iommu-map", &lenp); in fdt_pcie_set_iommu_map_entry()
/openbmc/u-boot/tools/
H A Dimage-host.c388 int *lenp, int *allow_missingp) in fit_config_get_image_list() argument
395 prop = fdt_getprop(fit, noffset, "sign-images", lenp); in fit_config_get_image_list()
398 return *lenp ? prop : NULL; in fit_config_get_image_list()
403 *lenp = sizeof(default_list); in fit_config_get_image_list()
/openbmc/u-boot/net/
H A Dnet.c915 static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp) in __net_defragment() argument
1031 *lenp = total_len + IP_HDR_SIZE; in __net_defragment()
1036 int *lenp) in net_defragment() argument
1041 return __net_defragment(ip, lenp); in net_defragment()
1047 int *lenp) in net_defragment() argument
/openbmc/u-boot/common/
H A Dimage-fit.c1790 enum fit_load_op load_op, ulong *datap, ulong *lenp) in fit_image_load() argument
2003 *lenp = len; in fit_image_load()
2036 int arch, ulong *datap, ulong *lenp) in boot_get_fdt_fit() argument
2161 if (lenp) in boot_get_fdt_fit()
2162 *lenp = len; in boot_get_fdt_fit()

12