Lines Matching refs:clk_mul
1905 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local
1916 if (host->clk_mul && in sdhci_calc_clk()
1920 clk_mul = host->clk_mul; in sdhci_calc_clk()
1931 if (host->clk_mul) { in sdhci_calc_clk()
1933 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1937 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1944 clk_mul = host->clk_mul; in sdhci_calc_clk()
1955 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()
1984 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
4432 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
4440 if (host->clk_mul) in sdhci_setup_host()
4441 host->clk_mul += 1; in sdhci_setup_host()
4451 if (host->clk_mul) in sdhci_setup_host()
4452 max_clk = host->max_clk * host->clk_mul; in sdhci_setup_host()