Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
speedstep-lib.h File Reference

Go to the source code of this file.

Macros

#define SPEEDSTEP_HIGH   0x00000000
 
#define SPEEDSTEP_LOW   0x00000001
 

Enumerations

enum  speedstep_processor {
  SPEEDSTEP_CPU_PIII_C_EARLY = 0x00000001, SPEEDSTEP_CPU_PIII_C = 0x00000002, SPEEDSTEP_CPU_PIII_T = 0x00000003, SPEEDSTEP_CPU_P4M = 0x00000004,
  SPEEDSTEP_CPU_PM = 0xFFFFFF03, SPEEDSTEP_CPU_P4D = 0xFFFFFF04, SPEEDSTEP_CPU_PCORE = 0xFFFFFF05
}
 

Functions

enum speedstep_processor speedstep_detect_processor (void)
 
unsigned int speedstep_get_frequency (enum speedstep_processor processor)
 
unsigned int speedstep_get_freqs (enum speedstep_processor processor, unsigned int *low_speed, unsigned int *high_speed, unsigned int *transition_latency, void(*set_state)(unsigned int state))
 

Macro Definition Documentation

#define SPEEDSTEP_HIGH   0x00000000

Definition at line 29 of file speedstep-lib.h.

#define SPEEDSTEP_LOW   0x00000001

Definition at line 30 of file speedstep-lib.h.

Enumeration Type Documentation

Enumerator:
SPEEDSTEP_CPU_PIII_C_EARLY 
SPEEDSTEP_CPU_PIII_C 
SPEEDSTEP_CPU_PIII_T 
SPEEDSTEP_CPU_P4M 
SPEEDSTEP_CPU_PM 
SPEEDSTEP_CPU_P4D 
SPEEDSTEP_CPU_PCORE 

Definition at line 14 of file speedstep-lib.h.

Function Documentation

enum speedstep_processor speedstep_detect_processor ( void  )

Definition at line 253 of file speedstep-lib.c.

unsigned int speedstep_get_freqs ( enum speedstep_processor  processor,
unsigned int low_speed,
unsigned int high_speed,
unsigned int transition_latency,
void(*)(unsigned int state set_state 
)

Definition at line 380 of file speedstep-lib.c.

unsigned int speedstep_get_frequency ( enum speedstep_processor  processor)

Definition at line 226 of file speedstep-lib.c.