Lines Matching refs:iTCO_wdt_watchdog_dev
389 static struct watchdog_device iTCO_wdt_watchdog_dev = { variable
402 iTCO_wdt_stop(&iTCO_wdt_watchdog_dev); in iTCO_wdt_cleanup()
405 watchdog_unregister_device(&iTCO_wdt_watchdog_dev); in iTCO_wdt_cleanup()
531 iTCO_wdt_watchdog_dev.bootstatus = 0; in iTCO_wdt_probe()
532 iTCO_wdt_watchdog_dev.timeout = WATCHDOG_TIMEOUT; in iTCO_wdt_probe()
533 watchdog_set_nowayout(&iTCO_wdt_watchdog_dev, nowayout); in iTCO_wdt_probe()
534 iTCO_wdt_watchdog_dev.parent = &dev->dev; in iTCO_wdt_probe()
537 iTCO_wdt_stop(&iTCO_wdt_watchdog_dev); in iTCO_wdt_probe()
541 if (iTCO_wdt_set_timeout(&iTCO_wdt_watchdog_dev, heartbeat)) { in iTCO_wdt_probe()
542 iTCO_wdt_set_timeout(&iTCO_wdt_watchdog_dev, WATCHDOG_TIMEOUT); in iTCO_wdt_probe()
547 ret = watchdog_register_device(&iTCO_wdt_watchdog_dev); in iTCO_wdt_probe()
614 if (watchdog_active(&iTCO_wdt_watchdog_dev) && need_suspend()) { in iTCO_wdt_suspend_noirq()
615 ret = iTCO_wdt_stop(&iTCO_wdt_watchdog_dev); in iTCO_wdt_suspend_noirq()
625 iTCO_wdt_start(&iTCO_wdt_watchdog_dev); in iTCO_wdt_resume_noirq()