Lines Matching refs:component
298 if (!snd_soc_card_is_instantiated(rt711->component->card)) in rt711_sdca_jack_detect_handler()
482 dev_warn(rt711->component->dev, "Wrong JD source\n"); in rt711_sdca_jack_init()
502 static int rt711_sdca_set_jack_detect(struct snd_soc_component *component, in rt711_sdca_set_jack_detect() argument
505 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_set_jack_detect()
514 ret = pm_runtime_resume_and_get(component->dev); in rt711_sdca_set_jack_detect()
517 dev_err(component->dev, "%s: failed to resume %d\n", __func__, ret); in rt711_sdca_set_jack_detect()
522 dev_dbg(component->dev, "%s: skipping jack init for now\n", __func__); in rt711_sdca_set_jack_detect()
528 pm_runtime_mark_last_busy(component->dev); in rt711_sdca_set_jack_detect()
529 pm_runtime_put_autosuspend(component->dev); in rt711_sdca_set_jack_detect()
538 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_sdca_set_gain_put() local
541 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_set_gain_put()
622 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_sdca_set_gain_get() local
623 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_set_gain_get()
734 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_sdca_fu1e_capture_get() local
735 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu1e_capture_get()
745 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_sdca_fu1e_capture_put() local
746 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu1e_capture_put()
765 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_sdca_fu0f_capture_get() local
766 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu0f_capture_get()
776 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in rt711_sdca_fu0f_capture_put() local
777 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu0f_capture_put()
832 struct snd_soc_component *component = in rt711_sdca_mux_get() local
834 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_mux_get()
855 struct snd_soc_component *component = in rt711_sdca_mux_put() local
859 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_mux_put()
920 struct snd_soc_component *component = in rt711_sdca_fu05_event() local
922 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu05_event()
953 struct snd_soc_component *component = in rt711_sdca_fu0f_event() local
955 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu0f_event()
973 struct snd_soc_component *component = in rt711_sdca_fu1e_event() local
975 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_fu1e_event()
993 struct snd_soc_component *component = in rt711_sdca_pde28_event() local
995 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_pde28_event()
1018 struct snd_soc_component *component = in rt711_sdca_pde29_event() local
1020 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_pde29_event()
1043 struct snd_soc_component *component = in rt711_sdca_pde2a_event() local
1045 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_pde2a_event()
1068 struct snd_soc_component *component = in rt711_sdca_line1_power_event() local
1070 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_line1_power_event()
1107 struct snd_soc_component *component = in rt711_sdca_line2_power_event() local
1109 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_line2_power_event()
1214 static int rt711_sdca_probe(struct snd_soc_component *component) in rt711_sdca_probe() argument
1216 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_probe()
1220 rt711->component = component; in rt711_sdca_probe()
1225 ret = pm_runtime_resume(component->dev); in rt711_sdca_probe()
1262 struct snd_soc_component *component = dai->component; in rt711_sdca_pcm_hw_params() local
1263 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_pcm_hw_params()
1301 dev_err(component->dev, "Unsupported channels %d\n", in rt711_sdca_pcm_hw_params()
1321 dev_err(component->dev, "Rate %d is not supported\n", in rt711_sdca_pcm_hw_params()
1343 struct snd_soc_component *component = dai->component; in rt711_sdca_pcm_hw_free() local
1344 struct rt711_sdca_priv *rt711 = snd_soc_component_get_drvdata(component); in rt711_sdca_pcm_hw_free()