Lines Matching defs:map
6 * Based on the ixp4xx.c map driver, originally written by:
15 #include <linux/mtd/map.h>
69 static map_word ixp4xx_read16(struct map_info *map, unsigned long ofs)
73 val.x[0] = flash_read16(map->virt + ofs);
82 static void ixp4xx_copy_from(struct map_info *map, void *to,
86 void __iomem *src = map->virt + from;
109 static void ixp4xx_write16(struct map_info *map, map_word d, unsigned long adr)
111 flash_write16(d.x[0], map->virt + adr);
116 struct map_info *map)
124 map->read = ixp4xx_read16;
125 map->write = ixp4xx_write16;
126 map->copy_from = ixp4xx_copy_from;
127 map->copy_to = NULL;