Searched refs:rate_out (Results 1 – 3 of 3) sorted by relevance
136 unsigned int rate_out, in get_iir_coeff() argument139 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()[all …]
200 static u32 cs2000_rate_to_ratio(u32 rate_in, u32 rate_out, bool lf_ratio) in cs2000_rate_to_ratio() argument211 ratio = (u64)rate_out << multiplier; in cs2000_rate_to_ratio()219 u64 rate_out; in cs2000_ratio_to_rate() local229 rate_out = (u64)ratio * rate_in; in cs2000_ratio_to_rate()230 return rate_out >> multiplier; in cs2000_ratio_to_rate()234 int ch, u32 rate_in, u32 rate_out) in cs2000_ratio_set() argument243 val = cs2000_rate_to_ratio(rate_in, rate_out, priv->lf_ratio); in cs2000_ratio_set()
341 unsigned int rate_out, in mt8365_afe_set_2nd_i2s_asrc() argument358 ofs = mt8365_afe_fs_timing(rate_out); in mt8365_afe_set_2nd_i2s_asrc()