/* gf_write() - write a word at the specified offset @map: MTD map state @ofs: desired offset to write  */
static void gf_write(struct map_info *map, map_word d1, unsigned long ofs)
/* gf_write() - write a word at the specified offset @map: MTD map state @ofs: desired offset to write  */
static void gf_write(struct map_info *map, map_word d1, unsigned long ofs)
{
	struct async_state *state = gf_map_info_to_state(map);
	uint16_t d;
	gf_set_gpios(state, ofs);
	d = d1.x[0];
	writew(d, map->virt + (ofs % state->win_size));
}