Searched refs:nextoffset (Results 1 – 6 of 6) sorted by relevance
/scripts/dtc/libfdt/ |
D | fdt.c | 94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument 101 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag() 108 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag() 140 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag() 164 int nextoffset = 0; in fdt_next_node() local 168 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node() 169 return nextoffset; in fdt_next_node() 172 offset = nextoffset; in fdt_next_node() 173 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node() 187 return nextoffset; in fdt_next_node() [all …]
|
D | fdt_sw.c | 251 int offset, nextoffset; in fdt_finish() local 269 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish() 279 offset = nextoffset; in fdt_finish() 281 if (nextoffset < 0) in fdt_finish() 282 return nextoffset; in fdt_finish()
|
D | fdt_rw.c | 225 int nextoffset; in _fdt_add_property() local 229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0) in _fdt_add_property() 230 return nextoffset; in _fdt_add_property() 236 *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()
|
D | fdt_ro.c | 137 int nextoffset; in _nextprop() local 140 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop() 144 if (nextoffset >= 0) in _nextprop() 147 return nextoffset; in _nextprop() 152 offset = nextoffset; in _nextprop()
|
D | libfdt.h | 154 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
|
/scripts/dtc/ |
D | fdtget.c | 152 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()
|