Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/clkdev.h>
#include <linux/err.h>
#include <mach/hardware.h>
#include <mach/common.h>
#include "clk.h"
Go to the source code of this file.
Macros | |
#define | IO_ADDR_CCM(off) (MX1_IO_ADDRESS(MX1_CCM_BASE_ADDR + (off))) |
#define | CCM_CSCR IO_ADDR_CCM(0x0) |
#define | CCM_MPCTL0 IO_ADDR_CCM(0x4) |
#define | CCM_SPCTL0 IO_ADDR_CCM(0xc) |
#define | CCM_PCDR IO_ADDR_CCM(0x20) |
#define | IO_ADDR_SCM(off) (MX1_IO_ADDRESS(MX1_SCM_BASE_ADDR + (off))) |
#define | SCM_GCCR IO_ADDR_SCM(0xc) |
Enumerations | |
enum | imx1_clks { dummy, clk32, clk16m_ext, clk16m, clk32_premult, prem, mpll, spll, mcu, fclk, hclk, clk48m, per1, per2, per3, clko, dma_gate, csi_gate, mma_gate, usbd_gate, clk_max } |
Functions | |
int __init | mx1_clocks_init (unsigned long fref) |
#define CCM_CSCR IO_ADDR_CCM(0x0) |
Definition at line 32 of file clk-imx1.c.
#define CCM_MPCTL0 IO_ADDR_CCM(0x4) |
Definition at line 33 of file clk-imx1.c.
#define CCM_PCDR IO_ADDR_CCM(0x20) |
Definition at line 35 of file clk-imx1.c.
#define CCM_SPCTL0 IO_ADDR_CCM(0xc) |
Definition at line 34 of file clk-imx1.c.
#define IO_ADDR_CCM | ( | off | ) | (MX1_IO_ADDRESS(MX1_CCM_BASE_ADDR + (off))) |
Definition at line 30 of file clk-imx1.c.
#define IO_ADDR_SCM | ( | off | ) | (MX1_IO_ADDRESS(MX1_SCM_BASE_ADDR + (off))) |
Definition at line 38 of file clk-imx1.c.
#define SCM_GCCR IO_ADDR_SCM(0xc) |
Definition at line 40 of file clk-imx1.c.
enum imx1_clks |
dummy | |
clk32 | |
clk16m_ext | |
clk16m | |
clk32_premult | |
prem | |
mpll | |
spll | |
mcu | |
fclk | |
hclk | |
clk48m | |
per1 | |
per2 | |
per3 | |
clko | |
dma_gate | |
csi_gate | |
mma_gate | |
usbd_gate | |
clk_max |
Definition at line 45 of file clk-imx1.c.
Definition at line 53 of file clk-imx1.c.