Searched refs:clk_div2 (Results 1 – 1 of 1) sorted by relevance
801 unsigned int clk_div1, clk_div2; in tifm_sd_ios() local825 clk_div2 = 24000000 / ios->clock; in tifm_sd_ios()826 if (!clk_div2) in tifm_sd_ios()827 clk_div2 = 1; in tifm_sd_ios()831 if ((24000000 / clk_div2) > ios->clock) in tifm_sd_ios()832 clk_div2++; in tifm_sd_ios()833 if ((20000000 / clk_div1) > (24000000 / clk_div2)) { in tifm_sd_ios()841 host->clk_div = clk_div2; in tifm_sd_ios()