Lines Matching +full:timeout +full:- +full:minutes

1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2006-2007 Jorge Boncompte - DTI2 <jorge@dti2.net>
11 * IT8712F EC-LPC I/O Preliminary Specification 0.8.2
12 * IT8712F EC-LPC I/O Preliminary Specification 0.9.3
16 * software is provided AS-IS with no warranties.
36 MODULE_AUTHOR("Jorge Boncompte - DTI2 <jorge@dti2.net>");
53 /* Dog Food address - We use the game port address */
72 #define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */
79 #define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */
81 #define WDT_OUT_PWROK 0x10 /* Pulse PWROK on timeout */
82 #define WDT_OUT_KRST 0x40 /* Pulse reset on timeout */
126 return -EBUSY; in superio_enter()
153 /* Switch to minutes precision if the configured margin in it8712f_wdt_update_margin()
157 config |= WDT_UNIT_SEC; /* else UNIT is MINUTES */ in it8712f_wdt_update_margin()
161 pr_info("timer margin %d minutes\n", units); in it8712f_wdt_update_margin()
244 return -EFAULT; in it8712f_wdt_write()
270 return -EFAULT; in it8712f_wdt_ioctl()
290 return -EFAULT; in it8712f_wdt_ioctl()
292 return -EINVAL; in it8712f_wdt_ioctl()
294 return -EINVAL; in it8712f_wdt_ioctl()
308 return -EFAULT; in it8712f_wdt_ioctl()
311 return -ENOTTY; in it8712f_wdt_ioctl()
320 return -EBUSY; in it8712f_wdt_open()
360 int err = -ENODEV; in it8712f_wdt_find()
386 /* Later revisions have 16-bit values per datasheet 0.9.1 */ in it8712f_wdt_find()
393 pr_info("Found IT%04xF chip revision %d - using DogFood address 0x%x\n", in it8712f_wdt_find()
406 return -ENODEV; in it8712f_wdt_init()
410 return -EBUSY; in it8712f_wdt_init()