Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
i8254.h File Reference
#include <linux/kthread.h>
#include "iodev.h"

Go to the source code of this file.

Data Structures

struct  kvm_kpit_channel_state
 
struct  kvm_kpit_state
 
struct  kvm_pit
 

Macros

#define KVM_PIT_BASE_ADDRESS   0x40
 
#define KVM_SPEAKER_BASE_ADDRESS   0x61
 
#define KVM_PIT_MEM_LENGTH   4
 
#define KVM_PIT_FREQ   1193181
 
#define KVM_MAX_PIT_INTR_INTERVAL   HZ / 100
 
#define KVM_PIT_CHANNEL_MASK   0x3
 

Functions

void kvm_pit_load_count (struct kvm *kvm, int channel, u32 val, int hpet_legacy_start)
 
struct kvm_pitkvm_create_pit (struct kvm *kvm, u32 flags)
 
void kvm_free_pit (struct kvm *kvm)
 
void kvm_pit_reset (struct kvm_pit *pit)
 

Macro Definition Documentation

#define KVM_MAX_PIT_INTR_INTERVAL   HZ / 100

Definition at line 57 of file i8254.h.

#define KVM_PIT_BASE_ADDRESS   0x40

Definition at line 53 of file i8254.h.

#define KVM_PIT_CHANNEL_MASK   0x3

Definition at line 58 of file i8254.h.

#define KVM_PIT_FREQ   1193181

Definition at line 56 of file i8254.h.

#define KVM_PIT_MEM_LENGTH   4

Definition at line 55 of file i8254.h.

#define KVM_SPEAKER_BASE_ADDRESS   0x61

Definition at line 54 of file i8254.h.

Function Documentation

struct kvm_pit* kvm_create_pit ( struct kvm kvm,
u32  flags 
)
read

Definition at line 654 of file i8254.c.

void kvm_free_pit ( struct kvm kvm)

Definition at line 737 of file i8254.c.

void kvm_pit_load_count ( struct kvm kvm,
int  channel,
u32  val,
int  hpet_legacy_start 
)

Definition at line 397 of file i8254.c.

void kvm_pit_reset ( struct kvm_pit pit)

Definition at line 614 of file i8254.c.