Lines Matching defs:map
13 #include <linux/mtd/map.h>
30 static map_word __xipram bt1_rom_map_read(struct map_info *map,
33 void __iomem *src = map->virt + ofs;
49 if (ofs + shift >= map->size)
58 static void __xipram bt1_rom_map_copy_from(struct map_info *map,
62 void __iomem *src = map->virt + from;
66 if (len <= 0 || from >= map->size)
69 /* Make sure we don't go over the map limit. */
70 len = min_t(ssize_t, map->size - from, len);
104 struct map_info *map)
119 if (map->bankwidth != 4)
122 map->read = bt1_rom_map_read;
123 map->copy_from = bt1_rom_map_copy_from;