Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <asm/div64.h>
#include "clk.h"
Go to the source code of this file.
Data Structures | |
struct | clk_pllv2 |
Functions | |
struct clk * | imx_clk_pllv2 (const char *name, const char *parent, void __iomem *base) |
Variables | |
struct clk_ops | clk_pllv2_ops |
#define MAX_DPLL_WAIT_TRIES 1000 /* 1000 * udelay(1) = 1ms */ |
Definition at line 70 of file clk-pllv2.c.
#define MXC_PLL_DP_CONFIG 0x04 |
Definition at line 17 of file clk-pllv2.c.
#define MXC_PLL_DP_CONFIG_AREN 0x2 |
Definition at line 48 of file clk-pllv2.c.
#define MXC_PLL_DP_CONFIG_BIST 0x8 |
Definition at line 46 of file clk-pllv2.c.
#define MXC_PLL_DP_CONFIG_LDREQ 0x1 |
Definition at line 49 of file clk-pllv2.c.
#define MXC_PLL_DP_CONFIG_SJC_CE 0x4 |
Definition at line 47 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL 0x00 |
Definition at line 16 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_ADE 0x800 |
Definition at line 33 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_BRM0 0x2 |
Definition at line 43 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_DPDCK0_2_EN 0x1000 |
Definition at line 31 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_DPDCK0_2_OFFSET 12 |
Definition at line 32 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_HFSM 0x80 |
Definition at line 37 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_LRF 0x1 |
Definition at line 44 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_MUL_CTRL 0x2000 |
Definition at line 30 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_PLM 0x4 |
Definition at line 42 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_PRE 0x40 |
Definition at line 38 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_RCP 0x8 |
Definition at line 41 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_REF_CLK_DIV 0x400 |
Definition at line 34 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_REF_CLK_SEL_MASK (3 << 8) |
Definition at line 35 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_REF_CLK_SEL_OFFSET 8 |
Definition at line 36 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_RST 0x10 |
Definition at line 40 of file clk-pllv2.c.
#define MXC_PLL_DP_CTL_UPEN 0x20 |
Definition at line 39 of file clk-pllv2.c.
#define MXC_PLL_DP_DESTAT 0x2c |
Definition at line 27 of file clk-pllv2.c.
#define MXC_PLL_DP_DESTAT_MFN 0x07FFFFFF |
Definition at line 68 of file clk-pllv2.c.
#define MXC_PLL_DP_DESTAT_TOG_SEL (1 << 31) |
Definition at line 67 of file clk-pllv2.c.
#define MXC_PLL_DP_HFS_MFD 0x20 |
Definition at line 24 of file clk-pllv2.c.
#define MXC_PLL_DP_HFS_MFN 0x24 |
Definition at line 25 of file clk-pllv2.c.
#define MXC_PLL_DP_HFS_OP 0x1C |
Definition at line 23 of file clk-pllv2.c.
#define MXC_PLL_DP_MFD 0x0C |
Definition at line 19 of file clk-pllv2.c.
#define MXC_PLL_DP_MFD_MASK 0x07FFFFFF |
Definition at line 57 of file clk-pllv2.c.
#define MXC_PLL_DP_MFD_OFFSET 0 |
Definition at line 56 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN 0x10 |
Definition at line 20 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_MASK 0x07FFFFFF |
Definition at line 60 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_OFFSET 0x0 |
Definition at line 59 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_TOGC 0x28 |
Definition at line 26 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_TOGC_CNT_MASK 0xFFFF |
Definition at line 65 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_TOGC_CNT_OFFSET 0x0 |
Definition at line 64 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_TOGC_TOG_DIS (1 << 17) |
Definition at line 62 of file clk-pllv2.c.
#define MXC_PLL_DP_MFN_TOGC_TOG_EN (1 << 16) |
Definition at line 63 of file clk-pllv2.c.
#define MXC_PLL_DP_MFNMINUS 0x14 |
Definition at line 21 of file clk-pllv2.c.
#define MXC_PLL_DP_MFNPLUS 0x18 |
Definition at line 22 of file clk-pllv2.c.
#define MXC_PLL_DP_OP 0x08 |
Definition at line 18 of file clk-pllv2.c.
#define MXC_PLL_DP_OP_MFI_MASK (0xF << 4) |
Definition at line 52 of file clk-pllv2.c.
#define MXC_PLL_DP_OP_MFI_OFFSET 4 |
Definition at line 51 of file clk-pllv2.c.
#define MXC_PLL_DP_OP_PDF_MASK 0xF |
Definition at line 54 of file clk-pllv2.c.
#define MXC_PLL_DP_OP_PDF_OFFSET 0 |
Definition at line 53 of file clk-pllv2.c.
Definition at line 13 of file clk-pllv2.c.
Definition at line 240 of file clk-pllv2.c.
Definition at line 232 of file clk-pllv2.c.