Lines Matching refs:card
80 struct snd_card *card; in snd_trident_probe() local
93 0, &card); in snd_trident_probe()
97 if ((err = snd_trident_create(card, pci, in snd_trident_probe()
102 snd_card_free(card); in snd_trident_probe()
105 card->private_data = trident; in snd_trident_probe()
120 strcpy(card->driver, str); in snd_trident_probe()
122 strcpy(card->shortname, "SiS "); in snd_trident_probe()
124 strcpy(card->shortname, "Trident "); in snd_trident_probe()
126 strcat(card->shortname, card->driver); in snd_trident_probe()
127 sprintf(card->longname, "%s PCI Audio at 0x%lx, irq %d", in snd_trident_probe()
128 card->shortname, trident->port, trident->irq); in snd_trident_probe()
131 snd_card_free(card); in snd_trident_probe()
138 snd_card_free(card); in snd_trident_probe()
145 snd_card_free(card); in snd_trident_probe()
150 (err = snd_mpu401_uart_new(card, 0, MPU401_HW_TRID4DWAVE, in snd_trident_probe()
155 snd_card_free(card); in snd_trident_probe()
161 if ((err = snd_card_register(card)) < 0) { in snd_trident_probe()
162 snd_card_free(card); in snd_trident_probe()
165 pci_set_drvdata(pci, card); in snd_trident_probe()