tangled
alpha
login
or
join now
tjh.dev
/
kernel
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp
Linus Torvalds
20 years ago
b75cdf38
881787a7
+18
2 changed files
expand all
collapse all
unified
split
drivers
char
watchdog
mpcore_wdt.c
include
asm-arm
hardware
arm_twd.h
+2
drivers/char/watchdog/mpcore_wdt.c
···
30
30
#include <linux/init.h>
31
31
#include <linux/interrupt.h>
32
32
#include <linux/device.h>
33
33
+
34
34
+
#include <asm/hardware/arm_twd.h>
33
35
#include <asm/uaccess.h>
34
36
35
37
struct mpcore_wdt {
+16
include/asm-arm/hardware/arm_twd.h
···
1
1
+
#ifndef __ASM_HARDWARE_TWD_H
2
2
+
#define __ASM_HARDWARE_TWD_H
3
3
+
4
4
+
#define TWD_TIMER_LOAD 0x00
5
5
+
#define TWD_TIMER_COUNTER 0x04
6
6
+
#define TWD_TIMER_CONTROL 0x08
7
7
+
#define TWD_TIMER_INTSTAT 0x0C
8
8
+
9
9
+
#define TWD_WDOG_LOAD 0x20
10
10
+
#define TWD_WDOG_COUNTER 0x24
11
11
+
#define TWD_WDOG_CONTROL 0x28
12
12
+
#define TWD_WDOG_INTSTAT 0x2C
13
13
+
#define TWD_WDOG_RESETSTAT 0x30
14
14
+
#define TWD_WDOG_DISABLE 0x34
15
15
+
16
16
+
#endif