Home
last modified time | relevance | path

Searched refs:new_volt (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/soc/samsung/
H A Dexynos-asv.c47 unsigned int new_volt, volt; in exynos_asv_update_cpu_opps() local
61 new_volt = asv->opp_get_voltage(subsys, i, volt); in exynos_asv_update_cpu_opps()
64 if (new_volt == volt) in exynos_asv_update_cpu_opps()
68 new_volt, new_volt, new_volt); in exynos_asv_update_cpu_opps()
72 opp_freq, new_volt, cpu->id); in exynos_asv_update_cpu_opps()
76 opp_freq, volt, new_volt, cpu->id); in exynos_asv_update_cpu_opps()
/kernel/linux/linux-5.10/drivers/regulator/
H A Ds2mpa01.c54 int old_volt, new_volt; in s2mpa01_regulator_set_voltage_time_sel() local
85 new_volt = rdev->desc->min_uV + (rdev->desc->uV_step * new_selector); in s2mpa01_regulator_set_voltage_time_sel()
87 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.c4195 int old_volt, new_volt; in regulator_set_voltage_time_sel() local
4202 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
4206 new_volt); in regulator_set_voltage_time_sel()
4208 return _regulator_set_voltage_time(rdev, old_volt, new_volt); in regulator_set_voltage_time_sel()
/kernel/linux/linux-6.6/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.c4339 int old_volt, new_volt; in regulator_set_voltage_time_sel() local
4346 new_volt = rdev->desc->ops->list_voltage(rdev, new_selector); in regulator_set_voltage_time_sel()
4350 new_volt); in regulator_set_voltage_time_sel()
4352 return _regulator_set_voltage_time(rdev, old_volt, new_volt); in regulator_set_voltage_time_sel()

Completed in 19 milliseconds