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/module.h>
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/spinlock.h>
#include <linux/delay.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)
 
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)
 
void clk_dummy_enable (struct clk *clk)
 
void clk_dummy_disable (struct clk *clk)
 

Variables

struct clkops clk_dummy_ops
 
struct clk clk_dummy
 

Function Documentation

void clk_disable ( struct clk clk)

Definition at line 31 of file clock.c.

void clk_dummy_disable ( struct clk clk)

Definition at line 75 of file clock.c.

void clk_dummy_enable ( struct clk clk)

Definition at line 71 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 15 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 44 of file clock.c.

int clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 56 of file clock.c.

EXPORT_SYMBOL ( clk_enable  )
EXPORT_SYMBOL ( clk_disable  )
EXPORT_SYMBOL ( clk_get_rate  )
EXPORT_SYMBOL ( clk_set_rate  )

Variable Documentation

struct clk clk_dummy
Initial value:
= {
.ops = &clk_dummy_ops,
}

Definition at line 84 of file clock.c.

struct clkops clk_dummy_ops
Initial value:
= {
.enable = clk_dummy_enable,
.disable = clk_dummy_disable,
}

Definition at line 79 of file clock.c.