Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mtd/maps/ !
Dceiva.c115 static int __init clps_setup_mtd(struct clps_info *clps, int nr, struct mtd_info **rmtd) in clps_setup_mtd() argument
131 if (clps[i].base == (unsigned long)-1) in clps_setup_mtd()
134 clps[i].res = request_mem_region(clps[i].base, clps[i].size, "clps flash"); in clps_setup_mtd()
135 if (!clps[i].res) { in clps_setup_mtd()
140 clps[i].map = maps + i; in clps_setup_mtd()
142 clps[i].map->name = "clps flash"; in clps_setup_mtd()
143 clps[i].map->phys = clps[i].base; in clps_setup_mtd()
145 clps[i].vbase = ioremap(clps[i].base, clps[i].size); in clps_setup_mtd()
146 if (!clps[i].vbase) { in clps_setup_mtd()
151 clps[i].map->virt = (void __iomem *)clps[i].vbase; in clps_setup_mtd()
[all …]