Lines Matching refs:socdev
481 struct snd_soc_device *socdev = rtd->socdev;
482 struct snd_soc_codec *codec = socdev->card->codec;
502 struct snd_soc_device *socdev = rtd->socdev;
503 struct snd_soc_codec *codec = socdev->card->codec;
603 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
604 struct snd_soc_codec *codec = socdev->card->codec;
612 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
613 struct snd_soc_codec *codec = socdev->card->codec;
640 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
646 socdev->card->codec = kzalloc(sizeof(struct snd_soc_codec),
648 if (socdev->card->codec == NULL)
650 codec = socdev->card->codec;
679 ret = snd_soc_new_pcms(socdev, SNDRV_DEFAULT_IDX1, SNDRV_DEFAULT_STR1);
700 snd_soc_free_pcms(socdev);
708 kfree(socdev->card->codec);
709 socdev->card->codec = NULL;
715 struct snd_soc_device *socdev = platform_get_drvdata(pdev);
716 struct snd_soc_codec *codec = socdev->card->codec;
721 snd_soc_dapm_free(socdev);
722 snd_soc_free_pcms(socdev);