#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.
|
| 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) |
|
MODULE_AUTHOR |
( |
"Rafal Bilski <rafalbilski@interia.pl>" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
x86cpu |
, |
|
|
eps_cpu_id |
|
|
) |
| |
module_param |
( |
freq_failsafe_off |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
voltage_failsafe_off |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param |
( |
set_max_voltage |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
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" |
|
|
) |
| |