Searched refs:dc21285_map (Results 1 - 1 of 1) sorted by relevance

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

Completed in 52 milliseconds