Home
last modified time | relevance | path

Searched refs:pcard (Results 1 – 15 of 15) sorted by relevance

/sound/isa/ad1816a/
Dad1816a.c126 static int snd_card_ad1816a_probe(int dev, struct pnp_card_link *pcard, in snd_card_ad1816a_probe() argument
134 error = snd_card_new(&pcard->card->dev, in snd_card_ad1816a_probe()
141 if ((error = snd_card_ad1816a_pnp(dev, pcard, pid))) { in snd_card_ad1816a_probe()
203 pnp_set_card_drvdata(pcard, card); in snd_card_ad1816a_probe()
228 static void snd_ad1816a_pnp_remove(struct pnp_card_link *pcard) in snd_ad1816a_pnp_remove() argument
230 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_ad1816a_pnp_remove()
231 pnp_set_card_drvdata(pcard, NULL); in snd_ad1816a_pnp_remove()
235 static int snd_ad1816a_pnp_suspend(struct pnp_card_link *pcard, in snd_ad1816a_pnp_suspend() argument
238 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_ad1816a_pnp_suspend()
245 static int snd_ad1816a_pnp_resume(struct pnp_card_link *pcard) in snd_ad1816a_pnp_resume() argument
[all …]
/sound/isa/es1688/
Des1688.c218 struct pnp_card_link *pcard, in snd_card_es968_pnp() argument
225 pdev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_card_es968_pnp()
242 static int snd_es968_pnp_detect(struct pnp_card_link *pcard, in snd_es968_pnp_detect() argument
258 error = snd_card_new(&pcard->card->dev, in snd_es968_pnp_detect()
264 error = snd_card_es968_pnp(card, dev, pcard, pid); in snd_es968_pnp_detect()
274 pnp_set_card_drvdata(pcard, card); in snd_es968_pnp_detect()
279 static void snd_es968_pnp_remove(struct pnp_card_link *pcard) in snd_es968_pnp_remove() argument
281 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_es968_pnp_remove()
282 pnp_set_card_drvdata(pcard, NULL); in snd_es968_pnp_remove()
287 static int snd_es968_pnp_suspend(struct pnp_card_link *pcard, in snd_es968_pnp_suspend() argument
[all …]
/sound/isa/
Dazt2320.c166 struct pnp_card_link *pcard, in snd_card_azt2320_probe() argument
175 error = snd_card_new(&pcard->card->dev, in snd_card_azt2320_probe()
182 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe()
251 pnp_set_card_drvdata(pcard, card); in snd_card_azt2320_probe()
276 static void snd_azt2320_pnp_remove(struct pnp_card_link *pcard) in snd_azt2320_pnp_remove() argument
278 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_azt2320_pnp_remove()
279 pnp_set_card_drvdata(pcard, NULL); in snd_azt2320_pnp_remove()
283 static int snd_azt2320_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_azt2320_pnp_suspend() argument
285 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_azt2320_pnp_suspend()
294 static int snd_azt2320_pnp_resume(struct pnp_card_link *pcard) in snd_azt2320_pnp_resume() argument
[all …]
Dals100.c175 struct pnp_card_link *pcard, in snd_card_als100_probe() argument
184 error = snd_card_new(&pcard->card->dev, in snd_card_als100_probe()
191 if ((error = snd_card_als100_pnp(dev, acard, pcard, pid))) { in snd_card_als100_probe()
274 pnp_set_card_drvdata(pcard, card); in snd_card_als100_probe()
299 static void snd_als100_pnp_remove(struct pnp_card_link *pcard) in snd_als100_pnp_remove() argument
301 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_als100_pnp_remove()
302 pnp_set_card_drvdata(pcard, NULL); in snd_als100_pnp_remove()
306 static int snd_als100_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_als100_pnp_suspend() argument
308 struct snd_card *card = pnp_get_card_drvdata(pcard); in snd_als100_pnp_suspend()
317 static int snd_als100_pnp_resume(struct pnp_card_link *pcard) in snd_als100_pnp_resume() argument
[all …]
Dcmi8330.c672 static int snd_cmi8330_pnp_detect(struct pnp_card_link *pcard, in snd_cmi8330_pnp_detect() argument
686 res = snd_cmi8330_card_new(&pcard->card->dev, dev, &card); in snd_cmi8330_pnp_detect()
689 if ((res = snd_cmi8330_pnp(dev, card->private_data, pcard, pid)) < 0) { in snd_cmi8330_pnp_detect()
698 pnp_set_card_drvdata(pcard, card); in snd_cmi8330_pnp_detect()
703 static void snd_cmi8330_pnp_remove(struct pnp_card_link *pcard) in snd_cmi8330_pnp_remove() argument
705 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_cmi8330_pnp_remove()
706 pnp_set_card_drvdata(pcard, NULL); in snd_cmi8330_pnp_remove()
710 static int snd_cmi8330_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_cmi8330_pnp_suspend() argument
712 return snd_cmi8330_suspend(pnp_get_card_drvdata(pcard)); in snd_cmi8330_pnp_suspend()
715 static int snd_cmi8330_pnp_resume(struct pnp_card_link *pcard) in snd_cmi8330_pnp_resume() argument
[all …]
Dopl3sa2.c768 static int snd_opl3sa2_pnp_cdetect(struct pnp_card_link *pcard, in snd_opl3sa2_pnp_cdetect() argument
776 pdev = pnp_request_card_device(pcard, id->devs[0].id, NULL); in snd_opl3sa2_pnp_cdetect()
800 pnp_set_card_drvdata(pcard, card); in snd_opl3sa2_pnp_cdetect()
805 static void snd_opl3sa2_pnp_cremove(struct pnp_card_link *pcard) in snd_opl3sa2_pnp_cremove() argument
807 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_opl3sa2_pnp_cremove()
808 pnp_set_card_drvdata(pcard, NULL); in snd_opl3sa2_pnp_cremove()
812 static int snd_opl3sa2_pnp_csuspend(struct pnp_card_link *pcard, pm_message_t state) in snd_opl3sa2_pnp_csuspend() argument
814 return snd_opl3sa2_suspend(pnp_get_card_drvdata(pcard), state); in snd_opl3sa2_pnp_csuspend()
816 static int snd_opl3sa2_pnp_cresume(struct pnp_card_link *pcard) in snd_opl3sa2_pnp_cresume() argument
818 return snd_opl3sa2_resume(pnp_get_card_drvdata(pcard)); in snd_opl3sa2_pnp_cresume()
Dsscape.c1213 static int sscape_pnp_detect(struct pnp_card_link *pcard, in sscape_pnp_detect() argument
1233 dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in sscape_pnp_detect()
1248 ret = snd_card_new(&pcard->card->dev, in sscape_pnp_detect()
1289 pnp_set_card_drvdata(pcard, card); in sscape_pnp_detect()
1298 static void sscape_pnp_remove(struct pnp_card_link *pcard) in sscape_pnp_remove() argument
1300 snd_card_free(pnp_get_card_drvdata(pcard)); in sscape_pnp_remove()
1301 pnp_set_card_drvdata(pcard, NULL); in sscape_pnp_remove()
Des18xx.c2324 static int snd_audiodrive_pnpc_detect(struct pnp_card_link *pcard, in snd_audiodrive_pnpc_detect() argument
2338 res = snd_es18xx_card_new(&pcard->card->dev, dev, &card); in snd_audiodrive_pnpc_detect()
2342 if ((res = snd_audiodrive_pnpc(dev, card->private_data, pcard, pid)) < 0) { in snd_audiodrive_pnpc_detect()
2351 pnp_set_card_drvdata(pcard, card); in snd_audiodrive_pnpc_detect()
2356 static void snd_audiodrive_pnpc_remove(struct pnp_card_link *pcard) in snd_audiodrive_pnpc_remove() argument
2358 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_audiodrive_pnpc_remove()
2359 pnp_set_card_drvdata(pcard, NULL); in snd_audiodrive_pnpc_remove()
2363 static int snd_audiodrive_pnpc_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_audiodrive_pnpc_suspend() argument
2365 return snd_es18xx_suspend(pnp_get_card_drvdata(pcard), state); in snd_audiodrive_pnpc_suspend()
2368 static int snd_audiodrive_pnpc_resume(struct pnp_card_link *pcard) in snd_audiodrive_pnpc_resume() argument
[all …]
/sound/isa/sb/
Dsb16.c590 static int snd_sb16_pnp_detect(struct pnp_card_link *pcard, in snd_sb16_pnp_detect() argument
600 res = snd_sb16_card_new(&pcard->card->dev, dev, &card); in snd_sb16_pnp_detect()
603 if ((res = snd_card_sb16_pnp(dev, card->private_data, pcard, pid)) < 0 || in snd_sb16_pnp_detect()
608 pnp_set_card_drvdata(pcard, card); in snd_sb16_pnp_detect()
616 static void snd_sb16_pnp_remove(struct pnp_card_link *pcard) in snd_sb16_pnp_remove() argument
618 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_sb16_pnp_remove()
619 pnp_set_card_drvdata(pcard, NULL); in snd_sb16_pnp_remove()
623 static int snd_sb16_pnp_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_sb16_pnp_suspend() argument
625 return snd_sb16_suspend(pnp_get_card_drvdata(pcard), state); in snd_sb16_pnp_suspend()
627 static int snd_sb16_pnp_resume(struct pnp_card_link *pcard) in snd_sb16_pnp_resume() argument
[all …]
/sound/isa/cs423x/
Dcs4236.c615 static int snd_cs423x_pnpc_detect(struct pnp_card_link *pcard, in snd_cs423x_pnpc_detect() argument
629 res = snd_cs423x_card_new(&pcard->card->dev, dev, &card); in snd_cs423x_pnpc_detect()
632 if ((res = snd_card_cs423x_pnpc(dev, card->private_data, pcard, pid)) < 0) { in snd_cs423x_pnpc_detect()
642 pnp_set_card_drvdata(pcard, card); in snd_cs423x_pnpc_detect()
647 static void snd_cs423x_pnpc_remove(struct pnp_card_link *pcard) in snd_cs423x_pnpc_remove() argument
649 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_remove()
650 pnp_set_card_drvdata(pcard, NULL); in snd_cs423x_pnpc_remove()
654 static int snd_cs423x_pnpc_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_cs423x_pnpc_suspend() argument
656 return snd_cs423x_suspend(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_suspend()
659 static int snd_cs423x_pnpc_resume(struct pnp_card_link *pcard) in snd_cs423x_pnpc_resume() argument
[all …]
/sound/isa/opti9xx/
Dopti92x-ad1848.c1086 static int snd_opti9xx_pnp_probe(struct pnp_card_link *pcard, argument
1097 error = snd_opti9xx_card_new(&pcard->card->dev, &card);
1102 hw = snd_card_opti9xx_pnp(chip, pcard, pid);
1132 pnp_set_card_drvdata(pcard, card);
1137 static void snd_opti9xx_pnp_remove(struct pnp_card_link *pcard) argument
1139 snd_card_free(pnp_get_card_drvdata(pcard));
1140 pnp_set_card_drvdata(pcard, NULL);
1145 static int snd_opti9xx_pnp_suspend(struct pnp_card_link *pcard, argument
1148 return snd_opti9xx_suspend(pnp_get_card_drvdata(pcard));
1151 static int snd_opti9xx_pnp_resume(struct pnp_card_link *pcard) argument
[all …]
Dmiro.c1565 static int snd_miro_pnp_probe(struct pnp_card_link *pcard, in snd_miro_pnp_probe() argument
1576 err = snd_card_new(&pcard->card->dev, index, id, THIS_MODULE, in snd_miro_pnp_probe()
1584 err = snd_card_miro_pnp(miro, pcard, pid); in snd_miro_pnp_probe()
1609 pnp_set_card_drvdata(pcard, card); in snd_miro_pnp_probe()
1614 static void snd_miro_pnp_remove(struct pnp_card_link *pcard) in snd_miro_pnp_remove() argument
1616 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_miro_pnp_remove()
1617 pnp_set_card_drvdata(pcard, NULL); in snd_miro_pnp_remove()
/sound/isa/wavefront/
Dwavefront.c588 static int snd_wavefront_pnp_detect(struct pnp_card_link *pcard, in snd_wavefront_pnp_detect() argument
602 res = snd_wavefront_card_new(&pcard->card->dev, dev, &card); in snd_wavefront_pnp_detect()
606 if (snd_wavefront_pnp (dev, card->private_data, pcard, pid) < 0) { in snd_wavefront_pnp_detect()
617 pnp_set_card_drvdata(pcard, card); in snd_wavefront_pnp_detect()
622 static void snd_wavefront_pnp_remove(struct pnp_card_link *pcard) in snd_wavefront_pnp_remove() argument
624 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_wavefront_pnp_remove()
625 pnp_set_card_drvdata(pcard, NULL); in snd_wavefront_pnp_remove()
/sound/isa/gus/
Dinterwave.c844 static int snd_interwave_pnp_detect(struct pnp_card_link *pcard, in snd_interwave_pnp_detect() argument
858 res = snd_interwave_card_new(&pcard->card->dev, dev, &card); in snd_interwave_pnp_detect()
862 if ((res = snd_interwave_pnp(dev, card->private_data, pcard, pid)) < 0) { in snd_interwave_pnp_detect()
870 pnp_set_card_drvdata(pcard, card); in snd_interwave_pnp_detect()
875 static void snd_interwave_pnp_remove(struct pnp_card_link *pcard) in snd_interwave_pnp_remove() argument
877 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_interwave_pnp_remove()
878 pnp_set_card_drvdata(pcard, NULL); in snd_interwave_pnp_remove()
/sound/isa/msnd/
Dmsnd_pinnacle.c1068 static int snd_msnd_pnp_detect(struct pnp_card_link *pcard, in snd_msnd_pnp_detect() argument
1088 pnp_dev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_msnd_pnp_detect()
1092 mpu_dev = pnp_request_card_device(pcard, pid->devs[1].id, NULL); in snd_msnd_pnp_detect()
1110 ret = snd_card_new(&pcard->card->dev, in snd_msnd_pnp_detect()
1163 pnp_set_card_drvdata(pcard, card); in snd_msnd_pnp_detect()
1172 static void snd_msnd_pnp_remove(struct pnp_card_link *pcard) in snd_msnd_pnp_remove() argument
1174 snd_msnd_unload(pnp_get_card_drvdata(pcard)); in snd_msnd_pnp_remove()
1175 pnp_set_card_drvdata(pcard, NULL); in snd_msnd_pnp_remove()