Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/clkdev.h>
#include <linux/sh_clk.h>
#include <asm/clock.h>
#include <cpu/sh7722.h>
Go to the source code of this file.
Macros | |
#define | FRQCR 0xa4150000 |
#define | VCLKCR 0xa4150004 |
#define | SCLKACR 0xa4150008 |
#define | SCLKBCR 0xa415000c |
#define | IRDACLKCR 0xa4150018 |
#define | PLLCR 0xa4150024 |
#define | MSTPCR0 0xa4150030 |
#define | MSTPCR1 0xa4150034 |
#define | MSTPCR2 0xa4150038 |
#define | DLLFRQ 0xa4150050 |
#define | DIV4(_reg, _bit, _mask, _flags) SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags) |
Enumerations | |
enum | { DIV4_I, DIV4_U, DIV4_SH, DIV4_B, DIV4_B3, DIV4_P, DIV4_NR } |
enum | { DIV4_IRDA, DIV4_ENABLE_NR } |
enum | { DIV4_SIUA, DIV4_SIUB, DIV4_REPARENT_NR } |
enum | { DIV6_V, DIV6_NR } |
Functions | |
int __init | arch_clk_init (void) |
Variables | |
struct clk | extal_clk |
struct clk * | main_clks [] |
struct clk | div4_clks [DIV4_NR] |
struct clk | div4_enable_clks [DIV4_ENABLE_NR] |
struct clk | div4_reparent_clks [DIV4_REPARENT_NR] |
struct clk | div6_clks [DIV6_NR] |
#define DIV4 | ( | _reg, | |
_bit, | |||
_mask, | |||
_flags | |||
) | SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags) |
Definition at line 120 of file clock-sh7722.c.
#define DLLFRQ 0xa4150050 |
Definition at line 39 of file clock-sh7722.c.
#define FRQCR 0xa4150000 |
Definition at line 30 of file clock-sh7722.c.
#define IRDACLKCR 0xa4150018 |
Definition at line 34 of file clock-sh7722.c.
#define MSTPCR0 0xa4150030 |
Definition at line 36 of file clock-sh7722.c.
#define MSTPCR1 0xa4150034 |
Definition at line 37 of file clock-sh7722.c.
#define MSTPCR2 0xa4150038 |
Definition at line 38 of file clock-sh7722.c.
#define PLLCR 0xa4150024 |
Definition at line 35 of file clock-sh7722.c.
#define SCLKACR 0xa4150008 |
Definition at line 32 of file clock-sh7722.c.
#define SCLKBCR 0xa415000c |
Definition at line 33 of file clock-sh7722.c.
#define VCLKCR 0xa4150004 |
Definition at line 31 of file clock-sh7722.c.
anonymous enum |
Definition at line 123 of file clock-sh7722.c.
anonymous enum |
Definition at line 134 of file clock-sh7722.c.
anonymous enum |
Definition at line 140 of file clock-sh7722.c.
anonymous enum |
Definition at line 147 of file clock-sh7722.c.
Definition at line 234 of file clock-sh7722.c.
Definition at line 125 of file clock-sh7722.c.
struct clk div4_enable_clks[DIV4_ENABLE_NR] |
Definition at line 136 of file clock-sh7722.c.
struct clk div4_reparent_clks[DIV4_REPARENT_NR] |
Definition at line 149 of file clock-sh7722.c.
Definition at line 50 of file clock-sh7722.c.
Definition at line 99 of file clock-sh7722.c.