Lines Matching refs:mymtd
18 static struct mtd_info *mymtd; variable
77 return mymtd->read(mymtd, from + (unsigned long)mtd->priv, len, retlen, buf); in nora_mtd_read()
82 return mymtd->write(mymtd, to + (unsigned long)mtd->priv, len, retlen, buf); in nora_mtd_write()
88 return mymtd->erase(mymtd, instr); in nora_mtd_erase()
93 mymtd->sync(mymtd); in nora_mtd_sync()
98 return mymtd->suspend(mymtd); in nora_mtd_suspend()
103 mymtd->resume(mymtd); in nora_mtd_resume()
174 mymtd = do_map_probe("cfi_probe", &nora_map); in init_nora()
175 if (mymtd) { in init_nora()
176 mymtd->module = THIS_MODULE; in init_nora()
190 if (mymtd) { in cleanup_nora()
195 map_destroy(mymtd); in cleanup_nora()