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

TOMOYO Linux Cross Reference
Linux/sound/soc/codecs/max9867.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 /sound/soc/codecs/max9867.h (Version linux-6.12-rc7) and /sound/soc/codecs/max9867.h (Version linux-5.10.229)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*                                                  2 /*
  3  * max9867.h -- MAX9867 ALSA SoC Audio driver       3  * max9867.h -- MAX9867 ALSA SoC Audio driver
  4  *                                                  4  *
  5  * Copyright 2013-2015 Maxim Integrated Produc      5  * Copyright 2013-2015 Maxim Integrated Products
  6  */                                                 6  */
  7                                                     7 
  8 #ifndef _MAX9867_H                                  8 #ifndef _MAX9867_H
  9 #define _MAX9867_H                                  9 #define _MAX9867_H
 10                                                    10 
 11 /* MAX9867 register space */                       11 /* MAX9867 register space */
 12                                                    12 
 13 #define MAX9867_STATUS        0x00                 13 #define MAX9867_STATUS        0x00
 14 #define MAX9867_JACKSTATUS   0x01                  14 #define MAX9867_JACKSTATUS   0x01
 15 #define MAX9867_AUXHIGH      0x02                  15 #define MAX9867_AUXHIGH      0x02
 16 #define MAX9867_AUXLOW       0x03                  16 #define MAX9867_AUXLOW       0x03
 17 #define MAX9867_INTEN        0x04                  17 #define MAX9867_INTEN        0x04
 18 #define MAX9867_SYSCLK       0x05                  18 #define MAX9867_SYSCLK       0x05
 19 #define MAX9867_FREQ_MASK    0xF                   19 #define MAX9867_FREQ_MASK    0xF
 20 #define MAX9867_PSCLK_SHIFT  0x4                   20 #define MAX9867_PSCLK_SHIFT  0x4
 21 #define MAX9867_PSCLK_WIDTH  0x2                   21 #define MAX9867_PSCLK_WIDTH  0x2
 22 #define MAX9867_PSCLK_MASK   (0x03<<MAX9867_PS     22 #define MAX9867_PSCLK_MASK   (0x03<<MAX9867_PSCLK_SHIFT)
 23 #define MAX9867_PSCLK_10_20  0x1                   23 #define MAX9867_PSCLK_10_20  0x1
 24 #define MAX9867_PSCLK_20_40  0x2                   24 #define MAX9867_PSCLK_20_40  0x2
 25 #define MAX9867_PSCLK_40_60  0x3                   25 #define MAX9867_PSCLK_40_60  0x3
 26 #define MAX9867_AUDIOCLKHIGH    0x06               26 #define MAX9867_AUDIOCLKHIGH    0x06
 27 #define MAX9867_NI_HIGH_MASK    0x7F               27 #define MAX9867_NI_HIGH_MASK    0x7F
 28 #define MAX9867_NI_LOW_MASK     0xFE               28 #define MAX9867_NI_LOW_MASK     0xFE
 29 #define MAX9867_PLL             (1<<7)             29 #define MAX9867_PLL             (1<<7)
 30 #define MAX9867_AUDIOCLKLOW     0x07               30 #define MAX9867_AUDIOCLKLOW     0x07
 31 #define MAX9867_RAPID_LOCK   0x01                  31 #define MAX9867_RAPID_LOCK   0x01
 32 #define MAX9867_IFC1A        0x08                  32 #define MAX9867_IFC1A        0x08
 33 #define MAX9867_MASTER       (1<<7)                33 #define MAX9867_MASTER       (1<<7)
 34 #define MAX9867_I2S_DLY      (1<<4)                34 #define MAX9867_I2S_DLY      (1<<4)
 35 #define MAX9867_SDOUT_HIZ    (1<<3)                35 #define MAX9867_SDOUT_HIZ    (1<<3)
 36 #define MAX9867_TDM_MODE     (1<<2)                36 #define MAX9867_TDM_MODE     (1<<2)
 37 #define MAX9867_WCI_MODE     (1<<6)                37 #define MAX9867_WCI_MODE     (1<<6)
 38 #define MAX9867_BCI_MODE     (1<<5)                38 #define MAX9867_BCI_MODE     (1<<5)
 39 #define MAX9867_IFC1B        0x09                  39 #define MAX9867_IFC1B        0x09
 40 #define MAX9867_IFC1B_BCLK_MASK 7                  40 #define MAX9867_IFC1B_BCLK_MASK 7
 41 #define MAX9867_IFC1B_64X       0x01               41 #define MAX9867_IFC1B_64X       0x01
 42 #define MAX9867_IFC1B_48X       0x02               42 #define MAX9867_IFC1B_48X       0x02
 43 #define MAX9867_IFC1B_PCLK_2    0x04               43 #define MAX9867_IFC1B_PCLK_2    0x04
 44 #define MAX9867_IFC1B_PCLK_4    0x05               44 #define MAX9867_IFC1B_PCLK_4    0x05
 45 #define MAX9867_IFC1B_PCLK_8    0x06               45 #define MAX9867_IFC1B_PCLK_8    0x06
 46 #define MAX9867_IFC1B_PCLK_16   0x07               46 #define MAX9867_IFC1B_PCLK_16   0x07
 47 #define MAX9867_CODECFLTR       0x0a               47 #define MAX9867_CODECFLTR       0x0a
 48 #define MAX9867_CODECFLTR_MODE  (1<<7)             48 #define MAX9867_CODECFLTR_MODE  (1<<7)
 49 #define MAX9867_SIDETONE     0x0b                  49 #define MAX9867_SIDETONE     0x0b
 50 #define MAX9867_DACLEVEL     0x0c                  50 #define MAX9867_DACLEVEL     0x0c
 51 #define MAX9867_ADCLEVEL     0x0d                  51 #define MAX9867_ADCLEVEL     0x0d
 52 #define MAX9867_LEFTLINELVL  0x0e                  52 #define MAX9867_LEFTLINELVL  0x0e
 53 #define MAX9867_RIGHTLINELVL 0x0f                  53 #define MAX9867_RIGHTLINELVL 0x0f
 54 #define MAX9867_LEFTVOL      0x10                  54 #define MAX9867_LEFTVOL      0x10
 55 #define MAX9867_RIGHTVOL     0x11                  55 #define MAX9867_RIGHTVOL     0x11
 56 #define MAX9867_LEFTMICGAIN  0x12                  56 #define MAX9867_LEFTMICGAIN  0x12
 57 #define MAX9867_RIGHTMICGAIN 0x13                  57 #define MAX9867_RIGHTMICGAIN 0x13
 58 #define MAX9867_INPUTCONFIG  0x14                  58 #define MAX9867_INPUTCONFIG  0x14
 59 #define MAX9867_MICCONFIG    0x15                  59 #define MAX9867_MICCONFIG    0x15
 60 #define MAX9867_MODECONFIG   0x16                  60 #define MAX9867_MODECONFIG   0x16
 61 #define MAX9867_PWRMAN       0x17                  61 #define MAX9867_PWRMAN       0x17
 62 #define MAX9867_PWRMAN_SHDN  (1<<7)                62 #define MAX9867_PWRMAN_SHDN  (1<<7)
 63 #define MAX9867_REVISION     0xff                  63 #define MAX9867_REVISION     0xff
 64                                                    64 
 65 #define MAX9867_CACHEREGNUM 10                     65 #define MAX9867_CACHEREGNUM 10
 66                                                    66 
 67 #endif                                             67 #endif
 68                                                    68 

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