Home
last modified time | relevance | path

Searched refs:clk_div2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mmc/host/
H A Dtifm_sd.c792 unsigned int clk_div1, clk_div2; in tifm_sd_ios() local
816 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()