Lines Matching refs:wdt_device
173 struct watchdog_device wdt_device; member
549 s3c2410wdt_keepalive(&wdt->wdt_device); in s3c2410wdt_irq()
636 wdt->wdt_device = s3c2410_wdd; in s3c2410wdt_probe()
671 wdt->wdt_device.min_timeout = 1; in s3c2410wdt_probe()
672 wdt->wdt_device.max_timeout = s3c2410wdt_max_timeout(wdt); in s3c2410wdt_probe()
674 watchdog_set_drvdata(&wdt->wdt_device, wdt); in s3c2410wdt_probe()
679 watchdog_init_timeout(&wdt->wdt_device, tmr_margin, dev); in s3c2410wdt_probe()
680 ret = s3c2410wdt_set_heartbeat(&wdt->wdt_device, in s3c2410wdt_probe()
681 wdt->wdt_device.timeout); in s3c2410wdt_probe()
683 ret = s3c2410wdt_set_heartbeat(&wdt->wdt_device, in s3c2410wdt_probe()
697 watchdog_set_nowayout(&wdt->wdt_device, nowayout); in s3c2410wdt_probe()
698 watchdog_set_restart_priority(&wdt->wdt_device, 128); in s3c2410wdt_probe()
700 wdt->wdt_device.bootstatus = s3c2410wdt_get_bootstatus(wdt); in s3c2410wdt_probe()
701 wdt->wdt_device.parent = dev; in s3c2410wdt_probe()
712 s3c2410wdt_start(&wdt->wdt_device); in s3c2410wdt_probe()
713 set_bit(WDOG_HW_RUNNING, &wdt->wdt_device.status); in s3c2410wdt_probe()
715 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_probe()
718 ret = devm_watchdog_register_device(dev, &wdt->wdt_device); in s3c2410wdt_probe()
749 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_shutdown()
766 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_suspend()