• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/pci/ice1712/

Lines Matching defs:spec

58 	struct hoontech_spec *spec = ice->spec;
60 ICE1712_STDSP24_0_DAREAR(spec->boxbits, activate);
61 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]);
67 struct hoontech_spec *spec = ice->spec;
69 ICE1712_STDSP24_3_MUTE(spec->boxbits, activate);
70 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
76 struct hoontech_spec *spec = ice->spec;
78 ICE1712_STDSP24_3_INSEL(spec->boxbits, activate);
79 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
85 struct hoontech_spec *spec = ice->spec;
90 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
91 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]);
95 ICE1712_STDSP24_2_CHN4(spec->boxbits, 0);
96 ICE1712_STDSP24_2_MIDI1(spec->boxbits, activate);
97 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
98 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
100 ICE1712_STDSP24_1_CHN1(spec->boxbits, 1);
101 ICE1712_STDSP24_1_CHN2(spec->boxbits, 1);
102 ICE1712_STDSP24_1_CHN3(spec->boxbits, 1);
103 ICE1712_STDSP24_2_CHN4(spec->boxbits, 1);
104 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[1]);
105 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
108 ICE1712_STDSP24_2_CHN4(spec->boxbits, 0);
109 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
112 case 0: ICE1712_STDSP24_1_CHN1(spec->boxbits, 0); break;
113 case 1: ICE1712_STDSP24_1_CHN2(spec->boxbits, 0); break;
114 case 2: ICE1712_STDSP24_1_CHN3(spec->boxbits, 0); break;
116 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[1]);
119 ICE1712_STDSP24_1_CHN1(spec->boxbits, 1);
120 ICE1712_STDSP24_1_CHN2(spec->boxbits, 1);
121 ICE1712_STDSP24_1_CHN3(spec->boxbits, 1);
122 ICE1712_STDSP24_2_CHN4(spec->boxbits, 1);
123 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[1]);
124 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
127 ICE1712_STDSP24_2_MIDI1(spec->boxbits, 0);
128 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
135 struct hoontech_spec *spec = ice->spec;
140 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
141 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[0]);
143 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 1);
144 ICE1712_STDSP24_2_MIDI1(spec->boxbits, master);
145 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
146 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
150 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 0);
151 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
155 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 1);
156 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[2]);
163 struct hoontech_spec *spec = ice->spec;
165 ICE1712_STDSP24_3_MIDI2(spec->boxbits, activate);
166 snd_ice1712_stdsp24_gpio_write(ice, spec->boxbits[3]);
172 struct hoontech_spec *spec;
178 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
179 if (!spec)
181 ice->spec = spec;
183 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 0);
184 ICE1712_STDSP24_CLOCK(spec->boxbits, 0, 1);
185 ICE1712_STDSP24_0_BOX(spec->boxbits, 0);
186 ICE1712_STDSP24_0_DAREAR(spec->boxbits, 0);
188 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 1);
189 ICE1712_STDSP24_CLOCK(spec->boxbits, 1, 1);
190 ICE1712_STDSP24_1_CHN1(spec->boxbits, 1);
191 ICE1712_STDSP24_1_CHN2(spec->boxbits, 1);
192 ICE1712_STDSP24_1_CHN3(spec->boxbits, 1);
194 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 2);
195 ICE1712_STDSP24_CLOCK(spec->boxbits, 2, 1);
196 ICE1712_STDSP24_2_CHN4(spec->boxbits, 1);
197 ICE1712_STDSP24_2_MIDIIN(spec->boxbits, 1);
198 ICE1712_STDSP24_2_MIDI1(spec->boxbits, 0);
200 ICE1712_STDSP24_SET_ADDR(spec->boxbits, 3);
201 ICE1712_STDSP24_CLOCK(spec->boxbits, 3, 1);
202 ICE1712_STDSP24_3_MIDI2(spec->boxbits, 0);
203 ICE1712_STDSP24_3_MUTE(spec->boxbits, 1);
204 ICE1712_STDSP24_3_INSEL(spec->boxbits, 0);
207 spec->config = 0;
224 spec->boxconfig[0] = ICE1712_STDSP24_BOX_CHN1 |
230 spec->boxconfig[1] =
231 spec->boxconfig[2] =
232 spec->boxconfig[3] = 0;
234 (spec->config & ICE1712_STDSP24_DAREAR) ? 1 : 0);
236 (spec->config & ICE1712_STDSP24_MUTE) ? 1 : 0);
238 (spec->config & ICE1712_STDSP24_INSEL) ? 1 : 0);
240 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI2)
244 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0);
245 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI1)