Lines Matching defs:lenp
343 * @lenp: optional pointer to return the string's length
347 * returns the string's length in *lenp.
353 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
569 * @lenp: pointer to an integer variable (will be overwritten) or NULL
572 * device tree node at structure block offset nodeoffset. If lenp is
574 * pointed to by lenp.
578 * If lenp is non-NULL, *lenp contains the length of that name
581 * if lenp is non-NULL *lenp contains an error code (<0):
588 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
662 * @lenp: pointer to an integer variable (will be overwritten) or NULL
666 * offset. If lenp is non-NULL, the length of the property value is
667 * also returned, in the integer pointed to by lenp.
674 * if lenp is non-NULL, *lenp contains the length of the property
677 * if lenp is non-NULL, *lenp contains an error code (<0):
687 int *lenp);
690 int *lenp)
693 fdt_get_property_by_offset(fdt, offset, lenp);
702 * @lenp: pointer to an integer variable (will be overwritten) or NULL
714 int namelen, int *lenp);
717 int namelen, int *lenp)
720 fdt, nodeoffset, name, namelen, lenp);
729 * @lenp: pointer to an integer variable (will be overwritten) or NULL
733 * named 'name' of the node at offset nodeoffset. If lenp is
735 * integer pointed to by lenp.
739 * if lenp is non-NULL, *lenp contains the length of the property
742 * if lenp is non-NULL, *lenp contains an error code (<0):
753 const char *name, int *lenp);
756 int *lenp)
759 fdt_get_property(fdt, nodeoffset, name, lenp);
767 * @lenp: pointer to an integer variable (will be overwritten) or NULL
772 * lenp is non-NULL, the length of the property value is also
773 * returned, in the integer pointed to by lenp. If namep is non-NULL,
780 * if lenp is non-NULL, *lenp contains the length of the property
785 * if lenp is non-NULL, *lenp contains an error code (<0):
795 const char **namep, int *lenp);
804 * @lenp: pointer to an integer variable (will be overwritten) or NULL
813 const char *name, int namelen, int *lenp);
816 int *lenp)
819 namelen, lenp);
828 * @lenp: pointer to an integer variable (will be overwritten) or NULL
833 * If @lenp is non-NULL, the length of the property value is also
834 * returned, in the integer pointed to by @lenp.
838 * if lenp is non-NULL, *lenp contains the length of the property
841 * if lenp is non-NULL, *lenp contains an error code (<0):
852 const char *name, int *lenp);
854 const char *name, int *lenp)
856 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
1223 * @lenp: return location for the string length or an error code on failure
1230 * (on failure) will be stored in the integer pointer to by lenp.
1235 * location pointed to by the lenp parameter, if non-NULL. On failure one of
1236 * the following negative error codes will be returned in the lenp parameter
1243 int *lenp);