Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/watchdog/
Dsunxi_wdt.c47 u8 wdt_mode; member
97 val = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
100 writel(val, wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
110 val = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
112 writel(val, wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
141 reg = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_set_timeout()
144 writel(reg, wdt_base + regs->wdt_mode); in sunxi_wdt_set_timeout()
157 writel(0, wdt_base + regs->wdt_mode); in sunxi_wdt_stop()
182 reg = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_start()
184 writel(reg, wdt_base + regs->wdt_mode); in sunxi_wdt_start()
[all …]
/Linux-v5.4/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c92 u8 wdt_mode; member
437 gpt->wdt_mode |= MPC52xx_GPT_IS_WDT; in mpc52xx_gpt_do_start()
438 else if ((gpt->wdt_mode & MPC52xx_GPT_IS_WDT) != 0) { in mpc52xx_gpt_do_start()
476 if ((gpt->wdt_mode & MPC52xx_GPT_IS_WDT) != 0) { in mpc52xx_gpt_stop_timer()
640 gpt_wdt->wdt_mode &= ~MPC52xx_GPT_IS_WDT; in mpc52xx_wdt_release()
743 gpt->wdt_mode = MPC52xx_GPT_CAN_WDT; in mpc52xx_gpt_probe()
748 gpt->wdt_mode |= MPC52xx_GPT_IS_WDT; in mpc52xx_gpt_probe()