Lines Matching refs:lenp
292 int *lenp)
298 if (lenp)
299 *lenp = err;
305 if (lenp)
306 *lenp = fdt32_to_cpu(prop->len);
313 int *lenp)
319 if (lenp)
320 *lenp = -FDT_ERR_BADVERSION;
324 return fdt_get_property_by_offset_(fdt, offset, lenp);
331 int *lenp,
339 if (!(prop = fdt_get_property_by_offset_(fdt, offset, lenp))) {
351 if (lenp)
352 *lenp = offset;
360 int namelen, int *lenp)
365 if (lenp)
366 *lenp = -FDT_ERR_BADVERSION;
370 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp,
377 const char *name, int *lenp)
380 strlen(name), lenp);
384 const char *name, int namelen, int *lenp)
389 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
402 const char **namep, int *lenp)
406 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
420 const char *name, int *lenp)
422 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp);
694 int *lenp)
701 if (lenp)
702 *lenp = length;
714 if (lenp)
715 *lenp = -FDT_ERR_BADVALUE;
721 if (lenp)
722 *lenp = length - 1;
731 if (lenp)
732 *lenp = -FDT_ERR_NOTFOUND;