Lines Matching defs: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);
118 static void snd_ice1712_stdsp24_box_midi(struct snd_ice1712 *ice, int box, int master)
124 /* select box */
125 ICE1712_STDSP24_0_BOX(spec->boxbits, box);
158 int box, chn;
191 /* let's go - activate only functions in first box */
202 * ** MIDI IN can only be configured on one box **
203 * ICE1712_STDSP24_BOX_MIDI1 needs to be set for that box.
204 * Tests on a ADAC2000 box suggest the box config flags do not
207 * on the same box connects MIDI-In to both 401 uarts; both outputs
209 * The default config here sets up everything on the first box.
234 for (box = 0; box < 4; box++) {
235 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI2)
238 snd_ice1712_stdsp24_box_channel(ice, box, chn,
239 (spec->boxconfig[box] & (1 << chn)) ? 1 : 0);
240 if (spec->boxconfig[box] & ICE1712_STDSP24_BOX_MIDI1)
241 snd_ice1712_stdsp24_box_midi(ice, box, 1);