#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/fs.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <asm/smp_twd.h>
Go to the source code of this file.
|
| module_param (mpcore_margin, int, 0) |
|
| MODULE_PARM_DESC (mpcore_margin,"MPcore timer margin in seconds. (0 < mpcore_margin < 65536, default="__MODULE_STRING(TIMER_MARGIN)")") |
|
| module_param (nowayout, bool, 0) |
|
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") |
|
| module_param (mpcore_noboot, int, 0) |
|
| MODULE_PARM_DESC (mpcore_noboot,"MPcore watchdog action, ""set to 1 to ignore reboots, 0 to reboot (default="__MODULE_STRING(ONLY_TESTING)")") |
|
| MODULE_ALIAS ("platform:mpcore_wdt") |
|
| module_init (mpcore_wdt_init) |
|
| module_exit (mpcore_wdt_exit) |
|
| MODULE_AUTHOR ("ARM Limited") |
|
| MODULE_DESCRIPTION ("MPcore Watchdog Device Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) |
|
#define mpcore_wdt_resume NULL |
#define mpcore_wdt_suspend NULL |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_ALIAS |
( |
"platform:mpcore_wdt" |
| ) |
|
MODULE_AUTHOR |
( |
"ARM Limited" |
| ) |
|
MODULE_DESCRIPTION |
( |
"MPcore Watchdog Device Driver" |
| ) |
|
module_exit |
( |
mpcore_wdt_exit |
| ) |
|
module_init |
( |
mpcore_wdt_init |
| ) |
|
module_param |
( |
mpcore_margin |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
nowayout |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
mpcore_noboot |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mpcore_margin |
, |
|
|
"MPcore timer margin in seconds. (0 < mpcore_margin < 65536, default="__MODULE_STRING(TIMER_MARGIN)")" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mpcore_noboot |
, |
|
|
"MPcore watchdog |
action, |
|
|
""set to 1 to ignore |
reboots, |
|
|
0 to reboot(default="__MODULE_STRING(ONLY_TESTING)")" |
|
|
) |
| |