Lines Matching refs:component
41 struct snd_soc_component *component; member
235 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() local
236 struct cs35l34_private *priv = snd_soc_component_get_drvdata(component); in cs35l34_sdin_event()
248 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event()
270 struct snd_soc_component *component = dai->component; in cs35l34_set_tdm_slot() local
271 struct cs35l34_private *priv = snd_soc_component_get_drvdata(component); in cs35l34_set_tdm_slot()
282 snd_soc_component_update_bits(component, CS35L34_TDM_RX_CTL_1_AUDIN, in cs35l34_set_tdm_slot()
292 snd_soc_component_update_bits(component, CS35L34_TDM_TX_CTL_3_VPMON, in cs35l34_set_tdm_slot()
295 snd_soc_component_update_bits(component, CS35L34_TDM_TX_CTL_4_VBSTMON, in cs35l34_set_tdm_slot()
303 snd_soc_component_update_bits(component, CS35L34_TDM_TX_CTL_1_VMON, in cs35l34_set_tdm_slot()
308 snd_soc_component_update_bits(component, CS35L34_TDM_TX_CTL_2_IMON, in cs35l34_set_tdm_slot()
313 snd_soc_component_update_bits(component, CS35L34_TDM_TX_CTL_3_VPMON, in cs35l34_set_tdm_slot()
318 snd_soc_component_update_bits(component, in cs35l34_set_tdm_slot()
326 snd_soc_component_update_bits(component, reg, in cs35l34_set_tdm_slot()
340 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_main_amp_event() local
341 struct cs35l34_private *priv = snd_soc_component_get_drvdata(component); in cs35l34_main_amp_event()
380 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_mclk_event() local
381 struct cs35l34_private *priv = snd_soc_component_get_drvdata(component); in cs35l34_mclk_event()
522 struct snd_soc_component *component = codec_dai->component; in cs35l34_set_dai_fmt() local
523 struct cs35l34_private *priv = snd_soc_component_get_drvdata(component); in cs35l34_set_dai_fmt()
544 struct snd_soc_component *component = dai->component; in cs35l34_pcm_hw_params() local
545 struct cs35l34_private *priv = snd_soc_component_get_drvdata(component); in cs35l34_pcm_hw_params()
552 dev_err(component->dev, "ERROR: Invalid mclk %d and/or srate %d\n", in cs35l34_pcm_hw_params()
560 dev_err(component->dev, "Failed to set clock state %d\n", ret); in cs35l34_pcm_hw_params()
588 struct snd_soc_component *component = dai->component; in cs35l34_set_tristate() local
591 snd_soc_component_update_bits(component, CS35L34_PWRCTL3, in cs35l34_set_tristate()
594 snd_soc_component_update_bits(component, CS35L34_PWRCTL3, in cs35l34_set_tristate()
602 struct snd_soc_component *component = dai->component; in cs35l34_dai_set_sysclk() local
603 struct cs35l34_private *cs35l34 = snd_soc_component_get_drvdata(component); in cs35l34_dai_set_sysclk()
632 dev_err(component->dev, "ERROR: Invalid Frequency %d\n", freq); in cs35l34_dai_set_sysclk()
674 struct snd_soc_component *component = cs35l34->component; in cs35l34_boost_inductor() local
706 dev_err(component->dev, "%s Invalid Inductor Value %d uH\n", in cs35l34_boost_inductor()
713 static int cs35l34_probe(struct snd_soc_component *component) in cs35l34_probe() argument
716 struct cs35l34_private *cs35l34 = snd_soc_component_get_drvdata(component); in cs35l34_probe()
718 pm_runtime_get_sync(component->dev); in cs35l34_probe()
771 pm_runtime_put_sync(component->dev); in cs35l34_probe()
865 struct snd_soc_component *component = cs35l34->component; in cs35l34_irq_thread() local
888 dev_err(component->dev, "Cal error\n"); in cs35l34_irq_thread()
892 dev_dbg(component->dev, "Cal error release\n"); in cs35l34_irq_thread()
908 dev_err(component->dev, "Alive error\n"); in cs35l34_irq_thread()
911 dev_crit(component->dev, "Amp short error\n"); in cs35l34_irq_thread()
915 dev_dbg(component->dev, in cs35l34_irq_thread()
931 dev_crit(component->dev, "Over temperature warning\n"); in cs35l34_irq_thread()
935 dev_dbg(component->dev, in cs35l34_irq_thread()
951 dev_crit(component->dev, "Over temperature error\n"); in cs35l34_irq_thread()
955 dev_dbg(component->dev, in cs35l34_irq_thread()
971 dev_crit(component->dev, "VBST too high error; powering off!\n"); in cs35l34_irq_thread()
979 dev_crit(component->dev, "LBST short error; powering off!\n"); in cs35l34_irq_thread()