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

Name:fdt_node_offset_by_prop_value

Proto:int fdt_node_offset_by_prop_value(const void *fdt, int startoffset, const char *propname, const void *propval, int proplen)

Type:int

Parameter:

TypeParameterName
const void *fdt
intstartoffset
const char *propname
const void *propval
intproplen
644  When offset >= 0 cycle
647  val = fdt_getprop(fdt, offset, propname, & len)
648  If val && len == proplen && memcmp(val, propval, len) == 0 Then Return offset
653  Return offset