Lines Matching defs:card
33 strcpy(dg00x->card->driver, "Digi00x");
34 strcpy(dg00x->card->shortname, model);
35 strcpy(dg00x->card->mixername, model);
36 snprintf(dg00x->card->longname, sizeof(dg00x->card->longname),
44 static void dg00x_card_free(struct snd_card *card)
46 struct snd_dg00x *dg00x = card->private_data;
57 struct snd_card *card;
61 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*dg00x), &card);
64 card->private_free = dg00x_card_free;
66 dg00x = card->private_data;
69 dg00x->card = card;
103 err = snd_card_register(card);
109 snd_card_free(card);
129 snd_card_free(dg00x->card);