Lines Matching refs:pcard
613 static int snd_cs423x_pnpc_detect(struct pnp_card_link *pcard, in snd_cs423x_pnpc_detect() argument
627 res = snd_cs423x_card_new(&pcard->card->dev, dev, &card); in snd_cs423x_pnpc_detect()
630 if ((res = snd_card_cs423x_pnpc(dev, card->private_data, pcard, pid)) < 0) { in snd_cs423x_pnpc_detect()
640 pnp_set_card_drvdata(pcard, card); in snd_cs423x_pnpc_detect()
645 static void snd_cs423x_pnpc_remove(struct pnp_card_link *pcard) in snd_cs423x_pnpc_remove() argument
647 snd_card_free(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_remove()
648 pnp_set_card_drvdata(pcard, NULL); in snd_cs423x_pnpc_remove()
652 static int snd_cs423x_pnpc_suspend(struct pnp_card_link *pcard, pm_message_t state) in snd_cs423x_pnpc_suspend() argument
654 return snd_cs423x_suspend(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_suspend()
657 static int snd_cs423x_pnpc_resume(struct pnp_card_link *pcard) in snd_cs423x_pnpc_resume() argument
659 return snd_cs423x_resume(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_resume()