Home
last modified time | relevance | path

Searched refs:nextoffset (Results 1 – 6 of 6) sorted by relevance

/scripts/dtc/libfdt/
Dfdt.c162 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
169 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
176 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
219 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
249 int nextoffset = 0; in fdt_next_node() local
253 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
254 return nextoffset; in fdt_next_node()
257 offset = nextoffset; in fdt_next_node()
258 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
272 return nextoffset; in fdt_next_node()
[all …]
Dfdt_rw.c206 int nextoffset; in fdt_add_property_() local
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
212 return nextoffset; in fdt_add_property_()
218 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_()
337 int offset, nextoffset; in fdt_add_subnode_namelen() local
352 tag = fdt_next_tag(fdt, parentoffset, &nextoffset); in fdt_add_subnode_namelen()
357 offset = nextoffset; in fdt_add_subnode_namelen()
358 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
Dfdt_sw.c343 int offset, nextoffset; in fdt_finish() local
361 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
371 offset = nextoffset; in fdt_finish()
373 if (nextoffset < 0) in fdt_finish()
374 return nextoffset; in fdt_finish()
Dfdt_ro.c204 int nextoffset; in nextprop_() local
207 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
211 if (nextoffset >= 0) in nextprop_()
214 return nextoffset; in nextprop_()
219 offset = nextoffset; in nextprop_()
Dlibfdt.h127 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/scripts/dtc/
Dfdtget.c138 int nextoffset; /* next node offset from libfdt */ in list_subnodes() local
145 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
177 node = nextoffset; in list_subnodes()