Home
last modified time | relevance | path

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

12

/openbmc/linux/sound/soc/codecs/
H A 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 …]
H A Dmt6359.c171 void mt6359_set_mtkaif_protocol(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_protocol() argument
174 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_protocol()
180 void mt6359_mtkaif_calibration_enable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_enable() argument
182 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_enable()
206 void mt6359_mtkaif_calibration_disable(struct snd_soc_component *cmpnt) in mt6359_mtkaif_calibration_disable() argument
208 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_disable()
232 void mt6359_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt, in mt6359_set_mtkaif_calibration_phase() argument
235 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_calibration_phase()
820 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_sgen_event() local
821 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event()
[all …]
H A 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()
863 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mt_clksq_event() local
864 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_clksq_event()
[all …]
/openbmc/linux/sound/soc/sunxi/
H A 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 …]
/openbmc/linux/sound/soc/tegra/
H A Dtegra210_peq.c104 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_peq_get() local
105 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_get()
127 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_peq_put() local
128 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_put()
150 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_peq_ram_get() local
151 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_ram_get()
153 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_peq_ram_get()
156 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_ram_get()
161 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_ram_get()
173 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_peq_ram_put() local
[all …]
H A Dtegra210_mbdrc.c238 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_get() local
239 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get()
254 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_put() local
255 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put()
270 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_get_enum() local
271 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get_enum()
285 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_put_enum() local
286 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put_enum()
308 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_band_params_get() local
309 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_band_params_get()
[all …]
H A 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 …]
H A 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 …]
H A Dtegra210_sfc.c3094 static int tegra210_sfc_write_coeff_ram(struct snd_soc_component *cmpnt) in tegra210_sfc_write_coeff_ram() argument
3096 struct tegra210_sfc *sfc = dev_get_drvdata(cmpnt->dev); in tegra210_sfc_write_coeff_ram()
3105 dev_err(cmpnt->dev, in tegra210_sfc_write_coeff_ram()
3271 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in tegra210_sfc_init() local
3273 return tegra210_sfc_write_coeff_ram(cmpnt); in tegra210_sfc_init()
3279 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_sfc_iget_stereo_to_mono() local
3280 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iget_stereo_to_mono()
3290 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_sfc_iput_stereo_to_mono() local
3291 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iput_stereo_to_mono()
3305 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_sfc_iget_mono_to_stereo() local
[all …]
H A Dtegra210_ope.c96 static int tegra210_ope_component_probe(struct snd_soc_component *cmpnt) in tegra210_ope_component_probe() argument
98 struct tegra210_ope *ope = dev_get_drvdata(cmpnt->dev); in tegra210_ope_component_probe()
100 tegra210_peq_component_init(cmpnt); in tegra210_ope_component_probe()
101 tegra210_mbdrc_component_init(cmpnt); in tegra210_ope_component_probe()
114 snd_soc_component_init_regmap(cmpnt, ope->regmap); in tegra210_ope_component_probe()
201 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_ope_get_data_dir() local
202 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_ope_get_data_dir()
212 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_ope_put_data_dir() local
213 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_ope_put_data_dir()
H A Dtegra210_admaif.c425 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_pget_mono_to_stereo() local
426 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pget_mono_to_stereo()
438 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_pput_mono_to_stereo() local
439 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pput_mono_to_stereo()
454 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_cget_mono_to_stereo() local
455 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cget_mono_to_stereo()
467 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_cput_mono_to_stereo() local
468 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cput_mono_to_stereo()
483 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_admaif_pget_stereo_to_mono() local
484 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pget_stereo_to_mono()
[all …]
H A 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()
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-misc-control.c77 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_get() local
78 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_get()
89 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_set() local
90 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_set()
131 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_rate_get() local
132 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_rate_get()
143 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_rate_set() local
144 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_rate_set()
175 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_sgen_amplitude_get() local
176 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_sgen_amplitude_get()
[all …]
H A Dmt8186-dai-tdm.c103 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_en_event() local
104 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_en_event()
109 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_tdm_en_event()
130 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_tdm_mck_en_event() local
131 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_tdm_mck_en_event()
136 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x, dai_id %d\n", in mtk_tdm_mck_en_event()
202 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_mclk_connect() local
203 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_connect()
215 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_tdm_mclk_apll_connect() local
216 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_apll_connect()
[all …]
H A Dmt8186-dai-adda.c245 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
246 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
286 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_pad_top_event() local
287 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event()
308 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
309 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
388 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
389 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
413 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_adda_dmic_get() local
414 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_adda_dmic_get()
[all …]
H A Dmt8186-dai-i2s.c116 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_i2s_hd_get() local
117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_get()
129 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8186_i2s_hd_set() local
130 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_set()
361 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_i2s_en_event() local
362 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event()
367 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_i2s_en_event()
388 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
389 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
391 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_apll_event()
[all …]
/openbmc/linux/sound/soc/mediatek/mt8195/
H A 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 …]
/openbmc/linux/sound/soc/mediatek/mt8192/
H A 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()
339 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ch34_ul_event() local
340 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_ul_event()
401 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_pad_top_event() local
402 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event()
423 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
424 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
531 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
532 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
[all …]
H A 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_dbg(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_dbg(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_dbg(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 …]
H A Dmt8192-dai-i2s.c138 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8192_i2s_hd_get() local
139 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_get()
157 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8192_i2s_hd_set() local
158 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_set()
586 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_i2s_en_event() local
587 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_i2s_en_event()
597 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_i2s_en_event()
618 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
619 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
621 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_apll_event()
[all …]
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-dai-adda.c162 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local
163 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event()
183 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local
184 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event()
220 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local
221 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event()
260 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_adda_hires_connect() local
261 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adda_hires_connect()
397 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8188_adda_dmic_get() local
398 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8188_adda_dmic_get()
[all …]
/openbmc/linux/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c1049 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_band_get() local
1050 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_get()
1059 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_band_set() local
1060 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_set()
1074 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_loopback_get() local
1075 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_get()
1085 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_loopback_set() local
1086 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_set()
1101 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in btcvsd_tx_mute_get() local
1102 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_tx_mute_get()
[all …]
/openbmc/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-i2s.c121 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_i2s_hd_get() local
122 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_get()
140 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in mt8183_i2s_hd_set() local
141 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8183_i2s_hd_set()
274 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_apll_event() local
275 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event()
301 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_mclk_en_event() local
302 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event()
419 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_afe_i2s_share_connect() local
420 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect()
[all …]
H A 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()
H A 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()

12