Lines Matching refs:pretimeout
39 static bool pretimeout = IS_ENABLED(CONFIG_HPWDT_NMI_DECODING);
72 int control = 0x81 | (pretimeout ? 0x4 : 0);
126 if (val <= wdd->pretimeout) {
127 dev_dbg(wdd->parent, "pretimeout < timeout. Setting to zero\n");
128 wdd->pretimeout = 0;
129 pretimeout = false;
151 dev_dbg(wdd->parent, "Rounding pretimeout to: %d\n", val);
153 wdd->pretimeout = val;
154 pretimeout = !!val;
184 if (ilo5 && !pretimeout && !mynmi)
233 .pretimeout = PRETIMEOUT_SEC,
342 pretimeout = false;
346 if (pretimeout && hpwdt_dev.timeout <= PRETIMEOUT_SEC) {
347 dev_warn(&dev->dev, "timeout <= pretimeout. Setting pretimeout to zero\n");
348 pretimeout = false;
350 hpwdt_dev.pretimeout = pretimeout ? PRETIMEOUT_SEC : 0;
362 dev_info(&dev->dev, "pretimeout: %s.\n",
363 pretimeout ? "on" : "off");
414 module_param(pretimeout, bool, 0);
415 MODULE_PARM_DESC(pretimeout, "Watchdog pretimeout enabled");