Lines Matching defs:lenp
79 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp)
123 if (lenp)
124 *lenp = n - s;
128 if (lenp)
129 *lenp = err;
368 int *lenp)
374 if (lenp)
375 *lenp = err;
381 if (lenp)
382 *lenp = fdt32_ld(&prop->len);
389 int *lenp)
395 if (lenp)
396 *lenp = -FDT_ERR_BADVERSION;
400 return fdt_get_property_by_offset_(fdt, offset, lenp);
407 int *lenp,
415 if (!(prop = fdt_get_property_by_offset_(fdt, offset, lenp))) {
427 if (lenp)
428 *lenp = offset;
436 int namelen, int *lenp)
441 if (lenp)
442 *lenp = -FDT_ERR_BADVERSION;
446 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp,
453 const char *name, int *lenp)
456 strlen(name), lenp);
460 const char *name, int namelen, int *lenp)
465 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
478 const char **namep, int *lenp)
482 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
491 if (lenp)
492 *lenp = namelen;
506 const char *name, int *lenp)
508 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
780 int *lenp)
787 if (lenp)
788 *lenp = length;
800 if (lenp)
801 *lenp = -FDT_ERR_BADVALUE;
807 if (lenp)
808 *lenp = length - 1;
817 if (lenp)
818 *lenp = -FDT_ERR_NOTFOUND;