Lines Matching refs:wtcon
17 unsigned int wtcon; in wdt_stop() local
19 wtcon = readl(&wdt->wtcon); in wdt_stop()
20 wtcon &= ~(WTCON_EN | WTCON_INT | WTCON_RESET); in wdt_stop()
22 writel(wtcon, &wdt->wtcon); in wdt_stop()
29 unsigned int wtcon; in wdt_start() local
33 wtcon = readl(&wdt->wtcon); in wdt_start()
34 wtcon |= (WTCON_EN | WTCON_CLK(WTCON_CLK_128)); in wdt_start()
35 wtcon &= ~WTCON_INT; in wdt_start()
36 wtcon |= WTCON_RESET; in wdt_start()
37 wtcon |= WTCON_PRESCALER(PRESCALER_VAL); in wdt_start()
41 writel(wtcon, &wdt->wtcon); in wdt_start()