Lines Matching refs:pcard
615 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
661 return snd_cs423x_resume(pnp_get_card_drvdata(pcard)); in snd_cs423x_pnpc_resume()