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

Go to the source code of this file.

Data Structures

struct  clk
 

Macros

#define DEFINE_CLK(_name, _ctrlbit)
 
#define DEFINE_SUBCLK(_name, _ctrlbit)
 
#define DEF_CLKLOOK(_clk, _devname, _conname)
 

Functions

void nuc900_clk_enable (struct clk *clk, int enable)
 
void nuc900_subclk_enable (struct clk *clk, int enable)
 

Macro Definition Documentation

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

Definition at line 37 of file clock.h.

#define DEFINE_CLK (   _name,
  _ctrlbit 
)
Value:
struct clk clk_##_name = { \
.cken = (1 << _ctrlbit), \
}

Definition at line 24 of file clock.h.

#define DEFINE_SUBCLK (   _name,
  _ctrlbit 
)
Value:
struct clk clk_##_name = { \
.cken = (1 << _ctrlbit), \
}

Definition at line 30 of file clock.h.

Function Documentation

void nuc900_clk_enable ( struct clk clk,
int  enable 
)

Definition at line 64 of file clock.c.

void nuc900_subclk_enable ( struct clk clk,
int  enable 
)

Definition at line 79 of file clock.c.