Lines Matching refs:component
161 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_wl1273_get_audio_route() local
162 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in snd_wl1273_get_audio_route()
179 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_wl1273_set_audio_route() local
180 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in snd_wl1273_set_audio_route()
186 if (snd_soc_component_active(component)) in snd_wl1273_set_audio_route()
202 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_wl1273_fm_audio_get() local
203 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in snd_wl1273_fm_audio_get()
205 dev_dbg(component->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_audio_get()
215 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_wl1273_fm_audio_put() local
216 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in snd_wl1273_fm_audio_put()
219 dev_dbg(component->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_audio_put()
239 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_wl1273_fm_volume_get() local
240 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in snd_wl1273_fm_volume_get()
242 dev_dbg(component->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_volume_get()
252 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in snd_wl1273_fm_volume_put() local
253 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in snd_wl1273_fm_volume_put()
256 dev_dbg(component->dev, "%s: enter.\n", __func__); in snd_wl1273_fm_volume_put()
290 struct snd_soc_component *component = dai->component; in wl1273_startup() local
291 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in wl1273_startup()
323 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(dai->component); in wl1273_hw_params()
403 int wl1273_get_format(struct snd_soc_component *component, unsigned int *fmt) in wl1273_get_format() argument
407 if (component == NULL || fmt == NULL) in wl1273_get_format()
410 wl1273 = snd_soc_component_get_drvdata(component); in wl1273_get_format()
434 static int wl1273_probe(struct snd_soc_component *component) in wl1273_probe() argument
436 struct wl1273_core **core = component->dev->platform_data; in wl1273_probe()
439 dev_dbg(component->dev, "%s.\n", __func__); in wl1273_probe()
442 dev_err(component->dev, "Platform data is missing.\n"); in wl1273_probe()
453 snd_soc_component_set_drvdata(component, wl1273); in wl1273_probe()
458 static void wl1273_remove(struct snd_soc_component *component) in wl1273_remove() argument
460 struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component); in wl1273_remove()
462 dev_dbg(component->dev, "%s\n", __func__); in wl1273_remove()