#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/timer.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/clk.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/of.h>
#include <mach/map.h>
#include <plat/regs-watchdog.h>
Go to the source code of this file.
|
| module_param (tmr_margin, int, 0) |
|
| module_param (tmr_atboot, int, 0) |
|
| module_param (nowayout, bool, 0) |
|
| module_param (soft_noboot, int, 0) |
|
| module_param (debug, int, 0) |
|
| MODULE_PARM_DESC (tmr_margin,"Watchdog tmr_margin in seconds. (default="__MODULE_STRING(CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME)")") |
|
| MODULE_PARM_DESC (tmr_atboot,"Watchdog is started at boot time if set to 1, default="__MODULE_STRING(CONFIG_S3C2410_WATCHDOG_ATBOOT)) |
|
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") |
|
| MODULE_PARM_DESC (soft_noboot,"Watchdog action, set to 1 to ignore reboots, ""0 to reboot (default 0)") |
|
| MODULE_PARM_DESC (debug,"Watchdog debug, set to >1 for debug (default 0)") |
|
| module_platform_driver (s3c2410wdt_driver) |
|
| MODULE_AUTHOR ("Ben Dooks <[email protected]>, ""Dimitry Andric <[email protected]>") |
|
| MODULE_DESCRIPTION ("S3C2410 Watchdog Device Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) |
|
| MODULE_ALIAS ("platform:s3c2410-wdt") |
|
#define CONFIG_S3C2410_WATCHDOG_ATBOOT (0) |
#define CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME (15) |
Value:do { \
pr_info(
fmt, ##__VA_ARGS__); \
} while (0)
Definition at line 88 of file s3c2410_wdt.c.
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define s3c2410wdt_resume NULL |
#define s3c2410wdt_suspend NULL |
#define S3C_VA_WATCHDOG (0) |
MODULE_ALIAS |
( |
"platform:s3c2410-wdt" |
| ) |
|
MODULE_AUTHOR |
( |
"Ben Dooks <[email protected]> |
, |
|
|
""Dimitry Andric< dimitry.andric @tomtom.com >" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"S3C2410 Watchdog Device Driver" |
| ) |
|
module_param |
( |
tmr_margin |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
tmr_atboot |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
nowayout |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
soft_noboot |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
soft_noboot |
, |
|
|
"Watchdog |
action, |
|
|
set to 1 to ignore |
reboots, |
|
|
""0 to reboot(default 0)" |
|
|
) |
| |
module_platform_driver |
( |
s3c2410wdt_driver |
| ) |
|