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

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

Version: ~ [ linux-5.19-rc8 ] ~ [ linux-5.18.14 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.57 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.133 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.207 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.253 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.289 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.324 ] ~ [ 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-4.2.8)


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

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