Function report |
Source Code:scripts\dtc\libfdt\fdt_sw.c |
Create Date:2022-07-28 06:19:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fdt_property_placeholder
Proto:int fdt_property_placeholder(void *fdt, const char *name, int len, void **valp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | fdt | |
const char * | name | |
int | len | |
void ** | valp |
294 | If sw_flags(fdt) & dt_create_with_flags flags Then |
295 | allocated = 1 |
296 | nameoff = fdt_add_string_(fdt, name) |
297 | Else |
298 | nameoff = fdt_find_add_string_(fdt, name, & allocated) |
300 | If nameoff == 0 Then Return -FDT_ERR_EXISTS: Attempted to create a node or property which* already exists |
304 | If Not prop Then |
311 | nameoff = cpu_to_fdt32(nameoff) |
312 | len = cpu_to_fdt32(len) |
314 | Return 0 |
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 |