Lines Matching defs:res
64 int res;
70 res = !!(inb(gpio_ba + offset) & (1 << bit));
71 return res;
189 struct resource *res;
192 res = platform_get_resource(pdev, IORESOURCE_IO, 0);
193 if (!res)
196 if (!request_region(res->start, resource_size(res), pdev->name))
199 gpio_ba = res->start;
238 release_region(res->start, resource_size(res));
246 struct resource *res;
259 res = platform_get_resource(pdev, IORESOURCE_IO, 0);
261 release_region(res->start, resource_size(res));