Linux Kernel
3.7.1
|
#include <linux/device.h>
#include <linux/resource.h>
#include <linux/amba/bus.h>
#include <linux/bitops.h>
#include <linux/clk.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/math64.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/types.h>
#include <linux/watchdog.h>
Go to the source code of this file.
Data Structures | |
struct | sp805_wdt |
Macros | |
#define | DEFAULT_TIMEOUT 60 |
#define | MODULE_NAME "sp805-wdt" |
#define | WDTLOAD 0x000 |
#define | LOAD_MIN 0x00000001 |
#define | LOAD_MAX 0xFFFFFFFF |
#define | WDTVALUE 0x004 |
#define | WDTCONTROL 0x008 |
#define | INT_ENABLE (1 << 0) |
#define | RESET_ENABLE (1 << 1) |
#define | WDTINTCLR 0x00C |
#define | WDTRIS 0x010 |
#define | WDTMIS 0x014 |
#define | INT_MASK (1 << 0) |
#define | WDTLOCK 0xC00 |
#define | UNLOCK 0x1ACCE551 |
#define | LOCK 0x00000001 |
Functions | |
module_param (nowayout, bool, 0) | |
MODULE_PARM_DESC (nowayout,"Set to 1 to keep watchdog running after device release") | |
MODULE_DEVICE_TABLE (amba, sp805_wdt_ids) | |
module_amba_driver (sp805_wdt_driver) | |
MODULE_AUTHOR ("Viresh Kumar <[email protected]>") | |
MODULE_DESCRIPTION ("ARM SP805 Watchdog Driver") | |
MODULE_LICENSE ("GPL") | |
#define DEFAULT_TIMEOUT 60 |
Definition at line 33 of file sp805_wdt.c.
#define INT_ENABLE (1 << 0) |
Definition at line 44 of file sp805_wdt.c.
#define INT_MASK (1 << 0) |
Definition at line 49 of file sp805_wdt.c.
#define LOAD_MAX 0xFFFFFFFF |
Definition at line 40 of file sp805_wdt.c.
#define LOAD_MIN 0x00000001 |
Definition at line 39 of file sp805_wdt.c.
#define LOCK 0x00000001 |
Definition at line 52 of file sp805_wdt.c.
#define MODULE_NAME "sp805-wdt" |
Definition at line 35 of file sp805_wdt.c.
#define RESET_ENABLE (1 << 1) |
Definition at line 45 of file sp805_wdt.c.
#define UNLOCK 0x1ACCE551 |
Definition at line 51 of file sp805_wdt.c.
#define WDTCONTROL 0x008 |
Definition at line 42 of file sp805_wdt.c.
#define WDTINTCLR 0x00C |
Definition at line 46 of file sp805_wdt.c.
#define WDTLOAD 0x000 |
Definition at line 38 of file sp805_wdt.c.
#define WDTLOCK 0xC00 |
Definition at line 50 of file sp805_wdt.c.
#define WDTMIS 0x014 |
Definition at line 48 of file sp805_wdt.c.
#define WDTRIS 0x010 |
Definition at line 47 of file sp805_wdt.c.
#define WDTVALUE 0x004 |
Definition at line 41 of file sp805_wdt.c.
module_amba_driver | ( | sp805_wdt_driver | ) |
MODULE_AUTHOR | ( | "Viresh Kumar <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "ARM SP805 Watchdog Driver" | ) |
MODULE_DEVICE_TABLE | ( | amba | , |
sp805_wdt_ids | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | nowayout | , |
bool | , | ||
0 | |||
) |