Home
last modified time | relevance | path

Searched refs:pretimeout (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/watchdog/
Dkempld_wdt.c84 unsigned int pretimeout; member
100 static unsigned int pretimeout = DEFAULT_PRETIMEOUT; variable
101 module_param(pretimeout, uint, 0);
102 MODULE_PARM_DESC(pretimeout,
216 if (pretimeout_stage->mask && wdt_data->pretimeout > 0) in kempld_wdt_set_timeout()
217 timeout = wdt_data->pretimeout; in kempld_wdt_set_timeout()
233 unsigned int pretimeout) in kempld_wdt_set_pretimeout() argument
245 if (pretimeout > wdd->timeout) in kempld_wdt_set_pretimeout()
248 if (pretimeout > 0) in kempld_wdt_set_pretimeout()
256 wdd->timeout - pretimeout); in kempld_wdt_set_pretimeout()
[all …]
Dintel-mid_wdt.c49 u32 pretimeout; in wdt_start() member
/linux-4.1.27/drivers/char/ipmi/
Dipmi_watchdog.c154 static int pretimeout; variable
293 module_param(pretimeout, timeout, 0644);
294 MODULE_PARM_DESC(pretimeout, "Pretimeout value in seconds.");
404 if ((pretimeout > 0) && (ipmi_watchdog_state != WDOG_TIMEOUT_NONE)) { in i_ipmi_set_timeout()
406 data[2] = pretimeout; in i_ipmi_set_timeout()
728 pretimeout = val; in ipmi_ioctl()
732 i = copy_to_user(argp, &pretimeout, sizeof(pretimeout)); in ipmi_ioctl()
1018 int old_pretimeout = pretimeout; in ipmi_register_watchdog()
1028 pretimeout = 99; in ipmi_register_watchdog()
1052 pretimeout = old_pretimeout; in ipmi_register_watchdog()
[all …]
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-api.txt115 pretimeout = 10;
116 ioctl(fd, WDIOC_SETPRETIMEOUT, &pretimeout);
118 Note that the pretimeout is the number of seconds before the time
120 the pretimeout. So, for instance, if you set the timeout to 60 seconds
121 and the pretimeout to 10 seconds, the pretimeout will go off in 50
122 seconds. Setting a pretimeout to zero disables it.
124 There is also a get function for getting the pretimeout:
127 printf("The pretimeout was is %d seconds\n", timeout);
129 Not all watchdog drivers will support a pretimeout.
/linux-4.1.27/Documentation/
DIPMI.txt588 modprobe ipmi_watchdog timeout=<t> pretimeout=<t> action=<action type>
595 The timeout is the number of seconds to the action, and the pretimeout
597 occur (if pretimeout is zero, then pretimeout will not be enabled). Note
598 that the pretimeout is the time before the final timeout. So if the
599 timeout is 50 seconds and the pretimeout is 10 seconds, then the pretimeout
609 the driver is informed of the pretimeout.
611 The preop may be set to "preop_none" for no operation on a pretimeout,
613 to provide data to read from the watchdog device when the pretimeout
618 on the device when the pretimeout occurs. Select and fasync work on
631 ipmi_watchdog.timeout=<t> ipmi_watchdog.pretimeout=<t>