Lines Matching refs:depth

290 	int offset = 0, depth = 0, initial_depth = 0;  in unflatten_dt_nodes()  local
308 depth = initial_depth = 1; in unflatten_dt_nodes()
311 nps[depth] = dad; in unflatten_dt_nodes()
314 offset >= 0 && depth >= initial_depth; in unflatten_dt_nodes()
315 offset = fdt_next_node(blob, offset, &depth)) { in unflatten_dt_nodes()
316 if (WARN_ON_ONCE(depth >= FDT_MAX_DEPTH)) in unflatten_dt_nodes()
323 ret = populate_node(blob, offset, &mem, nps[depth], in unflatten_dt_nodes()
324 &nps[depth+1], dryrun); in unflatten_dt_nodes()
329 *nodepp = nps[depth+1]; in unflatten_dt_nodes()
331 root = nps[depth+1]; in unflatten_dt_nodes()
568 int depth, void *data) in __fdt_scan_reserved_mem() argument
573 if (!found && depth == 1 && strcmp(uname, "reserved-memory") == 0) { in __fdt_scan_reserved_mem()
585 } else if (found && depth < 2) { in __fdt_scan_reserved_mem()
677 const char *uname, int depth, in of_scan_flat_dt() argument
683 int offset, rc = 0, depth = -1; in of_scan_flat_dt() local
688 for (offset = fdt_next_node(blob, -1, &depth); in of_scan_flat_dt()
689 offset >= 0 && depth >= 0 && !rc; in of_scan_flat_dt()
690 offset = fdt_next_node(blob, offset, &depth)) { in of_scan_flat_dt()
693 rc = it(offset, pathp, depth, data); in of_scan_flat_dt()
833 int depth; member
835 int (*iterator)(unsigned long node, const char *uname, int depth, void *data);
1050 int depth, void *data) in early_init_dt_scan_root() argument
1054 if (depth != 0) in early_init_dt_scan_root()
1086 int depth, void *data) in early_init_dt_scan_memory() argument
1132 int depth, void *data) in early_init_dt_scan_chosen() argument
1138 pr_debug("search \"chosen\", depth: %d, uname: %s\n", depth, uname); in early_init_dt_scan_chosen()
1140 if (depth != 1 || !data || in early_init_dt_scan_chosen()