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/clk.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <asm/clk_interface.h>

Go to the source code of this file.

Functions

struct clkclk_get (struct device *dev, const char *id)
 
 EXPORT_SYMBOL (clk_get)
 
void clk_put (struct clk *clk)
 
 EXPORT_SYMBOL (clk_put)
 
int clk_enable (struct clk *clk)
 
 EXPORT_SYMBOL (clk_enable)
 
void clk_disable (struct clk *clk)
 
 EXPORT_SYMBOL (clk_disable)
 
unsigned long clk_get_rate (struct clk *clk)
 
 EXPORT_SYMBOL (clk_get_rate)
 
long clk_round_rate (struct clk *clk, unsigned long rate)
 
 EXPORT_SYMBOL (clk_round_rate)
 
int clk_set_rate (struct clk *clk, unsigned long rate)
 
 EXPORT_SYMBOL (clk_set_rate)
 
struct clkclk_get_parent (struct clk *clk)
 
 EXPORT_SYMBOL (clk_get_parent)
 
int clk_set_parent (struct clk *clk, struct clk *parent)
 
 EXPORT_SYMBOL (clk_set_parent)
 

Variables

struct clk_interface clk_functions
 

Function Documentation

void clk_disable ( struct clk clk)

Definition at line 37 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 29 of file clock.c.

struct clk* clk_get ( struct device dev,
const char id 
)
read

Definition at line 14 of file clock.c.

struct clk* clk_get_parent ( struct clk clk)
read

Definition at line 68 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 44 of file clock.c.

void clk_put ( struct clk clk)

Definition at line 22 of file clock.c.

long clk_round_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 52 of file clock.c.

int clk_set_parent ( struct clk clk,
struct clk parent 
)

Definition at line 76 of file clock.c.

int clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 60 of file clock.c.

EXPORT_SYMBOL ( clk_get  )
EXPORT_SYMBOL ( clk_put  )
EXPORT_SYMBOL ( clk_enable  )
EXPORT_SYMBOL ( clk_disable  )
EXPORT_SYMBOL ( clk_get_rate  )
EXPORT_SYMBOL ( clk_round_rate  )
EXPORT_SYMBOL ( clk_set_rate  )
EXPORT_SYMBOL ( clk_get_parent  )
EXPORT_SYMBOL ( clk_set_parent  )

Variable Documentation

Definition at line 12 of file clock.c.