Lines Matching refs:rate_in
135 static const unsigned int *get_iir_coeff(unsigned int rate_in, in get_iir_coeff() argument
139 if (rate_in == 32000 && rate_out == 16000) { in get_iir_coeff()
142 } else if (rate_in == 44100 && rate_out == 16000) { in get_iir_coeff()
145 } else if (rate_in == 44100 && rate_out == 32000) { in get_iir_coeff()
148 } else if ((rate_in == 48000 && rate_out == 16000) || in get_iir_coeff()
149 (rate_in == 96000 && rate_out == 32000)) { in get_iir_coeff()
152 } else if (rate_in == 48000 && rate_out == 32000) { in get_iir_coeff()
155 } else if (rate_in == 48000 && rate_out == 44100) { in get_iir_coeff()
158 } else if (rate_in == 96000 && rate_out == 16000) { in get_iir_coeff()
161 } else if ((rate_in == 96000 && rate_out == 44100) || in get_iir_coeff()
162 (rate_in == 48000 && rate_out == 22050)) { in get_iir_coeff()
177 int rate_in = src_priv->dl_rate; in mtk_set_src_1_param() local
180 unsigned int in_freq_mode = mtk_get_src_freq_mode(afe, rate_in); in mtk_set_src_1_param()
198 if (rate_in > rate_out) { in mtk_set_src_1_param()
200 const unsigned int *iir_coeff = get_iir_coeff(rate_in, rate_out, in mtk_set_src_1_param()
247 int rate_in = src_priv->dl_rate; in mtk_set_src_2_param() local
250 unsigned int in_freq_mode = mtk_get_src_freq_mode(afe, rate_in); in mtk_set_src_2_param()
268 if (rate_in > rate_out) { in mtk_set_src_2_param()
270 const unsigned int *iir_coeff = get_iir_coeff(rate_in, rate_out, in mtk_set_src_2_param()