Lines Matching refs:rate
61 * It would have been nice to check the actual rate against the sample rate
78 unsigned int stat, mode, rate = 0;
90 rate = priv->conf->mode_rates[mode];
92 return rate;
149 unsigned int rate)
155 return rate / (128 * priv->conf->mode_rates[mode]);
161 unsigned int rate, t_next;
167 dev_err(dai->dev, "reference clock rate set failed\n");
172 * The rate actually set might be slightly different, get
173 * the actual rate for the following mode calculation
175 rate = clk_get_rate(priv->refclk);
180 FIELD_PREP(SPDIFIN_CTRL1_BASE_TIMER, rate / 1000));
187 t_next = axg_spdifin_mode_timer(priv, i, rate);
196 t = axg_spdifin_mode_timer(priv, i, rate);