Lines Matching defs:wtcon
245 unsigned long wtcon;
247 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
248 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN);
249 writel(wtcon, wdt->reg_base + S3C2410_WTCON);
265 unsigned long wtcon;
272 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
273 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128;
276 wtcon |= S3C2410_WTCON_INTEN;
277 wtcon &= ~S3C2410_WTCON_RSTEN;
279 wtcon &= ~S3C2410_WTCON_INTEN;
280 wtcon |= S3C2410_WTCON_RSTEN;
283 dev_dbg(wdt->dev, "Starting watchdog: count=0x%08x, wtcon=%08lx\n",
284 wdt->count, wtcon);
288 writel(wtcon, wdt->reg_base + S3C2410_WTCON);
306 unsigned long wtcon;
338 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
339 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK;
340 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1);
343 writel(wtcon, wdt->reg_base + S3C2410_WTCON);
517 unsigned int wtcon;
631 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
634 (wtcon & S3C2410_WTCON_ENABLE) ? "" : "in",
635 (wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis",
636 (wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis");