Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/watchdog/
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()
Dsunxi_wdt.c56 const struct sunxi_wdt_reg *wdt_regs; member
87 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_restart()
124 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_ping()
136 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_set_timeout()
159 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_stop()
171 const struct sunxi_wdt_reg *regs = sunxi_wdt->wdt_regs; in sunxi_wdt_start()
257 sunxi_wdt->wdt_regs = of_device_get_match_data(dev); in sunxi_wdt_probe()
258 if (!sunxi_wdt->wdt_regs) in sunxi_wdt_probe()