Searched refs:diff_duty (Results 1 – 1 of 1) sorted by relevance
155 unsigned int diff_duty; in pwm_regulator_get_voltage() local169 diff_duty = min_uV_duty - max_uV_duty; in pwm_regulator_get_voltage()172 diff_duty = max_uV_duty - min_uV_duty; in pwm_regulator_get_voltage()175 voltage = DIV_ROUND_CLOSEST_ULL((u64)voltage * diff_uV, diff_duty); in pwm_regulator_get_voltage()192 unsigned int diff_duty; in pwm_regulator_set_voltage() local204 diff_duty = min_uV_duty - max_uV_duty; in pwm_regulator_set_voltage()206 diff_duty = max_uV_duty - min_uV_duty; in pwm_regulator_set_voltage()209 diff_duty, in pwm_regulator_set_voltage()