Searched refs:wdt_regs (Results 1 – 3 of 3) sorted by relevance
22 static void __iomem *wdt_regs; variable35 wdt_regs = of_iomap(np, 0); in picoxcell_setup_restart()36 WARN(!wdt_regs, "failed to remap watchdog regs"); in picoxcell_setup_restart()68 if (wdt_regs) { in picoxcell_wdt_restart()69 writel_relaxed(WDT_CTRL_REG_EN_MASK, wdt_regs + WDT_CTRL_REG_OFFS); in picoxcell_wdt_restart()70 writel_relaxed(0, wdt_regs + WDT_TIMEOUT_REG_OFFS); in picoxcell_wdt_restart()
61 void __iomem *wdt_regs; member103 writel(val, wdt->wdt_regs + WDT_CFG); in tegra_wdt_start()105 writel(WDT_CMD_START_COUNTER, wdt->wdt_regs + WDT_CMD); in tegra_wdt_start()114 writel(WDT_UNLOCK_PATTERN, wdt->wdt_regs + WDT_UNLOCK); in tegra_wdt_stop()115 writel(WDT_CMD_DISABLE_COUNTER, wdt->wdt_regs + WDT_CMD); in tegra_wdt_stop()125 writel(WDT_CMD_START_COUNTER, wdt->wdt_regs + WDT_CMD); in tegra_wdt_ping()150 val = readl(wdt->wdt_regs + WDT_STS); in tegra_wdt_get_timeleft()204 wdt->wdt_regs = regs + WDT_BASE; in tegra_wdt_probe()
56 const struct sunxi_wdt_reg *wdt_regs; member87 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_restart()121 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_ping()133 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_set_timeout()155 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_stop()167 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_start()240 sunxi_wdt->wdt_regs = of_device_get_match_data(dev); in sunxi_wdt_probe()241 if (!sunxi_wdt->wdt_regs) in sunxi_wdt_probe()