Searched refs:new_clock (Results 1 – 1 of 1) sorted by relevance
130 unsigned int new_clock, clkh_shift = 0; in renesas_sdhi_clk_update() local150 new_clock = wanted_clock << clkh_shift; in renesas_sdhi_clk_update()164 for (i = min(9, ilog2(UINT_MAX / new_clock)); i >= 0; i--) { in renesas_sdhi_clk_update()165 freq = clk_round_rate(ref_clk, new_clock << i); in renesas_sdhi_clk_update()166 new_upper_limit = (new_clock << i) + ((new_clock << i) >> 10); in renesas_sdhi_clk_update()169 freq = clk_round_rate(ref_clk, (new_clock << i) / 4 * 3); in renesas_sdhi_clk_update()174 diff = new_clock - (freq >> i); in renesas_sdhi_clk_update()190 unsigned int new_clock) in renesas_sdhi_set_clock() argument198 if (new_clock == 0) { in renesas_sdhi_set_clock()203 host->mmc->actual_clock = renesas_sdhi_clk_update(host, new_clock); in renesas_sdhi_set_clock()[all …]