Linux Kernel
3.7.1
|
#include <watchdog.h>
Data Fields | |
int | id |
struct cdev | cdev |
struct device * | dev |
struct device * | parent |
struct watchdog_info * | info |
struct watchdog_ops * | ops |
unsigned int | bootstatus |
unsigned int | timeout |
unsigned int | min_timeout |
unsigned int | max_timeout |
void * | driver_data |
struct mutex | lock |
unsigned long | status |
struct watchdog_device - The structure that defines a watchdog device
: The watchdog's ID. (Allocated by watchdog_register_device) : The watchdog's Character device. : The device for our watchdog : The parent bus device : Pointer to a watchdog_info structure. : Pointer to the list of watchdog operations. : Status of the watchdog device at boot. : The watchdog devices timeout value. :The watchdog devices minimum timeout value. :The watchdog devices maximum timeout value. -data:Pointer to the drivers private data. : Lock for watchdog core internal use only. : Field that contains the devices internal status bits.
The watchdog_device structure contains all information about a watchdog timer device.
The driver-data field may not be accessed directly. It must be accessed via the watchdog_set_drvdata and watchdog_get_drvdata helpers.
The lock field is for watchdog core internal use only and should not be touched.
Definition at line 78 of file watchdog.h.
unsigned int bootstatus |
Definition at line 85 of file watchdog.h.
Definition at line 80 of file watchdog.h.
Definition at line 81 of file watchdog.h.
Definition at line 89 of file watchdog.h.
Definition at line 79 of file watchdog.h.
struct watchdog_info* info |
Definition at line 83 of file watchdog.h.
Definition at line 90 of file watchdog.h.
unsigned int max_timeout |
Definition at line 88 of file watchdog.h.
unsigned int min_timeout |
Definition at line 87 of file watchdog.h.
struct watchdog_ops* ops |
Definition at line 84 of file watchdog.h.
Definition at line 82 of file watchdog.h.
Definition at line 91 of file watchdog.h.
unsigned int timeout |
Definition at line 86 of file watchdog.h.