|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/kernel.h>#include <linux/fs.h>#include <linux/miscdevice.h>#include <linux/watchdog.h>#include <linux/platform_device.h>#include <linux/spinlock.h>#include <linux/uaccess.h>#include <linux/module.h>#include <mach/platform.h>#include <mach/regs-rtc.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | DEFAULT_HEARTBEAT 19 |
| #define | MAX_HEARTBEAT (0x10000000 >> 6) |
| #define | BV_RTC_PERSISTENT1_GENERAL__RTC_FORCE_UPDATER 0x80000000 |
| #define | WDT_IN_USE 0 |
| #define | WDT_OK_TO_CLOSE 1 |
| #define | WDOG_COUNTER_RATE 1000 /* 1 kHz clock */ |
| #define | stmp3xxx_wdt_suspend NULL |
| #define | stmp3xxx_wdt_resume NULL |
Functions | |
| module_platform_driver (platform_wdt_driver) | |
| MODULE_DESCRIPTION ("STMP3XXX Watchdog Driver") | |
| MODULE_LICENSE ("GPL") | |
| module_param (heartbeat, int, 0) | |
| MODULE_PARM_DESC (heartbeat,"Watchdog heartbeat period in seconds from 1 to "__MODULE_STRING(MAX_HEARTBEAT)", default "__MODULE_STRING(DEFAULT_HEARTBEAT)) | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| #define BV_RTC_PERSISTENT1_GENERAL__RTC_FORCE_UPDATER 0x80000000 |
Definition at line 29 of file stmp3xxx_wdt.c.
| #define DEFAULT_HEARTBEAT 19 |
Definition at line 25 of file stmp3xxx_wdt.c.
| #define MAX_HEARTBEAT (0x10000000 >> 6) |
Definition at line 26 of file stmp3xxx_wdt.c.
Definition at line 10 of file stmp3xxx_wdt.c.
| #define stmp3xxx_wdt_resume NULL |
Definition at line 264 of file stmp3xxx_wdt.c.
| #define stmp3xxx_wdt_suspend NULL |
Definition at line 263 of file stmp3xxx_wdt.c.
| #define WDOG_COUNTER_RATE 1000 /* 1 kHz clock */ |
Definition at line 34 of file stmp3xxx_wdt.c.
| #define WDT_IN_USE 0 |
Definition at line 31 of file stmp3xxx_wdt.c.
| #define WDT_OK_TO_CLOSE 1 |
Definition at line 32 of file stmp3xxx_wdt.c.
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_DESCRIPTION | ( | "STMP3XXX Watchdog Driver" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| MODULE_PARM_DESC | ( | heartbeat | , |
| "Watchdog heartbeat period in seconds from 1 to "__MODULE_STRING(MAX_HEARTBEAT)" | , | ||
| default" | __MODULE_STRINGDEFAULT_HEARTBEAT | ||
| ) |
| module_platform_driver | ( | platform_wdt_driver | ) |
1.8.2