Home
last modified time | relevance | path

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

/drivers/mfd/
Dmcp-sa11x0.c160 struct resource *mem0, *mem1; in mcp_sa11x0_probe() local
169 mem1 = platform_get_resource(dev, IORESOURCE_MEM, 1); in mcp_sa11x0_probe()
170 if (!mem0 || !mem1) in mcp_sa11x0_probe()
179 if (!request_mem_region(mem1->start, resource_size(mem1), in mcp_sa11x0_probe()
200 m->base1 = ioremap(mem1->start, resource_size(mem1)); in mcp_sa11x0_probe()
235 release_mem_region(mem1->start, resource_size(mem1)); in mcp_sa11x0_probe()
246 struct resource *mem0, *mem1; in mcp_sa11x0_remove() local
253 mem1 = platform_get_resource(dev, IORESOURCE_MEM, 1); in mcp_sa11x0_remove()
260 release_mem_region(mem1->start, resource_size(mem1)); in mcp_sa11x0_remove()