Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
clock.c File Reference
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/err.h>
#include <linux/spinlock.h>
#include <linux/pm_qos.h>
#include <linux/mutex.h>
#include <linux/clk.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/clkdev.h>
#include "clock.h"

Go to the source code of this file.

Functions

int clk_enable (struct clk *clk)
 
 EXPORT_SYMBOL (clk_enable)
 
void clk_disable (struct clk *clk)
 
 EXPORT_SYMBOL (clk_disable)
 
int clk_reset (struct clk *clk, enum clk_reset_action action)
 
 EXPORT_SYMBOL (clk_reset)
 
unsigned long clk_get_rate (struct clk *clk)
 
 EXPORT_SYMBOL (clk_get_rate)
 
int clk_set_rate (struct clk *clk, unsigned long rate)
 
 EXPORT_SYMBOL (clk_set_rate)
 
long clk_round_rate (struct clk *clk, unsigned long rate)
 
 EXPORT_SYMBOL (clk_round_rate)
 
int clk_set_min_rate (struct clk *clk, unsigned long rate)
 
 EXPORT_SYMBOL (clk_set_min_rate)
 
int clk_set_max_rate (struct clk *clk, unsigned long rate)
 
 EXPORT_SYMBOL (clk_set_max_rate)
 
int clk_set_parent (struct clk *clk, struct clk *parent)
 
 EXPORT_SYMBOL (clk_set_parent)
 
struct clkclk_get_parent (struct clk *clk)
 
 EXPORT_SYMBOL (clk_get_parent)
 
int clk_set_flags (struct clk *clk, unsigned long flags)
 
 EXPORT_SYMBOL (clk_set_flags)
 
void __init msm_clock_init (struct clk_lookup *clock_tbl, unsigned num_clocks)
 
 late_initcall (clock_late_init)
 

Function Documentation

void clk_disable ( struct clk clk)

Definition at line 49 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 37 of file clock.c.

struct clk* clk_get_parent ( struct clk clk)
read

Definition at line 118 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 67 of file clock.c.

int clk_reset ( struct clk clk,
enum clk_reset_action  action 
)

Definition at line 61 of file clock.c.

long clk_round_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 94 of file clock.c.

int clk_set_flags ( struct clk clk,
unsigned long  flags 
)

Definition at line 124 of file clock.c.

int clk_set_max_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 106 of file clock.c.

int clk_set_min_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 100 of file clock.c.

int clk_set_parent ( struct clk clk,
struct clk parent 
)

Definition at line 112 of file clock.c.

int clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 73 of file clock.c.

EXPORT_SYMBOL ( clk_enable  )
EXPORT_SYMBOL ( clk_disable  )
EXPORT_SYMBOL ( clk_reset  )
EXPORT_SYMBOL ( clk_get_rate  )
EXPORT_SYMBOL ( clk_set_rate  )
EXPORT_SYMBOL ( clk_round_rate  )
EXPORT_SYMBOL ( clk_set_min_rate  )
EXPORT_SYMBOL ( clk_set_max_rate  )
EXPORT_SYMBOL ( clk_set_parent  )
EXPORT_SYMBOL ( clk_get_parent  )
EXPORT_SYMBOL ( clk_set_flags  )
late_initcall ( clock_late_init  )
void __init msm_clock_init ( struct clk_lookup clock_tbl,
unsigned  num_clocks 
)

Definition at line 139 of file clock.c.