Lines Matching refs: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);
544 * @lenp: pointer to an integer variable (will be overwritten) or NULL
547 * device tree node at structure block offset nodeoffset. If lenp is
549 * pointed to by lenp.
553 * If lenp is non-NULL, *lenp contains the length of that name
556 * if lenp is non-NULL *lenp contains an error code (<0):
563 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
637 * @lenp: pointer to an integer variable (will be overwritten) or NULL
641 * offset. If lenp is non-NULL, the length of the property value is
642 * also returned, in the integer pointed to by lenp.
649 * if lenp is non-NULL, *lenp contains the length of the property
652 * if lenp is non-NULL, *lenp contains an error code (<0):
662 int *lenp);
670 * @lenp: pointer to an integer variable (will be overwritten) or NULL
682 int namelen, int *lenp);
690 * @lenp: pointer to an integer variable (will be overwritten) or NULL
694 * named 'name' of the node at offset nodeoffset. If lenp is
696 * integer pointed to by lenp.
700 * if lenp is non-NULL, *lenp contains the length of the property
703 * if lenp is non-NULL, *lenp contains an error code (<0):
714 const char *name, int *lenp);
717 int *lenp)
720 fdt_get_property(fdt, nodeoffset, name, lenp);
728 * @lenp: pointer to an integer variable (will be overwritten) or NULL
733 * lenp is non-NULL, the length of the property value is also
734 * returned, in the integer pointed to by lenp. If namep is non-NULL,
741 * if lenp is non-NULL, *lenp contains the length of the property
746 * if lenp is non-NULL, *lenp contains an error code (<0):
756 const char **namep, int *lenp);
765 * @lenp: pointer to an integer variable (will be overwritten) or NULL
774 const char *name, int namelen, int *lenp);
777 int *lenp)
780 namelen, lenp);
789 * @lenp: pointer to an integer variable (will be overwritten) or NULL
794 * If @lenp is non-NULL, the length of the property value is also
795 * returned, in the integer pointed to by @lenp.
799 * if lenp is non-NULL, *lenp contains the length of the property
802 * if lenp is non-NULL, *lenp contains an error code (<0):
813 const char *name, int *lenp);
815 const char *name, int *lenp)
817 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
1148 * @lenp: return location for the string length or an error code on failure
1155 * (on failure) will be stored in the integer pointer to by lenp.
1160 * location pointed to by the lenp parameter, if non-NULL. On failure one of
1161 * the following negative error codes will be returned in the lenp parameter
1168 int *lenp);