Home
last modified time | relevance | path

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

/linux/drivers/watchdog/
A Dtegra_wdt.c61 void __iomem *wdt_regs; member
103 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()
A Dsunxi_wdt.c57 const struct sunxi_wdt_reg *wdt_regs; member
88 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_restart()
125 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_ping()
137 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_set_timeout()
160 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_stop()
172 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_start()
258 sunxi_wdt->wdt_regs = of_device_get_match_data(dev); in sunxi_wdt_probe()
259 if (!sunxi_wdt->wdt_regs) in sunxi_wdt_probe()

Completed in 6 milliseconds