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

/linux-4.4.14/drivers/mtd/maps/
H A Dscx200_docflash.c71 static struct map_info scx200_docflash_map = { variable in typeref:struct:map_info
169 scx200_docflash_map.size = size; init_scx200_docflash()
171 scx200_docflash_map.bankwidth = 1; init_scx200_docflash()
173 scx200_docflash_map.bankwidth = 2; init_scx200_docflash()
175 simple_map_init(&scx200_docflash_map); init_scx200_docflash()
177 scx200_docflash_map.phys = docmem.start; init_scx200_docflash()
178 scx200_docflash_map.virt = ioremap(docmem.start, scx200_docflash_map.size); init_scx200_docflash()
179 if (!scx200_docflash_map.virt) { init_scx200_docflash()
185 mymtd = do_map_probe(flashtype, &scx200_docflash_map); init_scx200_docflash()
188 iounmap(scx200_docflash_map.virt); init_scx200_docflash()
211 if (scx200_docflash_map.virt) { cleanup_scx200_docflash()
212 iounmap(scx200_docflash_map.virt); cleanup_scx200_docflash()

Completed in 198 milliseconds