Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
watchdog_device Struct Reference

#include <watchdog.h>

Data Fields

int id
 
struct cdev cdev
 
struct devicedev
 
struct deviceparent
 
struct watchdog_infoinfo
 
struct watchdog_opsops
 
unsigned int bootstatus
 
unsigned int timeout
 
unsigned int min_timeout
 
unsigned int max_timeout
 
voiddriver_data
 
struct mutex lock
 
unsigned long status
 

Detailed Description

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.

Field Documentation

unsigned int bootstatus

Definition at line 85 of file watchdog.h.

Definition at line 80 of file watchdog.h.

struct device* dev

Definition at line 81 of file watchdog.h.

Definition at line 89 of file watchdog.h.

Definition at line 79 of file watchdog.h.

Definition at line 83 of file watchdog.h.

struct mutex lock

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.

Definition at line 84 of file watchdog.h.

struct device* parent

Definition at line 82 of file watchdog.h.

unsigned long status

Definition at line 91 of file watchdog.h.

unsigned int timeout

Definition at line 86 of file watchdog.h.


The documentation for this struct was generated from the following file: