Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gef_wdt.c File Reference
#include <linux/kernel.h>
#include <linux/compiler.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/fs.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <sysdev/fsl_soc.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define GEF_WDC_ENABLE_SHIFT   24
 
#define GEF_WDC_SERVICE_SHIFT   26
 
#define GEF_WDC_ENABLED_SHIFT   31
 
#define GEF_WDC_ENABLED_TRUE   1
 
#define GEF_WDC_ENABLED_FALSE   0
 
#define GEF_WDOG_FLAG_OPENED   0
 

Functions

 module_param (nowayout, bool, 0)
 
 MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")")
 
 module_init (gef_wdt_init)
 
 module_exit (gef_wdt_exit)
 
 MODULE_AUTHOR ("Martyn Welch <[email protected]>")
 
 MODULE_DESCRIPTION ("GE watchdog driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR)
 
 MODULE_ALIAS ("platform:gef_wdt")
 

Macro Definition Documentation

#define GEF_WDC_ENABLE_SHIFT   24

Definition at line 54 of file gef_wdt.c.

#define GEF_WDC_ENABLED_FALSE   0

Definition at line 59 of file gef_wdt.c.

#define GEF_WDC_ENABLED_SHIFT   31

Definition at line 56 of file gef_wdt.c.

#define GEF_WDC_ENABLED_TRUE   1

Definition at line 58 of file gef_wdt.c.

#define GEF_WDC_SERVICE_SHIFT   26

Definition at line 55 of file gef_wdt.c.

#define GEF_WDOG_FLAG_OPENED   0

Definition at line 62 of file gef_wdt.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 27 of file gef_wdt.c.

Function Documentation

MODULE_ALIAS ( "platform:gef_wdt"  )
MODULE_ALIAS_MISCDEV ( WATCHDOG_MINOR  )
MODULE_AUTHOR ( "Martyn Welch <[email protected]>"  )
MODULE_DESCRIPTION ( "GE watchdog driver )
module_exit ( gef_wdt_exit  )
module_init ( gef_wdt_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( nowayout  ,
bool  ,
 
)
MODULE_PARM_DESC ( nowayout  ,
"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")"   
)