|
Linux Kernel
3.7.1
|
#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/platform_device.h>#include <linux/reboot.h>#include <linux/uaccess.h>#include <linux/cs5535.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | GEODEWDT_HZ 500 |
| #define | GEODEWDT_SCALE 6 |
| #define | GEODEWDT_MAX_SECONDS 131 |
| #define | WDT_FLAGS_OPEN 1 |
| #define | WDT_FLAGS_ORPHAN 2 |
| #define | DRV_NAME "geodewdt" |
| #define | WATCHDOG_NAME "Geode GX/LX WDT" |
| #define | WATCHDOG_TIMEOUT 60 |
Functions | |
| module_param (timeout, int, 0) | |
| MODULE_PARM_DESC (timeout,"Watchdog timeout in seconds. 1<= timeout <=131, default="__MODULE_STRING(WATCHDOG_TIMEOUT)".") | |
| module_param (nowayout, bool, 0) | |
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
| module_init (geodewdt_init) | |
| module_exit (geodewdt_exit) | |
| MODULE_AUTHOR ("Advanced Micro Devices, Inc") | |
| MODULE_DESCRIPTION ("Geode GX/LX Watchdog Driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| #define DRV_NAME "geodewdt" |
Definition at line 33 of file geodewdt.c.
| #define GEODEWDT_HZ 500 |
Definition at line 26 of file geodewdt.c.
| #define GEODEWDT_MAX_SECONDS 131 |
Definition at line 28 of file geodewdt.c.
| #define GEODEWDT_SCALE 6 |
Definition at line 27 of file geodewdt.c.
Definition at line 12 of file geodewdt.c.
| #define WATCHDOG_NAME "Geode GX/LX WDT" |
Definition at line 34 of file geodewdt.c.
| #define WATCHDOG_TIMEOUT 60 |
Definition at line 35 of file geodewdt.c.
| #define WDT_FLAGS_OPEN 1 |
Definition at line 30 of file geodewdt.c.
| #define WDT_FLAGS_ORPHAN 2 |
Definition at line 31 of file geodewdt.c.
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Advanced Micro | Devices, |
| Inc" | |||
| ) |
| MODULE_DESCRIPTION | ( | "Geode GX/LX Watchdog Driver" | ) |
| module_exit | ( | geodewdt_exit | ) |
| module_init | ( | geodewdt_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | nowayout | , |
| bool | , | ||
| 0 | |||
| ) |
| MODULE_PARM_DESC | ( | nowayout | , |
| "Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
| ) |
1.8.2