Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/dai/intel/dmic/
Ddmic_nhlt.c132 int p_mcic, p_clkdiv, p_mfir, rate_div; in dai_nhlt_get_clock_div() local
146 rate_div = p_clkdiv * p_mcic * p_mfir; in dai_nhlt_get_clock_div()
148 dmic->dai_config_params.dai_index, rate_div, p_clkdiv, p_mcic, p_mfir); in dai_nhlt_get_clock_div()
150 if (!rate_div) { in dai_nhlt_get_clock_div()
155 return rate_div; in dai_nhlt_get_clock_div()
160 int rate_div; in dai_nhlt_update_rate() local
162 rate_div = dai_nhlt_get_clock_div(dmic, pdm); in dai_nhlt_update_rate()
163 if (rate_div < 0) { in dai_nhlt_update_rate()
164 return rate_div; in dai_nhlt_update_rate()
168 rate_div; in dai_nhlt_update_rate()
[all …]