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

Go to the source code of this file.

Macros

#define RTFRQCR   IOMEM(0xe6150000)
 
#define SYFRQCR   IOMEM(0xe6150004)
 
#define CMFRQCR   IOMEM(0xe61500E0)
 
#define VCLKCR1   IOMEM(0xe6150008)
 
#define VCLKCR2   IOMEM(0xe615000C)
 
#define VCLKCR3   IOMEM(0xe615001C)
 
#define SCLKACR   IOMEM(0xe6150010)
 
#define SCLKBCR   IOMEM(0xe6150014)
 
#define SUBUSBCKCR   IOMEM(0xe6158080)
 
#define SPUCKCR   IOMEM(0xe6150084)
 
#define MSUCKCR   IOMEM(0xe6150088)
 
#define MVI3CKCR   IOMEM(0xe6150090)
 
#define VOUCKCR   IOMEM(0xe6150094)
 
#define MFCK1CR   IOMEM(0xe6150098)
 
#define MFCK2CR   IOMEM(0xe615009C)
 
#define PLLC1CR   IOMEM(0xe6150028)
 
#define PLLC2CR   IOMEM(0xe615002C)
 
#define RTMSTPCR0   IOMEM(0xe6158030)
 
#define RTMSTPCR2   IOMEM(0xe6158038)
 
#define SYMSTPCR0   IOMEM(0xe6158040)
 
#define SYMSTPCR2   IOMEM(0xe6158048)
 
#define CMMSTPCR0   IOMEM(0xe615804c)
 
#define DIV4(_reg, _bit, _mask, _flags)   SH_CLK_DIV4(&pllc1_clk, _reg, _bit, _mask, _flags)
 
#define MSTP(_parent, _reg, _bit, _flags)   SH_CLK_MSTP32(_parent, _reg, _bit, _flags)
 

Enumerations

enum  {
  DIV4_I, DIV4_G, DIV4_S, DIV4_B,
  DIV4_ZX, DIV4_ZT, DIV4_Z, DIV4_ZD,
  DIV4_HP, DIV4_ZS, DIV4_ZB, DIV4_ZB3,
  DIV4_CP, DIV4_NR
}
 
enum  {
  DIV6_SUB, DIV6_SIUA, DIV6_SIUB, DIV6_MSU,
  DIV6_SPU, DIV6_MVI3, DIV6_MF1, DIV6_MF2,
  DIV6_VCK1, DIV6_VCK2, DIV6_VCK3, DIV6_VOU,
  DIV6_NR
}
 
enum  {
  RTMSTP001, RTMSTP231, RTMSTP230, RTMSTP229,
  RTMSTP228, RTMSTP226, RTMSTP216, RTMSTP206,
  RTMSTP205, RTMSTP201, SYMSTP023, SYMSTP007,
  SYMSTP006, SYMSTP004, SYMSTP003, SYMSTP002,
  SYMSTP001, SYMSTP000, SYMSTP231, SYMSTP229,
  SYMSTP225, SYMSTP223, SYMSTP222, SYMSTP215,
  SYMSTP214, SYMSTP213, SYMSTP211, CMMSTP003,
  MSTP_NR
}
 

Functions

void __init sh7367_clock_init (void)
 

Variables

struct clk sh7367_extalb1_clk
 
struct clk sh7367_extal2_clk
 

Macro Definition Documentation

#define CMFRQCR   IOMEM(0xe61500E0)

Definition at line 29 of file clock-sh7367.c.

#define CMMSTPCR0   IOMEM(0xe615804c)

Definition at line 48 of file clock-sh7367.c.

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

Definition at line 179 of file clock-sh7367.c.

#define MFCK1CR   IOMEM(0xe6150098)

Definition at line 40 of file clock-sh7367.c.

#define MFCK2CR   IOMEM(0xe615009C)

Definition at line 41 of file clock-sh7367.c.

#define MSTP (   _parent,
  _reg,
  _bit,
  _flags 
)    SH_CLK_MSTP32(_parent, _reg, _bit, _flags)

Definition at line 228 of file clock-sh7367.c.

#define MSUCKCR   IOMEM(0xe6150088)

Definition at line 37 of file clock-sh7367.c.

#define MVI3CKCR   IOMEM(0xe6150090)

Definition at line 38 of file clock-sh7367.c.

#define PLLC1CR   IOMEM(0xe6150028)

Definition at line 42 of file clock-sh7367.c.

#define PLLC2CR   IOMEM(0xe615002C)

Definition at line 43 of file clock-sh7367.c.

#define RTFRQCR   IOMEM(0xe6150000)

Definition at line 27 of file clock-sh7367.c.

#define RTMSTPCR0   IOMEM(0xe6158030)

Definition at line 44 of file clock-sh7367.c.

#define RTMSTPCR2   IOMEM(0xe6158038)

Definition at line 45 of file clock-sh7367.c.

#define SCLKACR   IOMEM(0xe6150010)

Definition at line 33 of file clock-sh7367.c.

#define SCLKBCR   IOMEM(0xe6150014)

Definition at line 34 of file clock-sh7367.c.

#define SPUCKCR   IOMEM(0xe6150084)

Definition at line 36 of file clock-sh7367.c.

#define SUBUSBCKCR   IOMEM(0xe6158080)

Definition at line 35 of file clock-sh7367.c.

#define SYFRQCR   IOMEM(0xe6150004)

Definition at line 28 of file clock-sh7367.c.

#define SYMSTPCR0   IOMEM(0xe6158040)

Definition at line 46 of file clock-sh7367.c.

#define SYMSTPCR2   IOMEM(0xe6158048)

Definition at line 47 of file clock-sh7367.c.

#define VCLKCR1   IOMEM(0xe6150008)

Definition at line 30 of file clock-sh7367.c.

#define VCLKCR2   IOMEM(0xe615000C)

Definition at line 31 of file clock-sh7367.c.

#define VCLKCR3   IOMEM(0xe615001C)

Definition at line 32 of file clock-sh7367.c.

#define VOUCKCR   IOMEM(0xe6150094)

Definition at line 39 of file clock-sh7367.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
DIV4_I 
DIV4_G 
DIV4_S 
DIV4_B 
DIV4_ZX 
DIV4_ZT 
DIV4_Z 
DIV4_ZD 
DIV4_HP 
DIV4_ZS 
DIV4_ZB 
DIV4_ZB3 
DIV4_CP 
DIV4_NR 

Definition at line 175 of file clock-sh7367.c.

anonymous enum
Enumerator:
DIV6_SUB 
DIV6_SIUA 
DIV6_SIUB 
DIV6_MSU 
DIV6_SPU 
DIV6_MVI3 
DIV6_MF1 
DIV6_MF2 
DIV6_VCK1 
DIV6_VCK2 
DIV6_VCK3 
DIV6_VOU 
DIV6_NR 

Definition at line 198 of file clock-sh7367.c.

anonymous enum
Enumerator:
RTMSTP001 
RTMSTP231 
RTMSTP230 
RTMSTP229 
RTMSTP228 
RTMSTP226 
RTMSTP216 
RTMSTP206 
RTMSTP205 
RTMSTP201 
SYMSTP023 
SYMSTP007 
SYMSTP006 
SYMSTP004 
SYMSTP003 
SYMSTP002 
SYMSTP001 
SYMSTP000 
SYMSTP231 
SYMSTP229 
SYMSTP225 
SYMSTP223 
SYMSTP222 
SYMSTP215 
SYMSTP214 
SYMSTP213 
SYMSTP211 
CMMSTP003 
MSTP_NR 

Definition at line 218 of file clock-sh7367.c.

Function Documentation

void __init sh7367_clock_init ( void  )

Definition at line 333 of file clock-sh7367.c.

Variable Documentation

struct clk sh7367_extal2_clk
Initial value:
= {
.rate = 48000000,
}

Definition at line 67 of file clock-sh7367.c.

struct clk sh7367_extalb1_clk
Initial value:
= {
.rate = 26666666,
}

Definition at line 59 of file clock-sh7367.c.