Lines Matching +full:reset +full:- +full:on +full:- +full:timeout
1 .\" Copyright (c) 2004 Poul-Henning Kamp <phk@FreeBSD.org>
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
47 .Bl -tag -width "WDIOC_CONTROL int "
51 Enable, disable, or reset the watchdog.
57 call takes a single argument which represents a timeout value specified as a
59 of the timeout period for the watchdog.
66 implementations supports setting the timeout to the specified timeout.
75 implementations support the timeout length, all watchdogs are disabled and must
76 be explicitly re-enabled.
105 .Bl -tag -width "WDIOC_GETPRETTIMEOUT sbintime_t"
107 set/reset the timer
109 get total timeout
113 get the pre-timeout
115 set the pre-timeout
117 Set the action when a pre-timeout occurs (see
125 Set the action when a soft timeout occurs.
128 The actions that may be specified for the pre-timeout or the internal software
131 .Bl -tag -width WD_SOFT_PRINT
145 returns zero on success and non-zero on failure.
146 .Bl -tag -width Er
149 none of the watchdogs supports the requested timeout value
152 Watchdog could not be disabled (timeout value of 0).
159 operations return zero on success and non-zero on failure.
161 .Bd -literal -offset indent
166 int wdfd = -1;
172 if (wdfd == -1)
176 wd_reset(u_int timeout)
178 if (ioctl(wdfd, WDIOCPATPAT, &timeout) == -1)
206 .An -nosplit
210 .An Poul-Henning Kamp Aq Mt phk@FreeBSD.org .