Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
twl4030_wdt.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/watchdog.h>
#include <linux/platform_device.h>
#include <linux/miscdevice.h>
#include <linux/uaccess.h>
#include <linux/i2c/twl.h>

Go to the source code of this file.

Data Structures

struct  twl4030_wdt
 

Macros

#define TWL4030_WATCHDOG_CFG_REG_OFFS   0x3
 
#define TWL4030_WDT_STATE_OPEN   0x1
 
#define TWL4030_WDT_STATE_ACTIVE   0x8
 
#define twl4030_wdt_suspend   NULL
 
#define twl4030_wdt_resume   NULL
 

Functions

 module_param (nowayout, bool, 0)
 
 MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started ""(default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")")
 
 module_platform_driver (twl4030_wdt_driver)
 
 MODULE_AUTHOR ("Nokia Corporation")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR)
 
 MODULE_ALIAS ("platform:twl4030_wdt")
 

Macro Definition Documentation

#define TWL4030_WATCHDOG_CFG_REG_OFFS   0x3

Definition at line 32 of file twl4030_wdt.c.

#define twl4030_wdt_resume   NULL

Definition at line 245 of file twl4030_wdt.c.

#define TWL4030_WDT_STATE_ACTIVE   0x8

Definition at line 35 of file twl4030_wdt.c.

#define TWL4030_WDT_STATE_OPEN   0x1

Definition at line 34 of file twl4030_wdt.c.

#define twl4030_wdt_suspend   NULL

Definition at line 244 of file twl4030_wdt.c.

Function Documentation

MODULE_ALIAS ( "platform:twl4030_wdt"  )
MODULE_ALIAS_MISCDEV ( WATCHDOG_MINOR  )
MODULE_AUTHOR ( "Nokia Corporation"  )
MODULE_LICENSE ( "GPL"  )
module_param ( nowayout  ,
bool  ,
 
)
MODULE_PARM_DESC ( nowayout  ,
"Watchdog cannot be stopped once started ""(default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")"   
)
module_platform_driver ( twl4030_wdt_driver  )