Lines Matching refs:codec

175 	struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol);  in snd_wl1273_get_audio_route()  local
176 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in snd_wl1273_get_audio_route()
193 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_set_audio_route() local
194 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in snd_wl1273_set_audio_route()
200 if (snd_soc_codec_is_active(codec)) in snd_wl1273_set_audio_route()
217 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_audio_get() local
218 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in snd_wl1273_fm_audio_get()
220 dev_dbg(codec->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_audio_get()
230 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_audio_put() local
231 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in snd_wl1273_fm_audio_put()
234 dev_dbg(codec->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_audio_put()
254 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_volume_get() local
255 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in snd_wl1273_fm_volume_get()
257 dev_dbg(codec->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_volume_get()
267 struct snd_soc_codec *codec = snd_soc_kcontrol_codec(kcontrol); in snd_wl1273_fm_volume_put() local
268 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in snd_wl1273_fm_volume_put()
271 dev_dbg(codec->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_volume_put()
305 struct snd_soc_codec *codec = dai->codec; in wl1273_startup() local
306 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in wl1273_startup()
339 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(dai->codec); in wl1273_hw_params()
419 int wl1273_get_format(struct snd_soc_codec *codec, unsigned int *fmt) in wl1273_get_format() argument
423 if (codec == NULL || fmt == NULL) in wl1273_get_format()
426 wl1273 = snd_soc_codec_get_drvdata(codec); in wl1273_get_format()
450 static int wl1273_probe(struct snd_soc_codec *codec) in wl1273_probe() argument
452 struct wl1273_core **core = codec->dev->platform_data; in wl1273_probe()
455 dev_dbg(codec->dev, "%s.\n", __func__); in wl1273_probe()
458 dev_err(codec->dev, "Platform data is missing.\n"); in wl1273_probe()
469 snd_soc_codec_set_drvdata(codec, wl1273); in wl1273_probe()
474 static int wl1273_remove(struct snd_soc_codec *codec) in wl1273_remove() argument
476 struct wl1273_priv *wl1273 = snd_soc_codec_get_drvdata(codec); in wl1273_remove()
478 dev_dbg(codec->dev, "%s\n", __func__); in wl1273_remove()