Searched refs:wdt_mem (Results 1 – 2 of 2) sorted by relevance
68 static void __iomem *wdt_mem; variable77 unsigned int ctl = readl(wdt_mem); in wdt_reset()79 writel(ctl | VIA_WDT_TRIGGER, wdt_mem); in wdt_reset()110 unsigned int ctl = readl(wdt_mem); in wdt_start()112 writel(wdd->timeout, wdt_mem + VIA_WDT_COUNT); in wdt_start()113 writel(ctl | VIA_WDT_RUNNING | VIA_WDT_TRIGGER, wdt_mem); in wdt_start()121 unsigned int ctl = readl(wdt_mem); in wdt_stop()123 writel(ctl & ~VIA_WDT_RUNNING, wdt_mem); in wdt_stop()130 writel(new_timeout, wdt_mem + VIA_WDT_COUNT); in wdt_set_timeout()199 wdt_mem = ioremap(mmio, VIA_WDT_MMIO_LEN); in wdt_probe()[all …]
197 struct resource *wdt_mem; in rti_wdt_probe() local247 wdt_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); in rti_wdt_probe()248 wdt->base = devm_ioremap_resource(dev, wdt_mem); in rti_wdt_probe()