Lines Matching defs:card
52 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
53 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
323 struct snd_card *card;
745 if ((err = snd_pcm_new(amd->card,
757 strcpy(pcm->name, amd->card->shortname);
870 struct snd_card *card;
873 if (snd_BUG_ON(!amd || !amd->card))
876 card = amd->card;
877 strcpy(card->mixername, card->shortname);
880 if ((err = snd_ctl_add(card,
917 static int snd_amd7930_create(struct snd_card *card,
932 amd->card = card;
977 err = snd_device_new(card, SNDRV_DEV_LOWLEVEL,
992 struct snd_card *card;
1006 THIS_MODULE, 0, &card);
1010 strcpy(card->driver, "AMD7930");
1011 strcpy(card->shortname, "Sun AMD7930");
1012 sprintf(card->longname, "%s at 0x%02lx:0x%08Lx, irq %d",
1013 card->shortname,
1018 if ((err = snd_amd7930_create(card, op,
1030 err = snd_card_register(card);
1042 snd_card_free(card);
1074 snd_card_free(p->card);