Lines Matching refs:pltfm_host
190 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_readw() local
191 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_readw()
205 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writew() local
213 pltfm_host->xfer_mode_shadow = val; in tegra_sdhci_writew()
216 writel((val << 16) | pltfm_host->xfer_mode_shadow, in tegra_sdhci_writew()
226 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_writel() local
227 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_writel()
304 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_is_pad_and_regulator_valid() local
305 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_is_pad_and_regulator_valid()
337 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_tap() local
338 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_tap()
367 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_reset() local
368 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_reset()
457 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_padctrl() local
458 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_padctrl()
526 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_pad_autocalib() local
527 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_pad_autocalib()
588 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_parse_pad_autocal_dt() local
589 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_parse_pad_autocal_dt()
699 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_request() local
700 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_request()
714 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_parse_tap_and_trim() local
715 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_parse_tap_and_trim()
736 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_parse_dt() local
737 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_parse_dt()
750 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_clock() local
751 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_clock()
778 tegra_host->curr_clk_rate = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
782 host->max_clk = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
820 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_get_max_clock() local
822 return clk_round_rate(pltfm_host->clk, UINT_MAX); in tegra_sdhci_get_max_clock()
856 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_tap_correction() local
857 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_tap_correction()
938 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_post_tuning() local
939 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_post_tuning()
1009 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_set_uhs_signaling() local
1010 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_set_uhs_signaling()
1107 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_start_signal_voltage_switch() local
1108 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_start_signal_voltage_switch()
1176 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in tegra_sdhci_voltage_switch() local
1177 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in tegra_sdhci_voltage_switch()
1226 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(mmc_priv(mmc)); in sdhci_tegra_update_dcmd_desc() local
1227 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_update_dcmd_desc()
1591 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_add_host() local
1592 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_add_host()
1640 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_program_stream_id() local
1641 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_program_stream_id()
1654 struct sdhci_pltfm_host *pltfm_host; in sdhci_tegra_probe() local
1666 pltfm_host = sdhci_priv(host); in sdhci_tegra_probe()
1668 tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_probe()
1766 pltfm_host->clk = clk; in sdhci_tegra_probe()
1823 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_remove() local
1824 struct sdhci_tegra *tegra_host = sdhci_pltfm_priv(pltfm_host); in sdhci_tegra_remove()
1841 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_runtime_suspend() local
1843 clk_disable_unprepare(pltfm_host->clk); in sdhci_tegra_runtime_suspend()
1851 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_tegra_runtime_resume() local
1853 return clk_prepare_enable(pltfm_host->clk); in sdhci_tegra_runtime_resume()