Lines Matching refs:depth
43 int depth = -1; in fdt_find_regions() local
78 depth++; in fdt_find_regions()
79 if (depth == FDT_MAX_DEPTH) in fdt_find_regions()
88 stack[depth] = want; in fdt_find_regions()
102 want = stack[depth--]; in fdt_find_regions()
295 static int fdt_include_supernodes(struct fdt_region_state *info, int depth) in fdt_include_supernodes() argument
307 for (i = 0; i <= depth; i++) { in fdt_include_supernodes()
356 p->depth = -1; in fdt_first_region()
527 p.depth++; in fdt_next_region()
528 if (p.depth == FDT_MAX_DEPTH) in fdt_next_region()
539 info->stack[p.depth].want = p.want; in fdt_next_region()
540 info->stack[p.depth].offset = offset; in fdt_next_region()
577 info->stack[p.depth].included = include; in fdt_next_region()
582 if (p.depth < 0) in fdt_next_region()
591 p.want = info->stack[p.depth].want; in fdt_next_region()
592 p.depth--; in fdt_next_region()
609 if (fdt_include_supernodes(info, p.depth)) in fdt_next_region()