Searched refs:wdt_regs (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/arch/arm/mach-picoxcell/
H A Dcommon.c26 static void __iomem *wdt_regs; variable
39 wdt_regs = of_iomap(np, 0); picoxcell_setup_restart()
40 WARN(!wdt_regs, "failed to remap watchdog regs"); picoxcell_setup_restart()
73 if (wdt_regs) { picoxcell_wdt_restart()
74 writel_relaxed(WDT_CTRL_REG_EN_MASK, wdt_regs + WDT_CTRL_REG_OFFS); picoxcell_wdt_restart()
75 writel_relaxed(0, wdt_regs + WDT_TIMEOUT_REG_OFFS); picoxcell_wdt_restart()
/linux-4.1.27/arch/arm/mach-bcm/
H A Dboard_bcm2835.c38 static void __iomem *wdt_regs; variable
51 wdt_regs = of_iomap(np, 0); bcm2835_setup_restart()
52 WARN(!wdt_regs, "failed to remap watchdog regs"); bcm2835_setup_restart()
59 if (!wdt_regs) bcm2835_restart()
63 writel_relaxed(10 | PM_PASSWORD, wdt_regs + PM_WDOG); bcm2835_restart()
64 val = readl_relaxed(wdt_regs + PM_RSTC); bcm2835_restart()
67 writel_relaxed(val, wdt_regs + PM_RSTC); bcm2835_restart()
87 val = readl_relaxed(wdt_regs + PM_RSTS); bcm2835_power_off()
90 writel_relaxed(val, wdt_regs + PM_RSTS); bcm2835_power_off()
113 if (wdt_regs) bcm2835_init()
/linux-4.1.27/drivers/watchdog/
H A Dtegra_wdt.c69 void __iomem *wdt_regs; member in struct:tegra_wdt
111 writel(val, wdt->wdt_regs + WDT_CFG); tegra_wdt_start()
113 writel(WDT_CMD_START_COUNTER, wdt->wdt_regs + WDT_CMD); tegra_wdt_start()
122 writel(WDT_UNLOCK_PATTERN, wdt->wdt_regs + WDT_UNLOCK); tegra_wdt_stop()
123 writel(WDT_CMD_DISABLE_COUNTER, wdt->wdt_regs + WDT_CMD); tegra_wdt_stop()
133 writel(WDT_CMD_START_COUNTER, wdt->wdt_regs + WDT_CMD); tegra_wdt_ping()
156 val = readl(wdt->wdt_regs + WDT_STS); tegra_wdt_get_timeleft()
211 wdt->wdt_regs = regs + WDT_BASE; tegra_wdt_probe()
H A Dsunxi_wdt.c62 const struct sunxi_wdt_reg *wdt_regs; member in struct:sunxi_wdt_dev
96 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_restart_handle()
130 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt_ping()
142 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt_set_timeout()
164 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt_stop()
176 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; sunxi_wdt_start()
255 sunxi_wdt->wdt_regs = device->data; sunxi_wdt_probe()

Completed in 211 milliseconds