Searched refs:clk_mul (Results 1 – 3 of 3) sorted by relevance
212 unsigned int clk_base, clk_mul; in sdhci_at91_probe() local256 clk_mul = (caps1 & SDHCI_CLOCK_MUL_MASK) >> SDHCI_CLOCK_MUL_SHIFT; in sdhci_at91_probe()257 gck_rate = clk_base * 1000000 * (clk_mul + 1); in sdhci_at91_probe()271 clk_mul = real_gck_rate / (clk_base * 1000000) - 1; in sdhci_at91_probe()273 caps1 |= ((clk_mul << SDHCI_CLOCK_MUL_SHIFT) & SDHCI_CLOCK_MUL_MASK); in sdhci_at91_probe()280 clk_mul, real_gck_rate); in sdhci_at91_probe()
1257 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local1269 if (host->clk_mul && in sdhci_calc_clk()1273 clk_mul = host->clk_mul; in sdhci_calc_clk()1284 if (host->clk_mul) { in sdhci_calc_clk()1286 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()1290 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()1297 clk_mul = host->clk_mul; in sdhci_calc_clk()1308 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()1337 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()3236 host->clk_mul = (host->caps1 & SDHCI_CLOCK_MUL_MASK) >> in sdhci_setup_host()[all …]
466 unsigned int clk_mul; /* Clock Muliplier value */ member