Lines Matching refs:wdt_mode
46 u8 wdt_mode; member
98 val = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
102 writel(val, wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
112 val = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
115 writel(val, wdt_base + regs->wdt_mode); in sunxi_wdt_restart()
144 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(regs->wdt_key_val, wdt_base + regs->wdt_mode); in sunxi_wdt_stop()
187 reg = readl(wdt_base + regs->wdt_mode); in sunxi_wdt_start()
190 writel(reg, wdt_base + regs->wdt_mode); in sunxi_wdt_start()
214 .wdt_mode = 0x04,
223 .wdt_mode = 0x18,
232 .wdt_mode = 0x18,