Home | History | Annotate | Download | only in dist

Lines Matching defs:depth

204 int fdt_next_node(const void *fdt, int offset, int *depth)
223 if (depth)
224 (*depth)++;
228 if (depth && ((--(*depth)) < 0))
234 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth))
246 int depth = 0;
248 offset = fdt_next_node(fdt, offset, &depth);
249 if (offset < 0 || depth != 1)
257 int depth = 1;
260 * With respect to the parent, the depth of the next subnode will be
264 offset = fdt_next_node(fdt, offset, &depth);
265 if (offset < 0 || depth < 1)
267 } while (depth > 1);