Lines Matching defs:hpwdt_dev
61 static struct watchdog_device hpwdt_dev;
192 unsigned int val = max((unsigned int)kdumptimeout, hpwdt_dev.timeout);
228 static struct watchdog_device hpwdt_dev = {
329 set_bit(WDOG_HW_RUNNING, &hpwdt_dev.status);
337 watchdog_stop_on_unregister(&hpwdt_dev);
338 watchdog_set_nowayout(&hpwdt_dev, nowayout);
339 watchdog_init_timeout(&hpwdt_dev, soft_margin, NULL);
346 if (pretimeout && hpwdt_dev.timeout <= PRETIMEOUT_SEC) {
350 hpwdt_dev.pretimeout = pretimeout ? PRETIMEOUT_SEC : 0;
353 hpwdt_dev.parent = &dev->dev;
354 retval = watchdog_register_device(&hpwdt_dev);
361 hpwdt_dev.timeout, nowayout);
382 watchdog_unregister_device(&hpwdt_dev);