Home
last modified time | relevance | path

Searched refs:ul_rate (Results 1 – 7 of 7) sorted by relevance

/sound/soc/mediatek/mt8186/
Dmt8186-dai-src.c14 int ul_rate; member
178 int rate_out = src_priv->ul_rate; in mtk_set_src_1_param()
248 int rate_out = src_priv->ul_rate; in mtk_set_src_2_param()
335 src_priv->dl_rate, src_priv->ul_rate); in mtk_hw_src_event()
498 src_priv->dl_rate, src_priv->ul_rate); in mtk_afe_src_en_connect()
500 return (src_priv->dl_rate > 0 && src_priv->ul_rate > 0) ? 1 : 0; in mtk_afe_src_en_connect()
573 src_priv->ul_rate = rate; in mtk_dai_src_hw_params()
602 src_priv->ul_rate = 0; in mtk_dai_src_hw_free()
Dmt8186-dai-adda.c69 int ul_rate; member
570 return (adda_priv->ul_rate > HIRES_THRESHOLD) ? 1 : 0; in mtk_afe_adc_hires_connect()
726 adda_priv->ul_rate = rate; in mtk_dai_adda_hw_params()
/sound/soc/mediatek/mt8192/
Dmt8192-dai-adda.c733 unsigned int ul_rate, reg_value; in mtk_stf_event() local
736 regmap_read(afe->regmap, AFE_ADDA_UL_SRC_CON0, &ul_rate); in mtk_stf_event()
737 ul_rate = ul_rate >> UL_VOICE_MODE_CH1_CH2_CTL_SFT; in mtk_stf_event()
738 ul_rate = ul_rate & UL_VOICE_MODE_CH1_CH2_CTL_MASK; in mtk_stf_event()
740 if (ul_rate == MTK_AFE_ADDA_UL_RATE_48K) { in mtk_stf_event()
743 } else if (ul_rate == MTK_AFE_ADDA_UL_RATE_32K) { in mtk_stf_event()
754 __func__, w->name, event, ul_rate, reg_value); in mtk_stf_event()
/sound/soc/codecs/
Dmt6351.c193 unsigned int ul_rate; member
276 priv->ul_rate = rate; in mt6351_codec_dai_hw_params()
844 __func__, event, priv->ul_rate); in mt_aif_out_event()
861 get_cap_reg_val(cmpnt, priv->ul_rate) << 1); in mt_aif_out_event()
864 if (priv->ul_rate <= 48000) { in mt_aif_out_event()
879 if (priv->ul_rate <= 48000) { in mt_aif_out_event()
Dmt6358.c86 unsigned int ul_rate; member
1548 __func__, event, priv->ul_rate); in mt_aif_out_event()
2334 priv->ul_rate = rate; in mt6358_codec_dai_hw_params()
Dmt6359.c2540 priv->ul_rate[id] = rate; in mt6359_codec_dai_hw_params()
Dmt6359.h4267 unsigned int ul_rate[MT6359_AIF_NUM]; member