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

Go to the source code of this file.

Macros

#define FRQCR   0xfffe0010
 
#define STBCR3   0xfffe0408
 
#define STBCR4   0xfffe040c
 
#define STBCR5   0xfffe0410
 
#define STBCR6   0xfffe0414
 
#define STBCR7   0xfffe0418
 
#define PLL_RATE   20
 
#define DIV4(_reg, _bit, _mask, _flags)   SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)
 

Enumerations

enum  { DIV4_I, DIV4_B, DIV4_NR }
 
enum  {
  MSTP72, MSTP60, MSTP47, MSTP46,
  MSTP45, MSTP44, MSTP43, MSTP42,
  MSTP41, MSTP40, MSTP35, MSTP32,
  MSTP30, MSTP_NR
}
 

Functions

int __init arch_clk_init (void)
 

Variables

struct clkmain_clks []
 
struct clk div4_clks [DIV4_NR]
 

Macro Definition Documentation

#define DIV4 (   _reg,
  _bit,
  _mask,
  _flags 
)    SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)

Definition at line 108 of file clock-sh7269.c.

#define FRQCR   0xfffe0010

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

#define PLL_RATE   20

Definition at line 26 of file clock-sh7269.c.

#define STBCR3   0xfffe0408

Definition at line 20 of file clock-sh7269.c.

#define STBCR4   0xfffe040c

Definition at line 21 of file clock-sh7269.c.

#define STBCR5   0xfffe0410

Definition at line 22 of file clock-sh7269.c.

#define STBCR6   0xfffe0414

Definition at line 23 of file clock-sh7269.c.

#define STBCR7   0xfffe0418

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

Enumeration Type Documentation

anonymous enum
Enumerator:
DIV4_I 
DIV4_B 
DIV4_NR 

Definition at line 105 of file clock-sh7269.c.

anonymous enum
Enumerator:
MSTP72 
MSTP60 
MSTP47 
MSTP46 
MSTP45 
MSTP44 
MSTP43 
MSTP42 
MSTP41 
MSTP40 
MSTP35 
MSTP32 
MSTP30 
MSTP_NR 

Definition at line 119 of file clock-sh7269.c.

Function Documentation

int __init arch_clk_init ( void  )

Definition at line 168 of file clock-sh7269.c.

Variable Documentation

struct clk div4_clks[DIV4_NR]
Initial value:

Definition at line 112 of file clock-sh7269.c.

struct clk* main_clks[]
Initial value:
= {
&r_clk,
&extal_clk,
&pll_clk,
&peripheral0_clk,
&peripheral1_clk,
}

Definition at line 86 of file clock-sh7269.c.