Lines Matching refs:socdev
115 * @socdev: audio device
122 static int snd_soc_dapm_set_bias_level(struct snd_soc_device *socdev,
125 struct snd_soc_card *card = socdev->card;
126 struct snd_soc_codec *codec = socdev->card->codec;
131 dev_dbg(socdev->dev, "Setting full bias\n");
134 dev_dbg(socdev->dev, "Setting bias prepare\n");
137 dev_dbg(socdev->dev, "Setting standby bias\n");
140 dev_dbg(socdev->dev, "Setting bias off\n");
143 dev_err(socdev->dev, "Setting invalid bias %d\n", level);
896 struct snd_soc_device *socdev = codec->socdev;
969 ret = snd_soc_dapm_set_bias_level(socdev,
978 ret = snd_soc_dapm_set_bias_level(socdev,
992 ret = snd_soc_dapm_set_bias_level(socdev,
1001 ret = snd_soc_dapm_set_bias_level(socdev, SND_SOC_BIAS_OFF);
1008 ret = snd_soc_dapm_set_bias_level(socdev,
2171 * @socdev: SoC device
2175 void snd_soc_dapm_free(struct snd_soc_device *socdev)
2177 struct snd_soc_codec *codec = socdev->card->codec;
2179 snd_soc_dapm_sys_remove(socdev->dev);
2187 void snd_soc_dapm_shutdown(struct snd_soc_device *socdev)
2189 struct snd_soc_codec *codec = socdev->card->codec;
2206 snd_soc_dapm_set_bias_level(socdev, SND_SOC_BIAS_PREPARE);
2208 snd_soc_dapm_set_bias_level(socdev, SND_SOC_BIAS_STANDBY);
2211 snd_soc_dapm_set_bias_level(socdev, SND_SOC_BIAS_OFF);