Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/libfdt/
H A Dfdt.c93 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset) in fdt_next_tag() argument
126 if (nextoffset) in fdt_next_tag()
127 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
143 int nextoffset = 0; in fdt_next_node() local
147 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
148 return nextoffset; in fdt_next_node()
151 offset = nextoffset; in fdt_next_node()
152 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
H A 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()
311 int offset, nextoffset; in fdt_add_subnode_namelen() local
326 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
328 offset = nextoffset; in fdt_add_subnode_namelen()
329 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
H A Dfdt_wip.c101 int offset, nextoffset; in _fdt_node_end_offset() local
103 tag = fdt_next_tag(fdt, nodeoffset, &nextoffset); in _fdt_node_end_offset()
107 offset = nextoffset; in _fdt_node_end_offset()
108 tag = fdt_next_tag(fdt, offset, &nextoffset); in _fdt_node_end_offset()
131 return nextoffset; in _fdt_node_end_offset()
H A Dfdt_ro.c188 int offset, nextoffset; in fdt_get_property() local
195 nextoffset = err; in fdt_get_property()
197 offset = nextoffset; in fdt_get_property()
199 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_get_property()
H A Dfdt_sw.c219 int offset, nextoffset; in fdt_finish() local
237 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
250 offset = nextoffset; in fdt_finish()
H A Dlibfdt_internal.h65 uint32_t _fdt_next_tag(const void *fdt, int startoffset, int *nextoffset);
H A Dlibfdt.h131 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);