Searched refs:flash_mtd (Results 1 – 2 of 2) sorted by relevance
31 static struct mtd_info *flash_mtd; variable64 flash_mtd = do_map_probe("cfi_probe", &cdb89712_flash_map); in init_cdb89712_flash()65 if (!flash_mtd) { in init_cdb89712_flash()66 flash_mtd = do_map_probe("map_rom", &cdb89712_flash_map); in init_cdb89712_flash()67 if (flash_mtd) in init_cdb89712_flash()68 flash_mtd->erasesize = 0x10000; in init_cdb89712_flash()70 if (!flash_mtd) { in init_cdb89712_flash()76 flash_mtd->owner = THIS_MODULE; in init_cdb89712_flash()78 if (mtd_device_register(flash_mtd, NULL, 0)) { in init_cdb89712_flash()87 map_destroy(flash_mtd); in init_cdb89712_flash()[all …]
19 static struct mtd_info *flash_mtd; variable69 flash_mtd = do_map_probe("cfi_probe", &soleng_flash_map); in init_soleng_maps()70 if (!flash_mtd) { in init_soleng_maps()77 flash_mtd = do_map_probe("cfi_probe", &soleng_flash_map); in init_soleng_maps()78 if (!flash_mtd) { in init_soleng_maps()87 flash_mtd->owner = THIS_MODULE; in init_soleng_maps()95 mtd_device_parse_register(flash_mtd, probes, NULL, in init_soleng_maps()108 mtd_device_unregister(flash_mtd); in cleanup_soleng_maps()109 map_destroy(flash_mtd); in cleanup_soleng_maps()