• Home
  • Raw
  • Download

Lines Matching refs:card

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()
114 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
121 acard->synth = pnp_request_card_device(card, id->devs[3].id, NULL); in snd_wavefront_pnp()
220 static struct snd_hwdep *snd_wavefront_new_synth(struct snd_card *card, in snd_wavefront_new_synth() argument
234 if (snd_hwdep_new(card, "WaveFront", hw_dev, &wavefront_synth) < 0) in snd_wavefront_new_synth()
245 static struct snd_hwdep *snd_wavefront_new_fx(struct snd_card *card, in snd_wavefront_new_fx() argument
258 if (snd_hwdep_new (card, "YSS225", hw_dev, &fx_processor) < 0) in snd_wavefront_new_fx()
271 static struct snd_rawmidi *snd_wavefront_new_midi(struct snd_card *card, in snd_wavefront_new_midi() argument
290 if (snd_rawmidi_new (card, "WaveFront MIDI", midi_dev, 1, 1, &rmidi) < 0) in snd_wavefront_new_midi()
314 struct snd_card *card; in snd_wavefront_card_new() local
319 sizeof(snd_wavefront_card_t), &card); in snd_wavefront_card_new()
323 acard = card->private_data; in snd_wavefront_card_new()
329 acard->wavefront.card = card; in snd_wavefront_card_new()
331 *cardp = card; in snd_wavefront_card_new()
336 snd_wavefront_probe (struct snd_card *card, int dev) in snd_wavefront_probe() argument
338 snd_wavefront_card_t *acard = card->private_data; in snd_wavefront_probe()
348 err = snd_wss_create(card, cs4232_pcm_port[dev], -1, in snd_wavefront_probe()
369 err = snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2, in snd_wavefront_probe()
385 devm_request_region(card->dev, ics2115_port[dev], 16, in snd_wavefront_probe()
392 if (devm_request_irq(card->dev, ics2115_irq[dev], in snd_wavefront_probe()
400 card->sync_irq = acard->wavefront.irq; in snd_wavefront_probe()
403 wavefront_synth = snd_wavefront_new_synth(card, hw_dev, acard); in snd_wavefront_probe()
424 err = snd_mpu401_uart_new(card, midi_dev, MPU401_HW_CS4232, in snd_wavefront_probe()
438 snd_wavefront_new_midi (card, in snd_wavefront_probe()
454 snd_wavefront_new_midi (card, in snd_wavefront_probe()
469 fx_processor = snd_wavefront_new_fx (card, in snd_wavefront_probe()
480 strcpy(card->driver, "Tropez+"); in snd_wavefront_probe()
481 strcpy(card->shortname, "Turtle Beach Tropez+"); in snd_wavefront_probe()
484 strcpy(card->driver, "WaveFront"); in snd_wavefront_probe()
485 strcpy(card->shortname, "Turtle Beach WaveFront"); in snd_wavefront_probe()
494 sprintf(card->longname, "%s PCM 0x%lx irq %d dma %d", in snd_wavefront_probe()
495 card->driver, in snd_wavefront_probe()
501 sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); in snd_wavefront_probe()
504 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe()
510 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe()
515 return snd_card_register(card); in snd_wavefront_probe()
541 struct snd_card *card; in snd_wavefront_isa_probe() local
544 err = snd_wavefront_card_new(pdev, dev, &card); in snd_wavefront_isa_probe()
547 err = snd_wavefront_probe(card, dev); in snd_wavefront_isa_probe()
551 dev_set_drvdata(pdev, card); in snd_wavefront_isa_probe()
572 struct snd_card *card; in snd_wavefront_pnp_detect() local
582 res = snd_wavefront_card_new(&pcard->card->dev, dev, &card); in snd_wavefront_pnp_detect()
586 if (snd_wavefront_pnp (dev, card->private_data, pcard, pid) < 0) { in snd_wavefront_pnp_detect()
593 res = snd_wavefront_probe(card, dev); in snd_wavefront_pnp_detect()
597 pnp_set_card_drvdata(pcard, card); in snd_wavefront_pnp_detect()