Searched refs:max_spread (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/soc/tegra/ |
D | regulators-tegra20.c | 71 int max_spread; in tegra20_core_rtc_max_spread() local 75 max_spread = core_rdev->constraints->max_spread[i - 1]; in tegra20_core_rtc_max_spread() 78 if (rdev == rtc_rdev && max_spread) in tegra20_core_rtc_max_spread() 79 return max_spread; in tegra20_core_rtc_max_spread() 96 int max_spread; in tegra20_core_rtc_update() local 106 max_spread = tegra20_core_rtc_max_spread(core_rdev, rtc_rdev); in tegra20_core_rtc_update() 150 rtc_min_uV = max(cpu_min_uV + 125000, core_min_uV - max_spread); in tegra20_core_rtc_update() 158 core_target_uV = min(core_uV + max_spread, core_min_uV); in tegra20_core_rtc_update() 159 core_target_uV = min(rtc_uV + max_spread, core_target_uV); in tegra20_core_rtc_update() 161 core_target_uV = max(core_uV - max_spread, core_min_uV); in tegra20_core_rtc_update() [all …]
|
D | regulators-tegra30.c | 108 int max_spread; in tegra30_voltage_update() local 118 max_spread = cpu_rdev->constraints->max_spread[0]; in tegra30_voltage_update() 122 if (!max_spread) { in tegra30_voltage_update() 124 max_spread = 300000; in tegra30_voltage_update() 155 cpu_min_uV = core_min_uV - max_spread; in tegra30_voltage_update() 209 cpu_target_uV = max(core_uV - max_spread, cpu_target_uV); in tegra30_voltage_update() 232 core_target_uV = min(core_target_uV, cpu_uV + max_spread); in tegra30_voltage_update()
|
/kernel/linux/linux-5.10/drivers/soc/samsung/ |
D | exynos-regulator-coupler.c | 30 int i, ret, max_spread, n_coupled = c_desc->n_coupled; in regulator_get_optimal_voltage() local 68 max_spread = constraints->max_spread[0]; in regulator_get_optimal_voltage() 75 target_uV = max(desired_min_uV, highest_min_uV - max_spread); in regulator_get_optimal_voltage() 96 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage() 97 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | of_regulator.c | 173 constraints->max_spread = devm_kzalloc(dev, in of_get_regulation_constraints() 174 sizeof(*constraints->max_spread) * n_phandles, in of_get_regulation_constraints() 177 if (!constraints->max_spread) in of_get_regulation_constraints() 181 constraints->max_spread, n_phandles); in of_get_regulation_constraints() 560 int max_spread = rdev->constraints->max_spread[i]; in of_check_coupling_data() local 563 if (max_spread <= 0) { in of_check_coupling_data() 596 if (c_max_spread != max_spread) { in of_check_coupling_data()
|
D | core.c | 3766 int i, ret, max_spread; in regulator_get_optimal_voltage() local 3820 max_spread = constraints->max_spread[0]; in regulator_get_optimal_voltage() 3827 target_uV = max(desired_min_uV, highest_min_uV - max_spread); in regulator_get_optimal_voltage() 3855 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage() 3856 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()
|
/kernel/linux/linux-5.10/include/linux/regulator/ |
D | machine.h | 157 u32 *max_spread; member
|