• Home
  • Raw
  • Download

Lines Matching refs:card

102 snd_wavefront_pnp (int dev, snd_wavefront_card_t *acard, struct pnp_card_link *card,  in snd_wavefront_pnp()  argument
112 acard->wss = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_wavefront_pnp()
128 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
135 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
234 static struct snd_hwdep *snd_wavefront_new_synth(struct snd_card *card, in snd_wavefront_new_synth() argument
248 if (snd_hwdep_new(card, "WaveFront", hw_dev, &wavefront_synth) < 0) in snd_wavefront_new_synth()
259 static struct snd_hwdep *snd_wavefront_new_fx(struct snd_card *card, in snd_wavefront_new_fx() argument
272 if (snd_hwdep_new (card, "YSS225", hw_dev, &fx_processor) < 0) in snd_wavefront_new_fx()
285 static struct snd_rawmidi *snd_wavefront_new_midi(struct snd_card *card, in snd_wavefront_new_midi() argument
304 if (snd_rawmidi_new (card, "WaveFront MIDI", midi_dev, 1, 1, &rmidi) < 0) in snd_wavefront_new_midi()
326 snd_wavefront_free(struct snd_card *card) in snd_wavefront_free() argument
328 snd_wavefront_card_t *acard = (snd_wavefront_card_t *)card->private_data; in snd_wavefront_free()
339 struct snd_card *card; in snd_wavefront_card_new() local
344 sizeof(snd_wavefront_card_t), &card); in snd_wavefront_card_new()
348 acard = card->private_data; in snd_wavefront_card_new()
354 acard->wavefront.card = card; in snd_wavefront_card_new()
355 card->private_free = snd_wavefront_free; in snd_wavefront_card_new()
357 *cardp = card; in snd_wavefront_card_new()
362 snd_wavefront_probe (struct snd_card *card, int dev) in snd_wavefront_probe() argument
364 snd_wavefront_card_t *acard = card->private_data; in snd_wavefront_probe()
374 err = snd_wss_create(card, cs4232_pcm_port[dev], -1, in snd_wavefront_probe()
395 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()
426 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
447 err = snd_mpu401_uart_new(card, midi_dev, MPU401_HW_CS4232, in snd_wavefront_probe()
461 snd_wavefront_new_midi (card, in snd_wavefront_probe()
477 snd_wavefront_new_midi (card, in snd_wavefront_probe()
492 fx_processor = snd_wavefront_new_fx (card, in snd_wavefront_probe()
503 strcpy(card->driver, "Tropez+"); in snd_wavefront_probe()
504 strcpy(card->shortname, "Turtle Beach Tropez+"); in snd_wavefront_probe()
507 strcpy(card->driver, "WaveFront"); in snd_wavefront_probe()
508 strcpy(card->shortname, "Turtle Beach WaveFront"); in snd_wavefront_probe()
517 sprintf(card->longname, "%s PCM 0x%lx irq %d dma %d", in snd_wavefront_probe()
518 card->driver, in snd_wavefront_probe()
524 sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); in snd_wavefront_probe()
527 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe()
533 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe()
538 return snd_card_register(card); in snd_wavefront_probe()
564 struct snd_card *card; in snd_wavefront_isa_probe() local
567 err = snd_wavefront_card_new(dev, &card); in snd_wavefront_isa_probe()
570 snd_card_set_dev(card, pdev); in snd_wavefront_isa_probe()
571 if ((err = snd_wavefront_probe(card, dev)) < 0) { in snd_wavefront_isa_probe()
572 snd_card_free(card); in snd_wavefront_isa_probe()
576 dev_set_drvdata(pdev, card); in snd_wavefront_isa_probe()
606 struct snd_card *card; in snd_wavefront_pnp_detect() local
616 res = snd_wavefront_card_new(dev, &card); in snd_wavefront_pnp_detect()
620 if (snd_wavefront_pnp (dev, card->private_data, pcard, pid) < 0) { in snd_wavefront_pnp_detect()
623 snd_card_free (card); in snd_wavefront_pnp_detect()
627 snd_card_set_dev(card, &pcard->card->dev); in snd_wavefront_pnp_detect()
629 if ((res = snd_wavefront_probe(card, dev)) < 0) in snd_wavefront_pnp_detect()
632 pnp_set_card_drvdata(pcard, card); in snd_wavefront_pnp_detect()