Lines Matching refs:timeout

81 #define	WB_LDN8_CRF5_KEYB_P20	0x04	/* 1: keyb P20 forces timeout */
82 #define WB_LDN8_CRF5_KBRST 0x02 /* 1: timeout causes pin60 kbd reset */
91 #define WB_LDN8_CRF7_FORCE 0x20 /* 1: force timeout (self-clear) */
117 * timeout as set by watchdog(4) but still use that API to
124 * We want to know the timeout value and usually need two
317 * usually not give the current timeout or state on whether the watchdog
369 * Sysctl handlers to force a watchdog timeout or to test the NMI functionality
373 * timeout but clear the flag for the sysctl again. This is interesting given a
374 * lot of boards have jumpers to change the action on watchdog timeout or
410 * forcing the timeout.
479 * (Re)load the watchdog counter depending on timeout. A timeout of 0 will
483 wb_set_watchdog(struct wb_softc *sc, unsigned int timeout)
486 if (timeout != 0) {
492 timeout = sc->timeout_override;
494 /* Make sure we support the requested timeout. */
495 if (timeout > 255 * 60)
508 if (timeout == 0) {
517 if (timeout > 255) {
520 sc->reg_timeout = (timeout / 60);
521 if (timeout % 60)
526 sc->reg_timeout = timeout;
552 * with the given timeout or disable the watchdog.
558 unsigned int timeout;
568 timeout = ((uint64_t)1 << cmd) / 1000000000;
569 if (timeout == 0)
570 timeout = 1;
571 e = wb_set_watchdog(sc, timeout);
747 unsigned long timeout;
841 * Clear a previous watchdog timeout event (if still set).
850 /* Read global timeout override tunable, Add per device sysctls. */
851 if (TUNABLE_ULONG_FETCH("hw.wbwd.timeout_override", &timeout)) {
852 if (timeout > 0)
853 sc->timeout_override = timeout;
859 "Timeout in seconds overriding default watchdog timeout");