Searched refs:pltfm_host (Results 1 – 7 of 7) sorted by relevance
141 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readl_le() local142 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() local185 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() local236 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() local255 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() local340 return clk_get_rate(pltfm_host->clk); in esdhc_pltfm_get_max_clock()[all …]
63 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_readw() local64 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() local79 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() local106 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() local126 struct sdhci_tegra *tegra_host = pltfm_host->priv; in tegra_sdhci_8bit()224 struct sdhci_pltfm_host *pltfm_host; in sdhci_tegra_probe() local240 pltfm_host = sdhci_priv(host); in sdhci_tegra_probe()[all …]
113 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in pxav2_get_max_clock() local115 return clk_get_rate(pltfm_host->clk); in pxav2_get_max_clock()126 struct sdhci_pltfm_host *pltfm_host; in sdhci_pxav2_probe() local143 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() local203 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()
76 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in pxav3_gen_init_74_clocks() local77 struct sdhci_pxa *pxa = pltfm_host->priv; in pxav3_gen_init_74_clocks()169 struct sdhci_pltfm_host *pltfm_host; in sdhci_pxav3_probe() local186 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() local249 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()
60 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_get_of_property() local84 pltfm_host->clock = be32_to_cpup(clk); in sdhci_get_of_property()96 struct sdhci_pltfm_host *pltfm_host; in sdhci_pltfm_init() local112 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()
106 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_of_get_max_clock() local108 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() local115 return pltfm_host->clock / 256 / 16; in esdhc_of_get_min_clock()
61 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_be32bs_writew() local71 pltfm_host->xfer_mode_shadow = val; in sdhci_be32bs_writew()75 val << 16 | pltfm_host->xfer_mode_shadow, in sdhci_be32bs_writew()