Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
clock-r8a7779.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 FRQMR   IOMEM(0xffc80014)
 
#define MSTPCR0   IOMEM(0xffc80030)
 
#define MSTPCR1   IOMEM(0xffc80034)
 
#define MSTPCR3   IOMEM(0xffc8003c)
 
#define MSTPSR1   IOMEM(0xffc80044)
 
#define MSTPSR4   IOMEM(0xffc80048)
 
#define MSTPSR6   IOMEM(0xffc8004c)
 
#define MSTPCR4   IOMEM(0xffc80050)
 
#define MSTPCR5   IOMEM(0xffc80054)
 
#define MSTPCR6   IOMEM(0xffc80058)
 
#define MSTPCR7   IOMEM(0xffc80040)
 

Enumerations

enum  {
  DIV4_S, DIV4_OUT, DIV4_S4, DIV4_S3,
  DIV4_S1, DIV4_P, DIV4_NR
}
 
enum  {
  MSTP323, MSTP322, MSTP321, MSTP320,
  MSTP026, MSTP025, MSTP024, MSTP023,
  MSTP022, MSTP021, MSTP016, MSTP015,
  MSTP014, MSTP_NR
}
 

Functions

void __init r8a7779_clock_init (void)
 

Variables

struct clk clkz_clk
 
struct clk clkzs_clk
 

Macro Definition Documentation

#define FRQMR   IOMEM(0xffc80014)

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

#define MSTPCR0   IOMEM(0xffc80030)

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

#define MSTPCR1   IOMEM(0xffc80034)

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

#define MSTPCR3   IOMEM(0xffc8003c)

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

#define MSTPCR4   IOMEM(0xffc80050)

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

#define MSTPCR5   IOMEM(0xffc80054)

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

#define MSTPCR6   IOMEM(0xffc80058)

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

#define MSTPCR7   IOMEM(0xffc80040)

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

#define MSTPSR1   IOMEM(0xffc80044)

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

#define MSTPSR4   IOMEM(0xffc80048)

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

#define MSTPSR6   IOMEM(0xffc8004c)

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

Enumeration Type Documentation

anonymous enum
Enumerator:
DIV4_S 
DIV4_OUT 
DIV4_S4 
DIV4_S3 
DIV4_S1 
DIV4_P 
DIV4_NR 

Definition at line 72 of file clock-r8a7779.c.

anonymous enum
Enumerator:
MSTP323 
MSTP322 
MSTP321 
MSTP320 
MSTP026 
MSTP025 
MSTP024 
MSTP023 
MSTP022 
MSTP021 
MSTP016 
MSTP015 
MSTP014 
MSTP_NR 

Definition at line 89 of file clock-r8a7779.c.

Function Documentation

void __init r8a7779_clock_init ( void  )

Definition at line 163 of file clock-r8a7779.c.

Variable Documentation

struct clk clkz_clk
Initial value:
= {
.ops = &mul4_clk_ops,
.parent = &div4_clks[DIV4_S],
}

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

struct clk clkzs_clk
Initial value:
= {
.parent = &div4_clks[DIV4_S],
}

Definition at line 124 of file clock-r8a7779.c.