Home
last modified time | relevance | path

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

/Linux-v5.10/sound/soc/fsl/
Dfsl_ssi.c681 u32 pm = 999, div2, psr, stccr, mask, afreq, factor, i; in fsl_ssi_set_bclk() local
735 afreq = clkrate / (i + 1); in fsl_ssi_set_bclk()
737 if (freq == afreq) in fsl_ssi_set_bclk()
739 else if (freq / afreq == 1) in fsl_ssi_set_bclk()
740 sub = freq - afreq; in fsl_ssi_set_bclk()
741 else if (afreq / freq == 1) in fsl_ssi_set_bclk()
742 sub = afreq - freq; in fsl_ssi_set_bclk()
/Linux-v5.10/drivers/gpu/drm/tegra/
Dhdmi.c367 const unsigned int afreq = 128 * audio_freq; in tegra_hdmi_get_audio_config() local
368 const unsigned int min_n = afreq / 1500; in tegra_hdmi_get_audio_config()
369 const unsigned int max_n = afreq / 300; in tegra_hdmi_get_audio_config()
370 const unsigned int ideal_n = afreq / 1000; in tegra_hdmi_get_audio_config()
385 do_div(aval_f, afreq); in tegra_hdmi_get_audio_config()
392 do_div(cts_f, afreq); in tegra_hdmi_get_audio_config()