Lines Matching +full:wdt +full:- +full:interval
1 // SPDX-License-Identifier: GPL-2.0+
19 #include <linux/mfd/syscon/atmel-st.h>
109 return -EBUSY; in at91_wdt_open()
131 * Change the watchdog time interval.
138 * Since WDV is a 16-bit counter, the maximum period is in at91_wdt_settimeout()
142 return -EINVAL; in at91_wdt_settimeout()
156 * Handle commands from user-space.
168 sizeof(at91_wdt_info)) ? -EFAULT : 0; in at91_wdt_ioctl()
174 return -EFAULT; in at91_wdt_ioctl()
185 return -EFAULT; in at91_wdt_ioctl()
187 return -EINVAL; in at91_wdt_ioctl()
195 return -ENOTTY; in at91_wdt_ioctl()
228 struct device *dev = &pdev->dev; in at91wdt_probe()
233 return -EBUSY; in at91wdt_probe()
234 at91wdt_miscdev.parent = &pdev->dev; in at91wdt_probe()
236 parent = dev->parent; in at91wdt_probe()
239 return -ENODEV; in at91wdt_probe()
242 regmap_st = syscon_node_to_regmap(parent->of_node); in at91wdt_probe()
244 return -ENODEV; in at91wdt_probe()
261 struct device *dev = &pdev->dev; in at91wdt_remove()
291 { .compatible = "atmel,at91rm9200-wdt" },