Lines Matching +full:wdt +full:- +full:interval
1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2006-2007, Advanced Micro Devices, Inc.
30 #define WATCHDOG_NAME "Geode GX/LX WDT"
71 return -EINVAL; in geodewdt_set_heartbeat()
85 return -EBUSY; in geodewdt_open()
100 pr_crit("Unexpected close - watchdog is not stopping\n"); in geodewdt_release()
123 return -EFAULT; in geodewdt_write()
140 int interval; in geodewdt_ioctl() local
152 sizeof(ident)) ? -EFAULT : 0; in geodewdt_ioctl()
159 int options, ret = -EINVAL; in geodewdt_ioctl()
162 return -EFAULT; in geodewdt_ioctl()
181 if (get_user(interval, p)) in geodewdt_ioctl()
182 return -EFAULT; in geodewdt_ioctl()
184 if (geodewdt_set_heartbeat(interval)) in geodewdt_ioctl()
185 return -EINVAL; in geodewdt_ioctl()
191 return -ENOTTY; in geodewdt_ioctl()
219 return -ENODEV; in geodewdt_probe()
263 -1, NULL, 0); in geodewdt_init()