Searched refs:afreq (Results 1 – 2 of 2) sorted by relevance
686 u32 pm = 999, div2, psr, stccr, mask, afreq, factor, i; in fsl_ssi_set_bclk() local740 afreq = clkrate / (i + 1); in fsl_ssi_set_bclk()742 if (freq == afreq) in fsl_ssi_set_bclk()744 else if (freq / afreq == 1) in fsl_ssi_set_bclk()745 sub = freq - afreq; in fsl_ssi_set_bclk()746 else if (afreq / freq == 1) in fsl_ssi_set_bclk()747 sub = afreq - freq; in fsl_ssi_set_bclk()
388 const unsigned int afreq = 128 * audio_freq; in tegra_hdmi_get_audio_config() local389 const unsigned int min_n = afreq / 1500; in tegra_hdmi_get_audio_config()390 const unsigned int max_n = afreq / 300; in tegra_hdmi_get_audio_config()391 const unsigned int ideal_n = afreq / 1000; in tegra_hdmi_get_audio_config()406 do_div(aval_f, afreq); in tegra_hdmi_get_audio_config()413 do_div(cts_f, afreq); in tegra_hdmi_get_audio_config()