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

TOMOYO Linux Cross Reference
Linux/sound/pci/ice1712/ews.h

Version: ~ [ linux-6.0 ] ~ [ linux-5.19.12 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.71 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.146 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.215 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.260 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.295 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.330 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.302 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ 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 ] ~

Diff markup

Differences between /sound/pci/ice1712/ews.h (Version linux-2.6.32.71) and /sound/pci/ice1712/ews.h (Version linux-5.9.16)


                                                   >>   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  1 #ifndef __SOUND_EWS_H                               2 #ifndef __SOUND_EWS_H
  2 #define __SOUND_EWS_H                               3 #define __SOUND_EWS_H
  3                                                     4 
  4 /*                                                  5 /*
  5  *   ALSA driver for ICEnsemble ICE1712 (Envy2      6  *   ALSA driver for ICEnsemble ICE1712 (Envy24)
  6  *                                                  7  *
  7  *   Lowlevel functions for Terratec EWS88MT/D      8  *   Lowlevel functions for Terratec EWS88MT/D, EWX24/96, DMX 6Fire
  8  *                                                  9  *
  9  *      Copyright (c) 2000 Jaroslav Kysela <pe     10  *      Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
 10  *                    2002 Takashi Iwai <tiwai     11  *                    2002 Takashi Iwai <tiwai@suse.de>
 11  *                                             << 
 12  *   This program is free software; you can re << 
 13  *   it under the terms of the GNU General Pub << 
 14  *   the Free Software Foundation; either vers << 
 15  *   (at your option) any later version.       << 
 16  *                                             << 
 17  *   This program is distributed in the hope t << 
 18  *   but WITHOUT ANY WARRANTY; without even th << 
 19  *   MERCHANTABILITY or FITNESS FOR A PARTICUL << 
 20  *   GNU General Public License for more detai << 
 21  *                                             << 
 22  *   You should have received a copy of the GN << 
 23  *   along with this program; if not, write to << 
 24  *   Foundation, Inc., 59 Temple Place, Suite  << 
 25  *                                             << 
 26  */                                                12  */      
 27                                                    13 
 28 #define EWS_DEVICE_DESC \                          14 #define EWS_DEVICE_DESC \
 29                 "{TerraTec,EWX 24/96},"\           15                 "{TerraTec,EWX 24/96},"\
 30                 "{TerraTec,EWS 88MT},"\            16                 "{TerraTec,EWS 88MT},"\
 31                 "{TerraTec,EWS 88D},"\             17                 "{TerraTec,EWS 88D},"\
 32                 "{TerraTec,DMX 6Fire},"\           18                 "{TerraTec,DMX 6Fire},"\
 33                 "{TerraTec,Phase 88}," \           19                 "{TerraTec,Phase 88}," \
 34                 "{terrasoniq,TS 88},"              20                 "{terrasoniq,TS 88},"
 35                                                    21 
 36 #define ICE1712_SUBDEVICE_EWX2496       0x3b15     22 #define ICE1712_SUBDEVICE_EWX2496       0x3b153011
 37 #define ICE1712_SUBDEVICE_EWS88MT       0x3b15     23 #define ICE1712_SUBDEVICE_EWS88MT       0x3b151511
 38 #define ICE1712_SUBDEVICE_EWS88MT_NEW   0x3b15     24 #define ICE1712_SUBDEVICE_EWS88MT_NEW   0x3b152511
 39 #define ICE1712_SUBDEVICE_EWS88D        0x3b15     25 #define ICE1712_SUBDEVICE_EWS88D        0x3b152b11
 40 #define ICE1712_SUBDEVICE_DMX6FIRE      0x3b15     26 #define ICE1712_SUBDEVICE_DMX6FIRE      0x3b153811
 41 #define ICE1712_SUBDEVICE_PHASE88       0x3b15     27 #define ICE1712_SUBDEVICE_PHASE88       0x3b155111
 42 #define ICE1712_SUBDEVICE_TS88          0x3b15     28 #define ICE1712_SUBDEVICE_TS88          0x3b157c11
 43                                                    29 
 44 /* entry point */                                  30 /* entry point */
 45 extern struct snd_ice1712_card_info snd_ice171     31 extern struct snd_ice1712_card_info snd_ice1712_ews_cards[];
 46                                                    32 
 47                                                    33 
 48 /* TerraTec EWX 24/96 configuration definition     34 /* TerraTec EWX 24/96 configuration definitions */
 49                                                    35 
 50 #define ICE1712_EWX2496_AK4524_CS       0x01       36 #define ICE1712_EWX2496_AK4524_CS       0x01    /* AK4524 chip select; low = active */
 51 #define ICE1712_EWX2496_AIN_SEL         0x02       37 #define ICE1712_EWX2496_AIN_SEL         0x02    /* input sensitivity switch; high = louder */
 52 #define ICE1712_EWX2496_AOUT_SEL        0x04       38 #define ICE1712_EWX2496_AOUT_SEL        0x04    /* output sensitivity switch; high = louder */
 53 #define ICE1712_EWX2496_RW              0x08       39 #define ICE1712_EWX2496_RW              0x08    /* read/write switch for i2c; high = write  */
 54 #define ICE1712_EWX2496_SERIAL_DATA     0x10       40 #define ICE1712_EWX2496_SERIAL_DATA     0x10    /* i2c & ak4524 data */
 55 #define ICE1712_EWX2496_SERIAL_CLOCK    0x20       41 #define ICE1712_EWX2496_SERIAL_CLOCK    0x20    /* i2c & ak4524 clock */
 56 #define ICE1712_EWX2496_TX2             0x40       42 #define ICE1712_EWX2496_TX2             0x40    /* MIDI2 (not used) */
 57 #define ICE1712_EWX2496_RX2             0x80       43 #define ICE1712_EWX2496_RX2             0x80    /* MIDI2 (not used) */
 58                                                    44 
 59 /* TerraTec EWS 88MT/D configuration definitio     45 /* TerraTec EWS 88MT/D configuration definitions */
 60 /* RW, SDA snd SCLK are identical with EWX24/9     46 /* RW, SDA snd SCLK are identical with EWX24/96 */
 61 #define ICE1712_EWS88_CS8414_RATE       0x07       47 #define ICE1712_EWS88_CS8414_RATE       0x07    /* CS8414 sample rate: gpio 0-2 */
 62 #define ICE1712_EWS88_RW                0x08       48 #define ICE1712_EWS88_RW                0x08    /* read/write switch for i2c; high = write  */
 63 #define ICE1712_EWS88_SERIAL_DATA       0x10       49 #define ICE1712_EWS88_SERIAL_DATA       0x10    /* i2c & ak4524 data */
 64 #define ICE1712_EWS88_SERIAL_CLOCK      0x20       50 #define ICE1712_EWS88_SERIAL_CLOCK      0x20    /* i2c & ak4524 clock */
 65 #define ICE1712_EWS88_TX2               0x40       51 #define ICE1712_EWS88_TX2               0x40    /* MIDI2 (only on 88D) */
 66 #define ICE1712_EWS88_RX2               0x80       52 #define ICE1712_EWS88_RX2               0x80    /* MIDI2 (only on 88D) */
 67                                                    53 
 68 /* i2c address */                                  54 /* i2c address */
 69 #define ICE1712_EWS88MT_CS8404_ADDR     (0x40>     55 #define ICE1712_EWS88MT_CS8404_ADDR     (0x40>>1)
 70 #define ICE1712_EWS88MT_INPUT_ADDR      (0x46>     56 #define ICE1712_EWS88MT_INPUT_ADDR      (0x46>>1)
 71 #define ICE1712_EWS88MT_OUTPUT_ADDR     (0x48>     57 #define ICE1712_EWS88MT_OUTPUT_ADDR     (0x48>>1)
 72 #define ICE1712_EWS88MT_OUTPUT_SENSE    0x40       58 #define ICE1712_EWS88MT_OUTPUT_SENSE    0x40    /* mask */
 73 #define ICE1712_EWS88D_PCF_ADDR         (0x40>     59 #define ICE1712_EWS88D_PCF_ADDR         (0x40>>1)
 74                                                    60 
 75 /* TerraTec DMX 6Fire configuration definition     61 /* TerraTec DMX 6Fire configuration definitions */
 76 #define ICE1712_6FIRE_AK4524_CS_MASK    0x07       62 #define ICE1712_6FIRE_AK4524_CS_MASK    0x07    /* AK4524 chip select #1-#3 */
 77 #define ICE1712_6FIRE_RW                0x08       63 #define ICE1712_6FIRE_RW                0x08    /* read/write switch for i2c; high = write  */
 78 #define ICE1712_6FIRE_SERIAL_DATA       0x10       64 #define ICE1712_6FIRE_SERIAL_DATA       0x10    /* i2c & ak4524 data */
 79 #define ICE1712_6FIRE_SERIAL_CLOCK      0x20       65 #define ICE1712_6FIRE_SERIAL_CLOCK      0x20    /* i2c & ak4524 clock */
 80 #define ICE1712_6FIRE_TX2               0x40       66 #define ICE1712_6FIRE_TX2               0x40    /* MIDI2 */
 81 #define ICE1712_6FIRE_RX2               0x80       67 #define ICE1712_6FIRE_RX2               0x80    /* MIDI2 */
 82                                                    68 
 83 #define ICE1712_6FIRE_PCF9554_ADDR      (0x40>     69 #define ICE1712_6FIRE_PCF9554_ADDR      (0x40>>1)
 84 #define ICE1712_6FIRE_CS8427_ADDR       (0x22)     70 #define ICE1712_6FIRE_CS8427_ADDR       (0x22)
 85                                                    71 
 86 #endif /* __SOUND_EWS_H */                         72 #endif /* __SOUND_EWS_H */
 87                                                    73 

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

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | 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.

osdn.jp