Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/watchdog/
H A Ds5p_wdt.c18 unsigned int wtcon; in wdt_stop() local
20 wtcon = readl(&wdt->wtcon); in wdt_stop()
21 wtcon &= ~(WTCON_EN | WTCON_INT | WTCON_RESET); in wdt_stop()
23 writel(wtcon, &wdt->wtcon); in wdt_stop()
30 unsigned int wtcon; in wdt_start() local
34 wtcon = readl(&wdt->wtcon); in wdt_start()
35 wtcon |= (WTCON_EN | WTCON_CLK(WTCON_CLK_128)); in wdt_start()
36 wtcon &= ~WTCON_INT; in wdt_start()
37 wtcon |= WTCON_RESET; in wdt_start()
38 wtcon |= WTCON_PRESCALER(PRESCALER_VAL); in wdt_start()
[all …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Ds3c2410_wdt.c245 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()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/include/mach/
H A Dwatchdog.h30 unsigned int wtcon; member
/OK3568_Linux_fs/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dwatchdog.h31 unsigned int wtcon; member