Lines Matching full:box
68 static void snd_ice1712_stdsp24_box_channel(struct snd_ice1712 *ice, int box, int chn, int activate)
74 /* select box */
75 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
116 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master)
122 /* select box */
123 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
154 int box, chn;
187 /* let's go - activate only functions in first box */
198 * ** MIDI IN can only be configured on one box **
199 * ICE1712_STDSP24_BOX_MIDI1 needs to be set for that box.
200 * Tests on a ADAC2000 box suggest the box config flags do not
203 * on the same box connects MIDI-In to both 401 uarts; both outputs
205 * The default config here sets up everything on the first box.
230 for (box = 0; box < 4; box++) {
231 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI2)
234 snd_ice1712_stdsp24_box_channel(ice, box, chn,
235 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0);
236 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI1)
237 snd_ice1712_stdsp24_box_midi(ice, box, 1);