Searched refs:nh (Results 1 – 3 of 3) sorted by relevance
/DragonStub/apps/lib/libfdt/ |
H A D | fdt_sw.c | 221 struct fdt_node_header *nh; in fdt_begin_node() local 227 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node() 228 if (! nh) in fdt_begin_node() 231 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node() 232 memcpy(nh->name, name, namelen); in fdt_begin_node()
|
H A D | fdt_rw.c | 336 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local 361 nh = fdt_offset_ptr_w_(fdt, offset); in fdt_add_subnode_namelen() 362 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 364 err = fdt_splice_struct_(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen() 368 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen() 369 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen() 370 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen() 371 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
|
H A D | fdt_ro.c | 302 const struct fdt_node_header *nh = fdt_offset_ptr_(fdt, nodeoffset); in fdt_get_name() local 310 nameptr = nh->name; in fdt_get_name()
|