Home
last modified time | relevance | path

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

/scripts/dtc/libfdt/
Dfdt.c93 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
100 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
107 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
139 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
163 int nextoffset = 0; in fdt_next_node() local
167 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
168 return nextoffset; in fdt_next_node()
171 offset = nextoffset; in fdt_next_node()
172 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
186 return nextoffset; in fdt_next_node()
[all …]
Dfdt_sw.c219 int offset, nextoffset; in fdt_finish() local
237 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
247 offset = nextoffset; in fdt_finish()
249 if (nextoffset < 0) in fdt_finish()
250 return nextoffset; in fdt_finish()
Dfdt_rw.c227 int nextoffset; in _fdt_add_property() local
231 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property()
232 return nextoffset; in _fdt_add_property()
238 *prop = _fdt_offset_ptr_w(fdt, nextoffset); in _fdt_add_property()
338 int offset, nextoffset; in fdt_add_subnode_namelen() local
353 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
355 offset = nextoffset; in fdt_add_subnode_namelen()
356 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
Dfdt_ro.c111 int nextoffset; in _nextprop() local
114 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
118 if (nextoffset >= 0) in _nextprop()
121 return nextoffset; in _nextprop()
126 offset = nextoffset; in _nextprop()
Dlibfdt.h131 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/scripts/dtc/
Dfdtget.c152 int nextoffset; /* next node offset from libfdt */ in list_subnodes() local
159 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
191 node = nextoffset; in list_subnodes()