Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/timer.h>
#include <linux/completion.h>
#include <linux/jiffies.h>
#include <linux/platform_device.h>
#include <linux/watchdog.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/mfd/rdc321x.h>
Go to the source code of this file.
Macros | |
#define | RDC_WDT_MASK 0x80000000 /* Mask */ |
#define | RDC_WDT_EN 0x00800000 /* Enable bit */ |
#define | RDC_WDT_WTI 0x00200000 /* Generate CPU reset/NMI/WDT on timeout */ |
#define | RDC_WDT_RST 0x00100000 /* Reset bit */ |
#define | RDC_WDT_WIF 0x00040000 /* WDT IRQ Flag */ |
#define | RDC_WDT_IRT 0x00000100 /* IRQ Routing table */ |
#define | RDC_WDT_CNT 0x00000001 /* WDT count */ |
#define | RDC_CLS_TMR 0x80003844 /* Clear timer */ |
#define | RDC_WDT_INTERVAL (HZ/10+1) |
Functions | |
module_platform_driver (rdc321x_wdt_driver) | |
MODULE_AUTHOR ("Florian Fainelli <[email protected]>") | |
MODULE_DESCRIPTION ("RDC321x watchdog driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
#define RDC_CLS_TMR 0x80003844 /* Clear timer */ |
Definition at line 49 of file rdc321x_wdt.c.
#define RDC_WDT_CNT 0x00000001 /* WDT count */ |
Definition at line 47 of file rdc321x_wdt.c.
#define RDC_WDT_EN 0x00800000 /* Enable bit */ |
Definition at line 42 of file rdc321x_wdt.c.
#define RDC_WDT_INTERVAL (HZ/10+1) |
Definition at line 51 of file rdc321x_wdt.c.
#define RDC_WDT_IRT 0x00000100 /* IRQ Routing table */ |
Definition at line 46 of file rdc321x_wdt.c.
#define RDC_WDT_MASK 0x80000000 /* Mask */ |
Definition at line 41 of file rdc321x_wdt.c.
#define RDC_WDT_RST 0x00100000 /* Reset bit */ |
Definition at line 44 of file rdc321x_wdt.c.
#define RDC_WDT_WIF 0x00040000 /* WDT IRQ Flag */ |
Definition at line 45 of file rdc321x_wdt.c.
#define RDC_WDT_WTI 0x00200000 /* Generate CPU reset/NMI/WDT on timeout */ |
Definition at line 43 of file rdc321x_wdt.c.
MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
MODULE_AUTHOR | ( | "Florian Fainelli <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | rdc321x_wdt_driver | ) |
int base_reg |
Definition at line 66 of file rdc321x_wdt.c.
int default_ticks |
Definition at line 62 of file rdc321x_wdt.c.
unsigned long inuse |
Definition at line 63 of file rdc321x_wdt.c.
spinlock_t lock |
Definition at line 64 of file rdc321x_wdt.c.
Definition at line 61 of file rdc321x_wdt.c.
int running |
Definition at line 59 of file rdc321x_wdt.c.
Definition at line 65 of file rdc321x_wdt.c.
struct completion stop |
Definition at line 58 of file rdc321x_wdt.c.
Definition at line 60 of file rdc321x_wdt.c.