Lines Matching refs:wanted
264 static void dw_mci_exynos_adjust_clock(struct dw_mci *host, unsigned int wanted)
271 * Don't care if wanted clock is zero or
274 if (!wanted || IS_ERR(host->ciu_clk))
278 if (wanted < EXYNOS_CCLKIN_MIN)
279 wanted = EXYNOS_CCLKIN_MIN;
281 if (wanted == priv->cur_speed)
285 ret = clk_set_rate(host->ciu_clk, wanted * div);
289 wanted * div, ret);
292 priv->cur_speed = wanted;
299 unsigned int wanted = ios->clock;
307 wanted <<= 1;
313 wanted <<= 1;
335 dw_mci_exynos_adjust_clock(host, wanted);