Searched refs:nextoffset (Results 1 - 11 of 11) sorted by path

/freebsd-11-stable/contrib/dtc/
H A Dfdtget.c152 int nextoffset; /* next node offset from libfdt */ local
159 tag = fdt_next_tag(blob, node, &nextoffset);
191 node = nextoffset;
/freebsd-11-stable/contrib/dtc/libfdt/
H A Dfdt.c94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) argument
101 *nextoffset = -FDT_ERR_TRUNCATED;
108 *nextoffset = -FDT_ERR_BADSTRUCTURE;
140 *nextoffset = FDT_TAGALIGN(offset);
164 int nextoffset = 0; local
168 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0)
169 return nextoffset;
172 offset = nextoffset;
173 tag = fdt_next_tag(fdt, offset, &nextoffset);
187 return nextoffset;
[all...]
H A Dfdt_ro.c137 int nextoffset; local
140 tag = fdt_next_tag(fdt, offset, &nextoffset);
144 if (nextoffset >= 0)
147 return nextoffset;
152 offset = nextoffset;
H A Dfdt_rw.c225 int nextoffset; local
229 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
230 return nextoffset;
236 *prop = _fdt_offset_ptr_w(fdt, nextoffset);
337 int offset, nextoffset; local
352 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */
354 offset = nextoffset;
355 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dfdt_sw.c251 int offset, nextoffset; local
269 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
279 offset = nextoffset;
281 if (nextoffset < 0)
282 return nextoffset;
H A Dlibfdt.h152 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/freebsd-11-stable/sys/contrib/libfdt/
H A Dfdt.c94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) argument
101 *nextoffset = -FDT_ERR_TRUNCATED;
108 *nextoffset = -FDT_ERR_BADSTRUCTURE;
143 *nextoffset = FDT_TAGALIGN(offset);
167 int nextoffset = 0; local
171 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0)
172 return nextoffset;
175 offset = nextoffset;
176 tag = fdt_next_tag(fdt, offset, &nextoffset);
190 return nextoffset;
[all...]
H A Dfdt_ro.c138 int nextoffset; local
141 tag = fdt_next_tag(fdt, offset, &nextoffset);
145 if (nextoffset >= 0)
148 return nextoffset;
153 offset = nextoffset;
H A Dfdt_rw.c225 int nextoffset; local
229 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
230 return nextoffset;
236 *prop = fdt_offset_ptr_w_(fdt, nextoffset);
351 int offset, nextoffset; local
366 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */
368 offset = nextoffset;
369 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dfdt_sw.c263 int offset, nextoffset; local
281 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
291 offset = nextoffset;
293 if (nextoffset < 0)
294 return nextoffset;
H A Dlibfdt.h154 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);

Completed in 126 milliseconds