Lines Matching defs:card
25 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
26 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
103 static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci,
119 chip = snd_vx_create(card, hw, vx_ops,
135 dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq);
139 card->sync_irq = chip->irq;
150 struct snd_card *card;
163 0, &card);
179 err = snd_vx222_create(card, pci, hw, &vx);
182 card->private_data = vx;
185 sprintf(card->longname, "%s at 0x%lx & 0x%lx, irq %i",
186 card->shortname, vx->port[0], vx->port[1], vx->core.irq);
187 dev_dbg(card->dev, "%s at 0x%lx & 0x%lx, irq %i\n",
188 card->shortname, vx->port[0], vx->port[1], vx->core.irq);
198 err = snd_card_register(card);
202 pci_set_drvdata(pci, card);
210 struct snd_card *card = dev_get_drvdata(dev);
211 struct snd_vx222 *vx = card->private_data;
218 struct snd_card *card = dev_get_drvdata(dev);
219 struct snd_vx222 *vx = card->private_data;