Lines Matching refs:mymtd
36 static struct mtd_info *mymtd; variable
148 mymtd = 0; in init_edb7312nor()
150 for(; !mymtd && *type; type++) { in init_edb7312nor()
151 mymtd = do_map_probe(*type, &edb7312nor_map); in init_edb7312nor()
153 if (mymtd) { in init_edb7312nor()
154 mymtd->module = THIS_MODULE; in init_edb7312nor()
158 mtd_parts_nb = parse_cmdline_partitions(mymtd, &mtd_parts, MTDID); in init_edb7312nor()
169 add_mtd_device(mymtd); in init_edb7312nor()
176 add_mtd_partitions(mymtd, mtd_parts, mtd_parts_nb); in init_edb7312nor()
187 if (mymtd) { in cleanup_edb7312nor()
188 del_mtd_device(mymtd); in cleanup_edb7312nor()
189 map_destroy(mymtd); in cleanup_edb7312nor()