Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
clock-sh7264.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 STBCR8   0xfffe041c
 
#define DIV4(_reg, _bit, _mask, _flags)   SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)
 

Enumerations

enum  { DIV4_I, DIV4_P, DIV4_NR }
 
enum  {
  MSTP77, MSTP74, MSTP72, MSTP60,
  MSTP35, MSTP34, MSTP33, 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 80 of file clock-sh7264.c.

#define FRQCR   0xfffe0010

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

#define STBCR3   0xfffe0408

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

#define STBCR4   0xfffe040c

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

#define STBCR5   0xfffe0410

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

#define STBCR6   0xfffe0414

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

#define STBCR7   0xfffe0418

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

#define STBCR8   0xfffe041c

Definition at line 25 of file clock-sh7264.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
DIV4_I 
DIV4_P 
DIV4_NR 

Definition at line 77 of file clock-sh7264.c.

anonymous enum
Enumerator:
MSTP77 
MSTP74 
MSTP72 
MSTP60 
MSTP35 
MSTP34 
MSTP33 
MSTP32 
MSTP30 
MSTP_NR 

Definition at line 90 of file clock-sh7264.c.

Function Documentation

int __init arch_clk_init ( void  )

Definition at line 129 of file clock-sh7264.c.

Variable Documentation

struct clk div4_clks[DIV4_NR]
Initial value:

Definition at line 84 of file clock-sh7264.c.

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

Definition at line 60 of file clock-sh7264.c.