Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
i8253.h File Reference
#include <linux/param.h>
#include <linux/spinlock.h>
#include <linux/timex.h>

Go to the source code of this file.

Macros

#define PIT_MODE   0x43
 
#define PIT_CH0   0x40
 
#define PIT_CH2   0x42
 
#define PIT_LATCH   ((PIT_TICK_RATE + HZ/2) / HZ)
 

Functions

void clockevent_i8253_init (bool oneshot)
 
void setup_pit_timer (void)
 

Variables

raw_spinlock_t i8253_lock
 
struct clock_event_device i8253_clockevent
 

Macro Definition Documentation

#define PIT_CH0   0x40

Definition at line 18 of file i8253.h.

#define PIT_CH2   0x42

Definition at line 19 of file i8253.h.

#define PIT_LATCH   ((PIT_TICK_RATE + HZ/2) / HZ)

Definition at line 21 of file i8253.h.

#define PIT_MODE   0x43

Definition at line 17 of file i8253.h.

Function Documentation

void clockevent_i8253_init ( bool  oneshot)
void setup_pit_timer ( void  )

Definition at line 26 of file i8253.c.

Variable Documentation

struct clock_event_device i8253_clockevent
raw_spinlock_t i8253_lock