Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <asm/ist.h>
#include <asm/cpu_device_id.h>
#include "speedstep-lib.h"
Go to the source code of this file.
Macros | |
#define | GET_SPEEDSTEP_OWNER 0 |
#define | GET_SPEEDSTEP_STATE 1 |
#define | SET_SPEEDSTEP_STATE 2 |
#define | GET_SPEEDSTEP_FREQS 4 |
#define | SMI_TRIES 5 |
Functions | |
module_param (smi_port, int, 0444) | |
module_param (smi_cmd, int, 0444) | |
module_param (smi_sig, uint, 0444) | |
MODULE_PARM_DESC (smi_port,"Override the BIOS-given IST port with this value ""-- Intel's default setting is 0xb2") | |
MODULE_PARM_DESC (smi_cmd,"Override the BIOS-given IST command with this value ""-- Intel's default setting is 0x82") | |
MODULE_PARM_DESC (smi_sig,"Set to 1 to fake the IST signature when using the ""SMI interface.") | |
MODULE_AUTHOR ("Hiroshi Miura") | |
MODULE_DESCRIPTION ("Speedstep driver for IST applet SMI interface.") | |
MODULE_LICENSE ("GPL") | |
module_init (speedstep_init) | |
module_exit (speedstep_exit) | |
#define GET_SPEEDSTEP_FREQS 4 |
Definition at line 53 of file speedstep-smi.c.
#define GET_SPEEDSTEP_OWNER 0 |
Definition at line 50 of file speedstep-smi.c.
#define GET_SPEEDSTEP_STATE 1 |
Definition at line 51 of file speedstep-smi.c.
#define SET_SPEEDSTEP_STATE 2 |
Definition at line 52 of file speedstep-smi.c.
#define SMI_TRIES 5 |
Definition at line 57 of file speedstep-smi.c.
MODULE_AUTHOR | ( | "Hiroshi Miura" | ) |
module_exit | ( | speedstep_exit | ) |
module_init | ( | speedstep_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | smi_port | , |
int | , | ||
0444 | |||
) |
module_param | ( | smi_sig | , |
uint | , | ||
0444 | |||
) |
MODULE_PARM_DESC | ( | smi_port | , |
"Override the BIOS-given IST port with this value ""-- Intel's default setting is 0xb2" | |||
) |
MODULE_PARM_DESC | ( | smi_cmd | , |
"Override the BIOS-given IST command with this value ""-- Intel's default setting is 0x82" | |||
) |