Lines Matching full:vqmmc
161 * mmc_regulator_set_vqmmc - Set VQMMC as per the ios
165 * For 3.3V signaling, we try to match VQMMC to VMMC as closely as possible.
166 * That will match the behavior of old boards where VQMMC and VMMC were supplied
168 * SD card spec also define VQMMC in terms of VMMC.
184 /* If no vqmmc supply then we can't change the voltage */ in mmc_regulator_set_vqmmc()
185 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()
236 * mmc_regulator_get_supply - try to get VMMC and VQMMC regulators for a host
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()
268 dev_dbg(dev, "No vqmmc regulator found\n"); in mmc_regulator_get_supply()