Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cpufreq-nforce2.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/delay.h>

Go to the source code of this file.

Macros

#define NFORCE2_XTAL   25
 
#define NFORCE2_BOOTFSB   0x48
 
#define NFORCE2_PLLENABLE   0xa8
 
#define NFORCE2_PLLREG   0xa4
 
#define NFORCE2_PLLADR   0xa0
 
#define NFORCE2_PLL(mul, div)   (0x100000 | (mul << 8) | div)
 
#define NFORCE2_MIN_FSB   50
 
#define NFORCE2_SAFE_DISTANCE   50
 
#define PFX   "cpufreq-nforce2: "
 

Functions

 MODULE_AUTHOR ("Sebastian Witt <[email protected]>")
 
 MODULE_DESCRIPTION ("nForce2 FSB changing cpufreq driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param (fid, int, 0444)
 
 module_param (min_fsb, int, 0444)
 
 MODULE_PARM_DESC (fid,"CPU multiplier to use (11.5 = 115)")
 
 MODULE_PARM_DESC (min_fsb,"Minimum FSB to use, if not defined: current FSB - 50")
 
 module_init (nforce2_init)
 
 module_exit (nforce2_exit)
 

Macro Definition Documentation

#define NFORCE2_BOOTFSB   0x48

Definition at line 19 of file cpufreq-nforce2.c.

#define NFORCE2_MIN_FSB   50

Definition at line 25 of file cpufreq-nforce2.c.

#define NFORCE2_PLL (   mul,
  div 
)    (0x100000 | (mul << 8) | div)

Definition at line 23 of file cpufreq-nforce2.c.

#define NFORCE2_PLLADR   0xa0

Definition at line 22 of file cpufreq-nforce2.c.

#define NFORCE2_PLLENABLE   0xa8

Definition at line 20 of file cpufreq-nforce2.c.

#define NFORCE2_PLLREG   0xa4

Definition at line 21 of file cpufreq-nforce2.c.

#define NFORCE2_SAFE_DISTANCE   50

Definition at line 26 of file cpufreq-nforce2.c.

#define NFORCE2_XTAL   25

Definition at line 18 of file cpufreq-nforce2.c.

#define PFX   "cpufreq-nforce2: "

Definition at line 59 of file cpufreq-nforce2.c.

Function Documentation

MODULE_AUTHOR ( "Sebastian Witt <[email protected]>"  )
MODULE_DESCRIPTION ( "nForce2 FSB changing cpufreq driver )
module_exit ( nforce2_exit  )
module_init ( nforce2_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( fid  ,
int  ,
0444   
)
module_param ( min_fsb  ,
int  ,
0444   
)
MODULE_PARM_DESC ( fid  ,
"CPU multiplier to use (11.5 = 115)"   
)
MODULE_PARM_DESC ( min_fsb  ,
"Minimum FSB to  use,
if not defined:current FSB-50"   
)