Searched refs:mem0 (Results 1 – 1 of 1) sorted by relevance
/drivers/mfd/ |
D | mcp-sa11x0.c | 160 struct resource *mem0, *mem1; in mcp_sa11x0_probe() local 168 mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); in mcp_sa11x0_probe() 170 if (!mem0 || !mem1) in mcp_sa11x0_probe() 173 if (!request_mem_region(mem0->start, resource_size(mem0), in mcp_sa11x0_probe() 199 m->base0 = ioremap(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe() 237 release_mem_region(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe() 246 struct resource *mem0, *mem1; in mcp_sa11x0_remove() local 252 mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); in mcp_sa11x0_remove() 261 release_mem_region(mem0->start, resource_size(mem0)); in mcp_sa11x0_remove()
|