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:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fdt_get_property_by_offset

Proto:const struct fdt_property *fdt_get_property_by_offset(const void *fdt, int offset, int *lenp)

Type:struct fdt_property

Parameter:

TypeParameterName
const void *fdt
intoffset
int *lenp
369  If fdt_version(fdt) < 0x10 Then
370  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.
372  Return NULL
375  Return fdt_get_property_by_offset_(fdt, offset, lenp)