Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sb_wdog.c File Reference
#include <linux/module.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <linux/reboot.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/interrupt.h>
#include <asm/sibyte/sb1250.h>
#include <asm/sibyte/sb1250_regs.h>
#include <asm/sibyte/sb1250_int.h>
#include <asm/sibyte/sb1250_scd.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

void sbwdog_set (char __iomem *wdog, unsigned long t)
 
void sbwdog_pet (char __iomem *wdog)
 
irqreturn_t sbwdog_interrupt (int irq, void *addr)
 
 module_init (sbwdog_init)
 
 module_exit (sbwdog_exit)
 
 MODULE_AUTHOR ("Andrew Sharp <[email protected]>")
 
 MODULE_DESCRIPTION ("SiByte Watchdog")
 
 module_param (timeout, ulong, 0)
 
 MODULE_PARM_DESC (timeout,"Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 47 of file sb_wdog.c.

Function Documentation

MODULE_ALIAS_MISCDEV ( WATCHDOG_MINOR  )
MODULE_AUTHOR ( "Andrew Sharp <[email protected]>"  )
MODULE_DESCRIPTION ( "SiByte Watchdog"  )
module_exit ( sbwdog_exit  )
module_init ( sbwdog_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( timeout  ,
ulong  ,
 
)
MODULE_PARM_DESC ( timeout  ,
"Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)"   
)
irqreturn_t sbwdog_interrupt ( int  irq,
void addr 
)

Definition at line 261 of file sb_wdog.c.

void sbwdog_pet ( char __iomem wdog)

Definition at line 84 of file sb_wdog.c.

void sbwdog_set ( char __iomem wdog,
unsigned long  t 
)

Definition at line 70 of file sb_wdog.c.