Lines Matching refs:component
246 if (!snd_soc_card_is_instantiated(rt711->component->card)) in rt711_jack_detect_handler()
364 snd_soc_component_get_dapm(rt711->component); in rt711_jack_init()
431 dev_warn(rt711->component->dev, "Wrong JD source\n"); in rt711_jack_init()
457 static int rt711_set_jack_detect(struct snd_soc_component *component, in rt711_set_jack_detect() argument
460 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_set_jack_detect()
469 ret = pm_runtime_resume_and_get(component->dev); in rt711_set_jack_detect()
472 dev_err(component->dev, "%s: failed to resume %d\n", __func__, ret); in rt711_set_jack_detect()
477 dev_dbg(component->dev, "%s: skipping jack init for now\n", __func__); in rt711_set_jack_detect()
483 pm_runtime_mark_last_busy(component->dev); in rt711_set_jack_detect()
484 pm_runtime_put_autosuspend(component->dev); in rt711_set_jack_detect()
507 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_set_amp_gain_put() local
509 snd_soc_component_get_dapm(component); in rt711_set_amp_gain_put()
512 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_set_amp_gain_put()
612 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_set_amp_gain_get() local
613 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_set_amp_gain_get()
686 struct snd_soc_component *component = in rt711_mux_get() local
688 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_mux_get()
703 dev_err(component->dev, "%s: sdw read failed: %d\n", in rt711_mux_get()
716 struct snd_soc_component *component = in rt711_mux_put() local
720 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_mux_put()
742 dev_err(component->dev, "%s: sdw read failed: %d\n", in rt711_mux_put()
787 struct snd_soc_component *component = in rt711_dac_surround_event() local
789 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_dac_surround_event()
818 struct snd_soc_component *component = in rt711_adc_09_event() local
820 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_adc_09_event()
838 struct snd_soc_component *component = in rt711_adc_08_event() local
840 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_adc_08_event()
901 static int rt711_set_bias_level(struct snd_soc_component *component, in rt711_set_bias_level() argument
905 snd_soc_component_get_dapm(component); in rt711_set_bias_level()
906 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_set_bias_level()
940 static int rt711_probe(struct snd_soc_component *component) in rt711_probe() argument
942 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_probe()
946 rt711->component = component; in rt711_probe()
951 ret = pm_runtime_resume(component->dev); in rt711_probe()
989 struct snd_soc_component *component = dai->component; in rt711_pcm_hw_params() local
990 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_pcm_hw_params()
1031 dev_err(component->dev, "Unsupported channels %d\n", in rt711_pcm_hw_params()
1067 struct snd_soc_component *component = dai->component; in rt711_pcm_hw_free() local
1068 struct rt711_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_pcm_hw_free()