Lines Matching refs:ndepth
849 int off, ndepth; in fdt_del_subnodes() local
852 for (ndepth = 0, off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_subnodes()
853 (off >= 0) && (ndepth > 0); in fdt_del_subnodes()
854 off = fdt_next_node(blob, off, &ndepth)) { in fdt_del_subnodes()
855 if (ndepth == 1) { in fdt_del_subnodes()
864 ndepth = 0; in fdt_del_subnodes()
875 int ndepth = 0; in fdt_del_partitions() local
879 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_del_partitions()
880 if (off > 0 && ndepth == 1) { in fdt_del_partitions()
906 int off, ndepth = 0; in fdt_node_set_part_info() local
918 off = fdt_next_node(blob, parent_offset, &ndepth); in fdt_node_set_part_info()
919 if (off > 0 && ndepth == 1) in fdt_node_set_part_info()