Lines Matching defs:res
195 struct resource *res;
198 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
199 if (!res)
202 if (!request_mem_region(res->start, resource_size(res), "at91_i2c"))
205 twi_base = ioremap(res->start, resource_size(res));
254 release_mem_region(res->start, resource_size(res));
262 struct resource *res;
268 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
270 release_mem_region(res->start, resource_size(res));