Home
last modified time | relevance | path

Searched refs:cmpnt (Results 1 – 25 of 30) sorted by relevance

12

/linux-5.19.10/sound/soc/codecs/
Dmt6351.c200 static void set_hp_gain_zero(struct snd_soc_component *cmpnt) in set_hp_gain_zero() argument
202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero()
208 static unsigned int get_cap_reg_val(struct snd_soc_component *cmpnt, in get_cap_reg_val() argument
225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val()
231 static unsigned int get_play_reg_val(struct snd_soc_component *cmpnt, in get_play_reg_val() argument
256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val()
266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params() local
267 struct mt6351_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6351_codec_dai_hw_params()
322 static void hp_gain_ramp_set(struct snd_soc_component *cmpnt, int hp_gain_ctl) in hp_gain_ramp_set() argument
[all …]
Dmt6359.c157 void mt6359_set_mtkaif_protocol(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_protocol() argument
160 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_protocol()
166 void mt6359_mtkaif_calibration_enable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_enable() argument
168 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_enable()
192 void mt6359_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_disable() argument
194 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_disable()
218 void mt6359_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_calibration_phase() argument
221 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_calibration_phase()
731 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() local
732 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event()
[all …]
Dmt6358.c102 int mt6358_set_mtkaif_protocol(struct snd_soc_component *cmpnt, in mt6358_set_mtkaif_protocol() argument
105 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_protocol()
255 int mt6358_mtkaif_calibration_enable(struct snd_soc_component *cmpnt) in mt6358_mtkaif_calibration_enable() argument
257 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_enable()
279 int mt6358_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) in mt6358_mtkaif_calibration_disable() argument
281 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_disable()
303 int mt6358_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, in mt6358_set_mtkaif_calibration_phase() argument
306 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_calibration_phase()
864 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_clksq_event() local
865 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_clksq_event()
[all …]
/linux-5.19.10/sound/soc/sunxi/
Dsun8i-codec-analog.c392 static int sun8i_codec_add_headphone(struct snd_soc_component *cmpnt) in sun8i_codec_add_headphone() argument
394 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_headphone()
395 struct device *dev = cmpnt->dev; in sun8i_codec_add_headphone()
398 ret = snd_soc_add_component_controls(cmpnt, in sun8i_codec_add_headphone()
430 static int sun8i_codec_add_mbias(struct snd_soc_component *cmpnt) in sun8i_codec_add_mbias() argument
432 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_mbias()
433 struct device *dev = cmpnt->dev; in sun8i_codec_add_mbias()
451 static int sun8i_codec_add_hmic(struct snd_soc_component *cmpnt) in sun8i_codec_add_hmic() argument
453 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_hmic()
454 struct device *dev = cmpnt->dev; in sun8i_codec_add_hmic()
[all …]
/linux-5.19.10/sound/soc/tegra/
Dtegra210_mvc.c113 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mvc_get_ctrl_reg() local
114 struct tegra210_mvc *mvc = snd_soc_component_get_drvdata(cmpnt); in tegra210_mvc_get_ctrl_reg()
117 pm_runtime_get_sync(cmpnt->dev); in tegra210_mvc_get_ctrl_reg()
119 pm_runtime_put(cmpnt->dev); in tegra210_mvc_get_ctrl_reg()
177 static int tegra210_mvc_volume_switch_timeout(struct snd_soc_component *cmpnt) in tegra210_mvc_volume_switch_timeout() argument
179 struct tegra210_mvc *mvc = snd_soc_component_get_drvdata(cmpnt); in tegra210_mvc_volume_switch_timeout()
187 dev_err(cmpnt->dev, in tegra210_mvc_volume_switch_timeout()
198 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mvc_update_mute() local
199 struct tegra210_mvc *mvc = snd_soc_component_get_drvdata(cmpnt); in tegra210_mvc_update_mute()
205 pm_runtime_get_sync(cmpnt->dev); in tegra210_mvc_update_mute()
[all …]
Dtegra186_asrc.c246 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra186_asrc_get_ratio_source() local
247 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_source()
260 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra186_asrc_put_ratio_source() local
261 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_ratio_source()
280 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra186_asrc_get_ratio_int() local
281 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_int()
298 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra186_asrc_put_ratio_int() local
299 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_ratio_int()
304 dev_err(cmpnt->dev, in tegra186_asrc_put_ratio_int()
328 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra186_asrc_get_ratio_frac() local
[all …]
Dtegra210_sfc.c3065 static int tegra210_sfc_write_coeff_ram(struct snd_soc_component *cmpnt) in tegra210_sfc_write_coeff_ram() argument
3067 struct tegra210_sfc *sfc = dev_get_drvdata(cmpnt->dev); in tegra210_sfc_write_coeff_ram()
3076 dev_err(cmpnt->dev, in tegra210_sfc_write_coeff_ram()
3242 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in tegra210_sfc_init() local
3244 return tegra210_sfc_write_coeff_ram(cmpnt); in tegra210_sfc_init()
3250 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_sfc_iget_stereo_to_mono() local
3251 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iget_stereo_to_mono()
3261 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_sfc_iput_stereo_to_mono() local
3262 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iput_stereo_to_mono()
3276 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_sfc_iget_mono_to_stereo() local
[all …]
Dtegra210_admaif.c430 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_pget_mono_to_stereo() local
431 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pget_mono_to_stereo()
443 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_pput_mono_to_stereo() local
444 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pput_mono_to_stereo()
459 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_cget_mono_to_stereo() local
460 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cget_mono_to_stereo()
472 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_cput_mono_to_stereo() local
473 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cput_mono_to_stereo()
488 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_pget_stereo_to_mono() local
489 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pget_stereo_to_mono()
[all …]
Dtegra210_mixer.c127 static int tegra210_mixer_configure_gain(struct snd_soc_component *cmpnt, in tegra210_mixer_configure_gain() argument
130 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_configure_gain()
134 pm_runtime_get_sync(cmpnt->dev); in tegra210_mixer_configure_gain()
172 pm_runtime_put(cmpnt->dev); in tegra210_mixer_configure_gain()
182 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mixer_get_gain() local
183 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_get_gain()
201 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mixer_apply_gain() local
202 struct tegra210_mixer *mixer = snd_soc_component_get_drvdata(cmpnt); in tegra210_mixer_apply_gain()
215 err = tegra210_mixer_configure_gain(cmpnt, id, instant_gain); in tegra210_mixer_apply_gain()
217 dev_err(cmpnt->dev, "Failed to apply gain\n"); in tegra210_mixer_apply_gain()
Dtegra210_adx.c169 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_adx_get_byte_map() local
170 struct tegra210_adx *adx = snd_soc_component_get_drvdata(cmpnt); in tegra210_adx_get_byte_map()
189 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_adx_put_byte_map() local
190 struct tegra210_adx *adx = snd_soc_component_get_drvdata(cmpnt); in tegra210_adx_put_byte_map()
Dtegra210_amx.c193 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_amx_get_byte_map() local
196 struct tegra210_amx *amx = snd_soc_component_get_drvdata(cmpnt); in tegra210_amx_get_byte_map()
219 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_amx_put_byte_map() local
220 struct tegra210_amx *amx = snd_soc_component_get_drvdata(cmpnt); in tegra210_amx_put_byte_map()
Dtegra210_ahub.c20 struct snd_soc_component *cmpnt = snd_soc_dapm_kcontrol_component(kctl); in tegra_ahub_get_value_enum() local
21 struct tegra_ahub *ahub = snd_soc_component_get_drvdata(cmpnt); in tegra_ahub_get_value_enum()
33 reg_val = snd_soc_component_read(cmpnt, reg); in tegra_ahub_get_value_enum()
38 (8 * cmpnt->val_bytes * i); in tegra_ahub_get_value_enum()
57 struct snd_soc_component *cmpnt = snd_soc_dapm_kcontrol_component(kctl); in tegra_ahub_put_value_enum() local
58 struct tegra_ahub *ahub = snd_soc_component_get_drvdata(cmpnt); in tegra_ahub_put_value_enum()
72 reg_idx = (value - 1) / (8 * cmpnt->val_bytes); in tegra_ahub_put_value_enum()
73 bit_pos = (value - 1) % (8 * cmpnt->val_bytes); in tegra_ahub_put_value_enum()
89 if (snd_soc_component_test_bits(cmpnt, update[i].reg, in tegra_ahub_put_value_enum()
Dtegra210_admaif.h144 const struct snd_soc_component_driver *cmpnt; member
/linux-5.19.10/sound/soc/mediatek/mt8195/
Dmt8195-dai-adda.c196 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
197 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
217 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
218 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
267 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
268 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
294 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda6_ul_event() local
295 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda6_ul_event()
330 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_audio_hires_event() local
331 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_audio_hires_event()
[all …]
/linux-5.19.10/sound/soc/mediatek/mt8192/
Dmt8192-dai-adda.c301 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
302 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
342 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ch34_ul_event() local
343 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_ul_event()
408 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_pad_top_event() local
409 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event()
430 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
431 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
538 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
539 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
[all …]
Dmt8192-dai-tdm.c248 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() local
249 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event()
259 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_en_event()
280 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event() local
281 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event()
291 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x, dai_id %d\n", in mtk_tdm_bck_en_event()
312 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() local
313 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
323 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x, dai_id %d\n", in mtk_tdm_mck_en_event()
381 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_apll_connect() local
[all …]
Dmt8192-dai-i2s.c139 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8192_i2s_hd_get() local
140 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_get()
158 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8192_i2s_hd_set() local
159 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_set()
587 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_i2s_en_event() local
588 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event()
598 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_i2s_en_event()
619 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
620 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
622 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_apll_event()
[all …]
Dmt8192-dai-pcm.c178 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_pcm_en_event() local
179 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_pcm_en_event()
/linux-5.19.10/sound/soc/mediatek/mt8183/
Dmt8183-dai-i2s.c122 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_i2s_hd_get() local
123 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_get()
141 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_i2s_hd_set() local
142 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_set()
277 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
278 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
280 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_apll_event()
307 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_mclk_en_event() local
308 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event()
311 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_mclk_en_event()
[all …]
Dmt8183-dai-adda.c146 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
147 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
200 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_adda_dmic_get() local
201 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_get()
212 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_adda_dmic_set() local
213 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_adda_dmic_set()
Dmt8183-dai-tdm.c250 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_bck_en_event() local
251 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_bck_en_event()
255 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_bck_en_event()
276 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() local
277 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
281 dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_mck_en_event()
334 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_apll_connect() local
335 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect()
/linux-5.19.10/sound/soc/mediatek/common/
Dmtk-btcvsd.c1058 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_band_get() local
1059 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_get()
1068 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_band_set() local
1069 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_set()
1083 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_loopback_get() local
1084 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_get()
1094 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_loopback_set() local
1095 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_set()
1110 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_tx_mute_get() local
1111 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_tx_mute_get()
[all …]
/linux-5.19.10/sound/soc/intel/atom/
Dsst-atom-controls.c352 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in sst_algo_control_set() local
353 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_algo_control_set()
356 dev_dbg(cmpnt->dev, "control_name=%s\n", kcontrol->id.name); in sst_algo_control_set()
364 dev_err(cmpnt->dev, "Invalid Input- algo type:%d\n", in sst_algo_control_set()
473 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in sst_gain_put() local
474 struct sst_data *drv = snd_soc_component_get_drvdata(cmpnt); in sst_gain_put()
484 dev_dbg(cmpnt->dev, "%s: Volume %d, %d\n", in sst_gain_put()
490 dev_dbg(cmpnt->dev, "%s: Mute %d\n", mc->pname, gv->mute); in sst_gain_put()
495 dev_dbg(cmpnt->dev, "%s: Ramp Delay%d\n", in sst_gain_put()
501 dev_err(cmpnt->dev, "Invalid Input- gain type:%d\n", in sst_gain_put()
[all …]
/linux-5.19.10/sound/soc/fsl/
Dfsl_micfil.c132 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in micfil_quality_get() local
133 struct fsl_micfil *micfil = snd_soc_component_get_drvdata(cmpnt); in micfil_quality_get()
143 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in micfil_quality_set() local
144 struct fsl_micfil *micfil = snd_soc_component_get_drvdata(cmpnt); in micfil_quality_set()
/linux-5.19.10/sound/soc/mediatek/mt6797/
Dmt6797-dai-adda.c134 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
135 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()

12