Searched refs:nh (Results 1 – 3 of 3) sorted by relevance
/optee_os/core/lib/libfdt/ |
A D | fdt_sw.c | 213 struct fdt_node_header *nh; in fdt_begin_node() local 219 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node() 220 if (! nh) in fdt_begin_node() 223 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node() 224 memcpy(nh->name, name, namelen); in fdt_begin_node()
|
A D | fdt_rw.c | 321 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local 343 nh = fdt_offset_ptr_w_(fdt, offset); in fdt_add_subnode_namelen() 344 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 346 err = fdt_splice_struct_(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen() 350 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen() 351 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen() 352 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen() 353 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
|
A D | fdt_ro.c | 288 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name() local 296 nameptr = nh->name; in fdt_get_name()
|
Completed in 6 milliseconds