Lines Matching refs:ndepth
758 int off, ndepth; in fdt_del_subnodes() local
761 for (ndepth = 0, off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_subnodes()
762 (off >= 0) && (ndepth > 0); in fdt_del_subnodes()
763 off = fdt_next_node(blob, off, &ndepth)) { in fdt_del_subnodes()
764 if (ndepth == 1) { in fdt_del_subnodes()
773 ndepth = 0; in fdt_del_subnodes()
784 int ndepth = 0; in fdt_del_partitions() local
788 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_partitions()
789 if (off > 0 && ndepth == 1) { in fdt_del_partitions()
814 int off, ndepth = 0; in fdt_node_set_part_info() local
834 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_node_set_part_info()
835 if (off > 0 && ndepth == 1) in fdt_node_set_part_info()