/linux-6.12.1/drivers/mmc/host/ |
D | sdhci-xenon.c | 136 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_retune_setup() local 137 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_retune_setup() 187 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_reset() local 188 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_reset() 250 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_get_max_clock() local 252 if (pltfm_host->clk) in xenon_get_max_clock() 255 return pltfm_host->clock; in xenon_get_max_clock() 281 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_set_ios() local 282 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_set_ios() 350 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_init_card() local [all …]
|
D | sdhci-st.c | 144 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in st_mmcss_cconfig() local 164 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig() 168 clk_set_rate(pltfm_host->clk, mhost->f_max); in st_mmcss_cconfig() 172 clk_set_rate(pltfm_host->clk, 50000000); in st_mmcss_cconfig() 245 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_set_dll_for_clock() local 246 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_set_dll_for_clock() 259 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_st_set_uhs_signaling() local 260 struct st_mmc_platform_data *pdata = sdhci_pltfm_priv(pltfm_host); in sdhci_st_set_uhs_signaling() 347 struct sdhci_pltfm_host *pltfm_host; in sdhci_st_probe() local 376 pltfm_host = sdhci_priv(host); in sdhci_st_probe() [all …]
|
D | sdhci-esdhc-mcf.c | 95 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_mcf_writew_be() local 96 struct pltfm_mcf_data *mcf_data = sdhci_pltfm_priv(pltfm_host); in esdhc_mcf_writew_be() 193 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_mcf_reset() local 194 struct pltfm_mcf_data *mcf_data = sdhci_pltfm_priv(pltfm_host); in esdhc_mcf_reset() 207 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_mcf_pltfm_get_max_clock() local 209 return pltfm_host->clock; in esdhc_mcf_pltfm_get_max_clock() 214 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_mcf_pltfm_get_min_clock() local 216 return pltfm_host->clock / 256 / 16; in esdhc_mcf_pltfm_get_min_clock() 222 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_mcf_pltfm_set_clock() local 249 fsys = pltfm_host->clock; in esdhc_mcf_pltfm_set_clock() [all …]
|
D | sdhci-omap.c | 266 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_omap_enable_sdio_irq() local 267 struct sdhci_omap_host *omap_host = sdhci_pltfm_priv(pltfm_host); in sdhci_omap_enable_sdio_irq() 319 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_omap_execute_tuning() local 320 struct sdhci_omap_host *omap_host = sdhci_pltfm_priv(pltfm_host); in sdhci_omap_execute_tuning() 504 struct sdhci_pltfm_host *pltfm_host; in sdhci_omap_card_busy() local 508 pltfm_host = sdhci_priv(host); in sdhci_omap_card_busy() 509 omap_host = sdhci_pltfm_priv(pltfm_host); in sdhci_omap_card_busy() 551 struct sdhci_pltfm_host *pltfm_host; in sdhci_omap_start_signal_voltage_switch() local 555 pltfm_host = sdhci_priv(host); in sdhci_omap_start_signal_voltage_switch() 556 omap_host = sdhci_pltfm_priv(pltfm_host); in sdhci_omap_start_signal_voltage_switch() [all …]
|
D | sdhci-tegra.c | 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 [all …]
|
D | sdhci-xenon-phy.c | 205 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_alloc_emmc_phy() local 206 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_alloc_emmc_phy() 247 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_emmc_phy_init() local 248 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_emmc_phy_init() 312 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in armada_3700_soc_pad_voltage_set() local 313 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in armada_3700_soc_pad_voltage_set() 334 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_emmc_phy_set_soc_pad() local 335 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_emmc_phy_set_soc_pad() 353 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in xenon_emmc_phy_enable_dll() local 354 struct xenon_priv *priv = sdhci_pltfm_priv(pltfm_host); in xenon_emmc_phy_enable_dll() [all …]
|
D | sdhci-of-dwcmshc.c | 293 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_get_max_clock() local 295 if (pltfm_host->clk) in dwcmshc_get_max_clock() 298 return pltfm_host->clock; in dwcmshc_get_max_clock() 303 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in rk35xx_get_max_clock() local 305 return clk_round_rate(pltfm_host->clk, ULONG_MAX); in rk35xx_get_max_clock() 333 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_phy_1_8v_init() local 334 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_phy_1_8v_init() 384 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in dwcmshc_phy_3_3v_init() local 385 struct dwcmshc_priv *priv = sdhci_pltfm_priv(pltfm_host); in dwcmshc_phy_3_3v_init() 431 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in th1520_sdhci_set_phy() local [all …]
|
D | sdhci-of-esdhc.c | 118 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readl_fixup() local 119 struct sdhci_esdhc *esdhc = sdhci_pltfm_priv(pltfm_host); in esdhc_readl_fixup() 179 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readw_fixup() local 180 struct sdhci_esdhc *esdhc = sdhci_pltfm_priv(pltfm_host); in esdhc_readw_fixup() 185 return pltfm_host->xfer_mode_shadow; in esdhc_readw_fixup() 260 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_writew_fixup() local 270 pltfm_host->xfer_mode_shadow = value; in esdhc_writew_fixup() 273 ret = (value << 16) | pltfm_host->xfer_mode_shadow; in esdhc_writew_fixup() 425 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_be_writew() local 426 struct sdhci_esdhc *esdhc = sdhci_pltfm_priv(pltfm_host); in esdhc_be_writew() [all …]
|
D | sdhci-esdhc-imx.c | 448 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in usdhc_auto_tuning_mode_sel_and_en() local 449 struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host); in usdhc_auto_tuning_mode_sel_and_en() 492 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readl_le() local 493 struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host); in esdhc_readl_le() 578 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_writel_le() local 579 struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host); in esdhc_writel_le() 629 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_readw_le() local 630 struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host); in esdhc_readw_le() 689 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in esdhc_writew_le() local 690 struct pltfm_imx_data *imx_data = sdhci_pltfm_priv(pltfm_host); in esdhc_writew_le() [all …]
|
D | sdhci-of-at91.c | 115 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_at91_reset() local 116 struct sdhci_at91_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_at91_reset() 170 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_at91_set_clks_presets() local 171 struct sdhci_at91_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_at91_set_clks_presets() 236 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_at91_suspend() local 237 struct sdhci_at91_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_at91_suspend() 252 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_at91_runtime_suspend() local 253 struct sdhci_at91_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_at91_runtime_suspend() 271 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_at91_runtime_resume() local 272 struct sdhci_at91_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_at91_runtime_resume() [all …]
|
D | sdhci-pltfm.c | 29 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_clk_get_max_clock() local 31 return clk_get_rate(pltfm_host->clk); in sdhci_pltfm_clk_get_max_clock() 75 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_get_property() local 97 device_property_read_u32(dev, "clock-frequency", &pltfm_host->clock); in sdhci_get_property() 192 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_suspend() local 202 clk_disable_unprepare(pltfm_host->clk); in sdhci_pltfm_suspend() 211 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_pltfm_resume() local 214 ret = clk_prepare_enable(pltfm_host->clk); in sdhci_pltfm_resume() 220 clk_disable_unprepare(pltfm_host->clk); in sdhci_pltfm_resume()
|
D | sdhci-of-sparx5.c | 77 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sparx5_set_cacheable() local 78 struct sdhci_sparx5_data *sdhci_sparx5 = sdhci_pltfm_priv(pltfm_host); in sparx5_set_cacheable() 89 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sparx5_set_delay() local 90 struct sdhci_sparx5_data *sdhci_sparx5 = sdhci_pltfm_priv(pltfm_host); in sparx5_set_delay() 163 struct sdhci_pltfm_host *pltfm_host; in sdhci_sparx5_probe() local 183 pltfm_host = sdhci_priv(host); in sdhci_sparx5_probe() 184 sdhci_sparx5 = sdhci_pltfm_priv(pltfm_host); in sdhci_sparx5_probe() 187 pltfm_host->clk = devm_clk_get_enabled(&pdev->dev, "core"); in sdhci_sparx5_probe() 188 if (IS_ERR(pltfm_host->clk)) { in sdhci_sparx5_probe() 189 ret = PTR_ERR(pltfm_host->clk); in sdhci_sparx5_probe()
|
D | sdhci-iproc.c | 45 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_iproc_readw() local 46 struct sdhci_iproc_host *iproc_host = sdhci_pltfm_priv(pltfm_host); in sdhci_iproc_readw() 108 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_iproc_writew() local 109 struct sdhci_iproc_host *iproc_host = sdhci_pltfm_priv(pltfm_host); in sdhci_iproc_writew() 159 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_iproc_get_max_clock() local 161 if (pltfm_host->clk) in sdhci_iproc_get_max_clock() 164 return pltfm_host->clock; in sdhci_iproc_get_max_clock() 364 struct sdhci_pltfm_host *pltfm_host; in sdhci_iproc_probe() local 375 pltfm_host = sdhci_priv(host); in sdhci_iproc_probe() 376 iproc_host = sdhci_pltfm_priv(pltfm_host); in sdhci_iproc_probe() [all …]
|
D | sdhci-npcm.c | 33 struct sdhci_pltfm_host *pltfm_host; in npcm_sdhci_probe() local 47 pltfm_host = sdhci_priv(host); in npcm_sdhci_probe() 49 pltfm_host->clk = devm_clk_get_optional_enabled(dev, NULL); in npcm_sdhci_probe() 50 if (IS_ERR(pltfm_host->clk)) { in npcm_sdhci_probe() 51 ret = PTR_ERR(pltfm_host->clk); in npcm_sdhci_probe()
|
D | sdhci-pxav3.c | 122 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in armada_38x_quirks() local 123 struct sdhci_pxa *pxa = sdhci_pltfm_priv(pltfm_host); in armada_38x_quirks() 191 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in pxav3_gen_init_74_clocks() local 192 struct sdhci_pxa *pxa = sdhci_pltfm_priv(pltfm_host); in pxav3_gen_init_74_clocks() 240 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in pxav3_set_uhs_signaling() local 241 struct sdhci_pxa *pxa = sdhci_pltfm_priv(pltfm_host); in pxav3_set_uhs_signaling() 371 struct sdhci_pltfm_host *pltfm_host; in sdhci_pxav3_probe() local 384 pltfm_host = sdhci_priv(host); in sdhci_pxav3_probe() 385 pxa = sdhci_pltfm_priv(pltfm_host); in sdhci_pxav3_probe() 395 pltfm_host->clk = pxa->clk_io; in sdhci_pxav3_probe() [all …]
|
D | sdhci_am654.c | 178 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_am654_setup_dll() local 179 struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host); in sdhci_am654_setup_dll() 274 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_am654_set_clock() local 275 struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host); in sdhci_am654_set_clock() 326 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_j721e_4bit_set_clock() local 327 struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host); in sdhci_j721e_4bit_set_clock() 404 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_am654_reset() local 405 struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host); in sdhci_am654_reset() 506 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_am654_do_tuning() local 507 struct sdhci_am654_data *sdhci_am654 = sdhci_pltfm_priv(pltfm_host); in sdhci_am654_do_tuning() [all …]
|
D | sdhci-msm.c | 297 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_priv_msm_offset() local 298 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_priv_msm_offset() 310 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_msm_mci_variant_readl_relaxed() local 311 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_readl_relaxed() 325 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_msm_mci_variant_writel_relaxed() local 326 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in sdhci_msm_mci_variant_writel_relaxed() 357 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in msm_set_clock_rate_for_bus_mode() local 358 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in msm_set_clock_rate_for_bus_mode() 627 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in msm_init_cm_dll() local 628 struct sdhci_msm_host *msm_host = sdhci_pltfm_priv(pltfm_host); in msm_init_cm_dll() [all …]
|
D | sdhci-of-aspeed.c | 238 struct sdhci_pltfm_host *pltfm_host; in aspeed_sdhci_set_clock() local 244 pltfm_host = sdhci_priv(host); in aspeed_sdhci_set_clock() 245 sdhci = sdhci_pltfm_priv(pltfm_host); in aspeed_sdhci_set_clock() 247 parent = clk_get_rate(pltfm_host->clk); in aspeed_sdhci_set_clock() 368 struct sdhci_pltfm_host *pltfm_host; in aspeed_sdhci_probe() local 385 pltfm_host = sdhci_priv(host); in aspeed_sdhci_probe() 386 dev = sdhci_pltfm_priv(pltfm_host); in aspeed_sdhci_probe() 423 pltfm_host->clk = devm_clk_get(&pdev->dev, NULL); in aspeed_sdhci_probe() 424 if (IS_ERR(pltfm_host->clk)) in aspeed_sdhci_probe() 425 return PTR_ERR(pltfm_host->clk); in aspeed_sdhci_probe() [all …]
|
D | sdhci-of-arasan.c | 313 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_arasan_syscon_write() local 314 struct sdhci_arasan_data *sdhci_arasan = sdhci_pltfm_priv(pltfm_host); in sdhci_arasan_syscon_write() 349 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_arasan_set_clock() local 350 struct sdhci_arasan_data *sdhci_arasan = sdhci_pltfm_priv(pltfm_host); in sdhci_arasan_set_clock() 466 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_arasan_reset() local 467 struct sdhci_arasan_data *sdhci_arasan = sdhci_pltfm_priv(pltfm_host); in sdhci_arasan_reset() 578 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_arasan_suspend() local 579 struct sdhci_arasan_data *sdhci_arasan = sdhci_pltfm_priv(pltfm_host); in sdhci_arasan_suspend() 607 clk_disable(pltfm_host->clk); in sdhci_arasan_suspend() 624 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_arasan_resume() local [all …]
|
D | sdhci-of-ma35d1.c | 112 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in ma35_start_signal_voltage_switch() local 113 struct ma35_priv *priv = sdhci_pltfm_priv(pltfm_host); in ma35_start_signal_voltage_switch() 141 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in ma35_execute_tuning() local 142 struct ma35_priv *priv = sdhci_pltfm_priv(pltfm_host); in ma35_execute_tuning() 195 struct sdhci_pltfm_host *pltfm_host; in ma35_probe() local 210 pltfm_host = sdhci_priv(host); in ma35_probe() 211 priv = sdhci_pltfm_priv(pltfm_host); in ma35_probe() 213 pltfm_host->clk = devm_clk_get_optional_enabled(dev, NULL); in ma35_probe() 214 if (IS_ERR(pltfm_host->clk)) { in ma35_probe() 215 err = dev_err_probe(dev, PTR_ERR(pltfm_host->clk), "failed to get clk\n"); in ma35_probe()
|
D | sdhci-brcmstb.c | 65 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in enable_clock_gating() local 66 struct sdhci_brcmstb_priv *priv = sdhci_pltfm_priv(pltfm_host); in enable_clock_gating() 190 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_brcmstb_cfginit_2712() local 191 struct sdhci_brcmstb_priv *brcmstb_priv = sdhci_pltfm_priv(pltfm_host); in sdhci_brcmstb_cfginit_2712() 370 struct sdhci_pltfm_host *pltfm_host; in sdhci_brcmstb_probe() local 396 pltfm_host = sdhci_priv(host); in sdhci_brcmstb_probe() 397 priv = sdhci_pltfm_priv(pltfm_host); in sdhci_brcmstb_probe() 484 pltfm_host->clk = clk; in sdhci_brcmstb_probe() 504 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_brcmstb_suspend() local 505 struct sdhci_brcmstb_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_brcmstb_suspend() [all …]
|
D | sdhci-cadence.c | 188 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_cdns_priv() local 190 return sdhci_pltfm_priv(pltfm_host); in sdhci_cdns_priv() 482 struct sdhci_pltfm_host *pltfm_host; in sdhci_cdns_probe() local 504 pltfm_host = sdhci_priv(host); in sdhci_cdns_probe() 505 pltfm_host->clk = clk; in sdhci_cdns_probe() 507 priv = sdhci_pltfm_priv(pltfm_host); in sdhci_cdns_probe() 560 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_cdns_resume() local 561 struct sdhci_cdns_priv *priv = sdhci_pltfm_priv(pltfm_host); in sdhci_cdns_resume() 564 ret = clk_prepare_enable(pltfm_host->clk); in sdhci_cdns_resume() 579 clk_disable_unprepare(pltfm_host->clk); in sdhci_cdns_resume()
|
D | sdhci-dove.c | 70 struct sdhci_pltfm_host *pltfm_host; in sdhci_dove_probe() local 77 pltfm_host = sdhci_priv(host); in sdhci_dove_probe() 78 pltfm_host->clk = devm_clk_get_enabled(&pdev->dev, NULL); in sdhci_dove_probe()
|
D | sdhci_f_sdh30.c | 34 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_f_sdhost_priv() local 36 return sdhci_pltfm_priv(pltfm_host); in sdhci_f_sdhost_priv() 119 struct sdhci_pltfm_host *pltfm_host; in sdhci_f_sdh30_probe() local 127 pltfm_host = sdhci_priv(host); in sdhci_f_sdh30_probe() 128 priv = sdhci_pltfm_priv(pltfm_host); in sdhci_f_sdh30_probe()
|
D | sdhci-pltfm.h | 60 struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); in sdhci_be32bs_writew() local 70 pltfm_host->xfer_mode_shadow = val; in sdhci_be32bs_writew() 74 val << 16 | pltfm_host->xfer_mode_shadow, in sdhci_be32bs_writew()
|