Lines Matching refs: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;
358 int *lenp)
365 if (lenp)
366 *lenp = err;
372 if (lenp)
373 *lenp = fdt32_ld_(&prop->len);
380 int *lenp)
386 if (lenp)
387 *lenp = -FDT_ERR_BADVERSION;
391 return fdt_get_property_by_offset_(fdt, offset, lenp);
398 int *lenp,
406 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
419 if (lenp)
420 *lenp = offset;
428 int namelen, int *lenp)
433 if (lenp)
434 *lenp = -FDT_ERR_BADVERSION;
438 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp,
445 const char *name, int *lenp)
448 strlen(name), lenp);
452 const char *name, int namelen, int *lenp)
457 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp,
470 const char **namep, int *lenp)
474 prop = fdt_get_property_by_offset_(fdt, offset, lenp);
486 if (lenp)
487 *lenp = namelen;
503 const char *name, int *lenp)
505 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;