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

Go to the source code of this file.

Data Structures

struct  hpet
 
struct  hpet::hpet_timer
 
struct  hpet_data
 

Macros

#define hpet_mc   _u0._hpet_mc
 
#define hpet_compare   _u1._hpet_compare
 
#define HPET_MAX_TIMERS   (32)
 
#define HPET_MAX_IRQ   (32)
 
#define HPET_COUNTER_CLK_PERIOD_MASK   (0xffffffff00000000ULL)
 
#define HPET_COUNTER_CLK_PERIOD_SHIFT   (32UL)
 
#define HPET_VENDOR_ID_MASK   (0x00000000ffff0000ULL)
 
#define HPET_VENDOR_ID_SHIFT   (16ULL)
 
#define HPET_LEG_RT_CAP_MASK   (0x8000)
 
#define HPET_COUNTER_SIZE_MASK   (0x2000)
 
#define HPET_NUM_TIM_CAP_MASK   (0x1f00)
 
#define HPET_NUM_TIM_CAP_SHIFT   (8ULL)
 
#define HPET_LEG_RT_CNF_MASK   (2UL)
 
#define HPET_ENABLE_CNF_MASK   (1UL)
 
#define Tn_INT_ROUTE_CAP_MASK   (0xffffffff00000000ULL)
 
#define Tn_INT_ROUTE_CAP_SHIFT   (32UL)
 
#define Tn_FSB_INT_DELCAP_MASK   (0x8000UL)
 
#define Tn_FSB_INT_DELCAP_SHIFT   (15)
 
#define Tn_FSB_EN_CNF_MASK   (0x4000UL)
 
#define Tn_FSB_EN_CNF_SHIFT   (14)
 
#define Tn_INT_ROUTE_CNF_MASK   (0x3e00UL)
 
#define Tn_INT_ROUTE_CNF_SHIFT   (9)
 
#define Tn_32MODE_CNF_MASK   (0x0100UL)
 
#define Tn_VAL_SET_CNF_MASK   (0x0040UL)
 
#define Tn_SIZE_CAP_MASK   (0x0020UL)
 
#define Tn_PER_INT_CAP_MASK   (0x0010UL)
 
#define Tn_TYPE_CNF_MASK   (0x0008UL)
 
#define Tn_INT_ENB_CNF_MASK   (0x0004UL)
 
#define Tn_INT_TYPE_CNF_MASK   (0x0002UL)
 
#define Tn_FSB_INT_ADDR_MASK   (0xffffffff00000000ULL)
 
#define Tn_FSB_INT_ADDR_SHIFT   (32UL)
 
#define Tn_FSB_INT_VAL_MASK   (0x00000000ffffffffULL)
 

Functions

int hpet_alloc (struct hpet_data *)
 

Macro Definition Documentation

#define hpet_compare   _u1._hpet_compare

Definition at line 36 of file hpet.h.

#define HPET_COUNTER_CLK_PERIOD_MASK   (0xffffffff00000000ULL)

Definition at line 45 of file hpet.h.

#define HPET_COUNTER_CLK_PERIOD_SHIFT   (32UL)

Definition at line 46 of file hpet.h.

#define HPET_COUNTER_SIZE_MASK   (0x2000)

Definition at line 50 of file hpet.h.

#define HPET_ENABLE_CNF_MASK   (1UL)

Definition at line 59 of file hpet.h.

#define HPET_LEG_RT_CAP_MASK   (0x8000)

Definition at line 49 of file hpet.h.

#define HPET_LEG_RT_CNF_MASK   (2UL)

Definition at line 58 of file hpet.h.

#define HPET_MAX_IRQ   (32)

Definition at line 39 of file hpet.h.

#define HPET_MAX_TIMERS   (32)

Definition at line 38 of file hpet.h.

#define hpet_mc   _u0._hpet_mc

Definition at line 35 of file hpet.h.

#define HPET_NUM_TIM_CAP_MASK   (0x1f00)

Definition at line 51 of file hpet.h.

#define HPET_NUM_TIM_CAP_SHIFT   (8ULL)

Definition at line 52 of file hpet.h.

#define HPET_VENDOR_ID_MASK   (0x00000000ffff0000ULL)

Definition at line 47 of file hpet.h.

#define HPET_VENDOR_ID_SHIFT   (16ULL)

Definition at line 48 of file hpet.h.

#define Tn_32MODE_CNF_MASK   (0x0100UL)

Definition at line 74 of file hpet.h.

#define Tn_FSB_EN_CNF_MASK   (0x4000UL)

Definition at line 70 of file hpet.h.

#define Tn_FSB_EN_CNF_SHIFT   (14)

Definition at line 71 of file hpet.h.

#define Tn_FSB_INT_ADDR_MASK   (0xffffffff00000000ULL)

Definition at line 86 of file hpet.h.

#define Tn_FSB_INT_ADDR_SHIFT   (32UL)

Definition at line 87 of file hpet.h.

#define Tn_FSB_INT_DELCAP_MASK   (0x8000UL)

Definition at line 68 of file hpet.h.

#define Tn_FSB_INT_DELCAP_SHIFT   (15)

Definition at line 69 of file hpet.h.

#define Tn_FSB_INT_VAL_MASK   (0x00000000ffffffffULL)

Definition at line 88 of file hpet.h.

#define Tn_INT_ENB_CNF_MASK   (0x0004UL)

Definition at line 79 of file hpet.h.

#define Tn_INT_ROUTE_CAP_MASK   (0xffffffff00000000ULL)

Definition at line 66 of file hpet.h.

#define Tn_INT_ROUTE_CAP_SHIFT   (32UL)

Definition at line 67 of file hpet.h.

#define Tn_INT_ROUTE_CNF_MASK   (0x3e00UL)

Definition at line 72 of file hpet.h.

#define Tn_INT_ROUTE_CNF_SHIFT   (9)

Definition at line 73 of file hpet.h.

#define Tn_INT_TYPE_CNF_MASK   (0x0002UL)

Definition at line 80 of file hpet.h.

#define Tn_PER_INT_CAP_MASK   (0x0010UL)

Definition at line 77 of file hpet.h.

#define Tn_SIZE_CAP_MASK   (0x0020UL)

Definition at line 76 of file hpet.h.

#define Tn_TYPE_CNF_MASK   (0x0008UL)

Definition at line 78 of file hpet.h.

#define Tn_VAL_SET_CNF_MASK   (0x0040UL)

Definition at line 75 of file hpet.h.

Function Documentation

int hpet_alloc ( struct hpet_data )

Definition at line 837 of file hpet.c.