repo.or.cz
/
linux-2.6
/
linux-acpi-2.6
/
ibm-acpi-2.6.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
watchdog: Fix rounding bug in get_sample_period()
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git]
/
arch
/
arm
/
include
/
asm
/
i8253.h
blob
70656b69d5ce15d9ba71ea87c1b2d996e2fe41d5
1
#ifndef __ASMARM_I8253_H
2
#define __ASMARM_I8253_H
3
4
/* i8253A PIT registers */
5
#define PIT_MODE 0x43
6
#define PIT_CH0 0x40
7
8
#define PIT_LATCH ((PIT_TICK_RATE + HZ / 2) / HZ)
9
10
extern
raw_spinlock_t i8253_lock
;
11
12
#define outb_pit outb_p
13
#define inb_pit inb_p
14
15
#endif