Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/maps/
H A Dscx200_docflash.c72 static struct map_info scx200_docflash_map = { variable
170 scx200_docflash_map.size = size; in init_scx200_docflash()
172 scx200_docflash_map.bankwidth = 1; in init_scx200_docflash()
174 scx200_docflash_map.bankwidth = 2; in init_scx200_docflash()
176 simple_map_init(&scx200_docflash_map); in init_scx200_docflash()
178 scx200_docflash_map.phys = docmem.start; in init_scx200_docflash()
179 scx200_docflash_map.virt = ioremap(docmem.start, scx200_docflash_map.size); in init_scx200_docflash()
180 if (!scx200_docflash_map.virt) { in init_scx200_docflash()
189 iounmap(scx200_docflash_map.virt); in init_scx200_docflash()
212 if (scx200_docflash_map.virt) { in cleanup_scx200_docflash()
[all …]