Lines Matching defs:wtcon
392 unsigned long wtcon;
394 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
395 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN);
396 writel(wtcon, wdt->reg_base + S3C2410_WTCON);
413 unsigned long wtcon;
421 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
422 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128;
425 wtcon |= S3C2410_WTCON_INTEN;
426 wtcon &= ~S3C2410_WTCON_RSTEN;
428 wtcon &= ~S3C2410_WTCON_INTEN;
429 wtcon |= S3C2410_WTCON_RSTEN;
432 dev_dbg(wdt->dev, "Starting watchdog: count=0x%08x, wtcon=%08lx\n",
433 wdt->count, wtcon);
437 writel(wtcon, wdt->reg_base + S3C2410_WTCON);
450 unsigned long wtcon;
482 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
483 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK;
484 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1);
487 writel(wtcon, wdt->reg_base + S3C2410_WTCON);
626 unsigned int wtcon;
734 wtcon = readl(wdt->reg_base + S3C2410_WTCON);
737 (wtcon & S3C2410_WTCON_ENABLE) ? "" : "in",
738 (wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis",
739 (wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis");