Lines Matching refs:lenp
36 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp)
81 if (lenp)
82 *lenp = n - s;
86 if (lenp)
87 *lenp = err;
346 int *lenp)
352 if (lenp)
353 *lenp = err;
359 if (lenp)
360 *lenp = fdt32_ld(&prop->len);
367 int *lenp)
373 if (lenp)
374 *lenp = -FDT_ERR_BADVERSION;
378 return fdt_get_property_by_offset_(fdt, offset, lenp);
385 int *lenp,
393 if (!(prop = fdt_get_property_by_offset_(fdt, offset, lenp))) {
405 if (lenp)
406 *lenp = offset;
414 int namelen, int *lenp)
419 if (lenp)
420 *lenp = -FDT_ERR_BADVERSION;
424 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp,
431 const char *name, int *lenp)
434 strlen(name), lenp);
438 const char *name, int namelen, int *lenp)
443 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
456 const char **namep, int *lenp)
460 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
469 if (lenp)
470 *lenp = namelen;
484 const char *name, int *lenp)
486 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
758 int *lenp)
765 if (lenp)
766 lenp = length;
778 if (lenp)
779 *lenp = -FDT_ERR_BADVALUE;
785 if (lenp)
786 *lenp = length - 1;
795 if (lenp)
796 *lenp = -FDT_ERR_NOTFOUND;