Home
last modified time | relevance | path

Searched refs:diff_uV (Results 1 – 2 of 2) sorted by relevance

/drivers/regulator/
Dpwm-regulator.c153 int diff_uV = max_uV - min_uV; in pwm_regulator_get_voltage() local
175 voltage = DIV_ROUND_CLOSEST_ULL((u64)voltage * diff_uV, diff_duty); in pwm_regulator_get_voltage()
190 int diff_uV = max_uV - min_uV; in pwm_regulator_set_voltage() local
210 diff_uV); in pwm_regulator_set_voltage()
Dqcom_spmi-regulator.c816 int diff_uV; in spmi_regulator_set_voltage_time_sel() local
818 diff_uV = abs(spmi_regulator_common_list_voltage(rdev, new_selector) - in spmi_regulator_set_voltage_time_sel()
821 return DIV_ROUND_UP(diff_uV, vreg->slew_rate); in spmi_regulator_set_voltage_time_sel()