Searched refs:clk_div2 (Results 1 – 1 of 1) sorted by relevance
792 unsigned int clk_div1, clk_div2; in tifm_sd_ios() local816 clk_div2 = 24000000 / ios->clock; in tifm_sd_ios()817 if (!clk_div2) in tifm_sd_ios()818 clk_div2 = 1; in tifm_sd_ios()822 if ((24000000 / clk_div2) > ios->clock) in tifm_sd_ios()823 clk_div2++; in tifm_sd_ios()824 if ((20000000 / clk_div1) > (24000000 / clk_div2)) { in tifm_sd_ios()832 host->clk_div = clk_div2; in tifm_sd_ios()