Lines Matching refs:depth
216 int depth;
220 for (depth = 0;
221 (offset >= 0) && (depth >= 0);
222 offset = fdt_next_node(fdt, offset, &depth))
223 if ((depth == 1)
227 if (depth < 0)
526 int offset, depth, namelen;
534 for (offset = 0, depth = 0;
536 offset = fdt_next_node(fdt, offset, &depth)) {
537 while (pdepth > depth) {
544 if (pdepth >= depth) {
557 if (pdepth < (depth + 1))
578 int offset, depth;
586 for (offset = 0, depth = 0;
588 offset = fdt_next_node(fdt, offset, &depth)) {
589 if (depth == supernodedepth)
594 *nodedepth = depth;
596 if (supernodedepth > depth)
845 unsigned depth = 0;
873 if (depth != 0)
878 depth++;
879 if (depth > INT_MAX)
884 if (depth == 0)
886 depth--;