Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/samsung/
H A Dexynos-asv.c44 unsigned int new_volt, volt; in exynos_asv_update_cpu_opps() local
58 new_volt = asv->opp_get_voltage(subsys, i, volt); in exynos_asv_update_cpu_opps()
61 if (new_volt == volt) in exynos_asv_update_cpu_opps()
65 new_volt, new_volt, new_volt); in exynos_asv_update_cpu_opps()
69 opp_freq, new_volt, cpu->id); in exynos_asv_update_cpu_opps()
73 opp_freq, volt, new_volt, cpu->id); in exynos_asv_update_cpu_opps()
/openbmc/linux/drivers/regulator/
H A Ds2mpa01.c53 int old_volt, new_volt; in s2mpa01_regulator_set_voltage_time_sel() local
84 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
86 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); in s2mpa01_regulator_set_voltage_time_sel()
H A Ds2mps11.c75 int old_volt, new_volt; in s2mps11_regulator_set_voltage_time_sel() local
105 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mps11_regulator_set_voltage_time_sel()
107 return DIV_ROUND_UP(abs(new_volt - old_volt), ramp_delay); in s2mps11_regulator_set_voltage_time_sel()
H A Dcore.c4345 int old_volt, new_volt; in regulator_set_voltage_time_sel() local
4352 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
4356 new_volt); in regulator_set_voltage_time_sel()
4358 return _regulator_set_voltage_time(rdev, old_volt, new_volt); in regulator_set_voltage_time_sel()