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