Home
last modified time | relevance | path

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

/linux/drivers/regulator/
H A Dpwm-regulator.c148 unsigned int min_uV_duty = drvdata->continuous.min_uV_dutycycle; in pwm_regulator_get_voltage() local
168 if (voltage < min(max_uV_duty, min_uV_duty) || in pwm_regulator_get_voltage()
169 voltage > max(max_uV_duty, min_uV_duty)) in pwm_regulator_get_voltage()
177 if (max_uV_duty < min_uV_duty) { in pwm_regulator_get_voltage()
178 voltage = min_uV_duty - voltage; in pwm_regulator_get_voltage()
179 diff_duty = min_uV_duty - max_uV_duty; in pwm_regulator_get_voltage()
181 voltage = voltage - min_uV_duty; in pwm_regulator_get_voltage()
182 diff_duty = max_uV_duty - min_uV_duty; in pwm_regulator_get_voltage()
195 unsigned int min_uV_duty = drvdata->continuous.min_uV_dutycycle; in pwm_regulator_set_voltage() local
213 if (max_uV_duty < min_uV_duty) in pwm_regulator_set_voltage()
[all …]