Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

wdog.c File Reference


Detailed Description

This file contains watchdog timer implementations.

This file contains watchdog timer implementations for timer tick.

Definition in file wdog.c.

#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <mach/hardware.h>

Go to the source code of this file.

Defines

#define WCR_SRS_BIT   (1 << 4)
#define WCR_WDA_BIT   (1 << 5)
#define WCR_WDBG_BIT   (1 << 1)
#define WCR_WDE_BIT   (1 << 2)
#define WCR_WDZST_BIT   (1 << 0)
#define WCR_WOE_BIT   (1 << 6)
#define WCR_WRE_BIT   (1 << 3)
#define WDOG_WCR   0
#define WDOG_WRSR   4
#define WDOG_WSR   2
#define WDOG_WT   0x8

Functions

void mxc_wd_reset (void)

Variables

static void __iomem * wdog_base [2]


Generated by  Doxygen 1.6.0   Back to index