Lines Matching +full:timeout +full:- +full:secs
74 __raw_writeq(t & 0x7fffffUL, wdog - 0x10); in sbwdog_set()
94 static unsigned long timeout = 0x7fffffUL; /* useconds: 8.3ish secs. */ variable
110 return -EBUSY; in sbwdog_open()
116 sbwdog_set(user_dog, timeout); in sbwdog_open()
142 * 42 - the answer
159 return -EFAULT; in sbwdog_write()
172 int ret = -ENOTTY; in sbwdog_ioctl()
179 ret = copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0; in sbwdog_ioctl()
199 ret = -EINVAL; in sbwdog_ioctl()
202 timeout = time; in sbwdog_ioctl()
203 sbwdog_set(user_dog, timeout); in sbwdog_ioctl()
212 ret = put_user((u32)__raw_readq(user_dog - 8) / 1000000, p); in sbwdog_ioctl()
258 * code can use it to re-up the watchdog, thereby saving the kernel from
269 wd_init = __raw_readq(wd_cfg_reg - 8) & 0x7fffff; in sbwdog_interrupt()
308 pr_err("%s: failed to request irq 1 - %d\n", in sbwdog_init()
315 pr_info("%s: timeout is %ld.%ld secs\n", in sbwdog_init()
317 timeout / 1000000, (timeout / 100000) % 10); in sbwdog_init()
340 module_param(timeout, ulong, 0);
341 MODULE_PARM_DESC(timeout,
342 "Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)");
357 pr_crit("Watchdog IRQ zero(0) failed to be requested - %d\n", ret);