Linux Kernel
3.7.1
|
#include <linux/bitops.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/uaccess.h>
#include <linux/watchdog.h>
#include <linux/timer.h>
#include <linux/jiffies.h>
#include <linux/interrupt.h>
#include <linux/ptrace.h>
#include <linux/resource.h>
#include <linux/platform_device.h>
#include <bcm63xx_cpu.h>
#include <bcm63xx_io.h>
#include <bcm63xx_regs.h>
#include <bcm63xx_timer.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
#define | PFX KBUILD_MODNAME |
#define | WDT_HZ 50000000 /* Fclk */ |
#define | WDT_DEFAULT_TIME 30 /* seconds */ |
#define | WDT_MAX_TIME 256 /* seconds */ |
Functions | |
module_param (nowayout, bool, 0) | |
MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
module_platform_driver (bcm63xx_wdt_driver) | |
MODULE_AUTHOR ("Miguel Gaio <[email protected]>") | |
MODULE_AUTHOR ("Florian Fainelli <[email protected]>") | |
MODULE_DESCRIPTION ("Driver for the Broadcom BCM63xx SoC watchdog") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
MODULE_ALIAS ("platform:bcm63xx-wdt") | |
#define PFX KBUILD_MODNAME |
Definition at line 38 of file bcm63xx_wdt.c.
Definition at line 13 of file bcm63xx_wdt.c.
#define WDT_DEFAULT_TIME 30 /* seconds */ |
Definition at line 41 of file bcm63xx_wdt.c.
#define WDT_HZ 50000000 /* Fclk */ |
Definition at line 40 of file bcm63xx_wdt.c.
#define WDT_MAX_TIME 256 /* seconds */ |
Definition at line 42 of file bcm63xx_wdt.c.
MODULE_ALIAS | ( | "platform:bcm63xx-wdt" | ) |
MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
MODULE_AUTHOR | ( | "Miguel Gaio <[email protected]>" | ) |
MODULE_AUTHOR | ( | "Florian Fainelli <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | nowayout | , |
bool | , | ||
0 | |||
) |
MODULE_PARM_DESC | ( | nowayout | , |
"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
) |
module_platform_driver | ( | bcm63xx_wdt_driver | ) |
int default_ticks |
Definition at line 47 of file bcm63xx_wdt.c.
unsigned long inuse |
Definition at line 48 of file bcm63xx_wdt.c.
Definition at line 45 of file bcm63xx_wdt.c.
atomic_t ticks |
Definition at line 49 of file bcm63xx_wdt.c.
Definition at line 46 of file bcm63xx_wdt.c.