Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
clock.c File Reference
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/io.h>
#include <linux/spinlock.h>
#include <linux/clkdev.h>
#include <mach/hardware.h>
#include <asm/div64.h>
#include "soc.h"

Go to the source code of this file.

Data Structures

struct  clk
 

Macros

#define pr_fmt(fmt)   "ep93xx " KBUILD_MODNAME ": " fmt
 
#define INIT_CK(dev, con, ck)   { .dev_id = dev, .con_id = con, .clk = ck }
 

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)
 
 postcore_initcall (ep93xx_clock_init)
 

Macro Definition Documentation

#define INIT_CK (   dev,
  con,
  ck 
)    { .dev_id = dev, .con_id = con, .clk = ck }

Definition at line 202 of file clock.c.

#define pr_fmt (   fmt)    "ep93xx " KBUILD_MODNAME ": " fmt

Definition at line 13 of file clock.c.

Function Documentation

void clk_disable ( struct clk clk)

Definition at line 292 of file clock.c.

int clk_enable ( struct clk clk)

Definition at line 258 of file clock.c.

unsigned long clk_get_rate ( struct clk clk)

Definition at line 317 of file clock.c.

int clk_set_rate ( struct clk clk,
unsigned long  rate 
)

Definition at line 469 of file clock.c.

EXPORT_SYMBOL ( clk_enable  )
EXPORT_SYMBOL ( clk_disable  )
EXPORT_SYMBOL ( clk_get_rate  )
EXPORT_SYMBOL ( clk_set_rate  )
postcore_initcall ( ep93xx_clock_init  )