Lines Matching refs:component
45 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in cs35l56_dspwait_get_volsw() local
46 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dspwait_get_volsw()
55 struct snd_soc_component *component = snd_kcontrol_chip(kcontrol); in cs35l56_dspwait_put_volsw() local
56 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dspwait_put_volsw()
73 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cs35l56->component); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
74 const char *prefix = cs35l56->component->name_prefix; in cs35l56_sync_asp1_mixer_widgets_with_firmware()
134 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); in cs35l56_dspwait_asp1tx_get() local
135 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dspwait_asp1tx_get()
159 struct snd_soc_component *component = snd_soc_dapm_kcontrol_component(kcontrol); in cs35l56_dspwait_asp1tx_put() local
161 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dspwait_asp1tx_put()
283 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l56_asp1_cfg_event() local
284 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_asp1_cfg_event()
298 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l56_play_event() local
299 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_play_event()
442 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l56_dsp_event() local
443 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dsp_event()
452 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(codec_dai->component); in cs35l56_asp_dai_set_fmt()
529 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(dai->component); in cs35l56_asp_dai_set_tdm_slot()
575 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(dai->component); in cs35l56_asp_dai_hw_params()
633 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(dai->component); in cs35l56_asp_dai_set_sysclk()
669 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(dai->component); in cs35l56_sdw_dai_set_tdm_slot()
682 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(dai->component); in cs35l56_sdw_dai_hw_params()
732 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(dai->component); in cs35l56_sdw_dai_hw_free()
934 static int cs35l56_component_probe(struct snd_soc_component *component) in cs35l56_component_probe() argument
936 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_component_probe()
937 struct dentry *debugfs_root = component->debugfs_root; in cs35l56_component_probe()
943 (snd_soc_card_get_pci_ssid(component->card, &vendor, &device) == 0)) { in cs35l56_component_probe()
958 cs35l56->component = component; in cs35l56_component_probe()
959 wm_adsp2_component_probe(&cs35l56->dsp, component); in cs35l56_component_probe()
977 static void cs35l56_component_remove(struct snd_soc_component *component) in cs35l56_component_remove() argument
979 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_component_remove()
986 wm_adsp2_component_remove(&cs35l56->dsp, component); in cs35l56_component_remove()
991 cs35l56->component = NULL; in cs35l56_component_remove()
994 static int cs35l56_set_bias_level(struct snd_soc_component *component, in cs35l56_set_bias_level() argument
997 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_set_bias_level()
1005 if (snd_soc_component_get_bias_level(component) == SND_SOC_BIAS_OFF) in cs35l56_set_bias_level()
1052 if (cs35l56->component) in cs35l56_system_suspend()
1173 if (!cs35l56->component) in cs35l56_system_resume()