Home
last modified time | relevance | path

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

/scripts/dtc/libfdt/
Dfdt_ro.c34 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 …]
Dlibfdt.h353 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
563 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
662 int *lenp);
665 int *lenp) in fdt_get_property_by_offset_w() argument
668 fdt_get_property_by_offset(fdt, offset, lenp); in fdt_get_property_by_offset_w()
689 int namelen, int *lenp);
721 const char *name, int *lenp);
724 int *lenp) in fdt_get_property_w() argument
727 fdt_get_property(fdt, nodeoffset, name, lenp); in fdt_get_property_w()
763 const char **namep, int *lenp);
[all …]
Dfdt.c164 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
188 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
189 if (!can_assume(VALID_DTB) && !lenp) in fdt_next_tag()
192 len = fdt32_to_cpu(*lenp); in fdt_next_tag()
/scripts/dtc/
Dutil.c97 int lenp = strlen(path); in join_path() local
103 len = lenp + lenn + 2; in join_path()
104 if ((lenp > 0) && (path[lenp-1] == '/')) { in join_path()
110 memcpy(str, path, lenp); in join_path()
112 str[lenp] = '/'; in join_path()
113 lenp++; in join_path()
115 memcpy(str+lenp, name, lenn+1); in join_path()