Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dvia_wdt.c68 static void __iomem *wdt_mem; variable
77 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()
121 unsigned int ctl = readl(wdt_mem); in wdt_stop()
123 writel(ctl & ~VIA_WDT_RUNNING, wdt_mem); in wdt_stop()
199 wdt_mem = ioremap(mmio, VIA_WDT_MMIO_LEN); in wdt_probe()
200 if (wdt_mem == NULL) { in wdt_probe()
211 if (readl(wdt_mem) & VIA_WDT_FIRED) in wdt_probe()
223 iounmap(wdt_mem); in wdt_probe()
[all …]