Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
clock2xxx.h File Reference

Go to the source code of this file.

Macros

#define omap2420_clk_init()   do { } while(0)
 
#define omap2430_clk_init()   do { } while(0)
 

Functions

unsigned long omap2_table_mpu_recalc (struct clk *clk)
 
int omap2_select_table_rate (struct clk *clk, unsigned long rate)
 
long omap2_round_to_table_rate (struct clk *clk, unsigned long rate)
 
unsigned long omap2xxx_sys_clk_recalc (struct clk *clk)
 
unsigned long omap2_osc_clk_recalc (struct clk *clk)
 
unsigned long omap2_dpllcore_recalc (struct clk *clk)
 
int omap2_reprogram_dpllcore (struct clk *clk, unsigned long rate)
 
unsigned long omap2xxx_clk_get_core_rate (struct clk *clk)
 
u32 omap2xxx_get_apll_clkin (void)
 
u32 omap2xxx_get_sysclkdiv (void)
 
void omap2xxx_clk_prepare_for_reboot (void)
 

Variables

void __iomemprcm_clksrc_ctrl
 
void __iomemcm_idlest_pll
 
struct clkdclk
 
struct clkops clkops_omap2430_i2chs_wait
 
struct clkops clkops_oscck
 
struct clkops clkops_apll96
 
struct clkops clkops_apll54
 

Macro Definition Documentation

#define omap2420_clk_init (   void)    do { } while(0)

Definition at line 26 of file clock2xxx.h.

#define omap2430_clk_init (   void)    do { } while(0)

Definition at line 32 of file clock2xxx.h.

Function Documentation

unsigned long omap2_dpllcore_recalc ( struct clk clk)

Definition at line 101 of file clkt2xxx_dpllcore.c.

unsigned long omap2_osc_clk_recalc ( struct clk clk)

Definition at line 72 of file clkt2xxx_osc.c.

int omap2_reprogram_dpllcore ( struct clk clk,
unsigned long  rate 
)

Definition at line 106 of file clkt2xxx_dpllcore.c.

long omap2_round_to_table_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 68 of file clkt2xxx_virt_prcm_set.c.

int omap2_select_table_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 92 of file clkt2xxx_virt_prcm_set.c.

unsigned long omap2_table_mpu_recalc ( struct clk clk)

omap2_table_mpu_recalc - just return the MPU speed : virt_prcm_set struct clk

Set virt_prcm_set's rate to the mpu_speed field of the current PRCM set.

Definition at line 56 of file clkt2xxx_virt_prcm_set.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.

void omap2xxx_clk_prepare_for_reboot ( void  )

Definition at line 42 of file clock2xxx.c.

u32 omap2xxx_get_apll_clkin ( void  )

Definition at line 129 of file clkt2xxx_apll.c.

u32 omap2xxx_get_sysclkdiv ( void  )

Definition at line 34 of file clkt2xxx_sys.c.

unsigned long omap2xxx_sys_clk_recalc ( struct clk clk)

Definition at line 45 of file clkt2xxx_sys.c.

Variable Documentation

struct clkops clkops_apll54

Definition at line 120 of file clkt2xxx_apll.c.

struct clkops clkops_apll96

Definition at line 113 of file clkt2xxx_apll.c.

struct clkops clkops_omap2430_i2chs_wait

Definition at line 56 of file clock2430.c.

struct clkops clkops_oscck

Definition at line 67 of file clkt2xxx_osc.c.

void __iomem * cm_idlest_pll

Definition at line 41 of file clkt2xxx_apll.c.

struct clk* dclk

Definition at line 33 of file clock2xxx.c.

void __iomem* prcm_clksrc_ctrl

Definition at line 32 of file clkt2xxx_sys.c.