Lines Matching defs:card
25 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
106 static int snd_vxpocket_new(struct snd_card *card, int ibl,
113 chip = snd_vx_create(card, &vxpocket_hw, &snd_vxpocket_ops,
138 * snd_vxpocket_assign_resources - initialize the hardware and card instance.
140 * @port: i/o port for the card
141 * @irq: irq number for the card
143 * this function assigns the specified port and irq, boot the card,
151 struct snd_card *card = chip->card;
157 sprintf(card->shortname, "Digigram %s", card->driver);
158 sprintf(card->longname, "%s at 0x%x, irq %i",
159 card->shortname, port, irq);
162 card->sync_irq = chip->irq;
191 strcpy(chip->card->driver, vxp440_hw.name);
262 struct snd_card *card;
266 /* find an empty slot from the card list */
278 /* ok, create a card instance */
280 0, &card);
282 snd_printk(KERN_ERR "vxpocket: cannot create a card instance\n");
286 err = snd_vxpocket_new(card, ibl[i], p_dev, &vxp);
288 snd_card_free(card);
291 card->private_data = vxp;
314 snd_card_disconnect(chip->card);
316 snd_card_free_when_closed(chip->card);