Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
clkt2xxx_virt_prcm_set.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <plat/clock.h>
#include <plat/sram.h>
#include <plat/sdrc.h>
#include "soc.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 omap2_table_mpu_recalc (struct clk *clk)
 
long omap2_round_to_table_rate (struct clk *clk, unsigned long rate)
 
int omap2_select_table_rate (struct clk *clk, unsigned long rate)
 

Variables

struct prcm_configcurr_prcm_set
 
struct prcm_configrate_table
 

Function Documentation

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.

Variable Documentation

struct prcm_config* curr_prcm_set

Definition at line 47 of file clkt2xxx_virt_prcm_set.c.

struct prcm_config* rate_table

Definition at line 48 of file clkt2xxx_virt_prcm_set.c.