Lines Matching refs:pltfm_host
144 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in st_mmcss_cconfig() local
164 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
168 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig()
172 clk_set_rate(pltfm_host->clk, 50000000); in st_mmcss_cconfig()
245 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_set_dll_for_clock() local
246 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_set_dll_for_clock()
259 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_set_uhs_signaling() local
260 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_set_uhs_signaling()
347 struct sdhci_pltfm_host *pltfm_host; in sdhci_st_probe() local
376 pltfm_host = sdhci_priv(host); in sdhci_st_probe()
377 pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_probe()
403 pltfm_host->clk = clk; in sdhci_st_probe()
437 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_remove() local
438 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_remove()
440 struct clk *clk = pltfm_host->clk; in sdhci_st_remove()
454 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_suspend() local
455 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_suspend()
468 clk_disable_unprepare(pltfm_host->clk); in sdhci_st_suspend()
476 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_resume() local
477 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_resume()
481 ret = clk_prepare_enable(pltfm_host->clk); in sdhci_st_resume()
487 clk_disable_unprepare(pltfm_host->clk); in sdhci_st_resume()