Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/watchdog/
Dsunxi_wdt.c51 u8 wdt_mode; member
101 val = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
104 writel(val, wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
114 val = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
116 writel(val, wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
145 reg = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_set_timeout()
148 writel(reg, wdt_base + regs->wdt_mode); in sunxi_wdt_set_timeout()
161 writel(0, wdt_base + regs->wdt_mode); in sunxi_wdt_stop()
186 reg = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_start()
188 writel(reg, wdt_base + regs->wdt_mode); in sunxi_wdt_start()
[all …]
/Linux-v4.19/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c96 u8 wdt_mode; member
441 gpt->wdt_mode |= MPC52xx_GPT_IS_WDT; in mpc52xx_gpt_do_start()
442 else if ((gpt->wdt_mode & MPC52xx_GPT_IS_WDT) != 0) { in mpc52xx_gpt_do_start()
480 if ((gpt->wdt_mode & MPC52xx_GPT_IS_WDT) != 0) { in mpc52xx_gpt_stop_timer()
644 gpt_wdt->wdt_mode &= ~MPC52xx_GPT_IS_WDT; in mpc52xx_wdt_release()
747 gpt->wdt_mode = MPC52xx_GPT_CAN_WDT; in mpc52xx_gpt_probe()
752 gpt->wdt_mode |= MPC52xx_GPT_IS_WDT; in mpc52xx_gpt_probe()