Lines Matching refs:pltfm_host
30 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_clk_get_max_clock() local
32 return clk_get_rate(pltfm_host->clk); in sdhci_pltfm_clk_get_max_clock()
83 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_get_property() local
105 device_property_read_u32(dev, "clock-frequency", &pltfm_host->clock); in sdhci_get_property()
197 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_unregister() local
201 clk_disable_unprepare(pltfm_host->clk); in sdhci_pltfm_unregister()
212 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_suspend() local
222 clk_disable_unprepare(pltfm_host->clk); in sdhci_pltfm_suspend()
231 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_resume() local
234 ret = clk_prepare_enable(pltfm_host->clk); in sdhci_pltfm_resume()
240 clk_disable_unprepare(pltfm_host->clk); in sdhci_pltfm_resume()