Lines Matching refs:pltfm_host

185 	struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host);  in tegra_sdhci_readw()  local
186 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_readw()
200 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writew() local
208 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
211 writel((val << 16) | pltfm_host->xfer_mode_shadow, in tegra_sdhci_writew()
221 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writel() local
222 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_writel()
303 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_is_pad_and_regulator_valid() local
304 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_is_pad_and_regulator_valid()
336 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_tap() local
337 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_tap()
366 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_reset() local
367 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_reset()
456 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_padctrl() local
457 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_padctrl()
525 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_pad_autocalib() local
526 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_pad_autocalib()
587 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_parse_pad_autocal_dt() local
588 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_parse_pad_autocal_dt()
698 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_request() local
699 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_request()
713 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_parse_tap_and_trim() local
714 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_parse_tap_and_trim()
735 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_parse_dt() local
736 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_parse_dt()
749 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_clock() local
750 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_clock()
777 tegra_host->curr_clk_rate = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
781 host->max_clk = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
819 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_get_max_clock() local
821 return clk_round_rate(pltfm_host->clk, UINT_MAX); in tegra_sdhci_get_max_clock()
855 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_tap_correction() local
856 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_tap_correction()
937 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_post_tuning() local
938 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_post_tuning()
1008 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_uhs_signaling() local
1009 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_uhs_signaling()
1106 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_start_signal_voltage_switch() local
1107 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_start_signal_voltage_switch()
1175 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_voltage_switch() local
1176 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_voltage_switch()
1225 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(mmc_priv(mmc)); in sdhci_tegra_update_dcmd_desc() local
1226 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_update_dcmd_desc()
1575 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_add_host() local
1576 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_add_host()
1625 struct sdhci_pltfm_host *pltfm_host; in sdhci_tegra_probe() local
1637 pltfm_host = sdhci_priv(host); in sdhci_tegra_probe()
1639 tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_probe()
1731 pltfm_host->clk = clk; in sdhci_tegra_probe()
1786 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_remove() local
1787 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_remove()
1806 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_runtime_suspend() local
1808 clk_disable_unprepare(pltfm_host->clk); in sdhci_tegra_runtime_suspend()
1816 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_runtime_resume() local
1818 return clk_prepare_enable(pltfm_host->clk); in sdhci_tegra_runtime_resume()