Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
regs-clock.h File Reference
#include <mach/map.h>

Go to the source code of this file.

Macros

#define __ASM_ARCH_REGS_CLOCK_H   __FILE__
 
#define S5P_CLKREG(x)   (S3C_VA_SYS + (x))
 
#define S5P64X0_APLL_CON   S5P_CLKREG(0x0C)
 
#define S5P64X0_MPLL_CON   S5P_CLKREG(0x10)
 
#define S5P64X0_EPLL_CON   S5P_CLKREG(0x14)
 
#define S5P64X0_EPLL_CON_K   S5P_CLKREG(0x18)
 
#define S5P64X0_CLK_SRC0   S5P_CLKREG(0x1C)
 
#define S5P64X0_CLK_DIV0   S5P_CLKREG(0x20)
 
#define S5P64X0_CLK_DIV1   S5P_CLKREG(0x24)
 
#define S5P64X0_CLK_DIV2   S5P_CLKREG(0x28)
 
#define S5P64X0_CLK_GATE_HCLK0   S5P_CLKREG(0x30)
 
#define S5P64X0_CLK_GATE_PCLK   S5P_CLKREG(0x34)
 
#define S5P64X0_CLK_GATE_SCLK0   S5P_CLKREG(0x38)
 
#define S5P64X0_CLK_GATE_MEM0   S5P_CLKREG(0x3C)
 
#define S5P64X0_CLK_DIV3   S5P_CLKREG(0x40)
 
#define S5P64X0_CLK_GATE_HCLK1   S5P_CLKREG(0x44)
 
#define S5P64X0_CLK_GATE_SCLK1   S5P_CLKREG(0x48)
 
#define S5P6450_DPLL_CON   S5P_CLKREG(0x50)
 
#define S5P6450_DPLL_CON_K   S5P_CLKREG(0x54)
 
#define S5P64X0_AHB_CON0   S5P_CLKREG(0x100)
 
#define S5P64X0_CLK_SRC1   S5P_CLKREG(0x10C)
 
#define S5P64X0_SYS_ID   S5P_CLKREG(0x118)
 
#define S5P64X0_SYS_OTHERS   S5P_CLKREG(0x11C)
 
#define S5P64X0_PWR_CFG   S5P_CLKREG(0x804)
 
#define S5P64X0_EINT_WAKEUP_MASK   S5P_CLKREG(0x808)
 
#define S5P64X0_SLEEP_CFG   S5P_CLKREG(0x818)
 
#define S5P64X0_PWR_STABLE   S5P_CLKREG(0x828)
 
#define S5P64X0_OTHERS   S5P_CLKREG(0x900)
 
#define S5P64X0_WAKEUP_STAT   S5P_CLKREG(0x908)
 
#define S5P64X0_INFORM0   S5P_CLKREG(0xA00)
 
#define S5P64X0_CLKDIV0_HCLK_SHIFT   (8)
 
#define S5P64X0_CLKDIV0_HCLK_MASK   (0xF << S5P64X0_CLKDIV0_HCLK_SHIFT)
 
#define S5P64X0_CLK_GATE_HCLK1_FIMGVG   (1 << 2)
 
#define S5P64X0_CLK_GATE_SCLK1_FIMGVG   (1 << 2)
 
#define S5P64X0_CLK_GATE_PCLK_UART3   (1 << 4)
 
#define S5P64X0_CLK_GATE_PCLK_UART2   (1 << 3)
 
#define S5P64X0_CLK_GATE_PCLK_UART1   (1 << 2)
 
#define S5P64X0_CLK_GATE_PCLK_UART0   (1 << 1)
 
#define S5P64X0_PWR_CFG_MMC1_DISABLE   (1 << 15)
 
#define S5P64X0_PWR_CFG_MMC0_DISABLE   (1 << 14)
 
#define S5P64X0_PWR_CFG_RTC_TICK_DISABLE   (1 << 11)
 
#define S5P64X0_PWR_CFG_RTC_ALRM_DISABLE   (1 << 10)
 
#define S5P64X0_PWR_CFG_WFI_MASK   (3 << 5)
 
#define S5P64X0_PWR_CFG_WFI_SLEEP   (3 << 5)
 
#define S5P64X0_SLEEP_CFG_OSC_EN   (1 << 0)
 
#define S5P64X0_PWR_STABLE_PWR_CNT_VAL4   (4 << 0)
 
#define S5P6450_OTHERS_DISABLE_INT   (1 << 31)
 
#define S5P64X0_OTHERS_RET_UART   (1 << 26)
 
#define S5P64X0_OTHERS_RET_MMC1   (1 << 25)
 
#define S5P64X0_OTHERS_RET_MMC0   (1 << 24)
 
#define S5P64X0_OTHERS_USB_SIG_MASK   (1 << 16)
 
#define ARM_CLK_DIV   S5P64X0_CLK_DIV0
 
#define ARM_DIV_RATIO_SHIFT   0
 
#define ARM_DIV_MASK   (0xF << ARM_DIV_RATIO_SHIFT)
 
#define S5P_EPLL_CON   S5P64X0_EPLL_CON
 

Macro Definition Documentation

#define __ASM_ARCH_REGS_CLOCK_H   __FILE__

Definition at line 14 of file regs-clock.h.

#define ARM_CLK_DIV   S5P64X0_CLK_DIV0

Definition at line 92 of file regs-clock.h.

#define ARM_DIV_MASK   (0xF << ARM_DIV_RATIO_SHIFT)

Definition at line 94 of file regs-clock.h.

#define ARM_DIV_RATIO_SHIFT   0

Definition at line 93 of file regs-clock.h.

#define S5P6450_DPLL_CON   S5P_CLKREG(0x50)

Definition at line 41 of file regs-clock.h.

#define S5P6450_DPLL_CON_K   S5P_CLKREG(0x54)

Definition at line 42 of file regs-clock.h.

#define S5P6450_OTHERS_DISABLE_INT   (1 << 31)

Definition at line 84 of file regs-clock.h.

#define S5P64X0_AHB_CON0   S5P_CLKREG(0x100)

Definition at line 44 of file regs-clock.h.

#define S5P64X0_APLL_CON   S5P_CLKREG(0x0C)

Definition at line 20 of file regs-clock.h.

#define S5P64X0_CLK_DIV0   S5P_CLKREG(0x20)

Definition at line 27 of file regs-clock.h.

#define S5P64X0_CLK_DIV1   S5P_CLKREG(0x24)

Definition at line 28 of file regs-clock.h.

#define S5P64X0_CLK_DIV2   S5P_CLKREG(0x28)

Definition at line 29 of file regs-clock.h.

#define S5P64X0_CLK_DIV3   S5P_CLKREG(0x40)

Definition at line 36 of file regs-clock.h.

#define S5P64X0_CLK_GATE_HCLK0   S5P_CLKREG(0x30)

Definition at line 31 of file regs-clock.h.

#define S5P64X0_CLK_GATE_HCLK1   S5P_CLKREG(0x44)

Definition at line 38 of file regs-clock.h.

#define S5P64X0_CLK_GATE_HCLK1_FIMGVG   (1 << 2)

Definition at line 64 of file regs-clock.h.

#define S5P64X0_CLK_GATE_MEM0   S5P_CLKREG(0x3C)

Definition at line 34 of file regs-clock.h.

#define S5P64X0_CLK_GATE_PCLK   S5P_CLKREG(0x34)

Definition at line 32 of file regs-clock.h.

#define S5P64X0_CLK_GATE_PCLK_UART0   (1 << 1)

Definition at line 71 of file regs-clock.h.

#define S5P64X0_CLK_GATE_PCLK_UART1   (1 << 2)

Definition at line 70 of file regs-clock.h.

#define S5P64X0_CLK_GATE_PCLK_UART2   (1 << 3)

Definition at line 69 of file regs-clock.h.

#define S5P64X0_CLK_GATE_PCLK_UART3   (1 << 4)

Definition at line 68 of file regs-clock.h.

#define S5P64X0_CLK_GATE_SCLK0   S5P_CLKREG(0x38)

Definition at line 33 of file regs-clock.h.

#define S5P64X0_CLK_GATE_SCLK1   S5P_CLKREG(0x48)

Definition at line 39 of file regs-clock.h.

#define S5P64X0_CLK_GATE_SCLK1_FIMGVG   (1 << 2)

Definition at line 65 of file regs-clock.h.

#define S5P64X0_CLK_SRC0   S5P_CLKREG(0x1C)

Definition at line 25 of file regs-clock.h.

#define S5P64X0_CLK_SRC1   S5P_CLKREG(0x10C)

Definition at line 45 of file regs-clock.h.

#define S5P64X0_CLKDIV0_HCLK_MASK   (0xF << S5P64X0_CLKDIV0_HCLK_SHIFT)

Definition at line 61 of file regs-clock.h.

#define S5P64X0_CLKDIV0_HCLK_SHIFT   (8)

Definition at line 60 of file regs-clock.h.

#define S5P64X0_EINT_WAKEUP_MASK   S5P_CLKREG(0x808)

Definition at line 51 of file regs-clock.h.

#define S5P64X0_EPLL_CON   S5P_CLKREG(0x14)

Definition at line 22 of file regs-clock.h.

#define S5P64X0_EPLL_CON_K   S5P_CLKREG(0x18)

Definition at line 23 of file regs-clock.h.

#define S5P64X0_INFORM0   S5P_CLKREG(0xA00)

Definition at line 58 of file regs-clock.h.

#define S5P64X0_MPLL_CON   S5P_CLKREG(0x10)

Definition at line 21 of file regs-clock.h.

#define S5P64X0_OTHERS   S5P_CLKREG(0x900)

Definition at line 55 of file regs-clock.h.

#define S5P64X0_OTHERS_RET_MMC0   (1 << 24)

Definition at line 87 of file regs-clock.h.

#define S5P64X0_OTHERS_RET_MMC1   (1 << 25)

Definition at line 86 of file regs-clock.h.

#define S5P64X0_OTHERS_RET_UART   (1 << 26)

Definition at line 85 of file regs-clock.h.

#define S5P64X0_OTHERS_USB_SIG_MASK   (1 << 16)

Definition at line 88 of file regs-clock.h.

#define S5P64X0_PWR_CFG   S5P_CLKREG(0x804)

Definition at line 50 of file regs-clock.h.

#define S5P64X0_PWR_CFG_MMC0_DISABLE   (1 << 14)

Definition at line 74 of file regs-clock.h.

#define S5P64X0_PWR_CFG_MMC1_DISABLE   (1 << 15)

Definition at line 73 of file regs-clock.h.

#define S5P64X0_PWR_CFG_RTC_ALRM_DISABLE   (1 << 10)

Definition at line 76 of file regs-clock.h.

#define S5P64X0_PWR_CFG_RTC_TICK_DISABLE   (1 << 11)

Definition at line 75 of file regs-clock.h.

#define S5P64X0_PWR_CFG_WFI_MASK   (3 << 5)

Definition at line 77 of file regs-clock.h.

#define S5P64X0_PWR_CFG_WFI_SLEEP   (3 << 5)

Definition at line 78 of file regs-clock.h.

#define S5P64X0_PWR_STABLE   S5P_CLKREG(0x828)

Definition at line 53 of file regs-clock.h.

#define S5P64X0_PWR_STABLE_PWR_CNT_VAL4   (4 << 0)

Definition at line 82 of file regs-clock.h.

#define S5P64X0_SLEEP_CFG   S5P_CLKREG(0x818)

Definition at line 52 of file regs-clock.h.

#define S5P64X0_SLEEP_CFG_OSC_EN   (1 << 0)

Definition at line 80 of file regs-clock.h.

#define S5P64X0_SYS_ID   S5P_CLKREG(0x118)

Definition at line 47 of file regs-clock.h.

#define S5P64X0_SYS_OTHERS   S5P_CLKREG(0x11C)

Definition at line 48 of file regs-clock.h.

#define S5P64X0_WAKEUP_STAT   S5P_CLKREG(0x908)

Definition at line 56 of file regs-clock.h.

#define S5P_CLKREG (   x)    (S3C_VA_SYS + (x))

Definition at line 18 of file regs-clock.h.

#define S5P_EPLL_CON   S5P64X0_EPLL_CON

Definition at line 96 of file regs-clock.h.