Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cpu-freq.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/cpufreq.h>
#include <linux/cpu.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/device.h>
#include <linux/sysfs.h>
#include <linux/slab.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <plat/cpu.h>
#include <plat/clock.h>
#include <plat/cpu-freq-core.h>
#include <mach/regs-clock.h>

Go to the source code of this file.


#define s3c_cpufreq_resume   NULL
#define s3c_cpufreq_suspend   NULL
#define do_min(_a, _b)   ((_a) == 0 ? (_b) : (_b) == 0 ? (_a) : min(_a, _b))


struct clks3c_cpufreq_clk_get (struct device *dev, const char *name)
int __init s3c_cpufreq_register (struct s3c_cpufreq_info *info)
int __init s3c_cpufreq_setboard (struct s3c_cpufreq_board *board)
int __init s3c_cpufreq_auto_io (void)
 late_initcall (s3c_cpufreq_initcall)
int __init s3c_plltab_register (struct cpufreq_frequency_table *plls, unsigned int plls_no)

Macro Definition Documentation

#define do_min (   _a,
)    ((_a) == 0 ? (_b) : (_b) == 0 ? (_a) : min(_a, _b))

Definition at line 561 of file cpu-freq.c.

#define s3c_cpufreq_resume   NULL

Definition at line 475 of file cpu-freq.c.

#define s3c_cpufreq_suspend   NULL

Definition at line 476 of file cpu-freq.c.

Function Documentation

late_initcall ( s3c_cpufreq_initcall  )
int __init s3c_cpufreq_auto_io ( void  )

Definition at line 542 of file cpu-freq.c.

struct clk* s3c_cpufreq_clk_get ( struct device dev,
const char name 

Definition at line 368 of file cpu-freq.c.

int __init s3c_cpufreq_register ( struct s3c_cpufreq_info info)

Definition at line 491 of file cpu-freq.c.

int __init s3c_cpufreq_setboard ( struct s3c_cpufreq_board board)

Definition at line 518 of file cpu-freq.c.

int __init s3c_plltab_register ( struct cpufreq_frequency_table plls,
unsigned int  plls_no 

s3c_plltab_register - register CPU PLL table. : The list of PLL entries. : The size of the PLL entries .

Register the given set of PLLs with the system.

Definition at line 693 of file cpu-freq.c.