Searched refs:lenp (Results 1 – 4 of 4) sorted by relevance
/scripts/dtc/libfdt/ |
D | fdt_ro.c | 34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument 45 if (lenp) in fdt_get_string() 46 *lenp = strlen(s); in fdt_get_string() 90 if (lenp) in fdt_get_string() 91 *lenp = n - s; in fdt_get_string() 95 if (lenp) in fdt_get_string() 96 *lenp = err; in fdt_get_string() 358 int *lenp) in fdt_get_property_by_offset_() argument 365 if (lenp) in fdt_get_property_by_offset_() 366 *lenp = err; in fdt_get_property_by_offset_() [all …]
|
D | libfdt.h | 340 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp); 545 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp); 644 int *lenp); 661 int namelen, int *lenp); 693 const char *name, int *lenp); 696 int *lenp) in fdt_get_property_w() argument 699 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w() 735 const char **namep, int *lenp); 751 const char *name, int namelen, int *lenp); 754 int *lenp) in fdt_getprop_namelen_w() argument [all …]
|
D | fdt.c | 159 const fdt32_t *tagp, *lenp; in fdt_next_tag() local 183 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag() 184 if (!can_assume(VALID_DTB) && !lenp) in fdt_next_tag() 188 + fdt32_to_cpu(*lenp); in fdt_next_tag() 190 fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag() 191 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
|
/scripts/dtc/ |
D | util.c | 86 int lenp = strlen(path); in join_path() local 92 len = lenp + lenn + 2; in join_path() 93 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path() 99 memcpy(str, path, lenp); in join_path() 101 str[lenp] = '/'; in join_path() 102 lenp++; in join_path() 104 memcpy(str+lenp, name, lenn+1); in join_path()
|