0001
0002 #ifndef __SOUND_DELTA_H
0003 #define __SOUND_DELTA_H
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #define DELTA_DEVICE_DESC \
0015 "{MidiMan M Audio,Delta 1010},"\
0016 "{MidiMan M Audio,Delta 1010LT},"\
0017 "{MidiMan M Audio,Delta DiO 2496},"\
0018 "{MidiMan M Audio,Delta 66},"\
0019 "{MidiMan M Audio,Delta 44},"\
0020 "{MidiMan M Audio,Delta 410},"\
0021 "{MidiMan M Audio,Audiophile 24/96},"\
0022 "{Digigram,VX442},"\
0023 "{Lionstracs,Mediastation},"\
0024 "{Edirol,DA2496},"
0025
0026 #define ICE1712_SUBDEVICE_DELTA1010 0x121430d6
0027 #define ICE1712_SUBDEVICE_DELTA1010E 0xff1430d6
0028 #define ICE1712_SUBDEVICE_DELTADIO2496 0x121431d6
0029 #define ICE1712_SUBDEVICE_DELTA66 0x121432d6
0030 #define ICE1712_SUBDEVICE_DELTA66E 0xff1432d6
0031 #define ICE1712_SUBDEVICE_DELTA44 0x121433d6
0032 #define ICE1712_SUBDEVICE_AUDIOPHILE 0x121434d6
0033 #define ICE1712_SUBDEVICE_DELTA410 0x121438d6
0034 #define ICE1712_SUBDEVICE_DELTA1010LT 0x12143bd6
0035 #define ICE1712_SUBDEVICE_VX442 0x12143cd6
0036 #define ICE1712_SUBDEVICE_MEDIASTATION 0x694c0100
0037 #define ICE1712_SUBDEVICE_EDIROLDA2496 0xce164010
0038
0039
0040 extern struct snd_ice1712_card_info snd_ice1712_delta_cards[];
0041
0042
0043
0044
0045
0046
0047
0048 #define ICE1712_DELTA_DFS 0x01
0049
0050 #define ICE1712_DELTA_SPDIF_IN_STAT 0x02
0051
0052
0053
0054
0055 #define ICE1712_DELTA_SPDIF_OUT_STAT_CLOCK 0x04
0056
0057
0058
0059
0060 #define ICE1712_DELTA_SPDIF_OUT_STAT_DATA 0x08
0061
0062
0063
0064
0065
0066
0067
0068
0069 #define ICE1712_DELTA_SPDIF_INPUT_SELECT 0x10
0070
0071
0072
0073
0074
0075
0076
0077
0078 #define ICE1712_DELTA_WORD_CLOCK_SELECT 0x10
0079
0080
0081
0082 #define ICE1712_DELTA_WORD_CLOCK_STATUS 0x20
0083
0084
0085
0086
0087
0088
0089
0090 #define ICE1712_DELTA_CODEC_SERIAL_DATA 0x10
0091
0092 #define ICE1712_DELTA_CODEC_SERIAL_CLOCK 0x20
0093
0094
0095 #define ICE1712_DELTA_CODEC_CHIP_A 0x40
0096 #define ICE1712_DELTA_CODEC_CHIP_B 0x80
0097
0098
0099
0100
0101
0102
0103
0104
0105
0106
0107
0108
0109 #define ICE1712_DELTA_AP_CCLK 0x02
0110
0111 #define ICE1712_DELTA_AP_DIN 0x04
0112 #define ICE1712_DELTA_AP_DOUT 0x08
0113 #define ICE1712_DELTA_AP_CS_DIGITAL 0x10
0114
0115 #define ICE1712_DELTA_AP_CS_CODEC 0x20
0116
0117
0118
0119
0120
0121 #define ICE1712_DELTA_1010LT_CCLK 0x02
0122 #define ICE1712_DELTA_1010LT_DIN 0x04
0123 #define ICE1712_DELTA_1010LT_DOUT 0x08
0124 #define ICE1712_DELTA_1010LT_CS 0x70
0125 #define ICE1712_DELTA_1010LT_CS_CHIP_A 0x00
0126 #define ICE1712_DELTA_1010LT_CS_CHIP_B 0x10
0127 #define ICE1712_DELTA_1010LT_CS_CHIP_C 0x20
0128 #define ICE1712_DELTA_1010LT_CS_CHIP_D 0x30
0129 #define ICE1712_DELTA_1010LT_CS_CS8427 0x40
0130 #define ICE1712_DELTA_1010LT_CS_NONE 0x50
0131 #define ICE1712_DELTA_1010LT_WORDCLOCK 0x80
0132
0133
0134
0135
0136
0137 #define ICE1712_DELTA_66E_CCLK 0x02
0138 #define ICE1712_DELTA_66E_DIN 0x04
0139 #define ICE1712_DELTA_66E_DOUT 0x08
0140 #define ICE1712_DELTA_66E_CS_CS8427 0x10
0141 #define ICE1712_DELTA_66E_CS_CHIP_A 0x20
0142 #define ICE1712_DELTA_66E_CS_CHIP_B 0x40
0143
0144
0145 #define ICE1712_VX442_CCLK 0x02
0146 #define ICE1712_VX442_DIN 0x04
0147 #define ICE1712_VX442_DOUT 0x08
0148 #define ICE1712_VX442_CS_DIGITAL 0x10
0149 #define ICE1712_VX442_CODEC_CHIP_A 0x20
0150 #define ICE1712_VX442_CODEC_CHIP_B 0x40
0151
0152 #endif