Lines Matching refs:socdev
251 struct snd_soc_device *socdev = rtd->socdev;
252 struct snd_soc_codec *codec = socdev->card->codec;
323 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
324 struct snd_soc_codec *codec = socdev->card->codec;
333 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
334 struct snd_soc_codec *codec = socdev->card->codec;
357 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
363 socdev->card->codec = kzalloc(sizeof(struct snd_soc_codec),
365 if (socdev->card->codec == NULL)
367 codec = socdev->card->codec;
394 ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
409 snd_soc_free_pcms(socdev);
415 kfree(socdev->card->codec);
416 socdev->card->codec = NULL;
422 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
423 struct snd_soc_codec *codec = socdev->card->codec;
428 snd_soc_dapm_free(socdev);
429 snd_soc_free_pcms(socdev);