Home
last modified time | relevance | path

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

/linux/sound/soc/meson/
H A Daxg-pdm.c183 unsigned int spmax, sp, val; in axg_pdm_set_sample_pointer() local
187 spmax = DIV_ROUND_UP_ULL((u64)clk_get_rate(priv->sysclk), in axg_pdm_set_sample_pointer()
191 if (WARN_ON(spmax > PDM_CHAN_CTRL_POINTER_MAX)) in axg_pdm_set_sample_pointer()
195 sp = spmax * 3 / 4; in axg_pdm_set_sample_pointer()