Lines Matching refs:clk_mul
1184 int real_div = div, clk_mul = 1; in sdhci_set_clock() local
1203 if (host->clk_mul && in sdhci_set_clock()
1207 clk_mul = host->clk_mul; in sdhci_set_clock()
1218 if (host->clk_mul) { in sdhci_set_clock()
1220 if ((host->max_clk * host->clk_mul / div) in sdhci_set_clock()
1230 clk_mul = host->clk_mul; in sdhci_set_clock()
1258 host->mmc->actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_set_clock()
3095 host->clk_mul = (caps[1] & SDHCI_CLOCK_MUL_MASK) >> in sdhci_add_host()
3104 if (host->clk_mul) in sdhci_add_host()
3105 host->clk_mul += 1; in sdhci_add_host()
3115 if (host->clk_mul) { in sdhci_add_host()
3116 mmc->f_min = (host->max_clk * host->clk_mul) / 1024; in sdhci_add_host()
3117 mmc->f_max = host->max_clk * host->clk_mul; in sdhci_add_host()