Lines Matching refs:dc21285_map
139 static struct map_info dc21285_map = { variable
154 dc21285_map.bankwidth = 1; in init_dc21285()
155 dc21285_map.read = dc21285_read8; in init_dc21285()
156 dc21285_map.write = dc21285_write8; in init_dc21285()
157 dc21285_map.copy_to = dc21285_copy_to_8; in init_dc21285()
160 dc21285_map.bankwidth = 2; in init_dc21285()
161 dc21285_map.read = dc21285_read16; in init_dc21285()
162 dc21285_map.write = dc21285_write16; in init_dc21285()
163 dc21285_map.copy_to = dc21285_copy_to_16; in init_dc21285()
166 dc21285_map.bankwidth = 4; in init_dc21285()
167 dc21285_map.read = dc21285_read32; in init_dc21285()
168 dc21285_map.write = dc21285_write32; in init_dc21285()
169 dc21285_map.copy_to = dc21285_copy_to_32; in init_dc21285()
176 dc21285_map.bankwidth*8); in init_dc21285()
179 dc21285_map.virt = ioremap(DC21285_FLASH, 16*1024*1024); in init_dc21285()
180 if (!dc21285_map.virt) { in init_dc21285()
186 dc21285_mtd = do_map_probe("cfi_probe", &dc21285_map); in init_dc21285()
188 dc21285_mtd = do_map_probe("jedec_probe", &dc21285_map); in init_dc21285()
192 iounmap(dc21285_map.virt); in init_dc21285()
222 iounmap(dc21285_map.virt); in cleanup_dc21285()