Searched refs:intel_mtd (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/maps/
H A Dnettel.c57 static struct mtd_info *intel_mtd; variable in typeref:struct:mtd_info
313 intel_mtd = do_map_probe("cfi_probe", &nettel_intel_map); nettel_init()
314 if (!intel_mtd) { nettel_init()
320 intel0size = intel_mtd->size; nettel_init()
334 map_destroy(intel_mtd); nettel_init()
335 intel_mtd = NULL; nettel_init()
346 intel_mtd = do_map_probe("cfi_probe", &nettel_intel_map); nettel_init()
347 if (! intel_mtd) { nettel_init()
352 intel1size = intel_mtd->size - intel0size; nettel_init()
361 (unsigned long long)(intel_mtd->size >> 10)); nettel_init()
363 intel_mtd->owner = THIS_MODULE; nettel_init()
373 (1024*1024 + intel_mtd->erasesize); nettel_init()
376 (intel0size + intel1size) - intel_mtd->erasesize; nettel_init()
377 nettel_intel_partitions[4].size = intel_mtd->erasesize; nettel_init()
386 rc = mtd_device_register(intel_mtd, nettel_intel_partitions, nettel_init()
407 mtd_device_unregister(intel_mtd); nettel_init()
409 map_destroy(intel_mtd); nettel_init()
441 if (intel_mtd) { nettel_cleanup()
442 mtd_device_unregister(intel_mtd); nettel_cleanup()
443 map_destroy(intel_mtd); nettel_cleanup()

Completed in 60 milliseconds