Lines Matching refs:wdt
70 struct watchdog_device wdt;
175 /* Fix the wdt and timer1 clock frequency to 25MHz */
189 if (dev->wdt.info->options & WDIOF_PRETIMEOUT)
204 if (dev->wdt.info->options & WDIOF_PRETIMEOUT)
213 if (dev->wdt.info->options & WDIOF_PRETIMEOUT)
240 if (dev->wdt.info->options & WDIOF_PRETIMEOUT)
397 watchdog_notify_pretimeout(&dev->wdt);
478 .compatible = "marvell,orion-wdt",
482 .compatible = "marvell,armada-370-wdt",
486 .compatible = "marvell,armada-xp-wdt",
490 .compatible = "marvell,armada-375-wdt",
494 .compatible = "marvell,armada-380-wdt",
516 if (of_device_is_compatible(node, "marvell,orion-wdt")) {
523 } else if (of_device_is_compatible(node, "marvell,armada-370-wdt") ||
524 of_device_is_compatible(node, "marvell,armada-xp-wdt")) {
531 } else if (of_device_is_compatible(node, "marvell,armada-375-wdt") ||
532 of_device_is_compatible(node, "marvell,armada-380-wdt")) {
571 dev->wdt.info = &orion_wdt_info;
572 dev->wdt.ops = &orion_wdt_ops;
573 dev->wdt.min_timeout = 1;
588 dev->wdt.timeout = wdt_max_duration;
589 dev->wdt.max_timeout = wdt_max_duration;
590 dev->wdt.parent = &pdev->dev;
591 watchdog_init_timeout(&dev->wdt, heartbeat, &pdev->dev);
593 platform_set_drvdata(pdev, &dev->wdt);
594 watchdog_set_drvdata(&dev->wdt, dev);
602 if (!orion_wdt_enabled(&dev->wdt))
603 orion_wdt_stop(&dev->wdt);
605 set_bit(WDOG_HW_RUNNING, &dev->wdt.status);
635 watchdog_set_nowayout(&dev->wdt, nowayout);
636 ret = watchdog_register_device(&dev->wdt);
641 dev->wdt.timeout, nowayout ? ", nowayout" : "");