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()
361 int *lenp) in fdt_get_property_by_offset_() argument
368 if (lenp) in fdt_get_property_by_offset_()
369 *lenp = err; in fdt_get_property_by_offset_()
375 if (lenp) in fdt_get_property_by_offset_()
376 *lenp = fdt32_ld_(&prop->len); in fdt_get_property_by_offset_()
383 int *lenp) in fdt_get_property_by_offset() argument
389 if (lenp) in fdt_get_property_by_offset()
390 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_by_offset()
394 return fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_by_offset()
401 int *lenp, in fdt_get_property_namelen_() argument
409 prop = fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_get_property_namelen_()
422 if (lenp) in fdt_get_property_namelen_()
423 *lenp = offset; in fdt_get_property_namelen_()
431 int namelen, int *lenp) in fdt_get_property_namelen() argument
436 if (lenp) in fdt_get_property_namelen()
437 *lenp = -FDT_ERR_BADVERSION; in fdt_get_property_namelen()
441 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, in fdt_get_property_namelen()
448 const char *name, int *lenp) in fdt_get_property() argument
451 strlen(name), lenp); in fdt_get_property()
455 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument
460 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen()
473 const char **namep, int *lenp) in fdt_getprop_by_offset() argument
477 prop = fdt_get_property_by_offset_(fdt, offset, lenp); in fdt_getprop_by_offset()
489 if (lenp) in fdt_getprop_by_offset()
490 *lenp = namelen; in fdt_getprop_by_offset()
506 const char *name, int *lenp) in fdt_getprop() argument
508 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop()
530 int *lenp) in fdt_path_getprop_namelen() argument
537 return fdt_getprop_namelen(fdt, offset, propname, propnamelen, lenp); in fdt_path_getprop_namelen()
809 int *lenp) in fdt_stringlist_get() argument
816 if (lenp) in fdt_stringlist_get()
817 *lenp = length; in fdt_stringlist_get()
829 if (lenp) in fdt_stringlist_get()
830 *lenp = -FDT_ERR_BADVALUE; in fdt_stringlist_get()
836 if (lenp) in fdt_stringlist_get()
837 *lenp = length - 1; in fdt_stringlist_get()
846 if (lenp) in fdt_stringlist_get()
847 *lenp = -FDT_ERR_NOTFOUND; in fdt_stringlist_get()