Home
last modified time | relevance | path

Searched refs:wdt_mem (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/watchdog/
Ddavinci_wdt.c72 static struct resource *wdt_mem; variable
218 wdt_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in davinci_wdt_probe()
219 if (wdt_mem == NULL) { in davinci_wdt_probe()
224 size = resource_size(wdt_mem); in davinci_wdt_probe()
225 if (!request_mem_region(wdt_mem->start, size, pdev->name)) { in davinci_wdt_probe()
230 wdt_base = ioremap(wdt_mem->start, size); in davinci_wdt_probe()
233 release_mem_region(wdt_mem->start, size); in davinci_wdt_probe()
234 wdt_mem = NULL; in davinci_wdt_probe()
241 release_mem_region(wdt_mem->start, size); in davinci_wdt_probe()
242 wdt_mem = NULL; in davinci_wdt_probe()
[all …]
Dpnx4008_wdt.c92 static struct resource *wdt_mem; variable
264 wdt_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in pnx4008_wdt_probe()
265 if (wdt_mem == NULL) { in pnx4008_wdt_probe()
271 size = resource_size(wdt_mem); in pnx4008_wdt_probe()
273 if (!request_mem_region(wdt_mem->start, size, pdev->name)) { in pnx4008_wdt_probe()
277 wdt_base = (void __iomem *)IO_ADDRESS(wdt_mem->start); in pnx4008_wdt_probe()
282 release_mem_region(wdt_mem->start, size); in pnx4008_wdt_probe()
283 wdt_mem = NULL; in pnx4008_wdt_probe()
289 release_mem_region(wdt_mem->start, size); in pnx4008_wdt_probe()
290 wdt_mem = NULL; in pnx4008_wdt_probe()
[all …]
Dmax63xx_wdt.c54 static struct resource *wdt_mem; variable
296 wdt_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in max63xx_wdt_probe()
297 if (wdt_mem == NULL) { in max63xx_wdt_probe()
302 size = resource_size(wdt_mem); in max63xx_wdt_probe()
303 if (!request_mem_region(wdt_mem->start, size, pdev->name)) { in max63xx_wdt_probe()
308 wdt_base = ioremap(wdt_mem->start, size); in max63xx_wdt_probe()
326 release_mem_region(wdt_mem->start, size); in max63xx_wdt_probe()
327 wdt_mem = NULL; in max63xx_wdt_probe()
335 if (wdt_mem) { in max63xx_wdt_remove()
336 release_mem_region(wdt_mem->start, resource_size(wdt_mem)); in max63xx_wdt_remove()
[all …]
Ds3c2410_wdt.c79 static struct resource *wdt_mem; variable
418 wdt_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in s3c2410wdt_probe()
419 if (wdt_mem == NULL) { in s3c2410wdt_probe()
424 size = resource_size(wdt_mem); in s3c2410wdt_probe()
425 if (!request_mem_region(wdt_mem->start, size, pdev->name)) { in s3c2410wdt_probe()
430 wdt_base = ioremap(wdt_mem->start, size); in s3c2410wdt_probe()
525 release_mem_region(wdt_mem->start, size); in s3c2410wdt_probe()
526 wdt_mem = NULL; in s3c2410wdt_probe()
546 release_mem_region(wdt_mem->start, resource_size(wdt_mem)); in s3c2410wdt_remove()
547 wdt_mem = NULL; in s3c2410wdt_remove()