Home
last modified time | relevance | path

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

/drivers/mfd/
Dmcp-sa11x0.c156 struct resource *mem0, *mem1; in mcp_sa11x0_probe() local
164 mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); in mcp_sa11x0_probe()
166 if (!mem0 || !mem1) in mcp_sa11x0_probe()
169 if (!request_mem_region(mem0->start, resource_size(mem0), in mcp_sa11x0_probe()
195 m->base0 = ioremap(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe()
231 release_mem_region(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe()
240 struct resource *mem0, *mem1; in mcp_sa11x0_remove() local
246 mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); in mcp_sa11x0_remove()
254 release_mem_region(mem0->start, resource_size(mem0)); in mcp_sa11x0_remove()