Home
last modified time | relevance | path

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

/optee_os/core/lib/libfdt/
A Dfdt.c138 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
145 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
180 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
204 int nextoffset = 0; in fdt_next_node() local
209 return nextoffset; in fdt_next_node()
212 offset = nextoffset; in fdt_next_node()
213 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
227 return nextoffset; in fdt_next_node()
231 if ((nextoffset >= 0) in fdt_next_node()
232 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
[all …]
A Dfdt_rw.c192 int nextoffset; in fdt_add_property_() local
197 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
198 return nextoffset; in fdt_add_property_()
204 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_()
322 int offset, nextoffset; in fdt_add_subnode_namelen() local
337 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
339 offset = nextoffset; in fdt_add_subnode_namelen()
340 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
A Dfdt_ro.c190 int nextoffset; in nextprop_() local
193 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
197 if (nextoffset >= 0) in nextprop_()
200 return nextoffset; in nextprop_()
205 offset = nextoffset; in nextprop_()
841 int offset, nextoffset = 0; in fdt_check_full() local
860 offset = nextoffset; in fdt_check_full()
861 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_check_full()
863 if (nextoffset < 0) in fdt_check_full()
864 return nextoffset; in fdt_check_full()
A Dfdt_sw.c335 int offset, nextoffset; in fdt_finish() local
353 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
363 offset = nextoffset; in fdt_finish()
365 if (nextoffset < 0) in fdt_finish()
366 return nextoffset; in fdt_finish()
/optee_os/core/lib/libfdt/include/
A Dlibfdt.h118 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);

Completed in 9 milliseconds