Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
e_powersaver.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/timex.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <asm/cpu_device_id.h>
#include <asm/msr.h>
#include <asm/tsc.h>

Go to the source code of this file.

Data Structures

struct  eps_cpu_data
 

Macros

#define EPS_BRAND_C7M   0
 
#define EPS_BRAND_C7   1
 
#define EPS_BRAND_EDEN   2
 
#define EPS_BRAND_C3   3
 
#define EPS_BRAND_C7D   4
 

Functions

 MODULE_DEVICE_TABLE (x86cpu, eps_cpu_id)
 
 module_param (freq_failsafe_off, int, 0644)
 
 MODULE_PARM_DESC (freq_failsafe_off,"Disable current vs max frequency check")
 
 module_param (voltage_failsafe_off, int, 0644)
 
 MODULE_PARM_DESC (voltage_failsafe_off,"Disable current vs max voltage check")
 
 module_param (set_max_voltage, int, 0644)
 
 MODULE_PARM_DESC (set_max_voltage,"Set maximum CPU voltage (mV) C7-M only")
 
 MODULE_AUTHOR ("Rafal Bilski <rafalbilski@interia.pl>")
 
 MODULE_DESCRIPTION ("Enhanced PowerSaver driver for VIA C7 CPU's.")
 
 MODULE_LICENSE ("GPL")
 
 module_init (eps_init)
 
 module_exit (eps_exit)
 

Macro Definition Documentation

#define EPS_BRAND_C3   3

Definition at line 31 of file e_powersaver.c.

#define EPS_BRAND_C7   1

Definition at line 29 of file e_powersaver.c.

#define EPS_BRAND_C7D   4

Definition at line 32 of file e_powersaver.c.

#define EPS_BRAND_C7M   0

Definition at line 28 of file e_powersaver.c.

#define EPS_BRAND_EDEN   2

Definition at line 30 of file e_powersaver.c.

Function Documentation

MODULE_AUTHOR ( "Rafal Bilski <rafalbilski@interia.pl>"  )
MODULE_DESCRIPTION ( "Enhanced PowerSaver driver for VIA C7 CPU's."  )
MODULE_DEVICE_TABLE ( x86cpu  ,
eps_cpu_id   
)
module_exit ( eps_exit  )
module_init ( eps_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( freq_failsafe_off  ,
int  ,
0644   
)
module_param ( voltage_failsafe_off  ,
int  ,
0644   
)
module_param ( set_max_voltage  ,
int  ,
0644   
)
MODULE_PARM_DESC ( freq_failsafe_off  ,
"Disable current vs max frequency check  
)
MODULE_PARM_DESC ( voltage_failsafe_off  ,
"Disable current vs max voltage check  
)
MODULE_PARM_DESC ( set_max_voltage  ,
"Set maximum CPU voltage (mV) C7-M only"   
)