Lines Matching refs:ndepth
734 int off, ndepth; in fdt_del_subnodes() local
737 for (ndepth = 0, off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_subnodes()
738 (off >= 0) && (ndepth > 0); in fdt_del_subnodes()
739 off = fdt_next_node(blob, off, &ndepth)) { in fdt_del_subnodes()
740 if (ndepth == 1) { in fdt_del_subnodes()
749 ndepth = 0; in fdt_del_subnodes()
760 int ndepth = 0; in fdt_del_partitions() local
764 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_partitions()
765 if (off > 0 && ndepth == 1) { in fdt_del_partitions()
791 int off, ndepth = 0; in fdt_node_set_part_info() local
803 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_node_set_part_info()
804 if (off > 0 && ndepth == 1) in fdt_node_set_part_info()