Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mmc/host/
Dsdhci-of-esdhc.c649 unsigned int clock_fixup = 0; in esdhc_of_set_clock() local
666 clock_fixup = esdhc->clk_fixup->sd_dflt_max_clk; in esdhc_of_set_clock()
668 clock_fixup = esdhc->clk_fixup->max_clk[host->mmc->ios.timing]; in esdhc_of_set_clock()
670 if (clock_fixup == 0 || clock < clock_fixup) in esdhc_of_set_clock()
671 clock_fixup = clock; in esdhc_of_set_clock()
674 while (host->max_clk / pre_div / 16 > clock_fixup && pre_div < 256) in esdhc_of_set_clock()
677 while (host->max_clk / pre_div / div > clock_fixup && div < 16) in esdhc_of_set_clock()