Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
Go to the source code of this file.
Data Structures | |
struct | hb_clk |
Macros | |
#define | HB_PLL_LOCK_500 0x20000000 |
#define | HB_PLL_LOCK 0x10000000 |
#define | HB_PLL_DIVF_SHIFT 20 |
#define | HB_PLL_DIVF_MASK 0x0ff00000 |
#define | HB_PLL_DIVQ_SHIFT 16 |
#define | HB_PLL_DIVQ_MASK 0x00070000 |
#define | HB_PLL_DIVR_SHIFT 8 |
#define | HB_PLL_DIVR_MASK 0x00001f00 |
#define | HB_PLL_RANGE_SHIFT 4 |
#define | HB_PLL_RANGE_MASK 0x00000070 |
#define | HB_PLL_BYPASS 0x00000008 |
#define | HB_PLL_RESET 0x00000004 |
#define | HB_PLL_EXT_BYPASS 0x00000002 |
#define | HB_PLL_EXT_ENA 0x00000001 |
#define | HB_PLL_VCO_MIN_FREQ 2133000000 |
#define | HB_PLL_MAX_FREQ HB_PLL_VCO_MIN_FREQ |
#define | HB_PLL_MIN_FREQ (HB_PLL_VCO_MIN_FREQ / 64) |
#define | HB_A9_BCLK_DIV_MASK 0x00000006 |
#define | HB_A9_BCLK_DIV_SHIFT 1 |
#define | HB_A9_PCLK_DIV 0x00000001 |
#define | to_hb_clk(p) container_of(p, struct hb_clk, hw) |
Functions | |
void __init | highbank_clocks_init (void) |
Variables | |
void __iomem * | sregs_base |
#define HB_A9_BCLK_DIV_MASK 0x00000006 |
Definition at line 45 of file clk-highbank.c.
#define HB_A9_BCLK_DIV_SHIFT 1 |
Definition at line 46 of file clk-highbank.c.
#define HB_A9_PCLK_DIV 0x00000001 |
Definition at line 47 of file clk-highbank.c.
#define HB_PLL_BYPASS 0x00000008 |
Definition at line 36 of file clk-highbank.c.
#define HB_PLL_DIVF_MASK 0x0ff00000 |
Definition at line 29 of file clk-highbank.c.
#define HB_PLL_DIVF_SHIFT 20 |
Definition at line 28 of file clk-highbank.c.
#define HB_PLL_DIVQ_MASK 0x00070000 |
Definition at line 31 of file clk-highbank.c.
#define HB_PLL_DIVQ_SHIFT 16 |
Definition at line 30 of file clk-highbank.c.
#define HB_PLL_DIVR_MASK 0x00001f00 |
Definition at line 33 of file clk-highbank.c.
#define HB_PLL_DIVR_SHIFT 8 |
Definition at line 32 of file clk-highbank.c.
#define HB_PLL_EXT_BYPASS 0x00000002 |
Definition at line 38 of file clk-highbank.c.
#define HB_PLL_EXT_ENA 0x00000001 |
Definition at line 39 of file clk-highbank.c.
#define HB_PLL_LOCK 0x10000000 |
Definition at line 27 of file clk-highbank.c.
#define HB_PLL_LOCK_500 0x20000000 |
Definition at line 26 of file clk-highbank.c.
#define HB_PLL_MAX_FREQ HB_PLL_VCO_MIN_FREQ |
Definition at line 42 of file clk-highbank.c.
#define HB_PLL_MIN_FREQ (HB_PLL_VCO_MIN_FREQ / 64) |
Definition at line 43 of file clk-highbank.c.
#define HB_PLL_RANGE_MASK 0x00000070 |
Definition at line 35 of file clk-highbank.c.
#define HB_PLL_RANGE_SHIFT 4 |
Definition at line 34 of file clk-highbank.c.
#define HB_PLL_RESET 0x00000004 |
Definition at line 37 of file clk-highbank.c.
#define HB_PLL_VCO_MIN_FREQ 2133000000 |
Definition at line 41 of file clk-highbank.c.
Definition at line 54 of file clk-highbank.c.
Definition at line 343 of file clk-highbank.c.
Definition at line 44 of file highbank.c.