Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_ro.c Create Date:2022-07-28 06:18:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_get_property_namelen

Proto:const struct fdt_property *fdt_get_property_namelen(const void *fdt, int offset, const char *name, int namelen, int *lenp)

Type:struct fdt_property

Parameter:

TypeParameterName
const void *fdt
intoffset
const char *name
intnamelen
int *lenp
415  If fdt_version(fdt) < 0x10 Then
416  If lenp Then lenp = -FDT_ERR_BADMAGIC: Given "device tree" appears not to be a* device tree at all - it is missing the flattened device* tree magic number.
418  Return NULL
421  Return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, NULL)