Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gpiomux-v2.h
Go to the documentation of this file.
1 /* Copyright (c) 2010, Code Aurora Forum. All rights reserved.
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License version 2 and
5  * only version 2 as published by the Free Software Foundation.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software
14  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
15  * 02110-1301, USA.
16  */
17 #ifndef __ARCH_ARM_MACH_MSM_GPIOMUX_V2_H
18 #define __ARCH_ARM_MACH_MSM_GPIOMUX_V2_H
19 
20 #define GPIOMUX_NGPIOS 173
21 
23 
24 enum {
33 };
34 
35 enum {
37  GPIOMUX_FUNC_1 = 1UL << 2,
38  GPIOMUX_FUNC_2 = 2UL << 2,
39  GPIOMUX_FUNC_3 = 3UL << 2,
40  GPIOMUX_FUNC_4 = 4UL << 2,
41  GPIOMUX_FUNC_5 = 5UL << 2,
42  GPIOMUX_FUNC_6 = 6UL << 2,
43  GPIOMUX_FUNC_7 = 7UL << 2,
44  GPIOMUX_FUNC_8 = 8UL << 2,
45  GPIOMUX_FUNC_9 = 9UL << 2,
46  GPIOMUX_FUNC_A = 10UL << 2,
47  GPIOMUX_FUNC_B = 11UL << 2,
48  GPIOMUX_FUNC_C = 12UL << 2,
49  GPIOMUX_FUNC_D = 13UL << 2,
50  GPIOMUX_FUNC_E = 14UL << 2,
51  GPIOMUX_FUNC_F = 15UL << 2,
52 };
53 
54 enum {
59 };
60 
61 #endif