Lines Matching refs:socdev
1158 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
1159 struct snd_soc_codec *codec = socdev->card->codec;
1176 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
1177 struct snd_soc_codec *codec = socdev->card->codec;
1209 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
1213 socdev->card->codec = kzalloc(sizeof(struct snd_soc_codec),
1215 if (socdev->card->codec == NULL)
1217 codec = socdev->card->codec;
1250 ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
1276 snd_soc_free_pcms(socdev);
1287 kfree(socdev->card->codec);
1288 socdev->card->codec = NULL;
1294 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
1295 struct snd_soc_codec *codec = socdev->card->codec;
1300 snd_soc_dapm_free(socdev);
1301 snd_soc_free_pcms(socdev);