Lines Matching refs:min_uV
286 int min_uV; member
368 .min_uV = _min_uV, \
536 int min_uV, int max_uV) in spmi_regulator_select_voltage() argument
539 int uV = min_uV; in spmi_regulator_select_voltage()
554 min_uV, max_uV, lim_min_uV, lim_max_uV); in spmi_regulator_select_voltage()
572 voltage_sel = DIV_ROUND_UP(uV - range->min_uV, range->step_uV); in spmi_regulator_select_voltage()
573 uV = voltage_sel * range->step_uV + range->min_uV; in spmi_regulator_select_voltage()
579 min_uV, max_uV, uV); in spmi_regulator_select_voltage()
646 int min_uV, int max_uV) in spmi_regulator_select_voltage_same_range() argument
649 int uV = min_uV; in spmi_regulator_select_voltage_same_range()
656 if (uV < range->min_uV && max_uV >= range->min_uV) in spmi_regulator_select_voltage_same_range()
657 uV = range->min_uV; in spmi_regulator_select_voltage_same_range()
659 if (uV < range->min_uV || uV > range->max_uV) { in spmi_regulator_select_voltage_same_range()
668 uV = DIV_ROUND_UP(uV - range->min_uV, range->step_uV); in spmi_regulator_select_voltage_same_range()
669 uV = uV * range->step_uV + range->min_uV; in spmi_regulator_select_voltage_same_range()
698 return spmi_regulator_select_voltage(vreg, min_uV, max_uV); in spmi_regulator_select_voltage_same_range()
702 int min_uV, int max_uV) in spmi_regulator_common_map_voltage() argument
710 return spmi_regulator_select_voltage_same_range(vreg, min_uV, max_uV); in spmi_regulator_common_map_voltage()
762 int min_uV, int max_uV) in spmi_regulator_single_map_voltage() argument
766 return spmi_regulator_select_voltage(vreg, min_uV, max_uV); in spmi_regulator_single_map_voltage()