Home
last modified time | relevance | path

Searched refs:vqmmc_dev (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/drivers/mmc/
H A Dtmio-common.c641 if (priv->vqmmc_dev) { in tmio_sd_set_pins()
643 regulator_set_value(priv->vqmmc_dev, 1800000); in tmio_sd_set_pins()
645 regulator_set_value(priv->vqmmc_dev, 3300000); in tmio_sd_set_pins()
646 regulator_set_enable(priv->vqmmc_dev, true); in tmio_sd_set_pins()
749 device_get_supply_regulator(dev, "vqmmc-supply", &priv->vqmmc_dev); in tmio_sd_probe()
750 if (priv->vqmmc_dev) in tmio_sd_probe()
751 regulator_set_value(priv->vqmmc_dev, 3300000); in tmio_sd_probe()
H A Dfsl_esdhc.c143 struct udevice *vqmmc_dev; member
808 if (!IS_ERR_OR_NULL(priv->vqmmc_dev)) { in esdhc_set_voltage()
809 ret = regulator_set_value(priv->vqmmc_dev, 3300000); in esdhc_set_voltage()
827 if (!IS_ERR_OR_NULL(priv->vqmmc_dev)) { in esdhc_set_voltage()
828 ret = regulator_set_value(priv->vqmmc_dev, 1800000); in esdhc_set_voltage()
1446 struct udevice *vqmmc_dev; in fsl_esdhc_probe() local
1508 ret = device_get_supply_regulator(dev, "vqmmc-supply", &vqmmc_dev); in fsl_esdhc_probe()
1512 ret = regulator_set_enable(vqmmc_dev, true); in fsl_esdhc_probe()
1518 if (regulator_get_value(vqmmc_dev) == 1800000) in fsl_esdhc_probe()
H A Dtmio-common.h134 struct udevice *vqmmc_dev; member