Searched refs:mtd_table (Results 1 – 1 of 1) sorted by relevance
28 static struct mtd_info *mtd_table[MAX_MTD_DEVICES]; variable48 if (!mtd_table[i]) in add_mtd_device()52 mtd_table[i] = mtd; in add_mtd_device()88 if (mtd_table[i] == mtd) in del_mtd_device()95 mtd_table[i] = NULL; in del_mtd_device()127 if (mtd_table[i]) in register_mtd_user()128 new->add(mtd_table[i]); in register_mtd_user()158 if (mtd_table[i]) in unregister_mtd_user()159 old->remove(mtd_table[i]); in unregister_mtd_user()193 if (mtd_table[i] == mtd) in __get_mtd_device()[all …]