Lines Matching defs:lenp
34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp)
45 if (lenp)
46 *lenp = strlen(s);
90 if (lenp)
91 *lenp = n - s;
95 if (lenp)
96 *lenp = err;
361 int *lenp)
368 if (lenp)
369 *lenp = err;
375 if (lenp)
376 *lenp = fdt32_ld_(&prop->len);
383 int *lenp)
389 if (lenp)
390 *lenp = -FDT_ERR_BADVERSION;
394 return fdt_get_property_by_offset_(fdt, offset, lenp);
401 int *lenp,
409 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
422 if (lenp)
423 *lenp = offset;
431 int namelen, int *lenp)
436 if (lenp)
437 *lenp = -FDT_ERR_BADVERSION;
441 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp,
448 const char *name, int *lenp)
451 strlen(name), lenp);
455 const char *name, int namelen, int *lenp)
460 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
473 const char **namep, int *lenp)
477 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
489 if (lenp)
490 *lenp = namelen;
506 const char *name, int *lenp)
508 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
530 int *lenp)
537 return fdt_getprop_namelen(fdt, offset, propname, propnamelen, lenp);
809 int *lenp)
816 if (lenp)
817 *lenp = length;
829 if (lenp)
830 *lenp = -FDT_ERR_BADVALUE;
836 if (lenp)
837 *lenp = length - 1;
846 if (lenp)
847 *lenp = -FDT_ERR_NOTFOUND;