Lines Matching full:min_uv
21 * @min_uV: minimum voltage value (mV)
27 static int mmc_ocrbitnum_to_vdd(int vdd_bit, int *min_uV, int *max_uV) in mmc_ocrbitnum_to_vdd() argument
42 *min_uV = 1650 * 1000; in mmc_ocrbitnum_to_vdd()
45 *min_uV = 1900 * 1000 + tmp * 100 * 1000; in mmc_ocrbitnum_to_vdd()
46 *max_uV = *min_uV + 100 * 1000; in mmc_ocrbitnum_to_vdd()
111 int min_uV, max_uV; in mmc_regulator_set_ocr() local
117 mmc_ocrbitnum_to_vdd(vdd_bit, &min_uV, &max_uV); in mmc_regulator_set_ocr()
119 result = regulator_set_voltage(supply, min_uV, max_uV); in mmc_regulator_set_ocr()
139 int min_uV, int target_uV, in mmc_regulator_set_voltage_if_supported() argument
148 if (!regulator_is_supported_voltage(regulator, min_uV, max_uV)) in mmc_regulator_set_voltage_if_supported()
159 return regulator_set_voltage_triplet(regulator, min_uV, target_uV, in mmc_regulator_set_voltage_if_supported()
185 int ret, volt, min_uV, max_uV; in mmc_regulator_set_vqmmc() local
206 min_uV = max(volt - 300000, 2700000); in mmc_regulator_set_vqmmc()
217 min_uV, volt, max_uV); in mmc_regulator_set_vqmmc()