nfsd4: typo logical vs bitwise negate for want_mask
[linux-btrfs-devel.git] / arch / arm / mach-s5p64x0 / include / mach / regs-clock.h
bloba133f22fa155f38edf2e91711c893defd120eee0
1 /* linux/arch/arm/mach-s5p64x0/include/mach/regs-clock.h
3 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * S5P64X0 - Clock register definitions
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #ifndef __ASM_ARCH_REGS_CLOCK_H
14 #define __ASM_ARCH_REGS_CLOCK_H __FILE__
16 #include <mach/map.h>
18 #define S5P_CLKREG(x) (S3C_VA_SYS + (x))
20 #define S5P64X0_APLL_CON S5P_CLKREG(0x0C)
21 #define S5P64X0_MPLL_CON S5P_CLKREG(0x10)
22 #define S5P64X0_EPLL_CON S5P_CLKREG(0x14)
23 #define S5P64X0_EPLL_CON_K S5P_CLKREG(0x18)
25 #define S5P64X0_CLK_SRC0 S5P_CLKREG(0x1C)
27 #define S5P64X0_CLK_DIV0 S5P_CLKREG(0x20)
28 #define S5P64X0_CLK_DIV1 S5P_CLKREG(0x24)
29 #define S5P64X0_CLK_DIV2 S5P_CLKREG(0x28)
31 #define S5P64X0_CLK_GATE_HCLK0 S5P_CLKREG(0x30)
32 #define S5P64X0_CLK_GATE_PCLK S5P_CLKREG(0x34)
33 #define S5P64X0_CLK_GATE_SCLK0 S5P_CLKREG(0x38)
34 #define S5P64X0_CLK_GATE_MEM0 S5P_CLKREG(0x3C)
36 #define S5P64X0_CLK_DIV3 S5P_CLKREG(0x40)
38 #define S5P64X0_CLK_GATE_HCLK1 S5P_CLKREG(0x44)
39 #define S5P64X0_CLK_GATE_SCLK1 S5P_CLKREG(0x48)
41 #define S5P6450_DPLL_CON S5P_CLKREG(0x50)
42 #define S5P6450_DPLL_CON_K S5P_CLKREG(0x54)
44 #define S5P64X0_CLK_SRC1 S5P_CLKREG(0x10C)
46 #define S5P64X0_SYS_ID S5P_CLKREG(0x118)
47 #define S5P64X0_SYS_OTHERS S5P_CLKREG(0x11C)
49 #define S5P64X0_PWR_CFG S5P_CLKREG(0x804)
50 #define S5P64X0_OTHERS S5P_CLKREG(0x900)
52 #define S5P64X0_CLKDIV0_HCLK_SHIFT (8)
53 #define S5P64X0_CLKDIV0_HCLK_MASK (0xF << S5P64X0_CLKDIV0_HCLK_SHIFT)
55 #define S5P64X0_OTHERS_USB_SIG_MASK (1 << 16)
57 /* Compatibility defines */
59 #define ARM_CLK_DIV S5P64X0_CLK_DIV0
60 #define ARM_DIV_RATIO_SHIFT 0
61 #define ARM_DIV_MASK (0xF << ARM_DIV_RATIO_SHIFT)
63 #define S5P_EPLL_CON S5P64X0_EPLL_CON
65 #endif /* __ASM_ARCH_REGS_CLOCK_H */