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

/freebsd-10.0-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);
163 int nextoffset = 0; local
167 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0)
168 return nextoffset;
171 offset = nextoffset;
172 tag = fdt_next_tag(fdt, offset, &nextoffset);
186 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_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);
338 int offset, nextoffset; local
353 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */
355 offset = nextoffset;
356 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dfdt_ro.c111 int nextoffset; local
114 tag = fdt_next_tag(fdt, offset, &nextoffset);
118 if (nextoffset >= 0)
121 return nextoffset;
126 offset = nextoffset;
H A Dlibfdt.h131 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/freebsd-10.0-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);
163 int nextoffset = 0; local
167 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0)
168 return nextoffset;
171 offset = nextoffset;
172 tag = fdt_next_tag(fdt, offset, &nextoffset);
186 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_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);
338 int offset, nextoffset; local
353 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */
355 offset = nextoffset;
356 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dfdt_ro.c111 int nextoffset; local
114 tag = fdt_next_tag(fdt, offset, &nextoffset);
118 if (nextoffset >= 0)
121 return nextoffset;
126 offset = nextoffset;
H A Dlibfdt.h131 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/freebsd-10.0-release/sys/dev/ofw/
H A Dofw_fdt.c306 int nextoffset, depth; local
309 tag = fdt_next_tag(fdtp, offset, &nextoffset);
313 offset = nextoffset;
314 tag = fdt_next_tag(fdtp, offset, &nextoffset);
/freebsd-10.0-release/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;

Completed in 144 milliseconds