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_generate_phandle

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

Type:int

Parameter:

TypeParameterName
const void *fdt
uint32_t *phandle
135  err = fdt_find_max_phandle(fdt, & max)
136  If err < 0 Then Return err
139  If max == constants Then Return -FDT_ERR_BADOVERLAY: The device tree overlay, while* correctly structured, cannot be applied due to some* unexpected or missing value, property or node.
142  If phandle Then phandle = max + 1
145  Return 0