Function report |
Source Code:scripts\dtc\libfdt\fdt.c |
Create Date:2022-07-28 06:18:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fdt_next_node
Proto:int fdt_next_node(const void *fdt, int offset, int *depth)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | fdt | |
| int | offset | |
| int * | depth |
| 199 | nextoffset = 0 |
| 202 | If offset >= 0 Then If (nextoffset = fdt_check_node_offset_(fdt, offset)) < 0 Then |
| 204 | Return nextoffset |
| 206 | Do |
| 207 | offset = nextoffset |
| 208 | tag = fdt_next_tag(fdt, offset, & nextoffset) |
| 211 | Case tag == Property: name off,size, content |
| 213 | Break |
| 215 | Case tag == Start node: full name |
| 221 | If depth && --depth < 0 Then Return nextoffset |
| 223 | Break |
| 226 | If nextoffset >= 0 || nextoffset == -Error codes: codes for bad device tree blobs && Not depth Then Return -Error codes: informative error codes |
| 229 | Else Return nextoffset |
| 232 | When tag != Start node: full name cycle |
| 234 | Return offset |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |