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:39
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_compatible

Proto:int fdt_node_offset_by_compatible(const void *fdt, int startoffset, const char *compatible)

Type:int

Parameter:

TypeParameterName
const void *fdt
intstartoffset
const char *compatible
823  When offset >= 0 cycle
826  err = fdt_node_check_compatible(fdt, offset, compatible)
827  If err < 0 && err != -Error codes: informative error codes Then Return err
829  Else if err == 0 Then Return offset
833  Return offset