Lines Matching +full:wdt +full:- +full:interval
1 // SPDX-License-Identifier: GPL-2.0-only
6 * and the Cobalt kernel WDT timer driver by Tim Hockin
11 * This WDT driver is different from most other Linux WDT
13 * because this particular WDT has a very short timeout (1.6
18 * Aug 23, 2004 - Added use_gpio module parameter for use on revision a1d PMUs
20 * -- Mike Waychison <michael.waychison@sun.com>
94 * we agree to ping the WDT in wdt_timer_ping()
99 /* Ping the WDT (this is actually a disarm/arm sequence) */ in wdt_timer_ping()
116 /* Re-set the timer interval */ in wdt_timer_ping()
200 return -EFAULT; in fop_write()
215 return -EBUSY; in fop_open()
227 pr_crit("device file closed unexpectedly. Will not stop the WDT!\n"); in fop_close()
247 return copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0; in fop_ioctl()
253 int new_options, retval = -EINVAL; in fop_ioctl()
256 return -EFAULT; in fop_ioctl()
275 return -EFAULT; in fop_ioctl()
278 return -EINVAL; in fop_ioctl()
286 return -ENOTTY; in fop_ioctl()
341 * The WDT needs to learn about soft shutdowns in order to
361 int rc = -EBUSY; in alim7101_wdt_init()
369 pr_info("ALi M7101 PMU not present - WDT not set\n"); in alim7101_wdt_init()
370 return -EBUSY; in alim7101_wdt_init()
373 /* Set the WDT in the PMU to 1 second */ in alim7101_wdt_init()
379 pr_info("ALi 1543 South-Bridge not present - WDT not set\n"); in alim7101_wdt_init()
391 …pr_info("ALi 1543 South-Bridge does not have the correct revision number (???1001?) - WDT not set\… in alim7101_wdt_init()
424 pr_info("WDT driver for ALi M7101 initialised. timeout=%d sec (nowayout=%d)\n", in alim7101_wdt_init()