Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/fsl/
Dfsl_ssi.c686 u32 pm = 999, div2, psr, stccr, mask, afreq, factor, i; in fsl_ssi_set_bclk() local
740 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()
/linux-6.12.1/drivers/gpu/drm/tegra/
Dhdmi.c390 const unsigned int afreq = 128 * audio_freq; in tegra_hdmi_get_audio_config() local
391 const unsigned int min_n = afreq / 1500; in tegra_hdmi_get_audio_config()
392 const unsigned int max_n = afreq / 300; in tegra_hdmi_get_audio_config()
393 const unsigned int ideal_n = afreq / 1000; in tegra_hdmi_get_audio_config()
408 do_div(aval_f, afreq); in tegra_hdmi_get_audio_config()
415 do_div(cts_f, afreq); in tegra_hdmi_get_audio_config()