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>

Go to the source code of this file.

Data Structures

struct  clk
 

Macros

#define CLK_TYPE_PRIMARY   0x1
 
#define CLK_TYPE_PLL   0x2
 
#define CLK_TYPE_PROGRAMMABLE   0x4
 
#define CLK_TYPE_PERIPHERAL   0x8
 
#define CLK_TYPE_SYSTEM   0x10
 
#define CLKDEV_CON_ID(_id, _clk)
 
#define CLKDEV_CON_DEV_ID(_con_id, _dev_id, _clk)
 

Functions

int __init clk_register (struct clk *clk)
 

Variables

struct clk mck
 
struct clk utmi_clk
 

Macro Definition Documentation

#define CLK_TYPE_PERIPHERAL   0x8

Definition at line 14 of file clock.h.

#define CLK_TYPE_PLL   0x2

Definition at line 12 of file clock.h.

#define CLK_TYPE_PRIMARY   0x1

Definition at line 11 of file clock.h.

#define CLK_TYPE_PROGRAMMABLE   0x4

Definition at line 13 of file clock.h.

#define CLK_TYPE_SYSTEM   0x10

Definition at line 15 of file clock.h.

#define CLKDEV_CON_DEV_ID (   _con_id,
  _dev_id,
  _clk 
)
Value:
{ \
.con_id = _con_id, \
.dev_id = _dev_id, \
.clk = _clk, \
}

Definition at line 42 of file clock.h.

#define CLKDEV_CON_ID (   _id,
  _clk 
)
Value:
{ \
.con_id = _id, \
.clk = _clk, \
}

Definition at line 36 of file clock.h.

Function Documentation

int __init clk_register ( struct clk clk)

Definition at line 528 of file clock.c.

Variable Documentation

struct clk mck

Definition at line 206 of file clock.c.

struct clk utmi_clk

Definition at line 187 of file clock.c.