Lines Matching defs:res
109 struct resource *res;
112 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
113 if (!res)
128 res = request_mem_region(res->start, resource_size(res),
130 if (!res) {
135 mdev->regs = ioremap(res->start, resource_size(res));
159 release_mem_region(res->start, resource_size(res));
173 struct resource *res;
175 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
180 release_mem_region(res->start, resource_size(res));