Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
us2e_cpufreq.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/cpufreq.h>
#include <linux/threads.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <asm/asi.h>
#include <asm/timer.h>

Go to the source code of this file.

Data Structures

struct  us2e_freq_percpu_info
 

Macros

#define HBIRD_MEM_CNTL0_ADDR   0x1fe0000f010UL
 
#define HBIRD_ESTAR_MODE_ADDR   0x1fe0000f080UL
 
#define ESTAR_MODE_DIV_1   0x0000000000000000UL
 
#define ESTAR_MODE_DIV_2   0x0000000000000001UL
 
#define ESTAR_MODE_DIV_4   0x0000000000000003UL
 
#define ESTAR_MODE_DIV_6   0x0000000000000002UL
 
#define ESTAR_MODE_DIV_8   0x0000000000000004UL
 
#define ESTAR_MODE_DIV_MASK   0x0000000000000007UL
 
#define MCTRL0_SREFRESH_ENAB   0x0000000000010000UL
 
#define MCTRL0_REFR_COUNT_MASK   0x0000000000007f00UL
 
#define MCTRL0_REFR_COUNT_SHIFT   8
 
#define MCTRL0_REFR_INTERVAL   7800
 
#define MCTRL0_REFR_CLKS_P_CNT   64
 

Functions

 MODULE_AUTHOR ("David S. Miller <[email protected]>")
 
 MODULE_DESCRIPTION ("cpufreq driver for UltraSPARC-IIe")
 
 MODULE_LICENSE ("GPL")
 
 module_init (us2e_freq_init)
 
 module_exit (us2e_freq_exit)
 

Macro Definition Documentation

#define ESTAR_MODE_DIV_1   0x0000000000000000UL

Definition at line 37 of file us2e_cpufreq.c.

#define ESTAR_MODE_DIV_2   0x0000000000000001UL

Definition at line 38 of file us2e_cpufreq.c.

#define ESTAR_MODE_DIV_4   0x0000000000000003UL

Definition at line 39 of file us2e_cpufreq.c.

#define ESTAR_MODE_DIV_6   0x0000000000000002UL

Definition at line 40 of file us2e_cpufreq.c.

#define ESTAR_MODE_DIV_8   0x0000000000000004UL

Definition at line 41 of file us2e_cpufreq.c.

#define ESTAR_MODE_DIV_MASK   0x0000000000000007UL

Definition at line 42 of file us2e_cpufreq.c.

#define HBIRD_ESTAR_MODE_ADDR   0x1fe0000f080UL

Definition at line 32 of file us2e_cpufreq.c.

#define HBIRD_MEM_CNTL0_ADDR   0x1fe0000f010UL

Definition at line 31 of file us2e_cpufreq.c.

#define MCTRL0_REFR_CLKS_P_CNT   64

Definition at line 48 of file us2e_cpufreq.c.

#define MCTRL0_REFR_COUNT_MASK   0x0000000000007f00UL

Definition at line 45 of file us2e_cpufreq.c.

#define MCTRL0_REFR_COUNT_SHIFT   8

Definition at line 46 of file us2e_cpufreq.c.

#define MCTRL0_REFR_INTERVAL   7800

Definition at line 47 of file us2e_cpufreq.c.

#define MCTRL0_SREFRESH_ENAB   0x0000000000010000UL

Definition at line 44 of file us2e_cpufreq.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller <[email protected]>"  )
MODULE_DESCRIPTION ( "cpufreq driver for UltraSPARC-IIe"  )
module_exit ( us2e_freq_exit  )
module_init ( us2e_freq_init  )
MODULE_LICENSE ( "GPL"  )