Home
last modified time | relevance | path

Searched refs:mtd_table (Results 1 – 3 of 3) sorted by relevance

/drivers/mtd/
Dmtdcore.c28 struct mtd_info *mtd_table[MAX_MTD_DEVICES]; variable
31 EXPORT_SYMBOL_GPL(mtd_table);
53 if (!mtd_table[i]) { in add_mtd_device()
56 mtd_table[i] = mtd; in add_mtd_device()
118 if (mtd_table[mtd->index] != mtd) { in del_mtd_device()
132 mtd_table[mtd->index] = NULL; in del_mtd_device()
162 if (mtd_table[i]) in register_mtd_user()
163 new->add(mtd_table[i]); in register_mtd_user()
187 if (mtd_table[i]) in unregister_mtd_user()
188 old->remove(mtd_table[i]); in unregister_mtd_user()
[all …]
Dmtdcore.h11 extern struct mtd_info *mtd_table[MAX_MTD_DEVICES];
Dmtd_blkdevs.c396 if (mtd_table[i] && mtd_table[i]->type != MTD_ABSENT) in register_mtd_blktrans()
397 tr->add_mtd(tr, mtd_table[i]); in register_mtd_blktrans()