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()
206 snd_wavefront_card_t *acard; in snd_wavefront_ics2115_interrupt() local
208 acard = (snd_wavefront_card_t *) dev_id; in snd_wavefront_ics2115_interrupt()
210 if (acard == NULL) in snd_wavefront_ics2115_interrupt()
213 if (acard->wavefront.interrupts_are_midi) { in snd_wavefront_ics2115_interrupt()
214 snd_wavefront_midi_interrupt (acard); in snd_wavefront_ics2115_interrupt()
216 snd_wavefront_internal_interrupt (acard); in snd_wavefront_ics2115_interrupt()
223 snd_wavefront_card_t *acard) in snd_wavefront_new_synth() argument
227 if (snd_wavefront_detect (acard) < 0) { in snd_wavefront_new_synth()
231 if (snd_wavefront_start (&acard->wavefront) < 0) { in snd_wavefront_new_synth()
248 snd_wavefront_card_t *acard, in snd_wavefront_new_fx() argument
254 if (snd_wavefront_fx_start (&acard->wavefront)) { in snd_wavefront_new_fx()
274 snd_wavefront_card_t *acard, in snd_wavefront_new_midi() argument
284 acard->wavefront.midi.base = port; in snd_wavefront_new_midi()
285 if (snd_wavefront_midi_start (acard)) { in snd_wavefront_new_midi()
316 snd_wavefront_card_t *acard; in snd_wavefront_card_new() local
324 acard = card->private_data; in snd_wavefront_card_new()
325 acard->wavefront.irq = -1; in snd_wavefront_card_new()
326 spin_lock_init(&acard->wavefront.irq_lock); in snd_wavefront_card_new()
327 init_waitqueue_head(&acard->wavefront.interrupt_sleeper); in snd_wavefront_card_new()
328 spin_lock_init(&acard->wavefront.midi.open); in snd_wavefront_card_new()
329 spin_lock_init(&acard->wavefront.midi.virtual); in snd_wavefront_card_new()
330 acard->wavefront.card = card; in snd_wavefront_card_new()
339 snd_wavefront_card_t *acard = card->private_data; in snd_wavefront_probe() local
385 acard->wavefront.res_base = in snd_wavefront_probe()
388 if (acard->wavefront.res_base == NULL) { in snd_wavefront_probe()
395 0, "ICS2115", acard)) { in snd_wavefront_probe()
400 acard->wavefront.irq = ics2115_irq[dev]; in snd_wavefront_probe()
401 card->sync_irq = acard->wavefront.irq; in snd_wavefront_probe()
402 acard->wavefront.base = ics2115_port[dev]; in snd_wavefront_probe()
404 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
441 acard, in snd_wavefront_probe()
457 acard, in snd_wavefront_probe()
469 if (acard->wavefront.has_fx) { in snd_wavefront_probe()
472 acard, in snd_wavefront_probe()