Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
clock-clksrc.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/clk.h>
#include <linux/device.h>
#include <linux/io.h>
#include <plat/clock.h>
#include <plat/clock-clksrc.h>
#include <plat/cpu-freq.h>

Go to the source code of this file.

Functions

void __init_or_cpufreq s3c_set_clksrc (struct clksrc_clk *clk, bool announce)
 
void __init s3c_register_clksrc (struct clksrc_clk *clksrc, int size)
 

Function Documentation

void __init s3c_register_clksrc ( struct clksrc_clk srcs,
int  size 
)

s3c_register_clksrc() register clocks from an array of clksrc clocks : The array of clocks to register : The size of the array.

Initialise and register the array of clocks described by .

Definition at line 178 of file clock-clksrc.c.

void __init_or_cpufreq s3c_set_clksrc ( struct clksrc_clk clk,
bool  announce 
)

s3c_set_clksrc() - setup the clock from the register settings : The clock to setup. : true to announce the setting to printk().

Setup the clock from the current register settings, for when the kernel boots or if it is resuming from a possibly unknown state.

Definition at line 130 of file clock-clksrc.c.