Searched refs:gclk_rate (Results 1 – 3 of 3) sorted by relevance
383 unsigned long pclk_rate, gclk_rate; in atmel_pdmic_codec_dai_hw_params() local423 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()
412 unsigned long gclk_rate; in atmel_i2s_switch_mck_generator() local442 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()
355 unsigned long gclk_rate; member402 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()