Home
last modified time | relevance | path

Searched refs:wtcon (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/watchdog/
Ds3c2410_wdt.c254 unsigned long wtcon; in __s3c2410wdt_stop() local
256 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
257 wtcon &= ~(S3C2410_WTCON_ENABLE | S3C2410_WTCON_RSTEN); in __s3c2410wdt_stop()
258 writel(wtcon, wdt->reg_base + S3C2410_WTCON); in __s3c2410wdt_stop()
274 unsigned long wtcon; in s3c2410wdt_start() local
281 wtcon = readl(wdt->reg_base + S3C2410_WTCON); in s3c2410wdt_start()
282 wtcon |= S3C2410_WTCON_ENABLE | S3C2410_WTCON_DIV128; in s3c2410wdt_start()
285 wtcon |= S3C2410_WTCON_INTEN; in s3c2410wdt_start()
286 wtcon &= ~S3C2410_WTCON_RSTEN; in s3c2410wdt_start()
288 wtcon &= ~S3C2410_WTCON_INTEN; in s3c2410wdt_start()
[all …]