Home
last modified time | relevance | path

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

/DragonStub/apps/lib/libfdt/
H A Dfdt.c163 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
170 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
177 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
220 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
250 int nextoffset = 0; in fdt_next_node() local
254 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
255 return nextoffset; in fdt_next_node()
258 offset = nextoffset; in fdt_next_node()
259 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
273 return nextoffset; in fdt_next_node()
[all …]
H A 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()
H A 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()
H A 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_()
H A Dlibfdt.h127 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);