Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
speedstep-lib.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <asm/msr.h>
#include <asm/tsc.h>
#include "speedstep-lib.h"

Go to the source code of this file.

Macros

#define PFX   "speedstep-lib: "
 
#define relaxed_check   0
 

Functions

unsigned int speedstep_get_frequency (enum speedstep_processor processor)
 
 EXPORT_SYMBOL_GPL (speedstep_get_frequency)
 
unsigned int speedstep_detect_processor (void)
 
 EXPORT_SYMBOL_GPL (speedstep_detect_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))
 
 EXPORT_SYMBOL_GPL (speedstep_get_freqs)
 
 MODULE_AUTHOR ("Dominik Brodowski <[email protected]>")
 
 MODULE_DESCRIPTION ("Library for Intel SpeedStep 1 or 2 cpufreq drivers.")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PFX   "speedstep-lib: "

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

#define relaxed_check   0

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

Function Documentation

EXPORT_SYMBOL_GPL ( speedstep_get_frequency  )
EXPORT_SYMBOL_GPL ( speedstep_detect_processor  )
EXPORT_SYMBOL_GPL ( speedstep_get_freqs  )
MODULE_AUTHOR ( "Dominik Brodowski <[email protected]>"  )
MODULE_DESCRIPTION ( "Library for Intel SpeedStep 1 or 2 cpufreq drivers."  )
MODULE_LICENSE ( "GPL"  )
unsigned int 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.