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/clk.h>
#include <linux/err.h>
#include <linux/export.h>
#include <linux/device.h>
#include <linux/string.h>
#include <linux/list.h>
#include <mach/chip.h>
#include "clock.h"

Go to the source code of this file.

Functions

void at32_clk_register (struct clk *clk)
 
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)
 
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)
 

Function Documentation

void at32_clk_register ( struct clk clk)

Definition at line 31 of file clock.c.

void clk_disable ( struct clk clk)

Definition at line 105 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 79 of file clock.c.

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

Definition at line 52 of file clock.c.

struct clk* clk_get_parent ( struct clk clk)
read

Definition at line 175 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 115 of file clock.c.

void clk_put ( struct clk clk)

Definition at line 65 of file clock.c.

long clk_round_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 128 of file clock.c.

int clk_set_parent ( struct clk clk,
struct clk parent 
)

Definition at line 159 of file clock.c.

int clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 143 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_set_parent  )
EXPORT_SYMBOL ( clk_get_parent  )