Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/atmel/
Datmel-pdmic.c366 unsigned long pclk_rate, gclk_rate; in atmel_pdmic_cpu_dai_hw_params() local
406 gclk_rate = clk_get_rate(dd->gclk); in atmel_pdmic_cpu_dai_hw_params()
410 gclk_prescal = (u32)(gclk_rate/(f_pdmic << 1)) - 1; in atmel_pdmic_cpu_dai_hw_params()
413 (gclk_rate/((gclk_prescal + 1) << 1) < in atmel_pdmic_cpu_dai_hw_params()
Datmel-classd.c316 unsigned long gclk_rate; member
363 sample_rates[best].rate, sample_rates[best].gclk_rate); in atmel_classd_cpu_dai_hw_params()
367 ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); in atmel_classd_cpu_dai_hw_params()
Datmel-i2s.c423 unsigned long gclk_rate; in atmel_i2s_switch_mck_generator() local
453 gclk_rate = dev->gck_param->mck * (dev->gck_param->imckdiv + 1); in atmel_i2s_switch_mck_generator()
455 ret = clk_set_rate(dev->gclk, gclk_rate); in atmel_i2s_switch_mck_generator()