Home
last modified time | relevance | path

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

/scripts/dtc/libfdt/
Dfdt.c126 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
133 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
140 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
175 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
199 int nextoffset = 0; in fdt_next_node() local
203 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
204 return nextoffset; in fdt_next_node()
207 offset = nextoffset; in fdt_next_node()
208 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
222 return nextoffset; in fdt_next_node()
[all …]
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()
Dfdt_ro.c189 int nextoffset; in nextprop_() local
192 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
196 if (nextoffset >= 0) in nextprop_()
199 return nextoffset; in nextprop_()
204 offset = nextoffset; in nextprop_()
840 int offset, nextoffset = 0; in fdt_check_full() local
859 offset = nextoffset; in fdt_check_full()
860 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_check_full()
862 if (nextoffset < 0) in fdt_check_full()
863 return nextoffset; in fdt_check_full()
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()
Dlibfdt.h118 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()