Lines Matching refs:card
103 static int snd_vx222_create(struct snd_card *card, struct pci_dev *pci, in snd_vx222_create() argument
119 chip = snd_vx_create(card, hw, vx_ops, in snd_vx222_create()
135 dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq); in snd_vx222_create()
139 card->sync_irq = chip->irq; in snd_vx222_create()
150 struct snd_card *card; in snd_vx222_probe() local
163 0, &card); in snd_vx222_probe()
179 err = snd_vx222_create(card, pci, hw, &vx); in snd_vx222_probe()
182 card->private_data = vx; in snd_vx222_probe()
185 sprintf(card->longname, "%s at 0x%lx & 0x%lx, irq %i", in snd_vx222_probe()
186 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
187 dev_dbg(card->dev, "%s at 0x%lx & 0x%lx, irq %i\n", in snd_vx222_probe()
188 card->shortname, vx->port[0], vx->port[1], vx->core.irq); in snd_vx222_probe()
198 err = snd_card_register(card); in snd_vx222_probe()
202 pci_set_drvdata(pci, card); in snd_vx222_probe()
210 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_suspend() local
211 struct snd_vx222 *vx = card->private_data; in snd_vx222_suspend()
218 struct snd_card *card = dev_get_drvdata(dev); in snd_vx222_resume() local
219 struct snd_vx222 *vx = card->private_data; in snd_vx222_resume()