Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
clock.h File Reference
#include <linux/clkdev.h>
#include <linux/syscore_ops.h>

Go to the source code of this file.

Data Structures

struct  clkops
 
struct  clk
 

Macros

#define INIT_CLKREG(_clk, _devname, _conname)
 
#define DEFINE_CK(_name, _cken, _ops)
 
#define DEFINE_CLK(_name, _ops, _rate, _delay)
 
#define DEFINE_PXA2_CKEN(_name, _cken, _rate, _delay)
 

Functions

void clk_dummy_enable (struct clk *)
 
void clk_dummy_disable (struct clk *)
 
void clk_pxa2xx_cken_enable (struct clk *clk)
 
void clk_pxa2xx_cken_disable (struct clk *clk)
 

Variables

struct clkops clk_dummy_ops
 
struct clk clk_dummy
 
struct clkops clk_pxa2xx_cken_ops
 
struct syscore_ops pxa2xx_clock_syscore_ops
 

Macro Definition Documentation

#define DEFINE_CK (   _name,
  _cken,
  _ops 
)
Value:
struct clk clk_##_name = { \
.ops = _ops, \
.cken = CKEN_##_cken, \
}

Definition at line 32 of file clock.h.

#define DEFINE_CLK (   _name,
  _ops,
  _rate,
  _delay 
)
Value:
struct clk clk_##_name = { \
.ops = _ops, \
.rate = _rate, \
.delay = _delay, \
}

Definition at line 38 of file clock.h.

#define DEFINE_PXA2_CKEN (   _name,
  _cken,
  _rate,
  _delay 
)
Value:
struct clk clk_##_name = { \
.rate = _rate, \
.cken = CKEN_##_cken, \
.delay = _delay, \
}

Definition at line 45 of file clock.h.

#define INIT_CLKREG (   _clk,
  _devname,
  _conname 
)
Value:
{ \
.clk = _clk, \
.dev_id = _devname, \
.con_id = _conname, \
}

Definition at line 25 of file clock.h.

Function Documentation

void clk_dummy_disable ( struct clk )

Definition at line 75 of file clock.c.

void clk_dummy_enable ( struct clk )

Definition at line 71 of file clock.c.

void clk_pxa2xx_cken_disable ( struct clk clk)

Definition at line 24 of file clock-pxa2xx.c.

void clk_pxa2xx_cken_enable ( struct clk clk)

Definition at line 19 of file clock-pxa2xx.c.

Variable Documentation

struct clk clk_dummy

Definition at line 84 of file clock.c.

struct clkops clk_dummy_ops

Definition at line 79 of file clock.c.

struct clkops clk_pxa2xx_cken_ops

Definition at line 29 of file clock-pxa2xx.c.

struct syscore_ops pxa2xx_clock_syscore_ops

Definition at line 52 of file clock-pxa2xx.c.