Lines Matching refs:lenp
330 * @lenp: optional pointer to return the string's length
334 * returns the string's length in *lenp.
340 const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
526 * @lenp: pointer to an integer variable (will be overwritten) or NULL
529 * device tree node at structure block offset nodeoffset. If lenp is
531 * pointed to by lenp.
535 * If lenp is non-NULL, *lenp contains the length of that name
538 * if lenp is non-NULL *lenp contains an error code (<0):
545 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
619 * @lenp: pointer to an integer variable (will be overwritten) or NULL
623 * offset. If lenp is non-NULL, the length of the property value is
624 * also returned, in the integer pointed to by lenp.
631 * if lenp is non-NULL, *lenp contains the length of the property
634 * if lenp is non-NULL, *lenp contains an error code (<0):
644 int *lenp);
652 * @lenp: pointer to an integer variable (will be overwritten) or NULL
661 int namelen, int *lenp);
669 * @lenp: pointer to an integer variable (will be overwritten) or NULL
673 * named 'name' of the node at offset nodeoffset. If lenp is
675 * integer pointed to by lenp.
679 * if lenp is non-NULL, *lenp contains the length of the property
682 * if lenp is non-NULL, *lenp contains an error code (<0):
693 const char *name, int *lenp);
696 int *lenp)
699 fdt_get_property(fdt, nodeoffset, name, lenp);
707 * @lenp: pointer to an integer variable (will be overwritten) or NULL
712 * lenp is non-NULL, the length of the property value is also
713 * returned, in the integer pointed to by lenp. If namep is non-NULL,
720 * if lenp is non-NULL, *lenp contains the length of the property
725 * if lenp is non-NULL, *lenp contains an error code (<0):
735 const char **namep, int *lenp);
744 * @lenp: pointer to an integer variable (will be overwritten) or NULL
751 const char *name, int namelen, int *lenp);
754 int *lenp)
757 namelen, lenp);
766 * @lenp: pointer to an integer variable (will be overwritten) or NULL
771 * If lenp is non-NULL, the length of the property value is also
772 * returned, in the integer pointed to by lenp.
776 * if lenp is non-NULL, *lenp contains the length of the property
779 * if lenp is non-NULL, *lenp contains an error code (<0):
790 const char *name, int *lenp);
792 const char *name, int *lenp)
794 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);
1122 * @lenp: return location for the string length or an error code on failure
1129 * (on failure) will be stored in the integer pointer to by lenp.
1134 * location pointed to by the lenp parameter, if non-NULL. On failure one of
1135 * the following negative error codes will be returned in the lenp parameter
1142 int *lenp);