Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
H A Dsdhci-bcm-kona.c114 struct sdhci_pltfm_host *pltfm_priv = sdhci_priv(host); in sdhci_bcm_kona_sd_card_emulate() local
115 struct sdhci_bcm_kona_dev *kona_dev = sdhci_pltfm_priv(pltfm_priv); in sdhci_bcm_kona_sd_card_emulate()
206 struct sdhci_pltfm_host *pltfm_priv; in sdhci_bcm_kona_probe() local
220 pltfm_priv = sdhci_priv(host); in sdhci_bcm_kona_probe()
222 kona_dev = sdhci_pltfm_priv(pltfm_priv); in sdhci_bcm_kona_probe()
236 pltfm_priv->clk = devm_clk_get(dev, NULL); in sdhci_bcm_kona_probe()
237 if (IS_ERR(pltfm_priv->clk)) { in sdhci_bcm_kona_probe()
239 ret = PTR_ERR(pltfm_priv->clk); in sdhci_bcm_kona_probe()
243 ret = clk_set_rate(pltfm_priv->clk, host->mmc->f_max); in sdhci_bcm_kona_probe()
249 ret = clk_prepare_enable(pltfm_priv->clk); in sdhci_bcm_kona_probe()
[all …]
H A 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()
/linux/drivers/i2c/busses/
H A Di2c-viai2c-zhaoxin.c59 struct viai2c_zhaoxin *priv = i2c->pltfm_priv; in viai2c_fifo_xfer()
99 struct viai2c_zhaoxin *priv = i2c->pltfm_priv; in viai2c_fifo_irq_xfer()
144 struct viai2c_zhaoxin *priv = i2c->pltfm_priv; in zxi2c_xfer()
216 struct viai2c_zhaoxin *priv = i2c->pltfm_priv; in zxi2c_set_bus_speed()
228 struct viai2c_zhaoxin *priv = i2c->pltfm_priv; in zxi2c_get_bus_speed()
314 i2c->pltfm_priv = priv; in zxi2c_probe()
H A Di2c-viai2c-common.h77 void *pltfm_priv; member