Lines Matching defs:card
27 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
64 pdacf->card = NULL;
83 struct snd_card *card;
89 /* find an empty slot from the card list */
101 /* ok, create a card instance */
103 0, &card);
105 snd_printk(KERN_ERR "pdacf: cannot create a card instance\n");
109 pdacf = snd_pdacf_create(card);
111 snd_card_free(card);
115 err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, pdacf, &ops);
118 snd_card_free(card);
123 card_list[i] = card;
140 * snd_pdacf_assign_resources - initialize the hardware and card instance.
142 * @port: i/o port for the card
143 * @irq: irq number for the card
145 * this function assigns the specified port and irq, boot the card,
153 struct snd_card *card = pdacf->card;
164 strcpy(card->driver, "PDAudio-CF");
165 sprintf(card->shortname, "Core Sound %s", card->driver);
166 sprintf(card->longname, "%s at 0x%x, irq %i",
167 card->shortname, port, irq);
173 err = snd_card_register(card);
193 snd_card_disconnect(chip->card);
194 snd_card_free_when_closed(chip->card);
228 pdacf->card->sync_irq = link->irq;