Lines Matching refs:wtcon

392 	unsigned long wtcon;  in __s3c2410wdt_stop()  local
394 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
395 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN); in __s3c2410wdt_stop()
396 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
413 unsigned long wtcon; in s3c2410wdt_start() local
421 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
422 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128; in s3c2410wdt_start()
425 wtcon |= S3C2410_WTCON_INTEN; in s3c2410wdt_start()
426 wtcon &= ~S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
428 wtcon &= ~S3C2410_WTCON_INTEN; in s3c2410wdt_start()
429 wtcon |= S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
433 wdt->count, wtcon); in s3c2410wdt_start()
437 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
450 unsigned long wtcon; in s3c2410wdt_set_heartbeat() local
482 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_set_heartbeat()
483 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK; in s3c2410wdt_set_heartbeat()
484 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1); in s3c2410wdt_set_heartbeat()
487 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_set_heartbeat()
626 unsigned int wtcon; in s3c2410wdt_probe() local
734 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_probe()
737 (wtcon & S3C2410_WTCON_ENABLE) ? "" : "in", in s3c2410wdt_probe()
738 (wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis", in s3c2410wdt_probe()
739 (wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis"); in s3c2410wdt_probe()