Lines Matching refs:component
134 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_set_amp_gain_put() local
137 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_set_amp_gain_put()
155 dev_err(component->dev, "Failed to write 0x%x=0x%x\n", in rt715_sdca_set_amp_gain_put()
167 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_set_amp_gain_4ch_put() local
168 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_set_amp_gain_4ch_put()
191 dev_err(component->dev, "Failed to write 0x%x=0x%x\n", in rt715_sdca_set_amp_gain_4ch_put()
203 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_set_amp_gain_8ch_put() local
204 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_set_amp_gain_8ch_put()
227 dev_err(component->dev, "Failed to write 0x%x=0x%x\n", in rt715_sdca_set_amp_gain_8ch_put()
239 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_set_amp_gain_get() local
242 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_set_amp_gain_get()
249 dev_err(component->dev, "Failed to read 0x%x, ret=%d\n", in rt715_sdca_set_amp_gain_get()
262 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_set_amp_gain_4ch_get() local
263 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_set_amp_gain_4ch_get()
274 dev_err(component->dev, "Failed to read 0x%x, ret=%d\n", in rt715_sdca_set_amp_gain_4ch_get()
287 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_set_amp_gain_8ch_get() local
288 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_set_amp_gain_8ch_get()
300 dev_err(component->dev, "Failed to read 0x%x, ret=%d\n", in rt715_sdca_set_amp_gain_8ch_get()
309 dev_err(component->dev, "Failed to read 0x%x, ret=%d\n", in rt715_sdca_set_amp_gain_8ch_get()
325 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_get_volsw() local
333 val = snd_soc_component_read(component, reg_base + i); in rt715_sdca_get_volsw()
338 val = snd_soc_component_read(component, reg_base + 1 + i); in rt715_sdca_get_volsw()
351 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt715_sdca_put_volsw() local
352 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_put_volsw()
387 err = snd_soc_component_update_bits(component, reg + i * 2, val_mask, in rt715_sdca_put_volsw()
392 err = snd_soc_component_update_bits(component, reg + 1 + i * 2, in rt715_sdca_put_volsw()
513 struct snd_soc_component *component = in rt715_sdca_mux_get() local
515 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_mux_get()
549 struct snd_soc_component *component = in rt715_sdca_mux_put() local
553 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_mux_put()
662 struct snd_soc_component *component = in rt715_sdca_pde23_24_event() local
664 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_pde23_24_event()
762 static int rt715_sdca_probe(struct snd_soc_component *component) in rt715_sdca_probe() argument
764 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_probe()
770 ret = pm_runtime_resume(component->dev); in rt715_sdca_probe()
807 struct snd_soc_component *component = dai->component; in rt715_sdca_pcm_hw_params() local
808 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_pcm_hw_params()
837 dev_err(component->dev, "Invalid DAI id %d\n", dai->id); in rt715_sdca_pcm_hw_params()
844 dev_err(component->dev, "Unable to configure port, retval:%d\n", in rt715_sdca_pcm_hw_params()
896 dev_err(component->dev, "Unsupported sample rate %d\n", in rt715_sdca_pcm_hw_params()
911 struct snd_soc_component *component = dai->component; in rt715_sdca_pcm_hw_free() local
912 struct rt715_sdca_priv *rt715 = snd_soc_component_get_drvdata(component); in rt715_sdca_pcm_hw_free()