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

TOMOYO Linux Cross Reference
Linux/sound/pci/ice1712/ews.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-or-later */
  2 #ifndef __SOUND_EWS_H
  3 #define __SOUND_EWS_H
  4 
  5 /*
  6  *   ALSA driver for ICEnsemble ICE1712 (Envy24)
  7  *
  8  *   Lowlevel functions for Terratec EWS88MT/D, EWX24/96, DMX 6Fire
  9  *
 10  *      Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
 11  *                    2002 Takashi Iwai <tiwai@suse.de>
 12  */      
 13 
 14 #define EWS_DEVICE_DESC \
 15                 "{TerraTec,EWX 24/96},"\
 16                 "{TerraTec,EWS 88MT},"\
 17                 "{TerraTec,EWS 88D},"\
 18                 "{TerraTec,DMX 6Fire},"\
 19                 "{TerraTec,Phase 88}," \
 20                 "{terrasoniq,TS 88},"
 21 
 22 #define ICE1712_SUBDEVICE_EWX2496       0x3b153011
 23 #define ICE1712_SUBDEVICE_EWS88MT       0x3b151511
 24 #define ICE1712_SUBDEVICE_EWS88MT_NEW   0x3b152511
 25 #define ICE1712_SUBDEVICE_EWS88D        0x3b152b11
 26 #define ICE1712_SUBDEVICE_DMX6FIRE      0x3b153811
 27 #define ICE1712_SUBDEVICE_PHASE88       0x3b155111
 28 #define ICE1712_SUBDEVICE_TS88          0x3b157c11
 29 
 30 /* entry point */
 31 extern struct snd_ice1712_card_info snd_ice1712_ews_cards[];
 32 
 33 
 34 /* TerraTec EWX 24/96 configuration definitions */
 35 
 36 #define ICE1712_EWX2496_AK4524_CS       0x01    /* AK4524 chip select; low = active */
 37 #define ICE1712_EWX2496_AIN_SEL         0x02    /* input sensitivity switch; high = louder */
 38 #define ICE1712_EWX2496_AOUT_SEL        0x04    /* output sensitivity switch; high = louder */
 39 #define ICE1712_EWX2496_RW              0x08    /* read/write switch for i2c; high = write  */
 40 #define ICE1712_EWX2496_SERIAL_DATA     0x10    /* i2c & ak4524 data */
 41 #define ICE1712_EWX2496_SERIAL_CLOCK    0x20    /* i2c & ak4524 clock */
 42 #define ICE1712_EWX2496_TX2             0x40    /* MIDI2 (not used) */
 43 #define ICE1712_EWX2496_RX2             0x80    /* MIDI2 (not used) */
 44 
 45 /* TerraTec EWS 88MT/D configuration definitions */
 46 /* RW, SDA snd SCLK are identical with EWX24/96 */
 47 #define ICE1712_EWS88_CS8414_RATE       0x07    /* CS8414 sample rate: gpio 0-2 */
 48 #define ICE1712_EWS88_RW                0x08    /* read/write switch for i2c; high = write  */
 49 #define ICE1712_EWS88_SERIAL_DATA       0x10    /* i2c & ak4524 data */
 50 #define ICE1712_EWS88_SERIAL_CLOCK      0x20    /* i2c & ak4524 clock */
 51 #define ICE1712_EWS88_TX2               0x40    /* MIDI2 (only on 88D) */
 52 #define ICE1712_EWS88_RX2               0x80    /* MIDI2 (only on 88D) */
 53 
 54 /* i2c address */
 55 #define ICE1712_EWS88MT_CS8404_ADDR     (0x40>>1)
 56 #define ICE1712_EWS88MT_INPUT_ADDR      (0x46>>1)
 57 #define ICE1712_EWS88MT_OUTPUT_ADDR     (0x48>>1)
 58 #define ICE1712_EWS88MT_OUTPUT_SENSE    0x40    /* mask */
 59 #define ICE1712_EWS88D_PCF_ADDR         (0x40>>1)
 60 
 61 /* TerraTec DMX 6Fire configuration definitions */
 62 #define ICE1712_6FIRE_AK4524_CS_MASK    0x07    /* AK4524 chip select #1-#3 */
 63 #define ICE1712_6FIRE_RW                0x08    /* read/write switch for i2c; high = write  */
 64 #define ICE1712_6FIRE_SERIAL_DATA       0x10    /* i2c & ak4524 data */
 65 #define ICE1712_6FIRE_SERIAL_CLOCK      0x20    /* i2c & ak4524 clock */
 66 #define ICE1712_6FIRE_TX2               0x40    /* MIDI2 */
 67 #define ICE1712_6FIRE_RX2               0x80    /* MIDI2 */
 68 
 69 #define ICE1712_6FIRE_PCF9554_ADDR      (0x40>>1)
 70 #define ICE1712_6FIRE_CS8427_ADDR       (0x22)
 71 
 72 #endif /* __SOUND_EWS_H */
 73 

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