Lines Matching refs:clk_mul
1856 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local
1867 if (host->clk_mul && in sdhci_calc_clk()
1871 clk_mul = host->clk_mul; in sdhci_calc_clk()
1882 if (host->clk_mul) { in sdhci_calc_clk()
1884 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1888 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1895 clk_mul = host->clk_mul; in sdhci_calc_clk()
1906 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()
1935 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
4301 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
4309 if (host->clk_mul) in sdhci_setup_host()
4310 host->clk_mul += 1; in sdhci_setup_host()
4320 if (host->clk_mul) in sdhci_setup_host()
4321 max_clk = host->max_clk * host->clk_mul; in sdhci_setup_host()