Lines Matching refs:ndepth
845 int off, ndepth; in fdt_del_subnodes() local
848 for (ndepth = 0, off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_subnodes()
849 (off >= 0) && (ndepth > 0); in fdt_del_subnodes()
850 off = fdt_next_node(blob, off, &ndepth)) { in fdt_del_subnodes()
851 if (ndepth == 1) { in fdt_del_subnodes()
860 ndepth = 0; in fdt_del_subnodes()
871 int ndepth = 0; in fdt_del_partitions() local
875 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_partitions()
876 if (off > 0 && ndepth == 1) { in fdt_del_partitions()
902 int off, ndepth = 0; in fdt_node_set_part_info() local
914 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_node_set_part_info()
915 if (off > 0 && ndepth == 1) in fdt_node_set_part_info()