Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/watchdog/
H A Ds5p_wdt.c17 unsigned int wtcon; in wdt_stop() local
19 wtcon = readl(&wdt->wtcon); in wdt_stop()
20 wtcon &= ~(WTCON_EN | WTCON_INT | WTCON_RESET); in wdt_stop()
22 writel(wtcon, &wdt->wtcon); in wdt_stop()
29 unsigned int wtcon; in wdt_start() local
33 wtcon = readl(&wdt->wtcon); in wdt_start()
34 wtcon |= (WTCON_EN | WTCON_CLK(WTCON_CLK_128)); in wdt_start()
35 wtcon &= ~WTCON_INT; in wdt_start()
36 wtcon |= WTCON_RESET; in wdt_start()
37 wtcon |= WTCON_PRESCALER(PRESCALER_VAL); in wdt_start()
[all …]
/openbmc/linux/drivers/watchdog/
H A Ds3c2410_wdt.c392 unsigned long wtcon; in __s3c2410wdt_stop() local
413 unsigned long wtcon; in s3c2410wdt_start() local
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()
450 unsigned long wtcon; in s3c2410wdt_set_heartbeat() local
483 wtcon &= ~S3C2410_WTCON_PRESCALE_MASK; in s3c2410wdt_set_heartbeat()
484 wtcon |= S3C2410_WTCON_PRESCALE(divisor-1); in s3c2410wdt_set_heartbeat()
[all …]
/openbmc/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dwatchdog.h30 unsigned int wtcon; member
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dwatchdog.h29 unsigned int wtcon; member