Lines Matching refs:pltfm_host
119 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_get_max_clock() local
121 if (pltfm_host->clk) in dwcmshc_get_max_clock()
124 return pltfm_host->clock; in dwcmshc_get_max_clock()
153 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_set_uhs_signaling() local
154 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_set_uhs_signaling()
190 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_hs400_enhanced_strobe() local
191 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_hs400_enhanced_strobe()
205 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_rk3568_set_clock() local
206 struct dwcmshc_priv *dwc_priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_rk3568_set_clock()
224 err = clk_set_rate(pltfm_host->clk, clock); in dwcmshc_rk3568_set_clock()
315 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in rk35xx_sdhci_reset() local
316 struct dwcmshc_priv *dwc_priv = sdhci_pltfm_priv(pltfm_host); in rk35xx_sdhci_reset()
454 struct sdhci_pltfm_host *pltfm_host; in dwcmshc_probe() local
481 pltfm_host = sdhci_priv(host); in dwcmshc_probe()
482 priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_probe()
485 pltfm_host->clk = devm_clk_get(dev, "core"); in dwcmshc_probe()
486 if (IS_ERR(pltfm_host->clk)) { in dwcmshc_probe()
487 err = PTR_ERR(pltfm_host->clk); in dwcmshc_probe()
491 err = clk_prepare_enable(pltfm_host->clk); in dwcmshc_probe()
549 clk_disable_unprepare(pltfm_host->clk); in dwcmshc_probe()
562 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_remove() local
563 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_remove()
568 clk_disable_unprepare(pltfm_host->clk); in dwcmshc_remove()
582 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_suspend() local
583 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_suspend()
591 clk_disable_unprepare(pltfm_host->clk); in dwcmshc_suspend()
605 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_resume() local
606 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_resume()
610 ret = clk_prepare_enable(pltfm_host->clk); in dwcmshc_resume()