Searched refs:WDT_MODE (Results 1 – 1 of 1) sorted by relevance
45 #define WDT_MODE 0x00 macro199 reg = readl(wdt_base + WDT_MODE); in mtk_wdt_restart()201 writel(reg | WDT_MODE_KEY, wdt_base + WDT_MODE); in mtk_wdt_restart()256 if (readl(wdt_base + WDT_MODE) & WDT_MODE_EN) { in mtk_wdt_init()268 reg = readl(wdt_base + WDT_MODE); in mtk_wdt_stop()271 iowrite32(reg, wdt_base + WDT_MODE); in mtk_wdt_stop()287 reg = ioread32(wdt_base + WDT_MODE); in mtk_wdt_start()297 iowrite32(reg, wdt_base + WDT_MODE); in mtk_wdt_start()307 u32 reg = ioread32(wdt_base + WDT_MODE); in mtk_wdt_set_pretimeout()320 iowrite32(reg, wdt_base + WDT_MODE); in mtk_wdt_set_pretimeout()