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/list.h>
#include <linux/spinlock.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <mach/regs-apbc.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)
 

Variables

struct clkops apbc_clk_ops
 
struct clkops apmu_clk_ops
 

Function Documentation

void clk_disable ( struct clk clk)

Definition at line 66 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 54 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 79 of file clock.c.

int clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 92 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 clkops apbc_clk_ops
Initial value:
= {
.enable = apbc_clk_enable,
.disable = apbc_clk_disable,
}

Definition at line 32 of file clock.c.

struct clkops apmu_clk_ops
Initial value:
= {
.enable = apmu_clk_enable,
.disable = apmu_clk_disable,
}

Definition at line 47 of file clock.c.