Lines Matching defs:map
13 #include <linux/mtd/map.h>
29 static map_word __xipram bt1_rom_map_read(struct map_info *map,
32 void __iomem *src = map->virt + ofs;
48 if (ofs + shift >= map->size)
57 static void __xipram bt1_rom_map_copy_from(struct map_info *map,
61 void __iomem *src = map->virt + from;
65 if (len <= 0 || from >= map->size)
68 /* Make sure we don't go over the map limit. */
69 len = min_t(ssize_t, map->size - from, len);
103 struct map_info *map)
118 if (map->bankwidth != 4)
121 map->read = bt1_rom_map_read;
122 map->copy_from = bt1_rom_map_copy_from;