Linux Kernel
3.7.1
|
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/io.h>
#include <linux/spinlock_types.h>
#include <mach/misc_regs.h>
#include "clk.h"
Go to the source code of this file.
Functions | |
void __init | spear6xx_clk_init (void) |
#define ADC_CLK_ENB 15 |
Definition at line 65 of file spear6xx_clock.c.
#define CLCD_CLK_ENB 22 |
Definition at line 71 of file spear6xx_clock.c.
#define CLCD_CLK_MASK 2 |
Definition at line 40 of file spear6xx_clock.c.
#define CLCD_CLK_SHIFT 2 |
Definition at line 39 of file spear6xx_clock.c.
#define CLCD_CLK_SYNT (MISC_BASE + 0x05C) |
Definition at line 81 of file spear6xx_clock.c.
#define CORE_CLK_CFG (MISC_BASE + 0x024) |
Definition at line 30 of file spear6xx_clock.c.
#define DMA_CLK_ENB 19 |
Definition at line 69 of file spear6xx_clock.c.
#define FIRDA_CLK_ENB 10 |
Definition at line 60 of file spear6xx_clock.c.
#define FIRDA_CLK_MASK 2 |
Definition at line 44 of file spear6xx_clock.c.
#define FIRDA_CLK_SHIFT 5 |
Definition at line 43 of file spear6xx_clock.c.
#define FIRDA_CLK_SYNT (MISC_BASE + 0x060) |
Definition at line 82 of file spear6xx_clock.c.
#define FSMC_CLK_ENB 9 |
Definition at line 59 of file spear6xx_clock.c.
#define GMAC_CLK_ENB 23 |
Definition at line 72 of file spear6xx_clock.c.
#define GPIO1_CLK_ENB 18 |
Definition at line 68 of file spear6xx_clock.c.
#define GPIO2_CLK_ENB 13 |
Definition at line 63 of file spear6xx_clock.c.
#define GPT0_CLK_SHIFT 8 |
Definition at line 45 of file spear6xx_clock.c.
#define GPT1_CLK_ENB 11 |
Definition at line 66 of file spear6xx_clock.c.
#define GPT1_CLK_SHIFT 10 |
Definition at line 46 of file spear6xx_clock.c.
#define GPT2_CLK_ENB 11 |
Definition at line 61 of file spear6xx_clock.c.
#define GPT2_CLK_SHIFT 11 |
Definition at line 47 of file spear6xx_clock.c.
#define GPT3_CLK_ENB 12 |
Definition at line 62 of file spear6xx_clock.c.
#define GPT3_CLK_SHIFT 12 |
Definition at line 48 of file spear6xx_clock.c.
#define GPT_CLK_MASK 1 |
Definition at line 49 of file spear6xx_clock.c.
#define HCLK_RATIO_MASK 2 |
Definition at line 33 of file spear6xx_clock.c.
#define HCLK_RATIO_SHIFT 10 |
Definition at line 32 of file spear6xx_clock.c.
#define I2C_CLK_ENB 7 |
Definition at line 57 of file spear6xx_clock.c.
#define JPEG_CLK_ENB 8 |
Definition at line 58 of file spear6xx_clock.c.
#define MCTR_CLK_MASK 3 |
Definition at line 28 of file spear6xx_clock.c.
#define MCTR_CLK_SHIFT 28 |
Definition at line 27 of file spear6xx_clock.c.
#define PCLK_RATIO_MASK 2 |
Definition at line 35 of file spear6xx_clock.c.
#define PCLK_RATIO_SHIFT 8 |
Definition at line 34 of file spear6xx_clock.c.
#define PERIP1_CLK_ENB (MISC_BASE + 0x02C) |
Definition at line 51 of file spear6xx_clock.c.
#define PERIP_CLK_CFG (MISC_BASE + 0x028) |
Definition at line 37 of file spear6xx_clock.c.
#define PLL1_CTR (MISC_BASE + 0x008) |
Definition at line 21 of file spear6xx_clock.c.
#define PLL1_FRQ (MISC_BASE + 0x00C) |
Definition at line 22 of file spear6xx_clock.c.
#define PLL2_CTR (MISC_BASE + 0x014) |
Definition at line 23 of file spear6xx_clock.c.
#define PLL2_FRQ (MISC_BASE + 0x018) |
Definition at line 24 of file spear6xx_clock.c.
#define PLL_CLK_CFG (MISC_BASE + 0x020) |
Definition at line 25 of file spear6xx_clock.c.
#define PRSC0_CLK_CFG (MISC_BASE + 0x044) |
Definition at line 77 of file spear6xx_clock.c.
#define PRSC1_CLK_CFG (MISC_BASE + 0x048) |
Definition at line 78 of file spear6xx_clock.c.
#define PRSC2_CLK_CFG (MISC_BASE + 0x04C) |
Definition at line 79 of file spear6xx_clock.c.
#define RTC_CLK_ENB 17 |
Definition at line 67 of file spear6xx_clock.c.
#define SMI_CLK_ENB 21 |
Definition at line 70 of file spear6xx_clock.c.
#define SSP0_CLK_ENB 5 |
Definition at line 55 of file spear6xx_clock.c.
#define SSP1_CLK_ENB 6 |
Definition at line 56 of file spear6xx_clock.c.
#define SSP2_CLK_ENB 14 |
Definition at line 64 of file spear6xx_clock.c.
#define UART0_CLK_ENB 3 |
Definition at line 53 of file spear6xx_clock.c.
#define UART1_CLK_ENB 4 |
Definition at line 54 of file spear6xx_clock.c.
#define UART_CLK_MASK 1 |
Definition at line 42 of file spear6xx_clock.c.
#define UART_CLK_SHIFT 4 |
Definition at line 41 of file spear6xx_clock.c.
#define UART_CLK_SYNT (MISC_BASE + 0x064) |
Definition at line 83 of file spear6xx_clock.c.
#define USBD_CLK_ENB 24 |
Definition at line 73 of file spear6xx_clock.c.
#define USBH0_CLK_ENB 25 |
Definition at line 74 of file spear6xx_clock.c.
#define USBH1_CLK_ENB 26 |
Definition at line 75 of file spear6xx_clock.c.
Definition at line 117 of file spear6xx_clock.c.