nfsd4: typo logical vs bitwise negate for want_mask
[linux-btrfs-devel.git] / arch / arm / mach-s5p64x0 / include / mach / regs-gpio.h
blob6ce254729f3baaa51b13ea8c09b1046ba21f4938
1 /* linux/arch/arm/mach-s5p64x0/include/mach/regs-gpio.h
3 * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
4 * http://www.samsung.com
6 * S5P64X0 - GPIO 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_GPIO_H
14 #define __ASM_ARCH_REGS_GPIO_H __FILE__
16 #include <mach/map.h>
18 /* Base addresses for each of the banks */
20 #define S5P64X0_GPA_BASE (S5P_VA_GPIO + 0x0000)
21 #define S5P64X0_GPB_BASE (S5P_VA_GPIO + 0x0020)
22 #define S5P64X0_GPC_BASE (S5P_VA_GPIO + 0x0040)
23 #define S5P64X0_GPF_BASE (S5P_VA_GPIO + 0x00A0)
24 #define S5P64X0_GPG_BASE (S5P_VA_GPIO + 0x00C0)
25 #define S5P64X0_GPH_BASE (S5P_VA_GPIO + 0x00E0)
26 #define S5P64X0_GPI_BASE (S5P_VA_GPIO + 0x0100)
27 #define S5P64X0_GPJ_BASE (S5P_VA_GPIO + 0x0120)
28 #define S5P64X0_GPN_BASE (S5P_VA_GPIO + 0x0830)
29 #define S5P64X0_GPP_BASE (S5P_VA_GPIO + 0x0160)
30 #define S5P64X0_GPR_BASE (S5P_VA_GPIO + 0x0290)
32 #define S5P6450_GPD_BASE (S5P_VA_GPIO + 0x0060)
33 #define S5P6450_GPK_BASE (S5P_VA_GPIO + 0x0140)
34 #define S5P6450_GPQ_BASE (S5P_VA_GPIO + 0x0180)
35 #define S5P6450_GPS_BASE (S5P_VA_GPIO + 0x0300)
37 /* External interrupt control registers for group0 */
39 #define EINT0CON0_OFFSET (0x900)
40 #define EINT0MASK_OFFSET (0x920)
41 #define EINT0PEND_OFFSET (0x924)
43 #define S5P64X0_EINT0CON0 (S5P_VA_GPIO + EINT0CON0_OFFSET)
44 #define S5P64X0_EINT0MASK (S5P_VA_GPIO + EINT0MASK_OFFSET)
45 #define S5P64X0_EINT0PEND (S5P_VA_GPIO + EINT0PEND_OFFSET)
47 #endif /* __ASM_ARCH_REGS_GPIO_H */