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.
37 MODULE_AUTHOR("Jorge Boncompte - DTI2 <jorge@dti2.net>");
54 /* Dog Food address - We use the game port address */
73 #define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */
80 #define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */
82 #define WDT_OUT_PWROK 0x10 /* Pulse PWROK on timeout */
83 #define WDT_OUT_KRST 0x40 /* Pulse reset on timeout */
127 return -EBUSY; in superio_enter()
154 /* Switch to minutes precision if the configured margin in it8712f_wdt_update_margin()
158 config |= WDT_UNIT_SEC; /* else UNIT is MINUTES */ in it8712f_wdt_update_margin()
162 pr_info("timer margin %d minutes\n", units); in it8712f_wdt_update_margin()
245 return -EFAULT; in it8712f_wdt_write()
271 return -EFAULT; in it8712f_wdt_ioctl()
291 return -EFAULT; in it8712f_wdt_ioctl()
293 return -EINVAL; in it8712f_wdt_ioctl()
295 return -EINVAL; in it8712f_wdt_ioctl()
309 return -EFAULT; in it8712f_wdt_ioctl()
312 return -ENOTTY; in it8712f_wdt_ioctl()
321 return -EBUSY; in it8712f_wdt_open()
361 int err = -ENODEV; in it8712f_wdt_find()
387 /* Later revisions have 16-bit values per datasheet 0.9.1 */ in it8712f_wdt_find()
394 pr_info("Found IT%04xF chip revision %d - using DogFood address 0x%x\n", in it8712f_wdt_find()
407 return -ENODEV; in it8712f_wdt_init()
411 return -EBUSY; in it8712f_wdt_init()