Lines Matching refs:component
255 static int tas5086_set_deemph(struct snd_soc_component *component) in tas5086_set_deemph() argument
257 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_set_deemph()
276 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in tas5086_get_deemph() local
277 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_get_deemph()
287 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in tas5086_put_deemph() local
288 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_put_deemph()
292 return tas5086_set_deemph(component); in tas5086_put_deemph()
299 struct snd_soc_component *component = codec_dai->component; in tas5086_set_dai_sysclk() local
300 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_set_dai_sysclk()
317 struct snd_soc_component *component = codec_dai->component; in tas5086_set_dai_fmt() local
318 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_set_dai_fmt()
322 dev_err(component->dev, "Invalid clocking mode\n"); in tas5086_set_dai_fmt()
355 struct snd_soc_component *component = dai->component; in tas5086_hw_params() local
356 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_hw_params()
367 dev_err(component->dev, "Invalid sample rate\n"); in tas5086_hw_params()
381 dev_err(component->dev, "Invalid MCLK / Fs ratio\n"); in tas5086_hw_params()
418 dev_err(component->dev, "Invalid DAI format\n"); in tas5086_hw_params()
434 dev_err(component->dev, "Invalid bit width\n"); in tas5086_hw_params()
448 return tas5086_set_deemph(component); in tas5086_hw_params()
453 struct snd_soc_component *component = dai->component; in tas5086_mute_stream() local
454 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_mute_stream()
767 static int tas5086_soc_suspend(struct snd_soc_component *component) in tas5086_soc_suspend() argument
769 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_soc_suspend()
782 static int tas5086_soc_resume(struct snd_soc_component *component) in tas5086_soc_resume() argument
784 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_soc_resume()
794 ret = tas5086_init(component->dev, priv); in tas5086_soc_resume()
817 static int tas5086_probe(struct snd_soc_component *component) in tas5086_probe() argument
819 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_probe()
824 dev_err(component->dev, "Failed to enable regulators: %d\n", ret); in tas5086_probe()
831 if (of_match_device(of_match_ptr(tas5086_dt_ids), component->dev)) { in tas5086_probe()
832 struct device_node *of_node = component->dev->of_node; in tas5086_probe()
849 ret = tas5086_init(component->dev, priv); in tas5086_probe()
866 static void tas5086_remove(struct snd_soc_component *component) in tas5086_remove() argument
868 struct tas5086_private *priv = snd_soc_component_get_drvdata(component); in tas5086_remove()