Lines Matching refs:pltfm_host
75 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_readw() local
76 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_readw()
90 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writew() local
98 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
101 writel((val << 16) | pltfm_host->xfer_mode_shadow, in tegra_sdhci_writew()
111 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writel() local
112 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_writel()
143 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_reset() local
144 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_reset()
206 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_clock() local
207 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_clock()
226 clk_set_rate(pltfm_host->clk, host_clk); in tegra_sdhci_set_clock()
230 host->max_clk = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
243 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_uhs_signaling() local
244 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_uhs_signaling()
255 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_get_max_clock() local
257 return clk_round_rate(pltfm_host->clk, UINT_MAX); in tegra_sdhci_get_max_clock()
306 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_voltage_switch() local
307 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_voltage_switch()
478 struct sdhci_pltfm_host *pltfm_host; in sdhci_tegra_probe() local
491 pltfm_host = sdhci_priv(host); in sdhci_tegra_probe()
493 tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_probe()
519 pltfm_host->clk = clk; in sdhci_tegra_probe()
550 clk_disable_unprepare(pltfm_host->clk); in sdhci_tegra_probe()
561 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_remove() local
562 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_remove()
568 clk_disable_unprepare(pltfm_host->clk); in sdhci_tegra_remove()