Lines Matching defs:rate
316 unsigned int rate)
322 if (!(rate % STM32_I2S_RATE_11K))
335 static long stm32_i2smclk_round_rate(struct clk_hw *hw, unsigned long rate,
342 ret = stm32_i2s_calc_clk_div(i2s, *prate, rate);
359 static int stm32_i2smclk_set_rate(struct clk_hw *hw, unsigned long rate,
366 ret = stm32_i2s_calc_clk_div(i2s, parent_rate, rate);
374 mclk->freq = rate;
633 /* Release mclk rate only if rate was actually set */
648 dev_err(cpu_dai->dev, "Could not set mclk rate\n");
666 unsigned int rate = params_rate(params);
670 if (!(rate % 11025))
706 (nb_bits * rate));