Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
clkt34xx_dpll3m2.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 "clock3xxx.h"
#include "clock34xx.h"
#include "sdrc.h"

Go to the source code of this file.

Macros

#define CYCLES_PER_MHZ   1000000
 

Functions

int omap3_core_dpll_m2_set_rate (struct clk *clk, unsigned long rate)
 

Macro Definition Documentation

#define CYCLES_PER_MHZ   1000000

Definition at line 33 of file clkt34xx_dpll3m2.c.

Function Documentation

int omap3_core_dpll_m2_set_rate ( struct clk clk,
unsigned long  rate 
)

omap3_core_dpll_m2_set_rate - set CORE DPLL M2 divider : struct clk * of DPLL to set : rounded target rate

Program the DPLL M2 divider with the rounded target rate. Returns -EINVAL upon error, or 0 upon success.

Definition at line 50 of file clkt34xx_dpll3m2.c.