Lines Matching +full:reset +full:- +full:assert +full:- +full:ms
1 // SPDX-License-Identifier: GPL-2.0
12 * 2005-2006 (c) MontaVista Software, Inc.
34 /* WatchDog Timer - Chapter 23 Page 207 */
87 /* stop counter, initiate counter reset */ in pnx4008_wdt_start()
89 /*wait for reset to complete. 100% guarantee event */ in pnx4008_wdt_start()
92 /* internal and external reset, stop after that */ in pnx4008_wdt_start()
98 /* the longest pulse period 65541/(13*10^6) seconds ~ 5 ms. */ in pnx4008_wdt_start()
100 writel(wdd->timeout * WDOG_COUNTER_RATE, WDTIM_MATCH0(wdt_base)); in pnx4008_wdt_start()
121 wdd->timeout = new_timeout; in pnx4008_wdt_set_timeout()
133 * - For details, see the 'reboot' syscall in kernel/reboot.c in pnx4008_restart_handler()
134 * - If the received "cmd" is not supported, use the default mode. in pnx4008_restart_handler()
146 /* Internal reset on match output (RESOUT_N not asserted) */ in pnx4008_restart_handler()
149 /* Instant assert of RESETOUT_N with pulse length 1mS */ in pnx4008_restart_handler()
154 /* Wait for watchdog to reset system */ in pnx4008_restart_handler()
189 struct device *dev = &pdev->dev; in pnx4008_wdt_probe()
230 { .compatible = "nxp,pnx4008-wdt" },
238 .name = "pnx4008-watchdog",
261 MODULE_ALIAS("platform:pnx4008-watchdog");