Lines Matching refs:lenp
34 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp) in fdt_get_string() argument
45 if (lenp) in fdt_get_string()
46 *lenp = strlen(s); in fdt_get_string()
90 if (lenp) in fdt_get_string()
91 *lenp = n - s; in fdt_get_string()
95 if (lenp) in fdt_get_string()
96 *lenp = err; in fdt_get_string()
358 int *lenp) in fdt_get_property_by_offset_() argument
365 if (lenp) in fdt_get_property_by_offset_()
366 *lenp = err; in fdt_get_property_by_offset_()
372 if (lenp) in fdt_get_property_by_offset_()
373 *lenp = fdt32_ld_(&prop->len); in fdt_get_property_by_offset_()
380 int *lenp) in fdt_get_property_by_offset() argument
386 if (lenp) in fdt_get_property_by_offset()
387 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_by_offset()
391 return fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_by_offset()
398 int *lenp, in fdt_get_property_namelen_() argument
406 prop = fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_namelen_()
419 if (lenp) in fdt_get_property_namelen_()
420 *lenp = offset; in fdt_get_property_namelen_()
428 int namelen, int *lenp) in fdt_get_property_namelen() argument
433 if (lenp) in fdt_get_property_namelen()
434 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_namelen()
438 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, in fdt_get_property_namelen()
445 const char *name, int *lenp) in fdt_get_property() argument
448 strlen(name), lenp); in fdt_get_property()
452 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument
457 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen()
470 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
474 prop = fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_getprop_by_offset()
485 if (lenp) in fdt_getprop_by_offset()
486 *lenp = namelen; in fdt_getprop_by_offset()
503 const char *name, int *lenp) in fdt_getprop() argument
505 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop()
780 int *lenp) in fdt_stringlist_get() argument
787 if (lenp) in fdt_stringlist_get()
788 *lenp = length; in fdt_stringlist_get()
800 if (lenp) in fdt_stringlist_get()
801 *lenp = -FDT_ERR_BADVALUE; in fdt_stringlist_get()
807 if (lenp) in fdt_stringlist_get()
808 *lenp = length - 1; in fdt_stringlist_get()
817 if (lenp) in fdt_stringlist_get()
818 *lenp = -FDT_ERR_NOTFOUND; in fdt_stringlist_get()