Home
last modified time | relevance | path

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

/linux/drivers/soc/tegra/
A Dregulators-tegra20.c92 int max_spread; in tegra20_core_rtc_max_spread() local
96 max_spread = core_rdev->constraints->max_spread[i - 1]; in tegra20_core_rtc_max_spread()
99 if (rdev == rtc_rdev && max_spread) in tegra20_core_rtc_max_spread()
100 return max_spread; in tegra20_core_rtc_max_spread()
117 int max_spread; in tegra20_core_rtc_update() local
179 core_target_uV = min(core_uV + max_spread, core_min_uV); in tegra20_core_rtc_update()
182 core_target_uV = max(core_uV - max_spread, core_min_uV); in tegra20_core_rtc_update()
199 rtc_target_uV = min(rtc_uV + max_spread, rtc_min_uV); in tegra20_core_rtc_update()
200 rtc_target_uV = min(core_uV + max_spread, rtc_target_uV); in tegra20_core_rtc_update()
202 rtc_target_uV = max(rtc_uV - max_spread, rtc_min_uV); in tegra20_core_rtc_update()
[all …]
A Dregulators-tegra30.c128 int max_spread; in tegra30_voltage_update() local
138 max_spread = cpu_rdev->constraints->max_spread[0]; in tegra30_voltage_update()
142 if (!max_spread) { in tegra30_voltage_update()
144 max_spread = 300000; in tegra30_voltage_update()
175 cpu_min_uV = core_min_uV - max_spread; in tegra30_voltage_update()
237 cpu_target_uV = max(core_uV - max_spread, cpu_target_uV); in tegra30_voltage_update()
260 core_target_uV = min(core_target_uV, cpu_uV + max_spread); in tegra30_voltage_update()
/linux/drivers/soc/samsung/
A Dexynos-regulator-coupler.c30 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()
/linux/drivers/regulator/
A Dof_regulator.c229 constraints->max_spread = devm_kzalloc(dev, in of_get_regulation_constraints()
230 sizeof(*constraints->max_spread) * n_phandles, in of_get_regulation_constraints()
233 if (!constraints->max_spread) in of_get_regulation_constraints()
237 constraints->max_spread, n_phandles); in of_get_regulation_constraints()
622 int max_spread = rdev->constraints->max_spread[i]; in of_check_coupling_data() local
625 if (max_spread <= 0) { in of_check_coupling_data()
658 if (c_max_spread != max_spread) { in of_check_coupling_data()
A Dcore.c3769 int i, ret, max_spread; in regulator_get_optimal_voltage() local
3823 max_spread = constraints->max_spread[0]; in regulator_get_optimal_voltage()
3830 target_uV = max(desired_min_uV, highest_min_uV - max_spread); in regulator_get_optimal_voltage()
3858 possible_uV = max(target_uV, max_current_uV - max_spread); in regulator_get_optimal_voltage()
3859 possible_uV = min(possible_uV, min_current_uV + max_spread); in regulator_get_optimal_voltage()
/linux/include/linux/regulator/
A Dmachine.h175 u32 *max_spread; member

Completed in 19 milliseconds