Home
last modified time | relevance | path

Searched refs:vqmmc (Results 1 – 17 of 17) sorted by relevance

/drivers/mmc/core/
Dregulator.c185 if (IS_ERR(mmc->supply.vqmmc)) in mmc_regulator_set_vqmmc()
190 return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, in mmc_regulator_set_vqmmc()
193 return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, in mmc_regulator_set_vqmmc()
213 ret = mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, in mmc_regulator_set_vqmmc()
218 return mmc_regulator_set_voltage_if_supported(mmc->supply.vqmmc, in mmc_regulator_set_vqmmc()
251 mmc->supply.vqmmc = devm_regulator_get_optional(dev, "vqmmc"); in mmc_regulator_get_supply()
265 if (IS_ERR(mmc->supply.vqmmc)) { in mmc_regulator_get_supply()
266 if (PTR_ERR(mmc->supply.vqmmc) == -EPROBE_DEFER) in mmc_regulator_get_supply()
/drivers/mmc/host/
Dsdhci-omap.c189 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_omap_enable_iov()
190 ret = regulator_set_voltage(mmc->supply.vqmmc, iov, iov); in sdhci_omap_enable_iov()
890 struct regulator *vqmmc; in sdhci_omap_set_capabilities() local
892 vqmmc = regulator_get(dev, "vqmmc"); in sdhci_omap_set_capabilities()
893 if (IS_ERR(vqmmc)) { in sdhci_omap_set_capabilities()
894 ret = PTR_ERR(vqmmc); in sdhci_omap_set_capabilities()
902 if (regulator_is_supported_voltage(vqmmc, IOV_3V3, IOV_3V3)) in sdhci_omap_set_capabilities()
904 if (regulator_is_supported_voltage(vqmmc, IOV_1V8, IOV_1V8)) in sdhci_omap_set_capabilities()
910 regulator_put(vqmmc); in sdhci_omap_set_capabilities()
Ddw_mmc-k3.c175 if (IS_ERR_OR_NULL(mmc->supply.vqmmc)) in dw_mci_hi6220_switch_voltage()
178 ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv); in dw_mci_hi6220_switch_voltage()
425 if (!IS_ERR(mmc->supply.vqmmc)) { in dw_mci_hi3660_switch_voltage()
Domap_hsmmc.c229 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { in omap_hsmmc_enable_supply()
230 ret = regulator_enable(mmc->supply.vqmmc); in omap_hsmmc_enable_supply()
253 if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { in omap_hsmmc_disable_supply()
254 ret = regulator_disable(mmc->supply.vqmmc); in omap_hsmmc_disable_supply()
271 if (!IS_ERR(mmc->supply.vqmmc)) { in omap_hsmmc_disable_supply()
272 status = regulator_enable(mmc->supply.vqmmc); in omap_hsmmc_disable_supply()
397 ret = omap_hsmmc_disable_boot_regulator(mmc->supply.vqmmc); in omap_hsmmc_disable_boot_regulators()
425 if (IS_ERR(mmc->supply.vqmmc)) { in omap_hsmmc_reg_get()
426 mmc->supply.vqmmc = devm_regulator_get_optional(host->dev, in omap_hsmmc_reg_get()
428 if (IS_ERR(mmc->supply.vqmmc)) { in omap_hsmmc_reg_get()
[all …]
Dmeson-gx-mmc.c605 if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { in meson_mmc_set_ios()
606 regulator_disable(mmc->supply.vqmmc); in meson_mmc_set_ios()
619 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { in meson_mmc_set_ios()
620 int ret = regulator_enable(mmc->supply.vqmmc); in meson_mmc_set_ios()
1098 if (!IS_ERR(mmc->supply.vqmmc)) { in meson_mmc_voltage_switch()
Dsunxi-mmc.c919 if (!IS_ERR(mmc->supply.vqmmc)) { in sunxi_mmc_card_power()
920 host->ferror = regulator_enable(mmc->supply.vqmmc); in sunxi_mmc_card_power()
936 if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) in sunxi_mmc_card_power()
937 regulator_disable(mmc->supply.vqmmc); in sunxi_mmc_card_power()
962 if (!IS_ERR(mmc->supply.vqmmc)) { in sunxi_mmc_volt_switch()
Dsdhci.c2616 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_start_signal_voltage_switch()
2639 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_start_signal_voltage_switch()
2671 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_start_signal_voltage_switch()
4243 if (!mmc->supply.vqmmc) { in sdhci_setup_host()
4504 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_setup_host()
4506 ret = regulator_enable(mmc->supply.vqmmc); in sdhci_setup_host()
4511 if (!regulator_is_supported_voltage(mmc->supply.vqmmc, 1700000, in sdhci_setup_host()
4518 if (!regulator_is_supported_voltage(mmc->supply.vqmmc, 2700000, in sdhci_setup_host()
4525 mmc->supply.vqmmc = ERR_PTR(-EINVAL); in sdhci_setup_host()
4567 (IS_ERR(mmc->supply.vqmmc) || in sdhci_setup_host()
[all …]
Dtmio_mmc_core.c896 if (!IS_ERR(mmc->supply.vqmmc) && !ret) { in tmio_mmc_power_on()
897 ret = regulator_enable(mmc->supply.vqmmc); in tmio_mmc_power_on()
910 if (!IS_ERR(mmc->supply.vqmmc)) in tmio_mmc_power_off()
911 regulator_disable(mmc->supply.vqmmc); in tmio_mmc_power_off()
Dsdhci-msm.c1434 ret = regulator_enable(mmc->supply.vqmmc); in msm_toggle_vqmmc()
1436 ret = regulator_disable(mmc->supply.vqmmc); in msm_toggle_vqmmc()
1454 ret = regulator_set_load(mmc->supply.vqmmc, load); in msm_config_vqmmc_mode()
1467 if (IS_ERR(mmc->supply.vqmmc) || in sdhci_msm_set_vqmmc()
1664 if (io_level && !IS_ERR(mmc->supply.vqmmc) && !pwr_state) { in sdhci_msm_handle_pwr_irq()
2268 struct regulator *supply = mmc->supply.vqmmc; in sdhci_msm_set_regulator_caps()
2273 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_msm_set_regulator_caps()
Dsdhci-tegra.c314 if (IS_ERR(host->mmc->supply.vqmmc)) in tegra_sdhci_is_pad_and_regulator_valid()
317 has_1v8 = regulator_is_supported_voltage(host->mmc->supply.vqmmc, in tegra_sdhci_is_pad_and_regulator_valid()
320 has_3v3 = regulator_is_supported_voltage(host->mmc->supply.vqmmc, in tegra_sdhci_is_pad_and_regulator_valid()
Dmmci.c1755 if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { in mmci_set_ios()
1756 regulator_disable(mmc->supply.vqmmc); in mmci_set_ios()
1774 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { in mmci_set_ios()
1775 ret = regulator_enable(mmc->supply.vqmmc); in mmci_set_ios()
Dmtk-sd.c1461 if (!IS_ERR(mmc->supply.vqmmc)) { in msdc_ops_switch_volt()
1848 if (!IS_ERR(mmc->supply.vqmmc) && !host->vqmmc_enabled) { in msdc_ops_set_ios()
1849 ret = regulator_enable(mmc->supply.vqmmc); in msdc_ops_set_ios()
1860 if (!IS_ERR(mmc->supply.vqmmc) && host->vqmmc_enabled) { in msdc_ops_set_ios()
1861 regulator_disable(mmc->supply.vqmmc); in msdc_ops_set_ios()
Ddw_mmc.c1471 if (!IS_ERR(mmc->supply.vqmmc)) { in dw_mci_set_ios()
1472 ret = regulator_enable(mmc->supply.vqmmc); in dw_mci_set_ios()
1500 if (!IS_ERR(mmc->supply.vqmmc) && slot->host->vqmmc_enabled) in dw_mci_set_ios()
1501 regulator_disable(mmc->supply.vqmmc); in dw_mci_set_ios()
1553 if (!IS_ERR(mmc->supply.vqmmc)) { in dw_mci_switch_voltage()
Dsdhci-xenon.c335 if (PTR_ERR(mmc->supply.vqmmc) == -ENODEV) in xenon_start_signal_voltage_switch()
Dsdhci-sprd.c456 if (!IS_ERR(mmc->supply.vqmmc)) { in sdhci_sprd_voltage_switch()
/drivers/regulator/
DMakefile167 obj-$(CONFIG_REGULATOR_VQMMC_IPQ4019) += vqmmc-ipq4019-regulator.o
/drivers/staging/mt7621-dts/
Dmt7621.dtsi315 vqmmc-supply = <&mmc_fixed_1v8_io>;