Lines Matching refs:clk_mul
1900 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local
1911 if (host->clk_mul && in sdhci_calc_clk()
1915 clk_mul = host->clk_mul; in sdhci_calc_clk()
1926 if (host->clk_mul) { in sdhci_calc_clk()
1928 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1932 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1939 clk_mul = host->clk_mul; in sdhci_calc_clk()
1950 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()
1979 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
4427 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
4435 if (host->clk_mul) in sdhci_setup_host()
4436 host->clk_mul += 1; in sdhci_setup_host()
4446 if (host->clk_mul) in sdhci_setup_host()
4447 max_clk = host->max_clk * host->clk_mul; in sdhci_setup_host()