Lines Matching refs:amd_mtd
60 static struct mtd_info *amd_mtd; variable
228 if ((amd_mtd = do_map_probe("jedec_probe", &nettel_amd_map))) { in nettel_init()
230 (int)(amd_mtd->size>>10)); in nettel_init()
232 amd_mtd->owner = THIS_MODULE; in nettel_init()
236 if (amd_mtd->size < AMD_WINDOW_MAXSIZE) in nettel_init()
279 amd_mtd = NULL; in nettel_init()
393 if (amd_mtd) { in nettel_init()
394 rc = mtd_device_register(amd_mtd, nettel_amd_partitions, in nettel_init()
429 if (amd_mtd) { in nettel_cleanup()
430 mtd_device_unregister(amd_mtd); in nettel_cleanup()
431 map_destroy(amd_mtd); in nettel_cleanup()