Lines Matching defs:card
30 static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */
108 struct snd_card *card;
871 rc = snd_pcm_new(sis->card, "SiS7019", 0, 64, 1, &pcm);
995 rc = snd_ac97_bus(sis->card, 0, &ops, NULL, &bus);
1177 struct snd_card *card = dev_get_drvdata(dev);
1178 struct sis7019 *sis = card->private_data;
1182 snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
1210 struct snd_card *card = dev_get_drvdata(dev);
1211 struct sis7019 *sis = card->private_data;
1245 snd_power_change_state(card, SNDRV_CTL_POWER_D0);
1249 snd_card_disconnect(card);
1278 static int sis_chip_create(struct snd_card *card,
1281 struct sis7019 *sis = card->private_data;
1302 sis->card = card;
1338 card->sync_irq = sis->irq;
1353 rc = snd_device_new(card, SNDRV_DEV_LOWLEVEL, sis, &ops);
1372 struct snd_card *card;
1392 sizeof(*sis), &card);
1396 strcpy(card->driver, "SiS7019");
1397 strcpy(card->shortname, "SiS7019");
1398 rc = sis_chip_create(card, pci);
1402 sis = card->private_data;
1412 snprintf(card->longname, sizeof(card->longname),
1414 card->shortname, snd_ac97_get_short_name(sis->ac97[0]),
1417 rc = snd_card_register(card);
1421 pci_set_drvdata(pci, card);
1425 snd_card_free(card);