Lines Matching refs:wdt_device
131 struct watchdog_device wdt_device; member
384 s3c2410wdt_keepalive(&wdt->wdt_device); in s3c2410wdt_irq()
405 s3c2410wdt_keepalive(&wdt->wdt_device); in s3c2410wdt_cpufreq_transition()
407 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_cpufreq_transition()
409 ret = s3c2410wdt_set_heartbeat(&wdt->wdt_device, in s3c2410wdt_cpufreq_transition()
410 wdt->wdt_device.timeout); in s3c2410wdt_cpufreq_transition()
413 s3c2410wdt_start(&wdt->wdt_device); in s3c2410wdt_cpufreq_transition()
423 wdt->wdt_device.timeout); in s3c2410wdt_cpufreq_transition()
531 wdt->wdt_device = s3c2410_wdd; in s3c2410wdt_probe()
579 watchdog_set_drvdata(&wdt->wdt_device, wdt); in s3c2410wdt_probe()
584 watchdog_init_timeout(&wdt->wdt_device, tmr_margin, &pdev->dev); in s3c2410wdt_probe()
585 ret = s3c2410wdt_set_heartbeat(&wdt->wdt_device, in s3c2410wdt_probe()
586 wdt->wdt_device.timeout); in s3c2410wdt_probe()
588 started = s3c2410wdt_set_heartbeat(&wdt->wdt_device, in s3c2410wdt_probe()
607 watchdog_set_nowayout(&wdt->wdt_device, nowayout); in s3c2410wdt_probe()
609 wdt->wdt_device.bootstatus = s3c2410wdt_get_bootstatus(wdt); in s3c2410wdt_probe()
610 wdt->wdt_device.parent = &pdev->dev; in s3c2410wdt_probe()
612 ret = watchdog_register_device(&wdt->wdt_device); in s3c2410wdt_probe()
624 s3c2410wdt_start(&wdt->wdt_device); in s3c2410wdt_probe()
630 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_probe()
653 watchdog_unregister_device(&wdt->wdt_device); in s3c2410wdt_probe()
676 watchdog_unregister_device(&wdt->wdt_device); in s3c2410wdt_remove()
691 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_shutdown()
710 s3c2410wdt_stop(&wdt->wdt_device); in s3c2410wdt_suspend()