Searched refs:gclk_rate (Results 1 – 3 of 3) sorted by relevance
366 unsigned long pclk_rate, gclk_rate; in atmel_pdmic_cpu_dai_hw_params() local406 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()
316 unsigned long gclk_rate; member363 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()
423 unsigned long gclk_rate; in atmel_i2s_switch_mck_generator() local453 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()