Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cpufreq.c File Reference
#include <linux/cpufreq.h>
#include <linux/timer.h>
#include <linux/module.h>
#include <asm/hw_irq.h>
#include <asm/io.h>
#include <asm/prom.h>
#include <asm/time.h>
#include <asm/smp.h>

Go to the source code of this file.

Macros

#define SDCASR_REG   0x0100
 
#define SDCASR_REG_STRIDE   0x1000
 
#define SDCPWR_CFGA0_REG   0x0100
 
#define SDCPWR_PWST0_REG   0x0000
 
#define SDCPWR_GIZTIME_REG   0x0440
 
#define SDCPWR_GIZTIME_GR   0x80000000
 
#define SDCPWR_GIZTIME_LONGLOCK   0x000000ff
 
#define SDCASR_OFFSET   0x120000
 

Functions

int check_astate (void)
 
void restore_astate (int cpu)
 
 module_init (pas_cpufreq_init)
 
 module_exit (pas_cpufreq_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Egor Martovetsky <[email protected]>, Olof Johansson <[email protected]>")
 

Macro Definition Documentation

#define SDCASR_OFFSET   0x120000

Definition at line 49 of file cpufreq.c.

#define SDCASR_REG   0x0100

Definition at line 38 of file cpufreq.c.

#define SDCASR_REG_STRIDE   0x1000

Definition at line 39 of file cpufreq.c.

#define SDCPWR_CFGA0_REG   0x0100

Definition at line 40 of file cpufreq.c.

#define SDCPWR_GIZTIME_GR   0x80000000

Definition at line 45 of file cpufreq.c.

#define SDCPWR_GIZTIME_LONGLOCK   0x000000ff

Definition at line 46 of file cpufreq.c.

#define SDCPWR_GIZTIME_REG   0x0440

Definition at line 42 of file cpufreq.c.

#define SDCPWR_PWST0_REG   0x0000

Definition at line 41 of file cpufreq.c.

Function Documentation

int check_astate ( void  )

Definition at line 129 of file cpufreq.c.

MODULE_AUTHOR ( "Egor Martovetsky <[email protected] ,
Olof Johansson< olof @lixom.net >"   
)
module_exit ( pas_cpufreq_exit  )
module_init ( pas_cpufreq_init  )
MODULE_LICENSE ( "GPL"  )
void restore_astate ( int  cpu)

Definition at line 134 of file cpufreq.c.