Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
clock.c File Reference
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <asm/mach-types.h>
#include <plat/cpu.h>
#include <plat/usb.h>
#include <plat/clock.h>
#include <plat/sram.h>
#include <plat/clkdev_omap.h>
#include <mach/hardware.h>
#include "iomap.h"
#include "clock.h"
#include "opp.h"

Go to the source code of this file.

Functions

unsigned long omap1_uart_recalc (struct clk *clk)
 
unsigned long omap1_sossi_recalc (struct clk *clk)
 
unsigned long omap1_ckctl_recalc (struct clk *clk)
 
unsigned long omap1_ckctl_recalc_dsp_domain (struct clk *clk)
 
int omap1_select_table_rate (struct clk *clk, unsigned long rate)
 
int omap1_clk_set_rate_dsp_domain (struct clk *clk, unsigned long rate)
 
long omap1_clk_round_rate_ckctl_arm (struct clk *clk, unsigned long rate)
 
int omap1_clk_set_rate_ckctl_arm (struct clk *clk, unsigned long rate)
 
long omap1_round_to_table_rate (struct clk *clk, unsigned long rate)
 
int omap1_set_uart_rate (struct clk *clk, unsigned long rate)
 
int omap1_set_ext_clk_rate (struct clk *clk, unsigned long rate)
 
int omap1_set_sossi_rate (struct clk *clk, unsigned long rate)
 
long omap1_round_ext_clk_rate (struct clk *clk, unsigned long rate)
 
void omap1_init_ext_clk (struct clk *clk)
 
int omap1_clk_enable (struct clk *clk)
 
void omap1_clk_disable (struct clk *clk)
 
long omap1_clk_round_rate (struct clk *clk, unsigned long rate)
 
int omap1_clk_set_rate (struct clk *clk, unsigned long rate)
 

Variables

__u32 arm_idlect1_mask
 
struct clkapi_ck_p
 
struct clkck_dpll1_p
 
struct clkck_ref_p
 
struct clkops clkops_generic
 
struct clkops clkops_dspck
 
struct clkops clkops_uart_16xx
 

Function Documentation

unsigned long omap1_ckctl_recalc ( struct clk clk)

Definition at line 166 of file clock.c.

unsigned long omap1_ckctl_recalc_dsp_domain ( struct clk clk)

Definition at line 174 of file clock.c.

void omap1_clk_disable ( struct clk clk)

Definition at line 439 of file clock.c.

int omap1_clk_enable ( struct clk clk)

Definition at line 411 of file clock.c.

long omap1_clk_round_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 560 of file clock.c.

long omap1_clk_round_rate_ckctl_arm ( struct clk clk,
unsigned long  rate 
)

Definition at line 248 of file clock.c.

int omap1_clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 568 of file clock.c.

int omap1_clk_set_rate_ckctl_arm ( struct clk clk,
unsigned long  rate 
)

Definition at line 258 of file clock.c.

int omap1_clk_set_rate_dsp_domain ( struct clk clk,
unsigned long  rate 
)

Definition at line 228 of file clock.c.

void omap1_init_ext_clk ( struct clk clk)

Definition at line 393 of file clock.c.

long omap1_round_ext_clk_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 388 of file clock.c.

long omap1_round_to_table_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 278 of file clock.c.

int omap1_select_table_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 193 of file clock.c.

int omap1_set_ext_clk_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 347 of file clock.c.

int omap1_set_sossi_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 365 of file clock.c.

int omap1_set_uart_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 329 of file clock.c.

unsigned long omap1_sossi_recalc ( struct clk clk)

Definition at line 49 of file clock.c.

unsigned long omap1_uart_recalc ( struct clk clk)

Definition at line 43 of file clock.c.

Variable Documentation

struct clk* api_ck_p

Definition at line 37 of file clock.c.

__u32 arm_idlect1_mask

Definition at line 36 of file clock.c.

struct clk * ck_dpll1_p

Definition at line 37 of file clock.c.

struct clk * ck_ref_p

Definition at line 37 of file clock.c.

struct clkops clkops_dspck
Initial value:
= {
.enable = omap1_clk_enable_dsp_domain,
.disable = omap1_clk_disable_dsp_domain,
}

Definition at line 520 of file clock.c.

struct clkops clkops_generic
Initial value:
= {
.enable = omap1_clk_enable_generic,
.disable = omap1_clk_disable_generic,
}

Definition at line 494 of file clock.c.

struct clkops clkops_uart_16xx
Initial value:
= {
.enable = omap1_clk_enable_uart_functional_16xx,
.disable = omap1_clk_disable_uart_functional_16xx,
}

Definition at line 555 of file clock.c.