~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/mfd/wm8994/gpio.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/mfd/wm8994/gpio.h (Architecture sparc) and /include/linux/mfd/wm8994/gpio.h (Architecture i386)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 /*                                                  2 /*
  3  * include/linux/mfd/wm8994/gpio.h - GPIO conf      3  * include/linux/mfd/wm8994/gpio.h - GPIO configuration for WM8994
  4  *                                                  4  *
  5  * Copyright 2009 Wolfson Microelectronics PLC      5  * Copyright 2009 Wolfson Microelectronics PLC.
  6  *                                                  6  *
  7  * Author: Mark Brown <broonie@opensource.wolf      7  * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
  8  */                                                 8  */
  9                                                     9 
 10 #ifndef __MFD_WM8994_GPIO_H__                      10 #ifndef __MFD_WM8994_GPIO_H__
 11 #define __MFD_WM8994_GPIO_H__                      11 #define __MFD_WM8994_GPIO_H__
 12                                                    12 
 13 #define WM8994_GPIO_MAX 11                         13 #define WM8994_GPIO_MAX 11
 14                                                    14 
 15 #define WM8994_GP_FN_PIN_SPECIFIC    0             15 #define WM8994_GP_FN_PIN_SPECIFIC    0
 16 #define WM8994_GP_FN_GPIO            1             16 #define WM8994_GP_FN_GPIO            1
 17 #define WM8994_GP_FN_SDOUT           2             17 #define WM8994_GP_FN_SDOUT           2
 18 #define WM8994_GP_FN_IRQ             3             18 #define WM8994_GP_FN_IRQ             3
 19 #define WM8994_GP_FN_TEMPERATURE     4             19 #define WM8994_GP_FN_TEMPERATURE     4
 20 #define WM8994_GP_FN_MICBIAS1_DET    5             20 #define WM8994_GP_FN_MICBIAS1_DET    5
 21 #define WM8994_GP_FN_MICBIAS1_SHORT  6             21 #define WM8994_GP_FN_MICBIAS1_SHORT  6
 22 #define WM8994_GP_FN_MICBIAS2_DET    7             22 #define WM8994_GP_FN_MICBIAS2_DET    7
 23 #define WM8994_GP_FN_MICBIAS2_SHORT  8             23 #define WM8994_GP_FN_MICBIAS2_SHORT  8
 24 #define WM8994_GP_FN_FLL1_LOCK       9             24 #define WM8994_GP_FN_FLL1_LOCK       9
 25 #define WM8994_GP_FN_FLL2_LOCK      10             25 #define WM8994_GP_FN_FLL2_LOCK      10
 26 #define WM8994_GP_FN_SRC1_LOCK      11             26 #define WM8994_GP_FN_SRC1_LOCK      11
 27 #define WM8994_GP_FN_SRC2_LOCK      12             27 #define WM8994_GP_FN_SRC2_LOCK      12
 28 #define WM8994_GP_FN_DRC1_ACT       13             28 #define WM8994_GP_FN_DRC1_ACT       13
 29 #define WM8994_GP_FN_DRC2_ACT       14             29 #define WM8994_GP_FN_DRC2_ACT       14
 30 #define WM8994_GP_FN_DRC3_ACT       15             30 #define WM8994_GP_FN_DRC3_ACT       15
 31 #define WM8994_GP_FN_WSEQ_STATUS    16             31 #define WM8994_GP_FN_WSEQ_STATUS    16
 32 #define WM8994_GP_FN_FIFO_ERROR     17             32 #define WM8994_GP_FN_FIFO_ERROR     17
 33 #define WM8994_GP_FN_OPCLK          18             33 #define WM8994_GP_FN_OPCLK          18
 34 #define WM8994_GP_FN_THW            19             34 #define WM8994_GP_FN_THW            19
 35 #define WM8994_GP_FN_DCS_DONE       20             35 #define WM8994_GP_FN_DCS_DONE       20
 36 #define WM8994_GP_FN_FLL1_OUT       21             36 #define WM8994_GP_FN_FLL1_OUT       21
 37 #define WM8994_GP_FN_FLL2_OUT       22             37 #define WM8994_GP_FN_FLL2_OUT       22
 38                                                    38 
 39 #define WM8994_GPN_DIR                             39 #define WM8994_GPN_DIR                          0x8000  /* GPN_DIR */
 40 #define WM8994_GPN_DIR_MASK                        40 #define WM8994_GPN_DIR_MASK                     0x8000  /* GPN_DIR */
 41 #define WM8994_GPN_DIR_SHIFT                       41 #define WM8994_GPN_DIR_SHIFT                        15  /* GPN_DIR */
 42 #define WM8994_GPN_DIR_WIDTH                       42 #define WM8994_GPN_DIR_WIDTH                         1  /* GPN_DIR */
 43 #define WM8994_GPN_PU                              43 #define WM8994_GPN_PU                           0x4000  /* GPN_PU */
 44 #define WM8994_GPN_PU_MASK                         44 #define WM8994_GPN_PU_MASK                      0x4000  /* GPN_PU */
 45 #define WM8994_GPN_PU_SHIFT                        45 #define WM8994_GPN_PU_SHIFT                         14  /* GPN_PU */
 46 #define WM8994_GPN_PU_WIDTH                        46 #define WM8994_GPN_PU_WIDTH                          1  /* GPN_PU */
 47 #define WM8994_GPN_PD                              47 #define WM8994_GPN_PD                           0x2000  /* GPN_PD */
 48 #define WM8994_GPN_PD_MASK                         48 #define WM8994_GPN_PD_MASK                      0x2000  /* GPN_PD */
 49 #define WM8994_GPN_PD_SHIFT                        49 #define WM8994_GPN_PD_SHIFT                         13  /* GPN_PD */
 50 #define WM8994_GPN_PD_WIDTH                        50 #define WM8994_GPN_PD_WIDTH                          1  /* GPN_PD */
 51 #define WM8994_GPN_POL                             51 #define WM8994_GPN_POL                          0x0400  /* GPN_POL */
 52 #define WM8994_GPN_POL_MASK                        52 #define WM8994_GPN_POL_MASK                     0x0400  /* GPN_POL */
 53 #define WM8994_GPN_POL_SHIFT                       53 #define WM8994_GPN_POL_SHIFT                        10  /* GPN_POL */
 54 #define WM8994_GPN_POL_WIDTH                       54 #define WM8994_GPN_POL_WIDTH                         1  /* GPN_POL */
 55 #define WM8994_GPN_OP_CFG                          55 #define WM8994_GPN_OP_CFG                       0x0200  /* GPN_OP_CFG */
 56 #define WM8994_GPN_OP_CFG_MASK                     56 #define WM8994_GPN_OP_CFG_MASK                  0x0200  /* GPN_OP_CFG */
 57 #define WM8994_GPN_OP_CFG_SHIFT                    57 #define WM8994_GPN_OP_CFG_SHIFT                      9  /* GPN_OP_CFG */
 58 #define WM8994_GPN_OP_CFG_WIDTH                    58 #define WM8994_GPN_OP_CFG_WIDTH                      1  /* GPN_OP_CFG */
 59 #define WM8994_GPN_DB                              59 #define WM8994_GPN_DB                           0x0100  /* GPN_DB */
 60 #define WM8994_GPN_DB_MASK                         60 #define WM8994_GPN_DB_MASK                      0x0100  /* GPN_DB */
 61 #define WM8994_GPN_DB_SHIFT                        61 #define WM8994_GPN_DB_SHIFT                          8  /* GPN_DB */
 62 #define WM8994_GPN_DB_WIDTH                        62 #define WM8994_GPN_DB_WIDTH                          1  /* GPN_DB */
 63 #define WM8994_GPN_LVL                             63 #define WM8994_GPN_LVL                          0x0040  /* GPN_LVL */
 64 #define WM8994_GPN_LVL_MASK                        64 #define WM8994_GPN_LVL_MASK                     0x0040  /* GPN_LVL */
 65 #define WM8994_GPN_LVL_SHIFT                       65 #define WM8994_GPN_LVL_SHIFT                         6  /* GPN_LVL */
 66 #define WM8994_GPN_LVL_WIDTH                       66 #define WM8994_GPN_LVL_WIDTH                         1  /* GPN_LVL */
 67 #define WM8994_GPN_FN_MASK                         67 #define WM8994_GPN_FN_MASK                      0x001F  /* GPN_FN - [4:0] */
 68 #define WM8994_GPN_FN_SHIFT                        68 #define WM8994_GPN_FN_SHIFT                          0  /* GPN_FN - [4:0] */
 69 #define WM8994_GPN_FN_WIDTH                        69 #define WM8994_GPN_FN_WIDTH                          5  /* GPN_FN - [4:0] */
 70                                                    70 
 71 #endif                                             71 #endif
 72                                                    72 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php