Lines Matching defs:res
119 struct resource *res;
128 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
129 if (!res)
132 if (!request_mem_region(res->start, resource_size(res), "IDE"))
164 release_mem_region(res->start, resource_size(res));
171 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
174 release_mem_region(res->start, resource_size(res));