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

/freebsd-9.3-release/contrib/dtc/libfdt/
H A Dfdt.c93 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) argument
100 *nextoffset = -FDT_ERR_TRUNCATED;
107 *nextoffset = -FDT_ERR_BADSTRUCTURE;
139 *nextoffset = FDT_TAGALIGN(offset);
154 int nextoffset = 0; local
158 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0)
159 return nextoffset;
162 offset = nextoffset;
163 tag = fdt_next_tag(fdt, offset, &nextoffset);
177 return nextoffset;
[all...]
H A Dfdt_sw.c219 int offset, nextoffset; local
237 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
247 offset = nextoffset;
249 if (nextoffset < 0)
250 return nextoffset;
H A Dfdt_ro.c204 int offset, nextoffset; local
211 nextoffset = err;
213 offset = nextoffset;
215 tag = fdt_next_tag(fdt, offset, &nextoffset);
218 if (nextoffset < 0)
219 err = nextoffset;
H A Dfdt_rw.c227 int nextoffset; local
231 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
232 return nextoffset;
238 *prop = _fdt_offset_ptr_w(fdt, nextoffset);
311 int offset, nextoffset; local
326 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */
328 offset = nextoffset;
329 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dlibfdt.h131 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/freebsd-9.3-release/sys/contrib/libfdt/
H A Dfdt.c93 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) argument
100 *nextoffset = -FDT_ERR_TRUNCATED;
107 *nextoffset = -FDT_ERR_BADSTRUCTURE;
139 *nextoffset = FDT_TAGALIGN(offset);
154 int nextoffset = 0; local
158 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0)
159 return nextoffset;
162 offset = nextoffset;
163 tag = fdt_next_tag(fdt, offset, &nextoffset);
177 return nextoffset;
[all...]
H A Dfdt_sw.c219 int offset, nextoffset; local
237 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
247 offset = nextoffset;
249 if (nextoffset < 0)
250 return nextoffset;
H A Dfdt_ro.c204 int offset, nextoffset; local
211 nextoffset = err;
213 offset = nextoffset;
215 tag = fdt_next_tag(fdt, offset, &nextoffset);
218 if (nextoffset < 0)
219 err = nextoffset;
H A Dfdt_rw.c227 int nextoffset; local
231 if ((nextoffset = _fdt_check_node_offset(fdt, nodeoffset)) < 0)
232 return nextoffset;
238 *prop = _fdt_offset_ptr_w(fdt, nextoffset);
311 int offset, nextoffset; local
326 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */
328 offset = nextoffset;
329 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dlibfdt.h131 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/freebsd-9.3-release/sys/dev/ofw/
H A Dofw_fdt.c291 int nextoffset, depth; local
294 tag = fdt_next_tag(fdtp, offset, &nextoffset);
298 offset = nextoffset;
299 tag = fdt_next_tag(fdtp, offset, &nextoffset);

Completed in 126 milliseconds