Lines Matching refs:pcard
2309 static int snd_audiodrive_pnpc_detect(struct pnp_card_link *pcard, in snd_audiodrive_pnpc_detect() argument
2323 res = snd_es18xx_card_new(&pcard->card->dev, dev, &card); in snd_audiodrive_pnpc_detect()
2327 if ((res = snd_audiodrive_pnpc(dev, card->private_data, pcard, pid)) < 0) { in snd_audiodrive_pnpc_detect()
2336 pnp_set_card_drvdata(pcard, card); in snd_audiodrive_pnpc_detect()
2341 static void snd_audiodrive_pnpc_remove(struct pnp_card_link *pcard) in snd_audiodrive_pnpc_remove() argument
2343 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_audiodrive_pnpc_remove()
2344 pnp_set_card_drvdata(pcard, NULL); in snd_audiodrive_pnpc_remove()
2348 static int snd_audiodrive_pnpc_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_audiodrive_pnpc_suspend() argument
2350 return snd_es18xx_suspend(pnp_get_card_drvdata(pcard), state); in snd_audiodrive_pnpc_suspend()
2353 static int snd_audiodrive_pnpc_resume(struct pnp_card_link *pcard) in snd_audiodrive_pnpc_resume() argument
2355 return snd_es18xx_resume(pnp_get_card_drvdata(pcard)); in snd_audiodrive_pnpc_resume()