Searched refs:step_uV (Results 1 – 2 of 2) sorted by relevance
70 int step_uV; member168 volt_uV = ((DA9052_BUCK_PERI_REG_MAP_UPTO_3uV * info->step_uV) in da9052_list_voltage()173 volt_uV = (selector * info->step_uV) + info->min_uV; in da9052_list_voltage()203 sel = DIV_ROUND_UP(min_uV - info->min_uV, info->step_uV); in da9052_map_voltage()261 ret = DIV_ROUND_UP(abs(new_sel - old_sel) * info->step_uV, in da9052_regulator_set_voltage_time_sel()310 .step_uV = (step) * 1000,\330 .step_uV = (step) * 1000,\
294 int step_uV; member378 .step_uV = _step_uV, \579 *voltage_sel = DIV_ROUND_UP(uV - range->min_uV, range->step_uV); in spmi_regulator_select_voltage()580 uV = *voltage_sel * range->step_uV + range->min_uV; in spmi_regulator_select_voltage()593 *selector += (uV - range->set_point_min_uV) / range->step_uV; in spmi_regulator_select_voltage()640 *voltage_sel = DIV_ROUND_UP(uV - range->min_uV, range->step_uV); in spmi_regulator_select_voltage_same_range()641 uV = *voltage_sel * range->step_uV + range->min_uV; in spmi_regulator_select_voltage_same_range()657 / vreg->set_points->range[i].step_uV; in spmi_regulator_select_voltage_same_range()707 diff_uV = abs(new_selector - old_selector) * range->step_uV; in spmi_regulator_set_voltage_time_sel()724 return range->step_uV * voltage_sel + range->min_uV; in spmi_regulator_common_get_voltage()[all …]