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

TOMOYO Linux Cross Reference
Linux/sound/pci/oxygen/cm9780.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef CM9780_H_INCLUDED
  3 #define CM9780_H_INCLUDED
  4 
  5 #define CM9780_JACK             0x62
  6 #define CM9780_MIXER            0x64
  7 #define CM9780_GPIO_SETUP       0x70
  8 #define CM9780_GPIO_STATUS      0x72
  9 
 10 /* jack control */
 11 #define CM9780_RSOE             0x0001
 12 #define CM9780_CBOE             0x0002
 13 #define CM9780_SSOE             0x0004
 14 #define CM9780_FROE             0x0008
 15 #define CM9780_HP2FMICOE        0x0010
 16 #define CM9780_CB2MICOE         0x0020
 17 #define CM9780_FMIC2LI          0x0040
 18 #define CM9780_FMIC2MIC         0x0080
 19 #define CM9780_HP2LI            0x0100
 20 #define CM9780_HP2MIC           0x0200
 21 #define CM9780_MIC2LI           0x0400
 22 #define CM9780_MIC2MIC          0x0800
 23 #define CM9780_LI2LI            0x1000
 24 #define CM9780_LI2MIC           0x2000
 25 #define CM9780_LO2LI            0x4000
 26 #define CM9780_LO2MIC           0x8000
 27 
 28 /* mixer control */
 29 #define CM9780_BSTSEL           0x0001
 30 #define CM9780_STRO_MIC         0x0002
 31 #define CM9780_SPDI_FREX        0x0004
 32 #define CM9780_SPDI_SSEX        0x0008
 33 #define CM9780_SPDI_CBEX        0x0010
 34 #define CM9780_SPDI_RSEX        0x0020
 35 #define CM9780_MIX2FR           0x0040
 36 #define CM9780_MIX2SS           0x0080
 37 #define CM9780_MIX2CB           0x0100
 38 #define CM9780_MIX2RS           0x0200
 39 #define CM9780_MIX2FR_EX        0x0400
 40 #define CM9780_MIX2SS_EX        0x0800
 41 #define CM9780_MIX2CB_EX        0x1000
 42 #define CM9780_MIX2RS_EX        0x2000
 43 #define CM9780_P47_IO           0x4000
 44 #define CM9780_PCBSW            0x8000
 45 
 46 /* GPIO setup */
 47 #define CM9780_GPI0EN           0x0001
 48 #define CM9780_GPI1EN           0x0002
 49 #define CM9780_SENSE_P          0x0004
 50 #define CM9780_LOCK_P           0x0008
 51 #define CM9780_GPIO0P           0x0010
 52 #define CM9780_GPIO1P           0x0020
 53 #define CM9780_GPIO0IO          0x0100
 54 #define CM9780_GPIO1IO          0x0200
 55 
 56 /* GPIO status */
 57 #define CM9780_GPO0             0x0001
 58 #define CM9780_GPO1             0x0002
 59 #define CM9780_GPIO0S           0x0010
 60 #define CM9780_GPIO1S           0x0020
 61 #define CM9780_GPII0S           0x0100
 62 #define CM9780_GPII1S           0x0200
 63 
 64 #endif
 65 

~ [ 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