Lines Matching refs:wtcon

245 	unsigned long wtcon;  in __s3c2410wdt_stop()  local
247 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
248 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN); in __s3c2410wdt_stop()
249 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
265 unsigned long wtcon; in s3c2410wdt_start() local
272 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
273 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128; in s3c2410wdt_start()
276 wtcon |= S3C2410_WTCON_INTEN; in s3c2410wdt_start()
277 wtcon &= ~S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
279 wtcon &= ~S3C2410_WTCON_INTEN; in s3c2410wdt_start()
280 wtcon |= S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
284 wdt->count, wtcon); in s3c2410wdt_start()
288 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
306 unsigned long wtcon; in s3c2410wdt_set_heartbeat() local
338 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_set_heartbeat()
339 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK; in s3c2410wdt_set_heartbeat()
340 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1); in s3c2410wdt_set_heartbeat()
343 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_set_heartbeat()
517 unsigned int wtcon; in s3c2410wdt_probe() local
631 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_probe()
634 (wtcon & S3C2410_WTCON_ENABLE) ? "" : "in", in s3c2410wdt_probe()
635 (wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis", in s3c2410wdt_probe()
636 (wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis"); in s3c2410wdt_probe()