Lines Matching +full:cmd +full:- +full:timeout +full:- +full:ms
1 // SPDX-License-Identifier: GPL-2.0
12 * 2005-2006 (c) MontaVista Software, Inc.
34 /* WatchDog Timer - Chapter 23 Page 207 */
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()
126 unsigned long mode, void *cmd) in pnx4008_restart_handler() argument
128 const char *boot_cmd = cmd; in pnx4008_restart_handler()
131 * Verify if a "cmd" passed from the userspace program rebooting in pnx4008_restart_handler()
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()
149 /* Instant assert of RESETOUT_N with pulse length 1mS */ in pnx4008_restart_handler()
177 .timeout = DEFAULT_HEARTBEAT,
184 struct device *dev = &pdev->dev; in pnx4008_wdt_probe()
210 dev_info(dev, "heartbeat %d sec\n", pnx4008_wdd.timeout); in pnx4008_wdt_probe()
217 { .compatible = "nxp,pnx4008-wdt" },
225 .name = "pnx4008-watchdog",
248 MODULE_ALIAS("platform:pnx4008-watchdog");