| /openbmc/u-boot/lib/ |
| H A D | gzip.c | 38 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 D | gunzip.c | 72 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 D | fdt_ro.c | 292 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 D | fdt.c | 96 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 D | libfdt.h | 449 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 D | fdt_ro.c | 252 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 D | util.c | 81 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 D | device_tree.c | 432 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 D | swap_case.c | 261 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 D | device_tree.h | 104 const char *property, int *lenp, 118 const char *property, int *lenp,
|
| /openbmc/u-boot/arch/sandbox/lib/ |
| H A D | pci_io.c | 16 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 D | of_access.h | 91 const char *name, int *lenp); 104 int *lenp);
|
| H A D | read.h | 398 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 D | u-boot-sandbox.h | 47 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp,
|
| /openbmc/u-boot/drivers/core/ |
| H A D | of_access.c | 123 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 D | read.c | 206 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 D | common.h | 419 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 D | lcd.h | 21 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
|
| /openbmc/u-boot/cmd/ |
| H A D | bmp.c | 39 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 D | 0002-Check-against-the-correct-OPENSSL_VERSION_NUMBER.patch | 230 @@ -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 D | 0001-Adapt-to-OpenSSL-1.1.1.patch | 514 @@ -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 D | pcie_layerscape_fixup.c | 131 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 D | image-host.c | 388 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 D | net.c | 915 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 D | image-fit.c | 1790 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()
|