Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
booke_wdt.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/smp.h>
#include <linux/miscdevice.h>
#include <linux/notifier.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
#include <asm/reg_booke.h>
#include <asm/time.h>
#include <asm/div64.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define WDTP(x)   (TCR_WP(x))
 
#define WDTP_MASK   (TCR_WP_MASK)
 

Functions

 module_init (booke_wdt_init)
 
 module_exit (booke_wdt_exit)
 
 MODULE_DESCRIPTION ("PowerPC Book-E watchdog driver")
 
 MODULE_LICENSE ("GPL")
 

Variables

u32 booke_wdt_enabled
 
u32 booke_wdt_period = CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 15 of file booke_wdt.c.

#define WDTP (   x)    (TCR_WP(x))

Definition at line 44 of file booke_wdt.c.

#define WDTP_MASK   (TCR_WP_MASK)

Definition at line 45 of file booke_wdt.c.

Function Documentation

MODULE_DESCRIPTION ( "PowerPC Book-E watchdog driver )
module_exit ( booke_wdt_exit  )
module_init ( booke_wdt_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

u32 booke_wdt_enabled

Definition at line 37 of file booke_wdt.c.

u32 booke_wdt_period = CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT

Definition at line 38 of file booke_wdt.c.