Lines Matching refs:socdev
33 struct snd_soc_device *socdev = rtd->socdev;
34 struct snd_soc_codec *codec = socdev->card->codec;
83 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
84 struct snd_soc_card *card = socdev->card;
93 socdev->card->codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
94 if (!socdev->card->codec)
96 codec = socdev->card->codec;
109 ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
133 snd_soc_free_pcms(socdev);
136 kfree(socdev->card->codec);
137 socdev->card->codec = NULL;
143 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
144 struct snd_soc_codec *codec = socdev->card->codec;
149 snd_soc_free_pcms(socdev);
150 kfree(socdev->card->codec);
158 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
160 snd_ac97_suspend(socdev->card->codec->ac97);
167 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
169 snd_ac97_resume(socdev->card->codec->ac97);