/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | regulator.c | 200 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 D | regulator.c | 203 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 D | Makefile | 4 obj-y += vmmc.o
|
/kernel/linux/linux-6.6/arch/mips/lantiq/xway/ |
H A D | Makefile | 4 obj-y += vmmc.o
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | omap_hsmmc.c | 222 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 D | cavium.c | 843 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 D | sdhci-xenon.c | 235 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 D | sdhci-pxav3.c | 314 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 D | meson-gx-mmc.c | 591 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 D | jz4740_mmc.c | 932 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 D | sunxi-mmc.c | 906 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 D | tmio_mmc_core.c | 835 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 D | sdhci-sprd.c | 406 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 D | mxcmmc.c | 238 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 D | pxamci.c | 86 if (IS_ERR(mmc->supply.vmmc)) { in pxamci_init_ocr() 101 struct regulator *supply = mmc->supply.vmmc; in pxamci_set_power()
|
H A D | meson-mx-sdio.c | 299 if (!IS_ERR(mmc->supply.vmmc)) { in meson_mx_mmc_set_ios() 301 mmc->supply.vmmc, in meson_mx_mmc_set_ios()
|
H A D | meson-mx-sdhc-mmc.c | 320 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 D | omap_hsmmc.c | 222 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 D | cavium.c | 841 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 D | sdhci-pxav3.c | 312 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 D | tmio_mmc_core.c | 886 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 D | jz4740_mmc.c | 949 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 D | sunxi-mmc.c | 911 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 D | sdhci-xenon.c | 236 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 D | mxcmmc.c | 221 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()
|