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);
665 int *lenp)
668 fdt_get_property_by_offset(fdt, offset, lenp);
677 * @lenp: pointer to an integer variable (will be overwritten) or NULL
689 int namelen, int *lenp);
697 * @lenp: pointer to an integer variable (will be overwritten) or NULL
701 * named 'name' of the node at offset nodeoffset. If lenp is
703 * integer pointed to by lenp.
707 * if lenp is non-NULL, *lenp contains the length of the property
710 * if lenp is non-NULL, *lenp contains an error code (<0):
721 const char *name, int *lenp);
724 int *lenp)
727 fdt_get_property(fdt, nodeoffset, name, lenp);
735 * @lenp: pointer to an integer variable (will be overwritten) or NULL
740 * lenp is non-NULL, the length of the property value is also
741 * returned, in the integer pointed to by lenp. If namep is non-NULL,
748 * if lenp is non-NULL, *lenp contains the length of the property
753 * if lenp is non-NULL, *lenp contains an error code (<0):
763 const char **namep, int *lenp);
772 * @lenp: pointer to an integer variable (will be overwritten) or NULL
781 const char *name, int namelen, int *lenp);
784 int *lenp)
787 namelen, lenp);
796 * @lenp: pointer to an integer variable (will be overwritten) or NULL
801 * If @lenp is non-NULL, the length of the property value is also
802 * returned, in the integer pointed to by @lenp.
806 * if lenp is non-NULL, *lenp contains the length of the property
809 * if lenp is non-NULL, *lenp contains an error code (<0):
820 const char *name, int *lenp);
822 const char *name, int *lenp)
824 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
1155 * @lenp: return location for the string length or an error code on failure
1162 * (on failure) will be stored in the integer pointer to by lenp.
1167 * location pointed to by the lenp parameter, if non-NULL. On failure one of
1168 * the following negative error codes will be returned in the lenp parameter
1175 int *lenp);