Searched refs:nh (Results 1 - 3 of 3) sorted by relevance
/scripts/dtc/libfdt/ |
H A D | fdt_sw.c | 140 struct fdt_node_header *nh; local 145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); 146 if (! nh) 149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 150 memcpy(nh->name, name, namelen);
|
H A D | fdt_rw.c | 310 struct fdt_node_header *nh; local 332 nh = _fdt_offset_ptr_w(fdt, offset); 333 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; 335 err = _fdt_splice_struct(fdt, nh, 0, nodelen); 339 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); 340 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); 341 memcpy(nh->name, name, namelen); 342 endtag = (uint32_t *)((char *)nh + nodelen - FDT_TAGSIZE);
|
H A D | fdt_ro.c | 163 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); local 171 *len = strlen(nh->name); 173 return nh->name;
|
Completed in 40 milliseconds