• Home
  • Raw
  • Download

Lines Matching refs:card

109 			       struct pnp_card_link *card,  in snd_card_als100_pnp()  argument
115 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
119 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
120 acard->devopl = pnp_request_card_device(card, id->devs[2].id, acard->dev); in snd_card_als100_pnp()
180 struct snd_card *card; in snd_card_als100_probe() local
184 error = snd_card_new(&pcard->card->dev, in snd_card_als100_probe()
186 sizeof(struct snd_card_als100), &card); in snd_card_als100_probe()
189 acard = card->private_data; in snd_card_als100_probe()
192 snd_card_free(card); in snd_card_als100_probe()
199 error = snd_sbdsp_create(card, port[dev], irq[dev], in snd_card_als100_probe()
205 snd_card_free(card); in snd_card_als100_probe()
211 strcpy(card->driver, "DT-019X"); in snd_card_als100_probe()
212 strcpy(card->shortname, "Diamond Tech. DT-019X"); in snd_card_als100_probe()
213 snprintf(card->longname, sizeof(card->longname), in snd_card_als100_probe()
217 strcpy(card->driver, "ALS100"); in snd_card_als100_probe()
218 strcpy(card->shortname, "Avance Logic ALS100"); in snd_card_als100_probe()
219 snprintf(card->longname, sizeof(card->longname), in snd_card_als100_probe()
226 snd_card_free(card); in snd_card_als100_probe()
231 snd_card_free(card); in snd_card_als100_probe()
244 if (snd_mpu401_uart_new(card, 0, in snd_card_als100_probe()
253 if (snd_opl3_create(card, in snd_card_als100_probe()
260 snd_card_free(card); in snd_card_als100_probe()
264 snd_card_free(card); in snd_card_als100_probe()
270 if ((error = snd_card_register(card)) < 0) { in snd_card_als100_probe()
271 snd_card_free(card); in snd_card_als100_probe()
274 pnp_set_card_drvdata(pcard, card); in snd_card_als100_probe()
280 static int snd_als100_pnp_detect(struct pnp_card_link *card, in snd_als100_pnp_detect() argument
289 res = snd_card_als100_probe(dev, card, id); in snd_als100_pnp_detect()
308 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_suspend() local
309 struct snd_card_als100 *acard = card->private_data; in snd_als100_pnp_suspend()
312 snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); in snd_als100_pnp_suspend()
319 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_resume() local
320 struct snd_card_als100 *acard = card->private_data; in snd_als100_pnp_resume()
325 snd_power_change_state(card, SNDRV_CTL_POWER_D0); in snd_als100_pnp_resume()