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

TOMOYO Linux Cross Reference
Linux/sound/soc/codecs/cs4265.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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-only */
  2 /*
  3  * cs4265.h -- CS4265 ALSA SoC audio driver
  4  *
  5  * Copyright 2014 Cirrus Logic, Inc.
  6  *
  7  * Author: Paul Handrigan <paul.handrigan@cirrus.com>
  8  */
  9 
 10 #ifndef __CS4265_H__
 11 #define __CS4265_H__
 12 
 13 #define CS4265_CHIP_ID                          0x1
 14 #define CS4265_CHIP_ID_VAL                      0xD0
 15 #define CS4265_CHIP_ID_MASK                     0xF0
 16 #define CS4265_REV_ID_MASK                      0x0F
 17 
 18 #define CS4265_PWRCTL                           0x02
 19 #define CS4265_PWRCTL_PDN                       1
 20 
 21 #define CS4265_DAC_CTL                          0x3
 22 #define CS4265_DAC_CTL_MUTE                     (1 << 2)
 23 #define CS4265_DAC_CTL_DIF                      (3 << 4)
 24 
 25 #define CS4265_ADC_CTL                          0x4
 26 #define CS4265_ADC_MASTER                       1
 27 #define CS4265_ADC_DIF                          (1 << 4)
 28 #define CS4265_ADC_FM                           (3 << 6)
 29 
 30 #define CS4265_MCLK_FREQ                        0x5
 31 #define CS4265_MCLK_FREQ_MASK                   (7 << 4)
 32 
 33 #define CS4265_SIG_SEL                          0x6
 34 #define CS4265_SIG_SEL_LOOP                     (1 << 1)
 35 
 36 #define CS4265_CHB_PGA_CTL                      0x7
 37 #define CS4265_CHA_PGA_CTL                      0x8
 38 
 39 #define CS4265_ADC_CTL2                         0x9
 40 
 41 #define CS4265_DAC_CHA_VOL                      0xA
 42 #define CS4265_DAC_CHB_VOL                      0xB
 43 
 44 #define CS4265_DAC_CTL2                         0xC
 45 
 46 #define CS4265_INT_STATUS                       0xD
 47 #define CS4265_INT_MASK                         0xE
 48 #define CS4265_STATUS_MODE_MSB                  0xF
 49 #define CS4265_STATUS_MODE_LSB                  0x10
 50 
 51 #define CS4265_SPDIF_CTL1                       0x11
 52 
 53 #define CS4265_SPDIF_CTL2                       0x12
 54 #define CS4265_SPDIF_CTL2_MUTE                  (1 << 4)
 55 #define CS4265_SPDIF_CTL2_DIF                   (3 << 6)
 56 
 57 #define CS4265_C_DATA_BUFF                      0x13
 58 #define CS4265_MAX_REGISTER                     0x2A
 59 
 60 #endif
 61 

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