Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
longhaul.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/timex.h>
#include <linux/io.h>
#include <linux/acpi.h>
#include <asm/msr.h>
#include <asm/cpu_device_id.h>
#include <acpi/processor.h>
#include "longhaul.h"

Go to the source code of this file.

Macros

#define PFX   "longhaul: "
 
#define TYPE_LONGHAUL_V1   1
 
#define TYPE_LONGHAUL_V2   2
 
#define TYPE_POWERSAVER   3
 
#define CPU_SAMUEL   1
 
#define CPU_SAMUEL2   2
 
#define CPU_EZRA   3
 
#define CPU_EZRA_T   4
 
#define CPU_NEHEMIAH   5
 
#define CPU_NEHEMIAH_C   6
 
#define USE_ACPI_C3   (1 << 1)
 
#define USE_NORTHBRIDGE   (1 << 2)
 
#define ROUNDING   0xf
 

Functions

 MODULE_DEVICE_TABLE (x86cpu, longhaul_id)
 
 module_param (disable_acpi_c3, int, 0644)
 
 MODULE_PARM_DESC (disable_acpi_c3,"Don't use ACPI C3 support")
 
 module_param (scale_voltage, int, 0644)
 
 MODULE_PARM_DESC (scale_voltage,"Scale voltage of processor")
 
 module_param (revid_errata, int, 0644)
 
 MODULE_PARM_DESC (revid_errata,"Ignore CPU Revision ID")
 
 MODULE_AUTHOR ("Dave Jones <[email protected]>")
 
 MODULE_DESCRIPTION ("Longhaul driver for VIA Cyrix processors.")
 
 MODULE_LICENSE ("GPL")
 
 late_initcall (longhaul_init)
 
 module_exit (longhaul_exit)
 

Macro Definition Documentation

#define CPU_EZRA   3

Definition at line 51 of file longhaul.c.

#define CPU_EZRA_T   4

Definition at line 52 of file longhaul.c.

#define CPU_NEHEMIAH   5

Definition at line 53 of file longhaul.c.

#define CPU_NEHEMIAH_C   6

Definition at line 54 of file longhaul.c.

#define CPU_SAMUEL   1

Definition at line 49 of file longhaul.c.

#define CPU_SAMUEL2   2

Definition at line 50 of file longhaul.c.

#define PFX   "longhaul: "

Definition at line 43 of file longhaul.c.

#define ROUNDING   0xf

Definition at line 405 of file longhaul.c.

#define TYPE_LONGHAUL_V1   1

Definition at line 45 of file longhaul.c.

#define TYPE_LONGHAUL_V2   2

Definition at line 46 of file longhaul.c.

#define TYPE_POWERSAVER   3

Definition at line 47 of file longhaul.c.

#define USE_ACPI_C3   (1 << 1)

Definition at line 57 of file longhaul.c.

#define USE_NORTHBRIDGE   (1 << 2)

Definition at line 58 of file longhaul.c.

Function Documentation

late_initcall ( longhaul_init  )
MODULE_AUTHOR ( "Dave Jones <[email protected]>"  )
MODULE_DESCRIPTION ( "Longhaul driver for VIA Cyrix processors."  )
MODULE_DEVICE_TABLE ( x86cpu  ,
longhaul_id   
)
module_exit ( longhaul_exit  )
MODULE_LICENSE ( "GPL"  )
module_param ( disable_acpi_c3  ,
int  ,
0644   
)
module_param ( scale_voltage  ,
int  ,
0644   
)
module_param ( revid_errata  ,
int  ,
0644   
)
MODULE_PARM_DESC ( disable_acpi_c3  ,
"Don't use ACPI C3 support  
)
MODULE_PARM_DESC ( scale_voltage  ,
"Scale voltage of processor  
)
MODULE_PARM_DESC ( revid_errata  ,
"Ignore CPU Revision ID  
)