Home
last modified time | relevance | path

Searched refs:pltfm_host (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/mmc/host/
Dsdhci-esdhc-imx.c141 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readl_le() local
142 struct pltfm_imx_data *imx_data = pltfm_host->priv; in esdhc_readl_le()
184 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_writel_le() local
185 struct pltfm_imx_data *imx_data = pltfm_host->priv; in esdhc_writel_le()
235 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readw_le() local
236 struct pltfm_imx_data *imx_data = pltfm_host->priv; in esdhc_readw_le()
254 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_writew_le() local
255 struct pltfm_imx_data *imx_data = pltfm_host->priv; in esdhc_writew_le()
338 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_pltfm_get_max_clock() local
340 return clk_get_rate(pltfm_host->clk); in esdhc_pltfm_get_max_clock()
[all …]
Dsdhci-tegra.c63 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_readw() local
64 struct sdhci_tegra *tegra_host = pltfm_host->priv; in tegra_sdhci_readw()
78 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writel() local
79 struct sdhci_tegra *tegra_host = pltfm_host->priv; in tegra_sdhci_writel()
105 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_get_ro() local
106 struct sdhci_tegra *tegra_host = pltfm_host->priv; in tegra_sdhci_get_ro()
125 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_8bit() local
126 struct sdhci_tegra *tegra_host = pltfm_host->priv; in tegra_sdhci_8bit()
224 struct sdhci_pltfm_host *pltfm_host; in sdhci_tegra_probe() local
240 pltfm_host = sdhci_priv(host); in sdhci_tegra_probe()
[all …]
Dsdhci-pxav2.c113 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in pxav2_get_max_clock() local
115 return clk_get_rate(pltfm_host->clk); in pxav2_get_max_clock()
126 struct sdhci_pltfm_host *pltfm_host; in sdhci_pxav2_probe() local
143 pltfm_host = sdhci_priv(host); in sdhci_pxav2_probe()
144 pltfm_host->priv = pxa; in sdhci_pxav2_probe()
152 pltfm_host->clk = clk; in sdhci_pxav2_probe()
202 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pxav2_remove() local
203 struct sdhci_pxa *pxa = pltfm_host->priv; in sdhci_pxav2_remove()
207 clk_disable(pltfm_host->clk); in sdhci_pxav2_remove()
208 clk_put(pltfm_host->clk); in sdhci_pxav2_remove()
Dsdhci-pxav3.c76 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in pxav3_gen_init_74_clocks() local
77 struct sdhci_pxa *pxa = pltfm_host->priv; in pxav3_gen_init_74_clocks()
169 struct sdhci_pltfm_host *pltfm_host; in sdhci_pxav3_probe() local
186 pltfm_host = sdhci_priv(host); in sdhci_pxav3_probe()
187 pltfm_host->priv = pxa; in sdhci_pxav3_probe()
195 pltfm_host->clk = clk; in sdhci_pxav3_probe()
248 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pxav3_remove() local
249 struct sdhci_pxa *pxa = pltfm_host->priv; in sdhci_pxav3_remove()
253 clk_disable(pltfm_host->clk); in sdhci_pxav3_remove()
254 clk_put(pltfm_host->clk); in sdhci_pxav3_remove()
Dsdhci-pltfm.c60 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_get_of_property() local
84 pltfm_host->clock = be32_to_cpup(clk); in sdhci_get_of_property()
96 struct sdhci_pltfm_host *pltfm_host; in sdhci_pltfm_init() local
112 host = sdhci_alloc_host(pdev->dev.parent, sizeof(*pltfm_host)); in sdhci_pltfm_init()
114 host = sdhci_alloc_host(&pdev->dev, sizeof(*pltfm_host)); in sdhci_pltfm_init()
121 pltfm_host = sdhci_priv(host); in sdhci_pltfm_init()
Dsdhci-of-esdhc.c106 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_of_get_max_clock() local
108 return pltfm_host->clock; in esdhc_of_get_max_clock()
113 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_of_get_min_clock() local
115 return pltfm_host->clock / 256 / 16; in esdhc_of_get_min_clock()
Dsdhci-pltfm.h61 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_be32bs_writew() local
71 pltfm_host->xfer_mode_shadow = val; in sdhci_be32bs_writew()
75 val << 16 | pltfm_host->xfer_mode_shadow, in sdhci_be32bs_writew()