Lines Matching refs:rate
39 unsigned int rate) in adda_dl_rate_transform() argument
41 switch (rate) { in adda_dl_rate_transform()
66 __func__, rate); in adda_dl_rate_transform()
72 unsigned int rate) in adda_ul_rate_transform() argument
74 switch (rate) { in adda_ul_rate_transform()
89 __func__, rate); in adda_ul_rate_transform()
235 unsigned int rate = params_rate(params); in mtk_dai_adda_hw_params() local
238 __func__, dai->id, substream->stream, rate); in mtk_dai_adda_hw_params()
249 dl_src2_con0 = adda_dl_rate_transform(afe, rate) << 28; in mtk_dai_adda_hw_params()
252 switch (rate) { in mtk_dai_adda_hw_params()
270 if (rate == 8000 || rate == 16000) in mtk_dai_adda_hw_params()
273 if (rate < 96000) { in mtk_dai_adda_hw_params()
299 voice_mode = adda_ul_rate_transform(afe, rate); in mtk_dai_adda_hw_params()
306 if (rate >= 96000) { /* hires */ in mtk_dai_adda_hw_params()