Lines Matching refs:wanted
278 static void dw_mci_exynos_adjust_clock(struct dw_mci *host, unsigned int wanted)
285 * Don't care if wanted clock is zero or
288 if (!wanted || IS_ERR(host->ciu_clk))
292 if (wanted < EXYNOS_CCLKIN_MIN)
293 wanted = EXYNOS_CCLKIN_MIN;
295 if (wanted == priv->cur_speed)
299 ret = clk_set_rate(host->ciu_clk, wanted * div);
303 wanted * div, ret);
306 priv->cur_speed = wanted;
313 unsigned int wanted = ios->clock;
321 wanted <<= 1;
327 wanted <<= 1;
349 dw_mci_exynos_adjust_clock(host, wanted);