Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/watchdog/
H A Dmtk_wdt.c24 #define WDT_MODE_EN BIT(0) macro
54 clrsetbits_le32(priv->base + MTK_WDT_MODE, WDT_MODE_EN, WDT_MODE_KEY); in mtk_wdt_stop()
95 WDT_MODE_EN | WDT_MODE_KEY | WDT_MODE_EXTEN); in mtk_wdt_start()
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dwatchdog.h20 #define WDT_MODE_EN (0x1 << 0) macro
32 #define WDT_MODE_EN (0x1) macro
/openbmc/linux/drivers/watchdog/
H A Dsunxi_wdt.c31 #define WDT_MODE_EN (1 << 0) macro
100 val |= WDT_MODE_EN; in sunxi_wdt_restart()
113 val |= WDT_MODE_EN; in sunxi_wdt_restart()
188 reg |= WDT_MODE_EN; in sunxi_wdt_start()
H A Dmtk_wdt.c46 #define WDT_MODE_EN (1 << 0) macro
256 if (readl(wdt_base + WDT_MODE) & WDT_MODE_EN) { in mtk_wdt_init()
269 reg &= ~WDT_MODE_EN; in mtk_wdt_stop()
296 reg |= (WDT_MODE_EN | WDT_MODE_KEY); in mtk_wdt_start()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dboard.c282 writel(WDT_MODE_RESET_EN | WDT_MODE_EN, &wdog->mode); in reset_cpu()
287 writel(WDT_MODE_RESET_EN | WDT_MODE_EN, &wdog->mode); in reset_cpu()
295 writel(WDT_MODE_EN, &wdog->mode); in reset_cpu()