Lines Matching refs:max_spread
97 int max_spread; in tegra20_core_rtc_max_spread() local
101 max_spread = core_rdev->constraints->max_spread[i - 1]; in tegra20_core_rtc_max_spread()
104 if (rdev == rtc_rdev && max_spread) in tegra20_core_rtc_max_spread()
105 return max_spread; in tegra20_core_rtc_max_spread()
144 int max_spread; in tegra20_core_rtc_update() local
154 max_spread = tegra20_core_rtc_max_spread(core_rdev, rtc_rdev); in tegra20_core_rtc_update()
203 rtc_min_uV = max(cpu_min_uV + 125000, core_min_uV - max_spread); in tegra20_core_rtc_update()
211 core_target_uV = min(core_uV + max_spread, core_min_uV); in tegra20_core_rtc_update()
212 core_target_uV = min(rtc_uV + max_spread, core_target_uV); in tegra20_core_rtc_update()
214 core_target_uV = max(core_uV - max_spread, core_min_uV); in tegra20_core_rtc_update()
215 core_target_uV = max(rtc_uV - max_spread, core_target_uV); in tegra20_core_rtc_update()
231 rtc_target_uV = min(rtc_uV + max_spread, rtc_min_uV); in tegra20_core_rtc_update()
232 rtc_target_uV = min(core_uV + max_spread, rtc_target_uV); in tegra20_core_rtc_update()
234 rtc_target_uV = max(rtc_uV - max_spread, rtc_min_uV); in tegra20_core_rtc_update()
235 rtc_target_uV = max(core_uV - max_spread, rtc_target_uV); in tegra20_core_rtc_update()