Lines Matching refs:lenp
326 * @lenp: pointer to an integer variable (will be overwritten) or NULL
329 * device tree node at structure block offset nodeoffset. If lenp is
331 * pointed to by lenp.
335 * If lenp is non-NULL, *lenp contains the length of that name (>=0)
337 * if lenp is non-NULL *lenp contains an error code (<0):
343 const char *fdt_get_name(const void *fdt, int nodeoffset, int *lenp);
350 * @lenp: pointer to an integer variable (will be overwritten) or NULL
354 * named 'name' of the node at offset nodeoffset. If lenp is
356 * integer pointed to by lenp.
360 * if lenp is non-NULL, *lenp contains the length of the property
363 * if lenp is non-NULL, *lenp contains an error code (<0):
373 const char *name, int *lenp);
376 int *lenp)
379 fdt_get_property(fdt, nodeoffset, name, lenp);
387 * @lenp: pointer to an integer variable (will be overwritten) or NULL
392 * If lenp is non-NULL, the length of the property value is also
393 * returned, in the integer pointed to by lenp.
397 * if lenp is non-NULL, *lenp contains the length of the property
400 * if lenp is non-NULL, *lenp contains an error code (<0):
410 const char *name, int *lenp);
412 const char *name, int *lenp)
414 return (void *)(uintptr_t)fdt_getprop(fdt, nodeoffset, name, lenp);