Home
last modified time | relevance | path

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

/Linux-v5.4/sound/soc/atmel/
Datmel-pdmic.c383 unsigned long pclk_rate, gclk_rate; in atmel_pdmic_codec_dai_hw_params() local
423 gclk_rate = clk_get_rate(dd->gclk); in atmel_pdmic_codec_dai_hw_params()
427 gclk_prescal = (u32)(gclk_rate/(f_pdmic << 1)) - 1; in atmel_pdmic_codec_dai_hw_params()
430 (gclk_rate/((gclk_prescal + 1) << 1) < in atmel_pdmic_codec_dai_hw_params()
Datmel-i2s.c412 unsigned long gclk_rate; in atmel_i2s_switch_mck_generator() local
442 gclk_rate = dev->gck_param->mck * (dev->gck_param->imckdiv + 1); in atmel_i2s_switch_mck_generator()
444 ret = clk_set_rate(dev->gclk, gclk_rate); in atmel_i2s_switch_mck_generator()
Datmel-classd.c355 unsigned long gclk_rate; member
402 sample_rates[best].rate, sample_rates[best].gclk_rate); in atmel_classd_codec_dai_hw_params()
406 ret = clk_set_rate(dd->gclk, sample_rates[best].gclk_rate); in atmel_classd_codec_dai_hw_params()