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/module.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <asm/clock.h>
#include <asm/time.h>
#include <loongson1.h>

Go to the source code of this file.

Functions

struct clkclk_get (struct device *dev, const char *name)
 
 EXPORT_SYMBOL (clk_get)
 
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)
 
void clk_put (struct clk *clk)
 
 EXPORT_SYMBOL (clk_put)
 
int clk_register (struct clk *clk)
 
 EXPORT_SYMBOL (clk_register)
 
int __init ls1x_clock_init (void)
 
void __init plat_time_init (void)
 

Function Documentation

void clk_disable ( struct clk clk)

Definition at line 47 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 41 of file clock.c.

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

Definition at line 23 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 52 of file clock.c.

void clk_put ( struct clk clk)

Definition at line 58 of file clock.c.

int clk_register ( struct clk clk)

Definition at line 139 of file clock.c.

EXPORT_SYMBOL ( clk_get  )
EXPORT_SYMBOL ( clk_enable  )
EXPORT_SYMBOL ( clk_disable  )
EXPORT_SYMBOL ( clk_get_rate  )
EXPORT_SYMBOL ( clk_put  )
EXPORT_SYMBOL ( clk_register  )
int __init ls1x_clock_init ( void  )

Definition at line 158 of file clock.c.

void __init plat_time_init ( void  )

Definition at line 168 of file clock.c.