Lines Matching refs:vmmc
254 if (mmc->supply.vmmc) { in omap_hsmmc_enable_supply()
255 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); in omap_hsmmc_enable_supply()
273 if (mmc->supply.vmmc) in omap_hsmmc_enable_supply()
274 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_enable_supply()
294 if (mmc->supply.vmmc) { in omap_hsmmc_disable_supply()
295 ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, 0); in omap_hsmmc_disable_supply()
368 if (!mmc->supply.vmmc) in omap_hsmmc_set_power()
446 ret = omap_hsmmc_disable_boot_regulator(mmc->supply.vmmc); in omap_hsmmc_disable_boot_regulators()
478 mmc->supply.vmmc = devm_regulator_get_optional(host->dev, "vmmc"); in omap_hsmmc_reg_get()
479 if (IS_ERR(mmc->supply.vmmc)) { in omap_hsmmc_reg_get()
480 ret = PTR_ERR(mmc->supply.vmmc); in omap_hsmmc_reg_get()
484 PTR_ERR(mmc->supply.vmmc)); in omap_hsmmc_reg_get()
485 mmc->supply.vmmc = NULL; in omap_hsmmc_reg_get()
487 ocr_value = mmc_regulator_get_ocrmask(mmc->supply.vmmc); in omap_hsmmc_reg_get()