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

Name:fdt_find_max_phandle

Proto:int fdt_find_max_phandle(const void *fdt, uint32_t *phandle)

Type:int

Parameter:

TypeParameterName
const void *fdt
uint32_t *phandle
104  max = 0
105  offset = -1
107  When (true) cycle
110  offset = fdt_next_node(fdt, offset, NULL)
111  If offset < 0 Then
115  Return offset
118  value = fdt_get_phandle(fdt, offset)
120  If value > max Then max = value
124  If phandle Then phandle = max
127  Return 0