函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:scripts\dtc\libfdt\fdt_ro.c Create Date:2022-07-27 07:15:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fdt_generate_phandle

函数原型:int fdt_generate_phandle(const void *fdt, uint32_t *phandle)

返回类型:int

参数:

类型参数名称
const void *fdt
uint32_t *phandle
135  err等于fdt_find_max_phandle(fdt, & max)
136  如果err小于0则返回:err
139  如果max恒等于constants 则返回:负FDT_ERR_BADOVERLAY: The device tree overlay, while* correctly structured, cannot be applied due to some* unexpected or missing value, property or node.
142  如果phandlephandle等于max加1
145  返回:0