Lines Matching refs:routine

31 The watchdog_register_device routine registers a watchdog timer device.
32 The parameter of this routine is a pointer to a watchdog_device structure.
33 This routine returns zero on success and a negative errno code for failure.
35 The watchdog_unregister_device routine deregisters a registered watchdog timer
36 device. The parameter of this routine is the pointer to the registered
143 * start: this is a pointer to the routine that starts the watchdog timer
145 The routine needs a pointer to the watchdog timer device structure as a
151 * stop: with this routine the watchdog timer device is being stopped.
152 The routine needs a pointer to the watchdog timer device structure as a
155 driver supporting such hardware does not have to implement the stop routine.
161 * ping: this is the routine that sends a keepalive ping to the watchdog timer
163 The routine needs a pointer to the watchdog timer device structure as a
173 * status: this routine checks the status of the watchdog timer device. The
179 * set_timeout: this routine checks and changes the timeout of the watchdog
182 routine should set the timeout value of the watchdog_device to the
200 * set_pretimeout: this routine checks and changes the pretimeout value of
214 * restart: this routine restarts the machine. It returns 0 on success or a
216 * ioctl: if this routine is present then it will be called first before we do
217 our own internal ioctl call handling. This routine should return -ENOIOCTLCMD
277 This routine returns zero on success and a negative errno code for failure.