Lines Matching refs:pltfm_host
238 struct sdhci_pltfm_host *pltfm_host; in aspeed_sdhci_set_clock() local
244 pltfm_host = sdhci_priv(host); in aspeed_sdhci_set_clock()
245 sdhci = sdhci_pltfm_priv(pltfm_host); in aspeed_sdhci_set_clock()
247 parent = clk_get_rate(pltfm_host->clk); in aspeed_sdhci_set_clock()
368 struct sdhci_pltfm_host *pltfm_host; in aspeed_sdhci_probe() local
385 pltfm_host = sdhci_priv(host); in aspeed_sdhci_probe()
386 dev = sdhci_pltfm_priv(pltfm_host); in aspeed_sdhci_probe()
423 pltfm_host->clk = devm_clk_get(&pdev->dev, NULL); in aspeed_sdhci_probe()
424 if (IS_ERR(pltfm_host->clk)) in aspeed_sdhci_probe()
425 return PTR_ERR(pltfm_host->clk); in aspeed_sdhci_probe()
427 ret = clk_prepare_enable(pltfm_host->clk); in aspeed_sdhci_probe()
447 clk_disable_unprepare(pltfm_host->clk); in aspeed_sdhci_probe()
455 struct sdhci_pltfm_host *pltfm_host; in aspeed_sdhci_remove() local
459 pltfm_host = sdhci_priv(host); in aspeed_sdhci_remove()
463 clk_disable_unprepare(pltfm_host->clk); in aspeed_sdhci_remove()