Lines Matching +full:ixp4xx +full:- +full:timer
1 // SPDX-License-Identifier: GPL-2.0-only
8 * Based on ixp4xx driver, Copyright 2004 (c) MontaVista, Software, Inc.
11 * Peter Milne <peter.milne@d-tacq.com>
42 * wdt_supports_disable - determine if we are accessing a iop13xx watchdog
59 /* Arm and enable the Timer to starting counting down from 0xFFFF.FFFF in wdt_enable()
68 /* returns 0 if the timer was successfully disabled */
87 return -EBUSY; in iop_wdt_open()
108 return -EFAULT; in iop_wdt_write()
127 int ret = -ENOTTY; in iop_wdt_ioctl()
133 ret = -EFAULT; in iop_wdt_ioctl()
148 return -EFAULT; in iop_wdt_ioctl()
156 ret = -ENXIO; in iop_wdt_ioctl()
185 /* if the timer is not disabled reload and notify that we are still in iop_wdt_release()
190 pr_crit("Device closed unexpectedly - reset in %lu seconds\n", in iop_wdt_release()
220 /* check if the reset was caused by the watchdog timer */ in iop_wdt_init()
249 MODULE_DESCRIPTION("iop watchdog timer driver");