Home
last modified time | relevance | path

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

/xen/xen/common/libfdt/
A Dfdt.c99 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
106 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
138 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
162 int nextoffset = 0; in fdt_next_node() local
167 return nextoffset; in fdt_next_node()
170 offset = nextoffset; in fdt_next_node()
171 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
185 return nextoffset; in fdt_next_node()
189 if ((nextoffset >= 0) in fdt_next_node()
190 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
[all …]
A Dfdt_sw.c217 int offset, nextoffset; in fdt_finish() local
235 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
245 offset = nextoffset; in fdt_finish()
247 if (nextoffset < 0) in fdt_finish()
248 return nextoffset; in fdt_finish()
A Dfdt_rw.c226 int nextoffset; in _fdt_add_property() local
230 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property()
231 return nextoffset; in _fdt_add_property()
237 *prop = _fdt_offset_ptr_w(fdt, nextoffset); in _fdt_add_property()
337 int offset, nextoffset; in fdt_add_subnode_namelen() local
352 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
354 offset = nextoffset; in fdt_add_subnode_namelen()
355 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
A Dfdt_ro.c109 int nextoffset; in _nextprop() local
112 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
116 if (nextoffset >= 0) in _nextprop()
119 return nextoffset; in _nextprop()
124 offset = nextoffset; in _nextprop()
/xen/xen/include/xen/libfdt/
A Dlibfdt.h129 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);

Completed in 9 milliseconds