/linux-6.3-rc2/sound/soc/codecs/ |
A D | mt6351.c | 349 regmap_update_bits(cmpnt->regmap, in hp_gain_ramp_set() 729 hp_zcd_disable(cmpnt); in mt_hp_event() 741 regmap_update_bits(cmpnt->regmap, in mt_hp_event() 744 regmap_update_bits(cmpnt->regmap, in mt_hp_event() 765 set_hp_gain_zero(cmpnt); in mt_hp_event() 784 hp_zcd_enable(cmpnt); in mt_hp_event() 800 hp_zcd_disable(cmpnt); in mt_hp_event() 805 set_hp_gain_zero(cmpnt); in mt_hp_event() 816 regmap_update_bits(cmpnt->regmap, in mt_hp_event() 821 regmap_update_bits(cmpnt->regmap, in mt_hp_event() [all …]
|
A D | mt6359.c | 157 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() 168 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_enable() 194 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_mtkaif_calibration_disable() 221 struct mt6359_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6359_set_mtkaif_calibration_phase() 2529 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_hw_params() local 2548 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_startup() local 2563 struct snd_soc_component *cmpnt = dai->component; in mt6359_codec_dai_shutdown() local 2690 snd_soc_component_init_regmap(cmpnt, priv->regmap); in mt6359_codec_probe() 2692 return mt6359_codec_init_reg(cmpnt); in mt6359_codec_probe() [all …]
|
A D | mt6358.c | 102 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() 257 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_enable() 281 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_mtkaif_calibration_disable() 306 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt6358_set_mtkaif_calibration_phase() 864 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_clksq_event() 887 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_sgen_event() 926 struct mt6358_priv *priv = snd_soc_component_get_drvdata(cmpnt); in mt_aif_in_event() 2320 struct snd_soc_component *cmpnt = dai->component; in mt6358_codec_dai_hw_params() local 2402 static int mt6358_codec_probe(struct snd_soc_component *cmpnt) in mt6358_codec_probe() argument [all …]
|
/linux-6.3-rc2/sound/soc/sunxi/ |
A D | sun8i-codec-analog.c | 395 struct device *dev = cmpnt->dev; in sun8i_codec_add_headphone() 433 struct device *dev = cmpnt->dev; in sun8i_codec_add_mbias() 454 struct device *dev = cmpnt->dev; in sun8i_codec_add_hmic() 491 struct device *dev = cmpnt->dev; in sun8i_codec_add_linein() 572 struct device *dev = cmpnt->dev; in sun8i_codec_add_lineout() 637 struct device *dev = cmpnt->dev; in sun8i_codec_add_mic2() 693 struct device *dev = cmpnt->dev; in sun8i_codec_analog_add_mixer() 738 struct device *dev = cmpnt->dev; in sun8i_codec_analog_cmpnt_probe() 761 ret = sun8i_codec_add_hmic(cmpnt); in sun8i_codec_analog_cmpnt_probe() 779 ret = sun8i_codec_add_mbias(cmpnt); in sun8i_codec_analog_cmpnt_probe() [all …]
|
/linux-6.3-rc2/sound/soc/tegra/ |
A D | tegra210_peq.c | 105 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_get() 128 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_peq_put() 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() 176 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_peq_ram_put() 182 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_ram_put() 187 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_ram_put() 362 pm_runtime_get_sync(cmpnt->dev); in tegra210_peq_component_init() 392 pm_runtime_put_sync(cmpnt->dev); in tegra210_peq_component_init() [all …]
|
A D | tegra210_mbdrc.c | 239 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get() 255 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put() 271 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get_enum() 286 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put_enum() 362 for (i = 0; i < num_regs; i += 4, regs += cmpnt->val_bytes) { in tegra210_mbdrc_threshold_get() 390 for (i = 0; i < num_regs; i += 4, regs += cmpnt->val_bytes) { in tegra210_mbdrc_threshold_put() 418 memset(data, 0, params->soc.num_regs * cmpnt->val_bytes); in tegra210_mbdrc_biquad_coeffs_get() 430 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_mbdrc_biquad_coeffs_put() 769 int tegra210_mbdrc_hw_params(struct snd_soc_component *cmpnt) in tegra210_mbdrc_hw_params() argument 805 pm_runtime_get_sync(cmpnt->dev); in tegra210_mbdrc_component_init() [all …]
|
A D | tegra210_mvc.c | 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() 187 dev_err(cmpnt->dev, in tegra210_mvc_volume_switch_timeout() 205 pm_runtime_get_sync(cmpnt->dev); in tegra210_mvc_update_mute() 207 err = tegra210_mvc_volume_switch_timeout(cmpnt); in tegra210_mvc_update_mute() 236 pm_runtime_put(cmpnt->dev); in tegra210_mvc_update_mute() 299 pm_runtime_get_sync(cmpnt->dev); in tegra210_mvc_update_vol() 301 err = tegra210_mvc_volume_switch_timeout(cmpnt); in tegra210_mvc_update_vol() 338 pm_runtime_put(cmpnt->dev); in tegra210_mvc_update_vol() 415 dev_err(cmpnt->dev, in tegra210_mvc_put_curve_type() [all …]
|
A D | tegra186_asrc.c | 247 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_source() 261 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_ratio_source() 281 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_int() 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() 329 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_ratio_frac() 347 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_ratio_frac() 352 dev_err(cmpnt->dev, in tegra186_asrc_put_ratio_frac() 377 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_get_hwcomp_disable() 391 struct tegra186_asrc *asrc = snd_soc_component_get_drvdata(cmpnt); in tegra186_asrc_put_hwcomp_disable() [all …]
|
A D | tegra210_sfc.c | 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() 3244 return tegra210_sfc_write_coeff_ram(cmpnt); in tegra210_sfc_init() 3251 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iget_stereo_to_mono() 3262 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iput_stereo_to_mono() 3277 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iget_mono_to_stereo() 3288 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_iput_mono_to_stereo() 3303 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_oget_stereo_to_mono() 3314 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_oput_stereo_to_mono() 3329 struct tegra210_sfc *sfc = snd_soc_component_get_drvdata(cmpnt); in tegra210_sfc_oget_mono_to_stereo() [all …]
|
A D | tegra210_ope.c | 96 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()
|
A D | tegra210_admaif.c | 431 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pget_mono_to_stereo() 444 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pput_mono_to_stereo() 460 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cget_mono_to_stereo() 473 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cput_mono_to_stereo() 489 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pget_stereo_to_mono() 502 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_pput_stereo_to_mono() 518 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cget_stereo_to_mono() 531 struct tegra_admaif *admaif = snd_soc_component_get_drvdata(cmpnt); in tegra210_admaif_cput_stereo_to_mono() 713 .cmpnt = &tegra210_admaif_cmpnt, 723 .cmpnt = &tegra186_admaif_cmpnt, [all …]
|
A D | tegra210_mixer.c | 127 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()
|
/linux-6.3-rc2/sound/soc/mediatek/mt8186/ |
A D | mt8186-misc-control.c | 77 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 …]
|
A D | mt8186-dai-tdm.c | 103 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() 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() 203 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_connect() 216 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_mclk_apll_connect() 233 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_hd_connect() 246 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_tdm_apll_connect() 276 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_tdm_hd_get() [all …]
|
A D | mt8186-dai-adda.c | 245 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() 389 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() 414 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_adda_dmic_get() 426 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_adda_dmic_set() 542 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_dac_hires_connect() [all …]
|
A D | mt8186-dai-i2s.c | 117 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_get() 130 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8186_i2s_hd_set() 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() 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() 419 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() 422 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_mclk_en_event() 542 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect() 557 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_hd_connect() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/mt8188/ |
A D | mt8188-dai-adda.c | 164 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_mtkaif_cfg_event() local 165 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event() 185 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_dl_event() local 186 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() 222 struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm); in mtk_adda_ul_event() local 223 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() 250 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_audio_hires_event() 278 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adc_hires_connect() 297 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_dac_hires_connect() 443 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8188_adda_dmic_get() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/mt8195/ |
A D | mt8195-dai-adda.c | 196 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() 218 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() 268 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() 295 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda6_ul_event() 331 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_audio_hires_event() 377 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_adda_hires_connect() 572 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8195_adda6_only_get() 584 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8195_adda6_only_set() 603 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8195_adda_dmic_get() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/mt8192/ |
A D | mt8192-dai-adda.c | 302 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ul_event() 340 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_ul_event() 402 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_pad_top_event() 424 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_mtkaif_cfg_event() 532 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_dl_event() 555 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_adda_ch34_dl_event() 580 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in stf_positive_gain_get() 591 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in stf_positive_gain_set() 615 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_adda_dmic_get() 626 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_adda_dmic_set() [all …]
|
A D | mt8192-dai-tdm.c | 248 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 …]
|
A D | mt8192-dai-i2s.c | 139 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_get() 158 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mt8192_i2s_hd_set() 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() 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() 649 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in i2s_out_tinyconn_event() 705 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() 708 dev_dbg(cmpnt->dev, "%s(), name %s, event 0x%x\n", in mtk_mclk_en_event() 923 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/common/ |
A D | mtk-btcvsd.c | 1057 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_get() 1067 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_band_set() 1082 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_get() 1093 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_loopback_set() 1109 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_tx_mute_get() 1124 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_tx_mute_set() 1137 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_rx_irq_received_get() 1150 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_rx_timeout_get() 1164 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_rx_timestamp_get() 1191 struct mtk_btcvsd_snd *bt = snd_soc_component_get_drvdata(cmpnt); in btcvsd_tx_irq_received_get() [all …]
|
/linux-6.3-rc2/sound/soc/mediatek/mt8183/ |
A D | mt8183-dai-i2s.c | 121 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() 275 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_apll_event() 302 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_mclk_en_event() 420 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_share_connect() 441 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_hd_connect() 470 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_apll_connect() 496 struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt); in mtk_afe_i2s_mclk_connect() [all …]
|
A D | mt8183-dai-adda.c | 146 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()
|
A D | mt8183-dai-tdm.c | 250 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()
|