Lines Matching refs:clk_mul
1169 int real_div = div, clk_mul = 1; in sdhci_set_clock() local
1191 if (host->clk_mul && in sdhci_set_clock()
1195 clk_mul = host->clk_mul; in sdhci_set_clock()
1206 if (host->clk_mul) { in sdhci_set_clock()
1208 if ((host->max_clk * host->clk_mul / div) in sdhci_set_clock()
1212 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_set_clock()
1219 clk_mul = host->clk_mul; in sdhci_set_clock()
1230 if (!host->clk_mul || switch_base_clk) { in sdhci_set_clock()
1259 host->mmc->actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_set_clock()
3061 host->clk_mul = (caps[1] & SDHCI_CLOCK_MUL_MASK) >> in sdhci_add_host()
3070 if (host->clk_mul) in sdhci_add_host()
3071 host->clk_mul += 1; in sdhci_add_host()
3081 if (host->clk_mul) { in sdhci_add_host()
3082 mmc->f_min = (host->max_clk * host->clk_mul) / 1024; in sdhci_add_host()
3083 max_clk = host->max_clk * host->clk_mul; in sdhci_add_host()