Home
last modified time | relevance | path

Searched refs:rate_out (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/sound/soc/mediatek/mt8186/
Dmt8186-dai-src.c136 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()
[all …]
/linux-6.12.1/drivers/clk/
Dclk-cs2000-cp.c200 static u32 cs2000_rate_to_ratio(u32 rate_in, u32 rate_out, bool lf_ratio) in cs2000_rate_to_ratio() argument
211 ratio = (u64)rate_out << multiplier; in cs2000_rate_to_ratio()
219 u64 rate_out; in cs2000_ratio_to_rate() local
229 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() argument
243 val = cs2000_rate_to_ratio(rate_in, rate_out, priv->lf_ratio); in cs2000_ratio_set()
/linux-6.12.1/sound/soc/mediatek/mt8365/
Dmt8365-dai-i2s.c341 unsigned int rate_out, in mt8365_afe_set_2nd_i2s_asrc() argument
358 ofs = mt8365_afe_fs_timing(rate_out); in mt8365_afe_set_2nd_i2s_asrc()