Lines Matching defs:flash
4 * Mapping for Ebony user flash
27 static struct mtd_info *flash;
30 .name = "Ebony small flash",
36 .name = "Ebony large flash",
98 printk("Failed to ioremap flash\n");
104 flash = do_map_probe("jedec_probe", &ebony_small_map);
105 if (flash) {
106 flash->owner = THIS_MODULE;
107 add_mtd_partitions(flash, ebony_small_partitions,
110 printk("map probe failed for flash\n");
120 printk("Failed to ioremap flash\n");
127 flash = do_map_probe("jedec_probe", &ebony_large_map);
128 if (flash) {
129 flash->owner = THIS_MODULE;
130 add_mtd_partitions(flash, ebony_large_partitions,
133 printk("map probe failed for flash\n");
144 if (flash) {
145 del_mtd_partitions(flash);
146 map_destroy(flash);