Home
last modified time | relevance | path

Searched refs:gck_rate (Results 1 – 1 of 1) sorted by relevance

/drivers/mmc/host/
Dsdhci-of-at91.c174 unsigned int gck_rate, clk_base_rate; in sdhci_at91_set_clks_presets() local
181 gck_rate = clk_get_rate(priv->gck); in sdhci_at91_set_clks_presets()
183 clk_base_rate = gck_rate / priv->soc_data->divider_for_baseclk; in sdhci_at91_set_clks_presets()
188 clk_mul = gck_rate / clk_base_rate - 1; in sdhci_at91_set_clks_presets()
202 clk_mul, gck_rate, clk_base_rate); in sdhci_at91_set_clks_presets()
210 preset_div = DIV_ROUND_UP(gck_rate, 24000000) - 1; in sdhci_at91_set_clks_presets()
213 preset_div = DIV_ROUND_UP(gck_rate, 50000000) - 1; in sdhci_at91_set_clks_presets()
216 preset_div = DIV_ROUND_UP(gck_rate, 100000000) - 1; in sdhci_at91_set_clks_presets()
219 preset_div = DIV_ROUND_UP(gck_rate, 120000000) - 1; in sdhci_at91_set_clks_presets()
222 preset_div = DIV_ROUND_UP(gck_rate, 50000000) - 1; in sdhci_at91_set_clks_presets()