1
2 #ifndef __SOUND_EWS_H
3 #define __SOUND_EWS_H
4
5
6
7
8
9
10
11
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
31 extern struct snd_ice1712_card_info snd_ice1712_ews_cards[];
32
33
34
35
36 #define ICE1712_EWX2496_AK4524_CS 0x01
37 #define ICE1712_EWX2496_AIN_SEL 0x02
38 #define ICE1712_EWX2496_AOUT_SEL 0x04
39 #define ICE1712_EWX2496_RW 0x08
40 #define ICE1712_EWX2496_SERIAL_DATA 0x10
41 #define ICE1712_EWX2496_SERIAL_CLOCK 0x20
42 #define ICE1712_EWX2496_TX2 0x40
43 #define ICE1712_EWX2496_RX2 0x80
44
45
46
47 #define ICE1712_EWS88_CS8414_RATE 0x07
48 #define ICE1712_EWS88_RW 0x08
49 #define ICE1712_EWS88_SERIAL_DATA 0x10
50 #define ICE1712_EWS88_SERIAL_CLOCK 0x20
51 #define ICE1712_EWS88_TX2 0x40
52 #define ICE1712_EWS88_RX2 0x80
53
54
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
59 #define ICE1712_EWS88D_PCF_ADDR (0x40>>1)
60
61
62 #define ICE1712_6FIRE_AK4524_CS_MASK 0x07
63 #define ICE1712_6FIRE_RW 0x08
64 #define ICE1712_6FIRE_SERIAL_DATA 0x10
65 #define ICE1712_6FIRE_SERIAL_CLOCK 0x20
66 #define ICE1712_6FIRE_TX2 0x40
67 #define ICE1712_6FIRE_RX2 0x80
68
69 #define ICE1712_6FIRE_PCF9554_ADDR (0x40>>1)
70 #define ICE1712_6FIRE_CS8427_ADDR (0x22)
71
72 #endif