Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/miscdevice.h>
#include <linux/mutex.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/watchdog.h>
#include <linux/uaccess.h>
Go to the source code of this file.
Data Structures | |
struct | ts72xx_wdt |
Macros | |
#define | TS72XX_WDT_FEED_VAL 0x05 |
#define | TS72XX_WDT_DEFAULT_TIMEOUT 8 |
#define | TS72XX_WDT_BUSY_FLAG 1 |
#define | TS72XX_WDT_EXPECT_CLOSE_FLAG 2 |
Functions | |
module_param (timeout, int, 0) | |
MODULE_PARM_DESC (timeout,"Watchdog timeout in seconds. ""(1 <= timeout <= 8, default="")") | |
module_param (nowayout, bool, 0) | |
MODULE_PARM_DESC (nowayout,"Disable watchdog shutdown on close") | |
module_platform_driver (ts72xx_wdt_driver) | |
MODULE_AUTHOR ("Mika Westerberg <[email protected]>") | |
MODULE_DESCRIPTION ("TS-72xx SBC Watchdog") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:ts72xx-wdt") | |
Variables | |
struct platform_device * | ts72xx_wdt_pdev |
#define TS72XX_WDT_BUSY_FLAG 1 |
Definition at line 54 of file ts72xx_wdt.c.
#define TS72XX_WDT_DEFAULT_TIMEOUT 8 |
Definition at line 28 of file ts72xx_wdt.c.
#define TS72XX_WDT_EXPECT_CLOSE_FLAG 2 |
Definition at line 55 of file ts72xx_wdt.c.
#define TS72XX_WDT_FEED_VAL 0x05 |
Definition at line 27 of file ts72xx_wdt.c.
MODULE_ALIAS | ( | "platform:ts72xx-wdt" | ) |
MODULE_AUTHOR | ( | "Mika Westerberg <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "TS-72xx SBC Watchdog" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | nowayout | , |
bool | , | ||
0 | |||
) |
module_platform_driver | ( | ts72xx_wdt_driver | ) |
Definition at line 88 of file ts72xx_wdt.c.
struct platform_device* ts72xx_wdt_pdev |
Definition at line 64 of file ts72xx_wdt.c.