Searched refs:wtmode (Results 1 – 1 of 1) sorted by relevance
73 unsigned int wtmode; in hal_watchdog_disable() local76 wtmode = readl_wdt(&wdt->mode); in hal_watchdog_disable()77 wtmode &= ~WDT_MODE_EN; in hal_watchdog_disable()78 wtmode |= KEY_FIELD_MAGIC; in hal_watchdog_disable()80 writel_wdt(wtmode, &wdt->mode); in hal_watchdog_disable()89 unsigned int wtmode; in hal_watchdog_reset() local104 wtmode = KEY_FIELD_MAGIC | (wdt_timeout_map[timeout_set] << 4) | WDT_MODE_EN; in hal_watchdog_reset()107 writel_wdt(wtmode, &wdt->mode); in hal_watchdog_reset()
Completed in 9 milliseconds