Home
last modified time | relevance | path

Searched refs:pltfm_priv (Results 1 – 2 of 2) sorted by relevance

/drivers/mmc/host/
Dsdhci-bcm-kona.c125 struct sdhci_pltfm_host *pltfm_priv = sdhci_priv(host); in sdhci_bcm_kona_sd_card_emulate() local
126 struct sdhci_bcm_kona_dev *kona_dev = sdhci_pltfm_priv(pltfm_priv); in sdhci_bcm_kona_sd_card_emulate()
217 struct sdhci_pltfm_host *pltfm_priv; in sdhci_bcm_kona_probe() local
231 pltfm_priv = sdhci_priv(host); in sdhci_bcm_kona_probe()
233 kona_dev = sdhci_pltfm_priv(pltfm_priv); in sdhci_bcm_kona_probe()
247 pltfm_priv->clk = devm_clk_get(dev, NULL); in sdhci_bcm_kona_probe()
248 if (IS_ERR(pltfm_priv->clk)) { in sdhci_bcm_kona_probe()
250 ret = PTR_ERR(pltfm_priv->clk); in sdhci_bcm_kona_probe()
254 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max); in sdhci_bcm_kona_probe()
260 ret = clk_prepare_enable(pltfm_priv->clk); in sdhci_bcm_kona_probe()
[all …]
Dsdhci-of-aspeed.c298 struct sdhci_pltfm_host *pltfm_priv; in aspeed_sdhci_set_bus_width() local
303 pltfm_priv = sdhci_priv(host); in aspeed_sdhci_set_bus_width()
304 aspeed_sdhci = sdhci_pltfm_priv(pltfm_priv); in aspeed_sdhci_set_bus_width()