Lines Matching refs:mainck
48 struct clk *mainck; member
185 clk_base_rate = clk_get_rate(priv->mainck); in sdhci_at91_set_clks_presets()
226 clk_prepare_enable(priv->mainck); in sdhci_at91_set_clks_presets()
263 clk_disable_unprepare(priv->mainck); in sdhci_at91_runtime_suspend()
284 ret = clk_prepare_enable(priv->mainck); in sdhci_at91_runtime_resume()
334 priv->mainck = devm_clk_get(&pdev->dev, "baseclk"); in sdhci_at91_probe()
335 if (IS_ERR(priv->mainck)) { in sdhci_at91_probe()
337 priv->mainck = NULL; in sdhci_at91_probe()
340 ret = PTR_ERR(priv->mainck); in sdhci_at91_probe()
439 clk_disable_unprepare(priv->mainck); in sdhci_at91_probe()
453 struct clk *mainck = priv->mainck; in sdhci_at91_remove() local
463 clk_disable_unprepare(mainck); in sdhci_at91_remove()