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

TOMOYO Linux Cross Reference
Linux/sound/pci/oxygen/wm8766.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 WM8766_H_INCLUDED
  3 #define WM8766_H_INCLUDED
  4 
  5 #define WM8766_LDA1             0x00
  6 #define WM8766_RDA1             0x01
  7 #define WM8766_DAC_CTRL         0x02
  8 #define WM8766_INT_CTRL         0x03
  9 #define WM8766_LDA2             0x04
 10 #define WM8766_RDA2             0x05
 11 #define WM8766_LDA3             0x06
 12 #define WM8766_RDA3             0x07
 13 #define WM8766_MASTDA           0x08
 14 #define WM8766_DAC_CTRL2        0x09
 15 #define WM8766_DAC_CTRL3        0x0a
 16 #define WM8766_MUTE1            0x0c
 17 #define WM8766_MUTE2            0x0f
 18 #define WM8766_RESET            0x1f
 19 
 20 /* LDAx/RDAx/MASTDA */
 21 #define WM8766_ATT_MASK         0x0ff
 22 #define WM8766_UPDATE           0x100
 23 /* DAC_CTRL */
 24 #define WM8766_MUTEALL          0x001
 25 #define WM8766_DEEMPALL         0x002
 26 #define WM8766_PWDN             0x004
 27 #define WM8766_ATC              0x008
 28 #define WM8766_IZD              0x010
 29 #define WM8766_PL_LEFT_MASK     0x060
 30 #define WM8766_PL_LEFT_MUTE     0x000
 31 #define WM8766_PL_LEFT_LEFT     0x020
 32 #define WM8766_PL_LEFT_RIGHT    0x040
 33 #define WM8766_PL_LEFT_LRMIX    0x060
 34 #define WM8766_PL_RIGHT_MASK    0x180
 35 #define WM8766_PL_RIGHT_MUTE    0x000
 36 #define WM8766_PL_RIGHT_LEFT    0x080
 37 #define WM8766_PL_RIGHT_RIGHT   0x100
 38 #define WM8766_PL_RIGHT_LRMIX   0x180
 39 /* INT_CTRL */
 40 #define WM8766_FMT_MASK         0x003
 41 #define WM8766_FMT_RJUST        0x000
 42 #define WM8766_FMT_LJUST        0x001
 43 #define WM8766_FMT_I2S          0x002
 44 #define WM8766_FMT_DSP          0x003
 45 #define WM8766_LRP              0x004
 46 #define WM8766_BCP              0x008
 47 #define WM8766_IWL_MASK         0x030
 48 #define WM8766_IWL_16           0x000
 49 #define WM8766_IWL_20           0x010
 50 #define WM8766_IWL_24           0x020
 51 #define WM8766_IWL_32           0x030
 52 #define WM8766_PHASE_MASK       0x1c0
 53 /* DAC_CTRL2 */
 54 #define WM8766_ZCD              0x001
 55 #define WM8766_DZFM_MASK        0x006
 56 #define WM8766_DMUTE_MASK       0x038
 57 #define WM8766_DEEMP_MASK       0x1c0
 58 /* DAC_CTRL3 */
 59 #define WM8766_DACPD_MASK       0x00e
 60 #define WM8766_PWRDNALL         0x010
 61 #define WM8766_MS               0x020
 62 #define WM8766_RATE_MASK        0x1c0
 63 #define WM8766_RATE_128         0x000
 64 #define WM8766_RATE_192         0x040
 65 #define WM8766_RATE_256         0x080
 66 #define WM8766_RATE_384         0x0c0
 67 #define WM8766_RATE_512         0x100
 68 #define WM8766_RATE_768         0x140
 69 /* MUTE1 */
 70 #define WM8766_MPD1             0x040
 71 /* MUTE2 */
 72 #define WM8766_MPD2             0x020
 73 
 74 #endif
 75 

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