Lines Matching refs:wtcon

250 	unsigned long wtcon;  in __s3c2410wdt_stop()  local
252 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
253 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN); in __s3c2410wdt_stop()
254 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
270 unsigned long wtcon; in s3c2410wdt_start() local
277 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
278 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128; in s3c2410wdt_start()
281 wtcon |= S3C2410_WTCON_INTEN; in s3c2410wdt_start()
282 wtcon &= ~S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
284 wtcon &= ~S3C2410_WTCON_INTEN; in s3c2410wdt_start()
285 wtcon |= S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
289 __func__, wdt->count, wtcon); in s3c2410wdt_start()
293 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
310 unsigned long wtcon; in s3c2410wdt_set_heartbeat() local
342 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_set_heartbeat()
343 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK; in s3c2410wdt_set_heartbeat()
344 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1); in s3c2410wdt_set_heartbeat()
347 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_set_heartbeat()
517 unsigned int wtcon; in s3c2410wdt_probe() local
643 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_probe()
646 (wtcon & S3C2410_WTCON_ENABLE) ? "" : "in", in s3c2410wdt_probe()
647 (wtcon & S3C2410_WTCON_RSTEN) ? "en" : "dis", in s3c2410wdt_probe()
648 (wtcon & S3C2410_WTCON_INTEN) ? "en" : "dis"); in s3c2410wdt_probe()