Lines Matching refs:pretimeout
36 static bool pretimeout = IS_ENABLED(CONFIG_HPWDT_NMI_DECODING);
68 int control = 0x81 | (pretimeout ? 0x4 : 0);
122 if (val <= wdd->pretimeout) {
123 dev_dbg(wdd->parent, "pretimeout < timeout. Setting to zero\n");
124 wdd->pretimeout = 0;
125 pretimeout = 0;
147 dev_dbg(wdd->parent, "Rounding pretimeout to: %d\n", val);
149 wdd->pretimeout = val;
150 pretimeout = !!val;
180 if (ilo5 && !pretimeout && !mynmi)
229 .pretimeout = PRETIMEOUT_SEC,
337 if (pretimeout && hpwdt_dev.timeout <= PRETIMEOUT_SEC) {
338 dev_warn(&dev->dev, "timeout <= pretimeout. Setting pretimeout to zero\n");
339 pretimeout = 0;
341 hpwdt_dev.pretimeout = pretimeout ? PRETIMEOUT_SEC : 0;
353 dev_info(&dev->dev, "pretimeout: %s.\n",
354 pretimeout ? "on" : "off");
405 module_param(pretimeout, bool, 0);
406 MODULE_PARM_DESC(pretimeout, "Watchdog pretimeout enabled");