Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
exynos4_bus.c File Reference
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/suspend.h>
#include <linux/opp.h>
#include <linux/devfreq.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>
#include <linux/module.h>
#include <mach/regs-clock.h>
#include <plat/map-s5p.h>

Go to the source code of this file.

Data Structures

struct  exynos4_ppmu
 
struct  busfreq_data
 
struct  bus_opp_table
 

Macros

#define MAX_SAFEVOLT   1200000 /* 1.2V */
 
#define BUS_SATURATION_RATIO   40
 
#define EX4210_LV_MAX   LV_2
 
#define EX4x12_LV_MAX   LV_4
 
#define EX4210_LV_NUM   (LV_2 + 1)
 
#define EX4x12_LV_NUM   (LV_4 + 1)
 

Enumerations

enum  exynos4_busf_type { TYPE_BUSF_EXYNOS4210, TYPE_BUSF_EXYNOS4x12 }
 
enum  ppmu_counter {
  PPMU_PMNCNT0 = 0, PPMU_PMCCNT1, PPMU_PMNCNT2, PPMU_PMNCNT3,
  PPMU_PMNCNT_MAX
}
 
enum  busclk_level_idx {
  LV_0 = 0, LV_1, LV_2, LV_3,
  LV_4, _LV_END
}
 

Functions

 late_initcall (exynos4_busfreq_init)
 
 module_exit (exynos4_busfreq_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("EXYNOS4 busfreq driver with devfreq framework")
 
 MODULE_AUTHOR ("MyungJoo Ham <[email protected]>")
 

Macro Definition Documentation

#define BUS_SATURATION_RATIO   40

Definition at line 45 of file exynos4_bus.c.

#define EX4210_LV_MAX   LV_2

Definition at line 71 of file exynos4_bus.c.

#define EX4210_LV_NUM   (LV_2 + 1)

Definition at line 73 of file exynos4_bus.c.

#define EX4x12_LV_MAX   LV_4

Definition at line 72 of file exynos4_bus.c.

#define EX4x12_LV_NUM   (LV_4 + 1)

Definition at line 74 of file exynos4_bus.c.

#define MAX_SAFEVOLT   1200000 /* 1.2V */

Definition at line 37 of file exynos4_bus.c.

Enumeration Type Documentation

Enumerator:
LV_0 
LV_1 
LV_2 
LV_3 
LV_4 
_LV_END 

Definition at line 63 of file exynos4_bus.c.

Enumerator:
TYPE_BUSF_EXYNOS4210 
TYPE_BUSF_EXYNOS4x12 

Definition at line 39 of file exynos4_bus.c.

Enumerator:
PPMU_PMNCNT0 
PPMU_PMCCNT1 
PPMU_PMNCNT2 
PPMU_PMNCNT3 
PPMU_PMNCNT_MAX 

Definition at line 47 of file exynos4_bus.c.

Function Documentation

late_initcall ( exynos4_busfreq_init  )
MODULE_AUTHOR ( "MyungJoo Ham <[email protected]>"  )
MODULE_DESCRIPTION ( "EXYNOS4 busfreq driver with devfreq framework"  )
module_exit ( exynos4_busfreq_exit  )
MODULE_LICENSE ( "GPL"  )