|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/types.h>#include <linux/kernel.h>#include <linux/fs.h>#include <linux/miscdevice.h>#include <linux/init.h>#include <linux/ioport.h>#include <linux/watchdog.h>#include <linux/io.h>#include <linux/uaccess.h>#include <linux/of.h>#include <linux/of_device.h>#include <linux/of_address.h>Go to the source code of this file.
Data Structures | |
| struct | xwdt_device |
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | XWT_TWCSR0_OFFSET 0x0 /* Control/Status Register0 */ |
| #define | XWT_TWCSR1_OFFSET 0x4 /* Control/Status Register1 */ |
| #define | XWT_TBR_OFFSET 0x8 /* Timebase Register Offset */ |
| #define | XWT_CSR0_WRS_MASK 0x00000008 /* Reset status */ |
| #define | XWT_CSR0_WDS_MASK 0x00000004 /* Timer state */ |
| #define | XWT_CSR0_EWDT1_MASK 0x00000002 /* Enable bit 1 */ |
| #define | XWT_CSRX_EWDT2_MASK 0x00000001 /* Enable bit 2 */ |
| #define | XWT_MAX_SELFTEST_LOOP_COUNT 0x00010000 |
| #define | XWT_TIMER_FAILED 0xFFFFFFFF |
| #define | WATCHDOG_NAME "Xilinx Watchdog" |
| #define | PFX WATCHDOG_NAME ": " |
Functions | |
| MODULE_DEVICE_TABLE (of, xwdt_of_match) | |
| module_platform_driver (xwdt_driver) | |
| MODULE_AUTHOR ("Alejandro Cabrera <[email protected]>") | |
| MODULE_DESCRIPTION ("Xilinx Watchdog driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| #define PFX WATCHDOG_NAME ": " |
Definition at line 56 of file of_xilinx_wdt.c.
Definition at line 22 of file of_xilinx_wdt.c.
| #define WATCHDOG_NAME "Xilinx Watchdog" |
Definition at line 55 of file of_xilinx_wdt.c.
| #define XWT_CSR0_EWDT1_MASK 0x00000002 /* Enable bit 1 */ |
Definition at line 46 of file of_xilinx_wdt.c.
| #define XWT_CSR0_WDS_MASK 0x00000004 /* Timer state */ |
Definition at line 45 of file of_xilinx_wdt.c.
| #define XWT_CSR0_WRS_MASK 0x00000008 /* Reset status */ |
Definition at line 44 of file of_xilinx_wdt.c.
| #define XWT_CSRX_EWDT2_MASK 0x00000001 /* Enable bit 2 */ |
Definition at line 49 of file of_xilinx_wdt.c.
| #define XWT_MAX_SELFTEST_LOOP_COUNT 0x00010000 |
Definition at line 52 of file of_xilinx_wdt.c.
| #define XWT_TBR_OFFSET 0x8 /* Timebase Register Offset */ |
Definition at line 41 of file of_xilinx_wdt.c.
| #define XWT_TIMER_FAILED 0xFFFFFFFF |
Definition at line 53 of file of_xilinx_wdt.c.
| #define XWT_TWCSR0_OFFSET 0x0 /* Control/Status Register0 */ |
Definition at line 39 of file of_xilinx_wdt.c.
| #define XWT_TWCSR1_OFFSET 0x4 /* Control/Status Register1 */ |
Definition at line 40 of file of_xilinx_wdt.c.
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "Alejandro Cabrera <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "Xilinx Watchdog driver" | ) |
| MODULE_DEVICE_TABLE | ( | of | , |
| xwdt_of_match | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | xwdt_driver | ) |
1.8.2