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

Go to the source code of this file.

Data Structures

struct  clkops
 
struct  clk
 

Macros

#define APBC_CLK(_name, _reg, _fnclksel, _rate)
 
#define APBC_CLK_OPS(_name, _reg, _fnclksel, _rate, _ops)
 
#define APMU_CLK(_name, _reg, _eval, _rate)
 
#define APMU_CLK_OPS(_name, _reg, _eval, _rate, _ops)
 
#define INIT_CLKREG(_clk, _devname, _conname)
 

Variables

struct clkops apbc_clk_ops
 
struct clkops apmu_clk_ops
 
struct clk clk_pxa168_gpio
 
struct clk clk_pxa168_timers
 

Macro Definition Documentation

#define APBC_CLK (   _name,
  _reg,
  _fnclksel,
  _rate 
)
Value:
struct clk clk_##_name = { \
.clk_rst = APBC_##_reg, \
.fnclksel = _fnclksel, \
.rate = _rate, \
.ops = &apbc_clk_ops, \
}

Definition at line 31 of file clock.h.

#define APBC_CLK_OPS (   _name,
  _reg,
  _fnclksel,
  _rate,
  _ops 
)
Value:
struct clk clk_##_name = { \
.clk_rst = APBC_##_reg, \
.fnclksel = _fnclksel, \
.rate = _rate, \
.ops = _ops, \
}

Definition at line 39 of file clock.h.

#define APMU_CLK (   _name,
  _reg,
  _eval,
  _rate 
)
Value:
struct clk clk_##_name = { \
.clk_rst = APMU_##_reg, \
.enable_val = _eval, \
.rate = _rate, \
.ops = &apmu_clk_ops, \
}

Definition at line 47 of file clock.h.

#define APMU_CLK_OPS (   _name,
  _reg,
  _eval,
  _rate,
  _ops 
)
Value:
struct clk clk_##_name = { \
.clk_rst = APMU_##_reg, \
.enable_val = _eval, \
.rate = _rate, \
.ops = _ops, \
}

Definition at line 55 of file clock.h.

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

Definition at line 63 of file clock.h.

Variable Documentation

struct clkops apbc_clk_ops

Definition at line 32 of file clock.c.

struct clkops apmu_clk_ops

Definition at line 47 of file clock.c.

struct clk clk_pxa168_gpio
struct clk clk_pxa168_timers