Home
last modified time | relevance | path

Searched refs:vmmc (Results 1 - 25 of 51) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dregulator.c200 dev_dbg(dev, "%s: found vmmc voltage range of %d-%duV\n", in mmc_regulator_set_vqmmc()
210 * voltage in two steps and try to stay close to vmmc in mmc_regulator_set_vqmmc()
250 mmc->supply.vmmc = devm_regulator_get_optional(dev, "vmmc"); in mmc_regulator_get_supply()
253 if (IS_ERR(mmc->supply.vmmc)) { in mmc_regulator_get_supply()
254 if (PTR_ERR(mmc->supply.vmmc) == -EPROBE_DEFER) in mmc_regulator_get_supply()
256 dev_dbg(dev, "No vmmc regulator found\n"); in mmc_regulator_get_supply()
258 ret = mmc_regulator_get_ocrmask(mmc->supply.vmmc); in mmc_regulator_get_supply()
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dregulator.c203 dev_dbg(dev, "%s: found vmmc voltage range of %d-%duV\n", in mmc_regulator_set_vqmmc()
213 * voltage in two steps and try to stay close to vmmc in mmc_regulator_set_vqmmc()
253 mmc->supply.vmmc = devm_regulator_get_optional(dev, "vmmc"); in mmc_regulator_get_supply()
256 if (IS_ERR(mmc->supply.vmmc)) { in mmc_regulator_get_supply()
257 if (PTR_ERR(mmc->supply.vmmc) == -EPROBE_DEFER) in mmc_regulator_get_supply()
259 dev_dbg(dev, "No vmmc regulator found\n"); in mmc_regulator_get_supply()
261 ret = mmc_regulator_get_ocrmask(mmc->supply.vmmc); in mmc_regulator_get_supply()
/kernel/linux/linux-5.10/arch/mips/lantiq/xway/
H A DMakefile4 obj-y += vmmc.o
/kernel/linux/linux-6.6/arch/mips/lantiq/xway/
H A DMakefile4 obj-y += vmmc.o
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Domap_hsmmc.c222 if (!IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_enable_supply()
223 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply()
241 if (!IS_ERR(mmc->supply.vmmc)) in omap_hsmmc_enable_supply()
242 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_enable_supply()
262 if (!IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_disable_supply()
263 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_disable_supply()
319 if (IS_ERR(mmc->supply.vmmc)) in omap_hsmmc_set_power()
391 ret = omap_hsmmc_disable_boot_regulator(mmc->supply.vmmc); in omap_hsmmc_disable_boot_regulators()
393 dev_err(host->dev, "fail to disable boot enabled vmmc reg\n"); in omap_hsmmc_disable_boot_regulators()
H A Dcavium.c843 else if (!IS_ERR(mmc->supply.vmmc)) in cvm_mmc_set_ios()
844 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in cvm_mmc_set_ios()
850 else if (!IS_ERR(mmc->supply.vmmc)) in cvm_mmc_set_ios()
851 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in cvm_mmc_set_ios()
977 if (IS_ERR(mmc->supply.vmmc)) in cvm_mmc_of_parse()
H A Dsdhci-xenon.c235 if (!IS_ERR(mmc->supply.vmmc)) in xenon_set_power()
236 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in xenon_set_power()
H A Dsdhci-pxav3.c314 if (!IS_ERR(mmc->supply.vmmc)) in pxav3_set_power()
315 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in pxav3_set_power()
H A Dmeson-gx-mmc.c591 if (!IS_ERR(mmc->supply.vmmc)) in meson_mmc_set_ios()
592 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in meson_mmc_set_ios()
602 if (!IS_ERR(mmc->supply.vmmc)) in meson_mmc_set_ios()
603 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in meson_mmc_set_ios()
H A Djz4740_mmc.c932 if (!IS_ERR(mmc->supply.vmmc)) in jz4740_mmc_set_ios()
933 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in jz4740_mmc_set_ios()
940 if (!IS_ERR(mmc->supply.vmmc)) in jz4740_mmc_set_ios()
941 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in jz4740_mmc_set_ios()
H A Dsunxi-mmc.c906 if (!IS_ERR(mmc->supply.vmmc)) { in sunxi_mmc_card_power()
908 mmc->supply.vmmc, in sunxi_mmc_card_power()
928 if (!IS_ERR(mmc->supply.vmmc)) in sunxi_mmc_card_power()
929 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in sunxi_mmc_card_power()
H A Dtmio_mmc_core.c835 if (!IS_ERR(mmc->supply.vmmc)) { in tmio_mmc_power_on()
836 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in tmio_mmc_power_on()
866 if (!IS_ERR(mmc->supply.vmmc)) in tmio_mmc_power_off()
867 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in tmio_mmc_power_off()
H A Dsdhci-sprd.c406 mmc_regulator_set_ocr(host->mmc, mmc->supply.vmmc, 0); in sdhci_sprd_set_power()
414 mmc_regulator_set_ocr(host->mmc, mmc->supply.vmmc, vdd); in sdhci_sprd_set_power()
H A Dmxcmmc.c238 if (!IS_ERR(host->mmc->supply.vmmc)) { in mxcmci_set_power()
241 host->mmc->supply.vmmc, vdd); in mxcmci_set_power()
244 host->mmc->supply.vmmc, 0); in mxcmci_set_power()
H A Dpxamci.c86 if (IS_ERR(mmc->supply.vmmc)) { in pxamci_init_ocr()
101 struct regulator *supply = mmc->supply.vmmc; in pxamci_set_power()
H A Dmeson-mx-sdio.c299 if (!IS_ERR(mmc->supply.vmmc)) { in meson_mx_mmc_set_ios()
301 mmc->supply.vmmc, in meson_mx_mmc_set_ios()
H A Dmeson-mx-sdhc-mmc.c320 if (!IS_ERR(mmc->supply.vmmc)) { in meson_mx_sdhc_set_ios()
322 mmc->supply.vmmc, in meson_mx_sdhc_set_ios()
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Domap_hsmmc.c222 if (!IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_enable_supply()
223 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply()
241 if (!IS_ERR(mmc->supply.vmmc)) in omap_hsmmc_enable_supply()
242 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_enable_supply()
262 if (!IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_disable_supply()
263 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_disable_supply()
319 if (IS_ERR(mmc->supply.vmmc)) in omap_hsmmc_set_power()
391 ret = omap_hsmmc_disable_boot_regulator(mmc->supply.vmmc); in omap_hsmmc_disable_boot_regulators()
393 dev_err(host->dev, "fail to disable boot enabled vmmc reg\n"); in omap_hsmmc_disable_boot_regulators()
H A Dcavium.c841 else if (!IS_ERR(mmc->supply.vmmc)) in cvm_mmc_set_ios()
842 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in cvm_mmc_set_ios()
848 else if (!IS_ERR(mmc->supply.vmmc)) in cvm_mmc_set_ios()
849 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in cvm_mmc_set_ios()
975 if (IS_ERR(mmc->supply.vmmc)) in cvm_mmc_of_parse()
H A Dsdhci-pxav3.c312 if (!IS_ERR(mmc->supply.vmmc)) in pxav3_set_power()
313 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in pxav3_set_power()
H A Dtmio_mmc_core.c886 if (!IS_ERR(mmc->supply.vmmc)) { in tmio_mmc_power_on()
887 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in tmio_mmc_power_on()
917 if (!IS_ERR(mmc->supply.vmmc)) in tmio_mmc_power_off()
918 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in tmio_mmc_power_off()
H A Djz4740_mmc.c949 if (!IS_ERR(mmc->supply.vmmc)) in jz4740_mmc_set_ios()
950 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in jz4740_mmc_set_ios()
964 if (!IS_ERR(mmc->supply.vmmc)) in jz4740_mmc_set_ios()
965 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in jz4740_mmc_set_ios()
H A Dsunxi-mmc.c911 if (!IS_ERR(mmc->supply.vmmc)) { in sunxi_mmc_card_power()
913 mmc->supply.vmmc, in sunxi_mmc_card_power()
933 if (!IS_ERR(mmc->supply.vmmc)) in sunxi_mmc_card_power()
934 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in sunxi_mmc_card_power()
H A Dsdhci-xenon.c236 if (!IS_ERR(mmc->supply.vmmc)) in xenon_set_power()
237 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, vdd); in xenon_set_power()
H A Dmxcmmc.c221 if (!IS_ERR(host->mmc->supply.vmmc)) { in mxcmci_set_power()
224 host->mmc->supply.vmmc, vdd); in mxcmci_set_power()
227 host->mmc->supply.vmmc, 0); in mxcmci_set_power()

Completed in 31 milliseconds

123