Home
last modified time | relevance | path

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

/Linux-v6.6/sound/soc/starfive/
Djh7110_tdm.c123 u16 syncdiv; member
188 u32 sl, sscale, syncdiv; in jh7110_tdm_syncdiv() local
200 syncdiv = tdm->pcmclk / tdm->samplerate - 1; in jh7110_tdm_syncdiv()
202 if ((syncdiv + 1) < (sl * sscale)) { in jh7110_tdm_syncdiv()
209 ((syncdiv + 1) <= sl)) { in jh7110_tdm_syncdiv()
214 jh7110_tdm_writel(tdm, TDM_PCMDIV, syncdiv); in jh7110_tdm_syncdiv()