| /u-boot/lib/ |
| A D | gzip.c | 39 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 > CFG_GZIP_COMPRESS_DEF_SZ) ? in zzip() 88 CFG_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 D | gunzip.c | 75 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 D | fdt_ro.c | 45 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 D | libfdt.h | 609 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 D | fdt.c | 156 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 D | gzip.h | 32 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 D | efi_variable.h | 161 efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *lenp,
|
| /u-boot/drivers/misc/ |
| A D | swap_case.c | 310 phys_addr_t addr, unsigned long *lenp, void **ptrp) in sandbox_swap_case_map_physmem() argument 326 *lenp = 4; in sandbox_swap_case_map_physmem() 330 *lenp = barinfo[1].size - 1; in sandbox_swap_case_map_physmem() 335 *lenp = PCI_CAP_EA_SIZE_LO; in sandbox_swap_case_map_physmem() 348 *lenp = (PCI_CAP_EA_SIZE_HI << 32) | in sandbox_swap_case_map_physmem() 367 *lenp = 0; in sandbox_swap_case_map_physmem() 369 *lenp = min(*lenp, (ulong)avail); in sandbox_swap_case_map_physmem()
|
| A D | p2sb_emul.c | 214 phys_addr_t addr, unsigned long *lenp, in sandbox_p2sb_emul_map_physmem() argument 241 *lenp = 4; in sandbox_p2sb_emul_map_physmem()
|
| /u-boot/scripts/dtc/ |
| 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()
|
| /u-boot/drivers/power/acpi_pmc/ |
| A D | pmc_emul.c | 183 phys_addr_t addr, unsigned long *lenp, in sandbox_pmc_emul_map_physmem() argument 199 *lenp = 0; in sandbox_pmc_emul_map_physmem() 201 *lenp = min(*lenp, (ulong)avail); in sandbox_pmc_emul_map_physmem()
|
| /u-boot/include/dm/ |
| A D | of_access.h | 91 const char *name, int *lenp); 104 int *lenp); 144 int *lenp);
|
| A D | read.h | 557 int *lenp); 593 const char **propname, int *lenp); 1089 const char *propname, int *lenp) in dev_read_prop() argument 1091 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop() 1106 int *lenp) in dev_read_prop_by_prop() argument 1108 return ofprop_get_property(prop, propname, lenp); in dev_read_prop_by_prop()
|
| A D | ofnode.h | 997 const void *ofnode_get_property(ofnode node, const char *propname, int *lenp); 1057 const char **propname, int *lenp);
|
| /u-boot/arch/sandbox/include/asm/ |
| A D | u-boot-sandbox.h | 49 int pci_map_physmem(phys_addr_t paddr, unsigned long *lenp,
|
| /u-boot/arch/sandbox/lib/ |
| A D | pci_io.c | 17 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/drivers/core/ |
| A D | of_access.c | 127 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 D | read.c | 296 int *lenp) in dev_read_prop() argument 298 return ofnode_get_property(dev_ofnode(dev), propname, lenp); in dev_read_prop() 312 const char **propname, int *lenp) in dev_read_prop_by_prop() argument 314 return ofprop_get_property(prop, propname, lenp); in dev_read_prop_by_prop()
|
| A D | ofnode.c | 1041 const void *ofnode_get_property(ofnode node, const char *propname, int *lenp) in ofnode_get_property() argument 1044 return of_get_property(ofnode_to_np(node), propname, lenp); in ofnode_get_property() 1047 propname, lenp); in ofnode_get_property() 1088 const char **propname, int *lenp) in ofprop_get_property() argument 1092 prop->prop, propname, lenp); in ofprop_get_property() 1096 propname, lenp); in ofprop_get_property()
|
| /u-boot/arch/mips/mach-octeon/ |
| A D | cvmx-helper-fdt.c | 39 int cvmx_ofnode_lookup_phandles(ofnode node, const char *prop_name, int *lenp, in cvmx_ofnode_lookup_phandles() argument 51 if (count > *lenp) in cvmx_ofnode_lookup_phandles() 52 count = *lenp; in cvmx_ofnode_lookup_phandles() 57 *lenp = count; in cvmx_ofnode_lookup_phandles()
|
| /u-boot/arch/mips/mach-octeon/include/mach/ |
| A D | cvmx-helper-fdt.h | 153 int cvmx_fdt_lookup_phandles(const void *fdt_addr, int node, const char *prop_name, int *lenp, 157 int *lenp, ofnode *nodes);
|
| /u-boot/drivers/pci/ |
| A D | pcie_layerscape_gen4_fixup.c | 107 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 D | efi_var_file.c | 56 efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *lenp, in efi_var_collect() argument 115 *lenp = len; in efi_var_collect()
|
| /u-boot/common/ |
| A D | bmp.c | 37 struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp, in gunzip_bmp() argument
|
| /u-boot/net/ |
| A D | net.c | 1002 static struct ip_udp_hdr *__net_defragment(struct ip_udp_hdr *ip, int *lenp) in __net_defragment() argument 1132 *lenp = total_len + IP_HDR_SIZE; in __net_defragment() 1133 localip->ip_len = htons(*lenp); in __net_defragment() 1138 int *lenp) in net_defragment() argument 1143 return __net_defragment(ip, lenp); in net_defragment() 1149 int *lenp) in net_defragment() argument
|