Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
clkt2xxx_dpllcore.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <plat/clock.h>
#include <plat/sram.h>
#include <plat/sdrc.h>
#include "clock.h"
#include "clock2xxx.h"
#include "opp2xxx.h"
#include "cm2xxx_3xxx.h"
#include "cm-regbits-24xx.h"

Go to the source code of this file.

Functions

unsigned long omap2xxx_clk_get_core_rate (struct clk *clk)
 
unsigned long omap2_dpllcore_recalc (struct clk *clk)
 
int omap2_reprogram_dpllcore (struct clk *clk, unsigned long rate)
 

Function Documentation

unsigned long omap2_dpllcore_recalc ( struct clk clk)

Definition at line 101 of file clkt2xxx_dpllcore.c.

int omap2_reprogram_dpllcore ( struct clk clk,
unsigned long  rate 
)

Definition at line 106 of file clkt2xxx_dpllcore.c.

unsigned long omap2xxx_clk_get_core_rate ( struct clk clk)

omap2xxx_clk_get_core_rate - return the CORE_CLK rate : pointer to the combined dpll_ck + core_ck (currently "dpll_ck")

Returns the CORE_CLK rate. CORE_CLK can have one of three rate sources on OMAP2xxx: the DPLL CLKOUT rate, DPLL CLKOUTX2, or 32KHz (the latter is unusual). This currently should be called with struct clk *dpll_ck, which is a composite clock of dpll_ck and core_ck.

Definition at line 50 of file clkt2xxx_dpllcore.c.