Lines Matching refs:acard
88 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card, in snd_wavefront_pnp() argument
98 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp()
99 if (acard->wss == NULL) in snd_wavefront_pnp()
114 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
115 if (acard->mpu == NULL) in snd_wavefront_pnp()
121 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
122 if (acard->synth == NULL) in snd_wavefront_pnp()
127 pdev = acard->wss; in snd_wavefront_pnp()
155 pdev = acard->synth; in snd_wavefront_pnp()
173 pdev = acard->mpu; in snd_wavefront_pnp()
205 snd_wavefront_card_t *acard; in snd_wavefront_ics2115_interrupt() local
207 acard = (snd_wavefront_card_t *) dev_id; in snd_wavefront_ics2115_interrupt()
209 if (acard == NULL) in snd_wavefront_ics2115_interrupt()
212 if (acard->wavefront.interrupts_are_midi) { in snd_wavefront_ics2115_interrupt()
213 snd_wavefront_midi_interrupt (acard); in snd_wavefront_ics2115_interrupt()
215 snd_wavefront_internal_interrupt (acard); in snd_wavefront_ics2115_interrupt()
222 snd_wavefront_card_t *acard) in snd_wavefront_new_synth() argument
226 if (snd_wavefront_detect (acard) < 0) { in snd_wavefront_new_synth()
230 if (snd_wavefront_start (&acard->wavefront) < 0) { in snd_wavefront_new_synth()
247 snd_wavefront_card_t *acard, in snd_wavefront_new_fx() argument
253 if (snd_wavefront_fx_start (&acard->wavefront)) { in snd_wavefront_new_fx()
273 snd_wavefront_card_t *acard, in snd_wavefront_new_midi() argument
283 acard->wavefront.midi.base = port; in snd_wavefront_new_midi()
284 if (snd_wavefront_midi_start (acard)) { in snd_wavefront_new_midi()
315 snd_wavefront_card_t *acard; in snd_wavefront_card_new() local
323 acard = card->private_data; in snd_wavefront_card_new()
324 acard->wavefront.irq = -1; in snd_wavefront_card_new()
325 spin_lock_init(&acard->wavefront.irq_lock); in snd_wavefront_card_new()
326 init_waitqueue_head(&acard->wavefront.interrupt_sleeper); in snd_wavefront_card_new()
327 spin_lock_init(&acard->wavefront.midi.open); in snd_wavefront_card_new()
328 spin_lock_init(&acard->wavefront.midi.virtual); in snd_wavefront_card_new()
329 acard->wavefront.card = card; in snd_wavefront_card_new()
338 snd_wavefront_card_t *acard = card->private_data; in snd_wavefront_probe() local
384 acard->wavefront.res_base = in snd_wavefront_probe()
387 if (acard->wavefront.res_base == NULL) { in snd_wavefront_probe()
394 0, "ICS2115", acard)) { in snd_wavefront_probe()
399 acard->wavefront.irq = ics2115_irq[dev]; in snd_wavefront_probe()
400 card->sync_irq = acard->wavefront.irq; in snd_wavefront_probe()
401 acard->wavefront.base = ics2115_port[dev]; in snd_wavefront_probe()
403 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
440 acard, in snd_wavefront_probe()
456 acard, in snd_wavefront_probe()
468 if (acard->wavefront.has_fx) { in snd_wavefront_probe()
471 acard, in snd_wavefront_probe()