Lines Matching refs:rate_out
136 unsigned int rate_out, 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()
178 int rate_out = src_priv->ul_rate; in mtk_set_src_1_param() local
179 unsigned int out_freq_mode = mtk_get_src_freq_mode(afe, rate_out); 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()
248 int rate_out = src_priv->ul_rate; in mtk_set_src_2_param() local
249 unsigned int out_freq_mode = mtk_get_src_freq_mode(afe, rate_out); 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()