Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cpufreq-pxa3xx.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <mach/pxa3xx-regs.h>
#include "generic.h"

Go to the source code of this file.

Data Structures

struct  pxa3xx_freq_info
 

Macros

#define HSS_104M   (0)
 
#define HSS_156M   (1)
 
#define HSS_208M   (2)
 
#define HSS_312M   (3)
 
#define SMCFS_78M   (0)
 
#define SMCFS_104M   (2)
 
#define SMCFS_208M   (5)
 
#define SFLFS_104M   (0)
 
#define SFLFS_156M   (1)
 
#define SFLFS_208M   (2)
 
#define SFLFS_312M   (3)
 
#define XSPCLK_156M   (0)
 
#define XSPCLK_NONE   (3)
 
#define DMCFS_26M   (0)
 
#define DMCFS_260M   (3)
 
#define OP(cpufreq, _xl, _xn, _hss, _dmc, _smc, _sfl, _dfi, vcore, vsram)
 

Functions

 module_init (cpufreq_init)
 
 module_exit (cpufreq_exit)
 
 MODULE_DESCRIPTION ("CPU frequency scaling driver for PXA3xx")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DMCFS_260M   (3)

Definition at line 42 of file cpufreq-pxa3xx.c.

#define DMCFS_26M   (0)

Definition at line 41 of file cpufreq-pxa3xx.c.

#define HSS_104M   (0)

Definition at line 24 of file cpufreq-pxa3xx.c.

#define HSS_156M   (1)

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

#define HSS_208M   (2)

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

#define HSS_312M   (3)

Definition at line 27 of file cpufreq-pxa3xx.c.

#define OP (   cpufreq,
  _xl,
  _xn,
  _hss,
  _dmc,
  _smc,
  _sfl,
  _dfi,
  vcore,
  vsram 
)
Value:
{ \
.cpufreq_mhz = cpufreq, \
.core_xl = _xl, \
.core_xn = _xn, \
.hss = HSS_##_hss##M, \
.dmcfs = DMCFS_##_dmc##M, \
.smcfs = SMCFS_##_smc##M, \
.sflfs = SFLFS_##_sfl##M, \
.df_clkdiv = _dfi, \
.vcc_core = vcore, \
.vcc_sram = vsram, \
}

Definition at line 58 of file cpufreq-pxa3xx.c.

#define SFLFS_104M   (0)

Definition at line 33 of file cpufreq-pxa3xx.c.

#define SFLFS_156M   (1)

Definition at line 34 of file cpufreq-pxa3xx.c.

#define SFLFS_208M   (2)

Definition at line 35 of file cpufreq-pxa3xx.c.

#define SFLFS_312M   (3)

Definition at line 36 of file cpufreq-pxa3xx.c.

#define SMCFS_104M   (2)

Definition at line 30 of file cpufreq-pxa3xx.c.

#define SMCFS_208M   (5)

Definition at line 31 of file cpufreq-pxa3xx.c.

#define SMCFS_78M   (0)

Definition at line 29 of file cpufreq-pxa3xx.c.

#define XSPCLK_156M   (0)

Definition at line 38 of file cpufreq-pxa3xx.c.

#define XSPCLK_NONE   (3)

Definition at line 39 of file cpufreq-pxa3xx.c.

Function Documentation

MODULE_DESCRIPTION ( "CPU frequency scaling driver for PXA3xx"  )
module_exit ( cpufreq_exit  )
module_init ( cpufreq_init  )
MODULE_LICENSE ( "GPL"  )